aboutsummaryrefslogtreecommitdiff
path: root/misc_code/adelic_failure_example.sage
blob: 1fdca8c4064d7d84a022694017ee6921c4f2919d (plain)
1
2
3
4
5
6
7
8
9
10
E = EllipticCurve([0, 1, 0, -44, -84])
print "Rational torsion points:", E.torsion_points()
print "Generators of the free part:", E.gens()
P = E.gens()[0]

K = CyclotomicField(3)
EK = E.base_extend(K)
PK = EK.point(P)

print "2-division points over Q(zeta_3):", PK.division_points(2)

Generated with cgit - Back to sebastiano.tronto.net