#4965: [with patch, needs work] Z/nZ[x] via FLINT's zmod_poly
------------------------------+---------------------------------------------
Reporter: malb | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone: sage-3.4.1
Component: basic arithmetic | Resolution:
Keywords: |
------------------------------+---------------------------------------------
Comment (by malb):
== "Long" Doctest Failures ==
this one is easy:
{{{
sage -t --long "devel/sage/sage/schemes/elliptic_curves/padics.py"
...
sage.rings.polynomial.polynomial_zmod_flint.Polynomial_zmod_flint._derivative
...
sage.libs.ntl.ntl_lzz_pContext.ntl_zz_pContext ValueError: Modulus
(=2384185791015625) is too big
}}}
{{{
File ".../sage/schemes/elliptic_curves/ell_number_field.py", line 728:
sage: EllipticCurve([1 + a , -1 + a , 1 + a , -11 + a , 5 -9*a
]).conductor()
...
ValueError: factorization of 0 not defined
}}}
{{{
sage -t --long "devel/sage/sage/schemes/elliptic_curves/sha_tate.py"
...
sage: EllipticCurve('858k2').sha().an_padic(7) #rank 0, non trivial
sha (long
...
sage.libs.ntl.ntl_lzz_pContext.ntl_zz_pContext ValueError: Modulus
(=558545864083284007) is too big
}}}
{{{
sage -t --long
"devel/sage/sage/schemes/hyperelliptic_curves/hyperelliptic_padic_field.py"
**********************************************************************
sage: w.coleman_integral(P, Q)
Expected:
O(11^6)
Got:
6 + 7*11 + 8*11^2 + 7*11^3 + 3*11^4 + 10*11^5 + O(11^6)
**********************************************************************
sage: C.coleman_integral(x*w, P, Q)
Expected:
O(11^6)
Got:
3 + 11 + 6*11^2 + 2*11^3 + 8*11^5 + O(11^6)
**********************************************************************
sage: C.coleman_integral(x^2*w, P, Q)
Expected:
3*11 + 2*11^2 + 7*11^3 + 2*11^4 + 10*11^5 + O(11^6)
Got:
5 + 11 + 8*11^2 + 11^3 + 7*11^4 + 6*11^5 + O(11^6)
**********************************************************************
sage: w.integrate(P, Q), (x*w).integrate(P, Q)
Expected:
(O(71^4), O(71^4))
Got:
(40 + 4*71 + 21*71^2 + 39*71^3 + O(71^4), 2 + 58*71 + 27*71^2 +
49*71^3 + O(71^4))
**********************************************************************
sage: w.integrate(P, R)
Expected:
42*71 + 63*71^2 + 55*71^3 + O(71^4)
Got:
14 + 27*71 + 46*71^2 + 10*71^3 + O(71^4)
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4965#comment:9>
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
-~----------~----~----~----~------~----~------~--~---