Created
October 17, 2019 02:08
-
-
Save alexjbest/38c9075cf0050eafb0e6ce80a8e41d8f to your computer and use it in GitHub Desktop.
Revisions
-
alexjbest created this gist
Oct 17, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ p=7 L.<t> = FunctionField(GF(p)) S.<x,y> = L[] E = EllipticCurve(y^2 - x*(x-1)*(x-t^2)) deg = 3 # what degree correct up till R.<T>= PowerSeriesRing(QQ) lpol = ((1 + T) * (1 - T))^(-2) # bad factors computed by hand for now ll = [] for N in range(deg + 1): for pp in L.places(N): try: Epp = E.base_extend(lambda x: x.evaluate(pp)) except: print "bad", pp pass else: lpol *= (1 - ((p^N + 1) - Epp.cardinality()) * T^N + p^N * T^(2*N))^(-1) print lpol