#13284: Some conversion between BooleanPolynomialRing and GF(2)[.....] are
missing
-----------------------------------+----------------------------------------
Reporter: Bouillaguet | Owner: malb
Type: defect | Status: new
Priority: minor | Milestone: sage-5.3
Component: commutative algebra | Keywords: conversion
Work issues: | Report Upstream: N/A
Reviewers: | Authors:
Merged in: | Dependencies:
Stopgaps: |
-----------------------------------+----------------------------------------
For some reason, it is impossible to directly build the (standard
benchmark) cyclic ideals over !BooleanPolynomialRing
{{{
sage: from sage.rings.ideal import Cyclic
sage: R = BooleanPolynomialRing(10, 'x')
sage: I = Cyclic(R)
***BOOOM***
....
TypeError: cannot convert <type
'sage.rings.polynomial.multi_polynomial_libsingular.MPolynomial_libsingular'>
to BooleanPolynomial
}}}
Note that there is a possible workaround:
{{{
sage: R = BooleanPolynomialRing(10, 'x')
sage: R2 = PolynomialRing(GF(2), 10, 'x')
sage: I = ideal([ R(f) for f in Cyclic(R2).gens()])
}}}
Note that from a mathematical point of view, this is not a very
interesting example since this ideal is rather trivial in the boolean
polynomial ring... yet something is wrong...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13284>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.