Hasse's theorem: for elliptic curves over finite fields
ProvedBSD.hasse_boundLet be a finite field with elements and let be an elliptic curve over , given by a Weierstrass equation with non-zero discriminant. Let denote the number of -rational points of , including the point at infinity. Then
equivalently .
This is Hasse's theorem (1933), the Riemann hypothesis for elliptic curves over finite fields. The integer is the trace of Frobenius, and the inequality says that the roots of have absolute value .
Formalization Note is a WeierstrassCurve F with [E.IsElliptic]; is Nat.card E.toAffine.Point, where Mathlib's type of points of the affine model already includes the point at infinity (the constructor zero). The field is arbitrary finite (any characteristic, including 2 and 3), with given by Nat.card F.
import Mathlib
namespace BSD
theorem hasse_bound {F : Type*} [Field F] [Finite F] (E : WeierstrassCurve F) [E.IsElliptic] :
((Nat.card F : ℤ) + 1 - Nat.card E.toAffine.Point) ^ 2 ≤ 4 * Nat.card F := by sorry
end BSDConfirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.