The FLT adelic genus of an elliptic function field is one
ProvedWeilConjectures.Bridge.genusFF_eq_one_of_isEllipticLet be a field and let be the Weierstrass curve over
with nonzero discriminant , i.e. an elliptic curve, where is a perfect field. Let be its affine coordinate ring and let be a field of fractions of , viewed as an extension of through . The structure maps and are assumed compatible, and is assumed finite and separable over (these are hypotheses of the statement). The structure map is the composite , and is assumed to be the full constant field of : every element of algebraic over lies in .
The FLT genus is defined adelically: let be the ring of répartitions of in the FLT sense, the -subalgebra of (product over the FLT places ) generated by the families with for all but finitely many ; let , and embed diagonally. The FLT genus is
Here the FLT places are the valuation rings with that are discrete valuation rings. Then
This makes the genus-one property of elliptic function fields available to the FLT algebraic-curve API, e.g. to specialize genus-dependent results stated with (the -polynomial of degree , the Riemann hypothesis for curves over finite fields) to elliptic curves.
Formalization Note W : WeierstrassCurve.Affine k is Mathlib's Weierstrass curve, W.IsElliptic means that its discriminant is a unit, and W.Point is Mathlib's type of points: zero (the point ) or an affine point with a proof of W.Nonsingular x₀ y₀. The function field is an abstract field K with [Algebra W.CoordinateRing K] [IsFractionRing W.CoordinateRing K] and IsScalarTower k[X] W.CoordinateRing K. The places placeOfPoint W K P and infinityPlace K are intrinsic places obtained from coordinate places: an affine point gives the height-one prime of the integral closure of in corresponding to , and infinityPlace comes from a chosen height-one prime of the integral closure in of the valuation ring at infinity of . Here [PerfectField k], FunctionField k K, Algebra.IsSeparable k⟮X⟯ K and FunctionField.IsFullConstantField k K are hypotheses. The FLT genus is AlgebraicCurve.genusFF k K = Module.finrank k (H1 0), with H1 0 the quotient of repartitions k K by repartitionsOf 0 ⊔ principalRepartitions k K.
import Mathlib
import Definitions.Def_WeilConjectures_RiemannRochFLT
set_option maxHeartbeats 4000000
set_option synthInstance.maxHeartbeats 400000
open scoped WithZero
open MonoidWithZeroHom
open WeilConjectures.Bridge
open scoped Polynomial RatFunc
variable {k : Type*} [Field k] [PerfectField k] (W : WeierstrassCurve.Affine k) [W.IsElliptic]
(K : Type*) [Field K] [Algebra W.CoordinateRing K] [IsFractionRing W.CoordinateRing K]
[Algebra k[X] K] [IsScalarTower k[X] W.CoordinateRing K]
[Algebra k⟮X⟯ K] [IsScalarTower k[X] k⟮X⟯ K]
[FunctionField k K] [Algebra.IsSeparable k⟮X⟯ K]
[Algebra k K] [IsScalarTower k k[X] K] [FunctionField.IsFullConstantField k K]
include Wtheorem WeilConjectures.Bridge.genusFF_eq_one_of_isElliptic : AlgebraicCurve.genusFF k K = 1 := by sorry