#13155: Boolean Multivariate Ideals should not have negative dimension....
---------------------------------------+------------------------------------
       Reporter:  Bouillaguet          |         Owner:  malb           
           Type:  defect               |        Status:  needs_review   
       Priority:  minor                |     Milestone:  sage-5.2       
      Component:  commutative algebra  |    Resolution:                 
       Keywords:  polybori             |   Work issues:                 
Report Upstream:  N/A                  |     Reviewers:  Martin Albrecht
        Authors:  Charles Bouillaguet  |     Merged in:                 
   Dependencies:                       |      Stopgaps:                 
---------------------------------------+------------------------------------
Changes (by Bouillaguet):

  * status:  needs_work => needs_review


Old description:

> The dimension of an ideal cannot be negative (it would be mathematically
> incoherent). Yet, in SAGE, it is possible to create Boolean Ideals of
> dimension -1.....
>
> {{{
> sage: n=11
> sage: R = BooleanPolynomialRing(n, 'x')
> sage: R2 = PolynomialRing(GF(2), n, 'x')
> sage: I = ideal([ R(f) for f in sage.rings.ideal.Cyclic(R2, n).gens() ])
> sage: I.dimension()
> -1
> }}}
>
> In fact, all the BooleanPolynomialIdeal's should have dimension zero.
> Thus I suggest to overload the dimension() method to just return zero....

New description:

 The dimension of an ideal cannot be negative (it would be mathematically
 incoherent). Yet, in SAGE, it is possible to create Boolean Ideals of
 dimension -1.....

 {{{
 sage: n=11
 sage: R = BooleanPolynomialRing(n, 'x')
 sage: R2 = PolynomialRing(GF(2), n, 'x')
 sage: I = ideal([ R(f) for f in sage.rings.ideal.Cyclic(R2, n).gens() ])
 sage: I.dimension()
 -1
 }}}

 In fact, all the !BooleanPolynomialIdeal's should have dimension zero.
 Thus I suggest to overload the dimension() method to just return zero....

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13155#comment:4>
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.

Reply via email to