#5430: Coleman integrals of differential forms from different rings
--------------------------------+-------------------------------------------
 Reporter:  jen                 |       Owner:  robertwb  
     Type:  defect              |      Status:  new       
 Priority:  major               |   Milestone:  sage-4.0.1
Component:  algebraic geometry  |    Keywords:            
--------------------------------+-------------------------------------------

Comment(by kedlaya):

 See attached patches. The first one eliminates all casting to/from QQ (I
 think). The second one adds a doctest to confirm that the above example
 now works:
 {{{
 sage: R.<x> = QQ['x']
 sage: H = HyperellipticCurve(x*(x-1)*(x+9))
 sage: K = Qp(7,10)
 sage: HK = H.change_ring(K)
 sage: import sage.schemes.elliptic_curves.monsky_washnitzer as mw
 sage: M_frob, forms = mw.matrix_of_frobenius_hyperelliptic(HK)
 sage: w = HK.invariant_differential()
 sage: x,y = HK.monsky_washnitzer_gens()
 sage: f = forms[0]
 sage: S= HK(9,36)
 sage: Q = HK.teichmuller(S)
 sage: P = HK(-1,4)
 sage: b = x*w*w._coeff.parent()(f)
 sage: HK.coleman_integral(b,P,Q)
 7 + 7^2 + 4*7^3 + 5*7^4 + 3*7^5 + 7^6 + 5*7^7 + 3*7^8 + 4*7^9 + 4*7^10 +
 O(7^11)
 }}}

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