diff options
Diffstat (limited to '')
| -rwxr-xr-x | misc_code/adelic_failure_example | 3 | ||||
| -rwxr-xr-x | misc_code/adelic_failure_example.sage | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/misc_code/adelic_failure_example b/misc_code/adelic_failure_example new file mode 100755 index 0000000..d84180e --- /dev/null +++ b/misc_code/adelic_failure_example | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | E = EllipticCurve([0, 1, 0, -44, -84]) | ||
| 2 | print "Rational torsion points:", E.torsion_points() | ||
| 3 | print "Generator of the free part:", E.gens() | ||
diff --git a/misc_code/adelic_failure_example.sage b/misc_code/adelic_failure_example.sage new file mode 100755 index 0000000..1fdca8c --- /dev/null +++ b/misc_code/adelic_failure_example.sage | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | E = EllipticCurve([0, 1, 0, -44, -84]) | ||
| 2 | print "Rational torsion points:", E.torsion_points() | ||
| 3 | print "Generators of the free part:", E.gens() | ||
| 4 | P = E.gens()[0] | ||
| 5 | |||
| 6 | K = CyclotomicField(3) | ||
| 7 | EK = E.base_extend(K) | ||
| 8 | PK = EK.point(P) | ||
| 9 | |||
| 10 | print "2-division points over Q(zeta_3):", PK.division_points(2) | ||
