Heights of primitive polynomial triples #
Manin's proof of Hasse's bound measures points of a quadratic twist by degrees of polynomial
triples. A triple w : Fin 3 → k[X] is primitive if no prime divides all three components, and
its height is the largest degree of a component. Proportional primitive triples have the same
height; the symmetric product of two coprime pairs is primitive, of height the sum of the
heights of the pairs; and the add-sub map of an elliptic curve over k, applied to a primitive
triple over k[X], gives a primitive triple of twice the height.
Main definitions #
WeierstrassCurve.Manin.IsPrimTriple: no prime divides all three components.WeierstrassCurve.Manin.hgt: the largest degree of a component.WeierstrassCurve.Manin.sym2Pair: the symmetric product(r r', r s' + s r', s s').
Main results #
WeierstrassCurve.Manin.hgt_eq_of_smul_eq: proportional primitive triples have equal heights.WeierstrassCurve.Manin.isPrim_sym2Pair,WeierstrassCurve.Manin.hgt_sym2Pair: the symmetric product of coprime pairs.WeierstrassCurve.Manin.isPrim_addSubMap,WeierstrassCurve.Manin.hgt_addSubMap: the add-sub map preserves primitivity and doubles the height.
Implementation notes #
This file, ManinTwist and Hasse adapt Manin's elementary proof of Hasse's bound
[Man56]. His §2 (pp. 675–676) follows the heights of a sequence of points on the twist,
obtained from the Frobenius point by adding multiples of the generic point, shows that they satisfy
the recurrence d (n + 1) + d (n - 1) = 2 d n + 2, and solves it in closed form. His Lemma 2
(p. 676) is the cancellation count that brings the number of solutions into the height. The Lean
development follows this plan but is not a literal transcription:
- The recurrence. It is the parallelogram law
WeierstrassCurve.Manin.parallelogram. That law comes from conjugating Mathlib's add-sub map identity on the twist (ManinTwist) and comparing heights of primitive triples (this file), rather than from Manin's own computation. - The sequence index. The closed form
WeierstrassCurve.Manin.d_P₁_sub_zsmul_P₀is stated forP₁ - n • P₀, withP₁the Frobenius point andP₀the generic point. Manin's sequence adds the generic point, so his index corresponds to-n. - The cancellation count. Lemma 2 corresponds to
WeierstrassCurve.Manin.d_P₁_sub_P₀: the reduced denominator ofx(P₁ - P₀) / Dis∏_c (T - c)^(1 + χ(g(c))), of degreeq + S. - Affine points and the point at infinity. Manin counts the solutions of the congruence
y² ≡ g(x), which are the affine points; there areq + Sof them (WeierstrassCurve.natCard_equation). The Lean endpoints countW.toAffine.Point, which also contains the point at infinity, so#E(F) = q + 1 + S(WeierstrassCurve.natCard_point_eq). - The quadratic term and characteristic three. Manin works with a cubic without an
x²term, and removing that term needs3to be invertible. Hereg = X³ + α X² + β X + γkeeps the quadratic term, so only odd characteristic is needed (to complete the square), and characteristic three is included.
References #
- Ju. I. Manin, On cubic congruences to a prime modulus, Izv. Akad. Nauk SSSR Ser. Mat. 20:5 (1956), pp. 673–678: §2 (pp. 675–676) and Lemma 2 (p. 676).
- Hasse's bound is Theorem 9.72 of J. Katz, Y. Lindell, Introduction to Modern Cryptography (p. 351), which states it without proof.
addSubMap commutes with base change of the curve.
A triple over k[X] is primitive if no prime divides all three components.
The height of a triple over k[X]: the largest degree of a component.
The symmetric product (r r', r s' + s r', s s') of the pairs (r, s) and (r', s').
The height of a triple #
Primitive triples #
A triple is primitive iff every common divisor of its components is a unit.
Primitive triples that are proportional over RatFunc k have the same height.
The symmetric product of two coprime pairs #
The symmetric product of two coprime pairs is primitive.
The height of the symmetric product of two coprime pairs is the sum of their heights.
The add-sub map doubles the height #
The add-sub map of E.map C sends primitive triples to primitive triples.
The add-sub map of E.map C doubles the height of a primitive triple.