Changeset 7684:efff27d56eb3
- Timestamp:
- 11/20/07 03:38:04 (6 years ago)
- Branch:
- default
- Location:
- sage/schemes/elliptic_curves
- Files:
-
- 4 edited
-
ell_generic.py (modified) (4 diffs)
-
ell_number_field.py (modified) (2 diffs)
-
ell_rational_field.py (modified) (4 diffs)
-
weierstrass_morphism.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sage/schemes/elliptic_curves/ell_generic.py
r7683 r7684 1284 1284 division_polynomial = torsion_polynomial 1285 1285 1286 def isom porphism_to(self, other):1286 def isomorphism_to(self, other): 1287 1287 """ 1288 1288 Given another weierstrass model \code{other} of self, return a morphism … … 1294 1294 sage: E = EllipticCurve('37a') 1295 1295 sage: F = E.weierstrass_model() 1296 sage: w = E.isom porphism_to(F); w1296 sage: w = E.isomorphism_to(F); w 1297 1297 Generic morphism: 1298 1298 From: Abelian group of points on Elliptic Curve defined by y^2 + y = x^3 - x over Rational Field … … 1310 1310 We can also handle injections to different base rings: 1311 1311 sage: K.<a> = NumberField(x^3-7) 1312 sage: E.isom porphism_to(E.change_ring(K))1312 sage: E.isomorphism_to(E.change_ring(K)) 1313 1313 Generic morphism: 1314 1314 From: Abelian group of points on Elliptic Curve defined by y^2 + y = x^3 - x over Rational Field … … 1337 1337 else: 1338 1338 try: 1339 phi = self.isom porphism_to(other)1339 phi = self.isomorphism_to(other) 1340 1340 return True 1341 1341 except ValueError: -
sage/schemes/elliptic_curves/ell_number_field.py
r7681 r7684 79 79 80 80 If the curve has 2-torsion, only the probable rank is returned. 81 82 \note{The points are not translated back to self only because83 I haven't written code to do this yet.}84 81 85 82 INPUT: … … 129 126 (1, -1, []) 130 127 """ 131 #Should this really be here?132 #if self.torsion_order() % 2 == 0:133 # raise ArithmeticError, "curve must not have rational 2-torsion\nThe *only* reason for this is that I haven't finished implementing the wrapper\nin this case. It wouldn't be too difficult.\nPerhaps you could do it?! Email me (wstein@gmail.com)."134 # F = self.integral_weierstrass_model()135 # a1,a2,a3,a4,a6 = F.a_invariants()136 128 x = PolynomialRing(self.base_ring(), 'x').gen(0) 137 129 t = simon_two_descent(self, -
sage/schemes/elliptic_curves/ell_rational_field.py
r7683 r7684 789 789 Given a curve with no 2-torsion, computes (probably) the rank 790 790 of the Mordell-Weil group, with certainty the rank of the 791 2-Selmer group, and a list of independent points on 792 some mysterious model of the curve. 793 794 \note{The points are not translated back to self only because 795 nobody has written code to do this yet. Implement it and send 796 a patch.} 797 791 2-Selmer group, and a list of independent points on the curve. 792 798 793 INPUT: 799 794 verbose -- integer, 0,1,2,3; (default: 0), the verbosity level … … 810 805 integer -- "probably" the rank of self 811 806 integer -- the 2-rank of the Selmer group 812 list -- list of independent points on some (myserious!!) model forthe curve.807 list -- list of independent points on the curve. 813 808 814 809 IMPLEMENTATION: Uses {\bf Denis Simon's} GP/PARI scripts from … … 1599 1594 for a in ai: 1600 1595 if not a.is_integral(): 1601 ### Is there really no prime_factors() function? 1602 pj=[fi[0] for fi in a.denom().factor()] 1603 for p in pj: 1596 for p, _ in a.denom().factor(): 1604 1597 e = min([(ai[i].valuation(p)/[1,2,3,4,6][i]) for i in range(5)]).floor() 1605 1598 ai = [ai[i]/p**(e*[1,2,3,4,6][i]) for i in range(5)] … … 1607 1600 1608 1601 integral_model = global_integral_model 1602 1603 def integral_model(self): 1604 F = self.global_integral_model() 1605 return F, self.isomorphism_to(F) 1609 1606 1610 1607 def integral_weierstrass_model(self): -
sage/schemes/elliptic_curves/weierstrass_morphism.py
r7683 r7684 76 76 sage: F = E.change_weierstrass_model([2,3,4,5]); F 77 77 Elliptic Curve defined by y^2 - 8*x*y + 22*y = x^3 - 25*x^2 + 3*x + 588 over Rational Field 78 sage: w = E.isom porphism_to(F)78 sage: w = E.isomorphism_to(F) 79 79 sage: P = E(-2,3,1) 80 80 sage: w(P)
Note: See TracChangeset
for help on using the changeset viewer.
