diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-06-14 09:58:21 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-06-14 09:58:21 +0200 |
| commit | 5ea79c7ae0d44686f1df05c4a016652afbe58968 (patch) | |
| tree | 05f6a052373f5fe0942777a48303b2f8b884cbe1 /misc_code/adelic_failure_example.sage | |
| download | kummer-notes-code-5ea79c7ae0d44686f1df05c4a016652afbe58968.tar.gz kummer-notes-code-5ea79c7ae0d44686f1df05c4a016652afbe58968.zip | |
Initial commit
Diffstat (limited to '')
| -rwxr-xr-x | misc_code/adelic_failure_example.sage | 10 |
1 files changed, 10 insertions, 0 deletions
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) | ||
