#4420: [with patch, needs review] sort Gröbner bases
---------------------------------+------------------------------------------
 Reporter:  malb                 |        Owner:  malb    
     Type:  enhancement          |       Status:  new     
 Priority:  major                |    Milestone:  sage-3.2
Component:  commutative algebra  |   Resolution:          
 Keywords:                       |  
---------------------------------+------------------------------------------
Comment (by mabshoff):

 The patch needs fixes for doc.text, const.tex and tut.tex:
 {{{
 sage -t -long devel/doc/tut/tut.tex
 **********************************************************************
 File "/scratch/mabshoff/release-cycle/sage-3.2.alpha3/tmp/tut.py", line
 2240:
     : V.irreducible_components()
 Expected:
         [
         Closed subscheme of Affine Space of dimension 2 over Rational
 Field defined by:
           y
           x - 1,
         Closed subscheme of Affine Space of dimension 2 over Rational
 Field defined by:
           y - 1
           x,
         Closed subscheme of Affine Space of dimension 2 over Rational
 Field defined by:
           x + y + 2
           2*y^2 + 4*y + 3
         ]
 Got:
     [
     Closed subscheme of Affine Space of dimension 2 over Rational Field
 defined by:
       y - 1
       x,
     Closed subscheme of Affine Space of dimension 2 over Rational Field
 defined by:
       y
       x - 1,
     Closed subscheme of Affine Space of dimension 2 over Rational Field
 defined by:
       x + y + 2
       2*y^2 + 4*y + 3
     ]
 **********************************************************************
 File "/scratch/mabshoff/release-cycle/sage-3.2.alpha3/tmp/tut.py", line
 1654:
     : B = I.groebner_basis(); B
 Expected:
     [x^2*y^2, x^6]
 Got:
     [x^6, x^2*y^2]
 **********************************************************************
 2 items had failures:
    1 of  10 in __main__.example_100
    1 of  12 in __main__.example_78
 ***Test Failed*** 2 failures.
 For whitespace errors, see the file /scratch/mabshoff/release-
 cycle/sage-3.2.alpha3/tmp/.doctest_tut.py

          [23.2 s]
 sage -t -long devel/doc/const/const.tex
 **********************************************************************
 File "/scratch/mabshoff/release-cycle/sage-3.2.alpha3/tmp/const.py", line
 2847:
     : B = I.groebner_basis(); B
 Expected:
     [b^2 - 1, a - 2*b]
 Got:
     [a - 2*b, b^2 - 1]
 **********************************************************************
 File "/scratch/mabshoff/release-cycle/sage-3.2.alpha3/tmp/const.py", line
 2864:
     : B = I.groebner_basis(); B
 Expected:
     [c^2*d^6 - c^2*d^2 - d^4 + 1,
      c^3*d^2 + c^2*d^3 - c - d,
      b*d^4 - b + d^5 - d,
      b*c - b*d + c^2*d^4 + c*d - 2*d^2,
      b^2 + 2*b*d + d^2,
      a + b + c + d]
 Got:
     [a + b + c + d, b^2 + 2*b*d + d^2, b*c - b*d + c^2*d^4 + c*d - 2*d^2,
 b*d^4 - b + d^5 - d, c^3*d^2 + c^2*d^3 - c - d, c^2*d^6 - c^2*d^2 - d^4 +
 1]
 **********************************************************************
 2 items had failures:
    1 of   6 in __main__.example_95
    1 of   6 in __main__.example_96
 ***Test Failed*** 2 failures.
 For whitespace errors, see the file /scratch/mabshoff/release-
 cycle/sage-3.2.alpha3/tmp/.doctest_const.py

          [30.0 s]
 }}}
 Trivial patch coming up unless malb beats me to it :)

 Cheers,

 Michael

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4420#comment:2>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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