Documentation

CslibFrontier.Foundations.AlgebraicGeometry.EllipticCurve.ManinTwist

The quadratic twist and Manin's parallelogram law #

Let g = X³ + α X² + β X + γ over a field k and D = g(T) ∈ k[T]. The curve Y² = X³ + α D X² + β D² X + γ D³ over k(T) is the quadratic twist of Y² = g(X) by D: (x, y) ↦ (x / D, y / D²) identifies it with D Y² = g(X), which contains the generic point P₀ = (D T, D²). Manin's height of a point is d P = max (deg r) (deg s) where x(P) / D = r / s in lowest terms (and d 0 = 0). It satisfies the exact parallelogram law d (P + Q) + d (P - Q) = 2 d P + 2 d Q. The proof conjugates Stoll's identity WeierstrassCurve.Affine.Point.sym2x_add_sub_eq_addSubMap_sym2x on the twist by Λ = diag(1, D, D²), which turns it into the add-sub map of Y² = g(X) applied to primitive triples over k[T], and then compares heights.

Main definitions #

Main results #

References #

The twist and the point P₀ #

noncomputable def WeierstrassCurve.Manin.twistPoly {k : Type u_1} [Field k] (α β γ : k) :

The twist Y² = X³ + α D X² + β D² X + γ D³ over k[T], where D = g(T) for g = X³ + α X² + β X + γ.

noncomputable def WeierstrassCurve.Manin.twist {k : Type u_1} [Field k] (α β γ : k) :

The twist over k(T) = RatFunc k.

@[simp]
theorem WeierstrassCurve.Manin.twistPoly_a₁ {k : Type u_1} [Field k] (α β γ : k) :
(twistPoly α β γ).a₁ = 0
@[simp]
theorem WeierstrassCurve.Manin.twistPoly_a₂ {k : Type u_1} [Field k] (α β γ : k) :
(twistPoly α β γ).a₂ = Polynomial.C α * cubicPoly α β γ
@[simp]
theorem WeierstrassCurve.Manin.twistPoly_a₃ {k : Type u_1} [Field k] (α β γ : k) :
(twistPoly α β γ).a₃ = 0
@[simp]
theorem WeierstrassCurve.Manin.twistPoly_a₄ {k : Type u_1} [Field k] (α β γ : k) :
(twistPoly α β γ).a₄ = Polynomial.C β * cubicPoly α β γ ^ 2
@[simp]
theorem WeierstrassCurve.Manin.twistPoly_a₆ {k : Type u_1} [Field k] (α β γ : k) :
(twistPoly α β γ).a₆ = Polynomial.C γ * cubicPoly α β γ ^ 3
theorem WeierstrassCurve.Manin.twistPoly_Δ {k : Type u_1} [Field k] (α β γ : k) :
(twistPoly α β γ).Δ = cubicPoly α β γ ^ 6 * Polynomial.C (ofCubic α β γ).Δ

The discriminant of the twist is D⁶ times that of Y² = g(X).

theorem WeierstrassCurve.Manin.equation_P₀ {k : Type u_1} [Field k] (α β γ : k) :
(twistPoly α β γ).toAffine.Equation (cubicPoly α β γ * Polynomial.X) (cubicPoly α β γ ^ 2)

(D T, D²) lies on the twist over k[T].

theorem WeierstrassCurve.Manin.twistPoly_Δ_ne_zero {k : Type u_1} [Field k] {α β γ : k} (hΔ : (ofCubic α β γ).Δ ≠ 0) :
(twistPoly α β γ).Δ ≠ 0
theorem WeierstrassCurve.Manin.nonsingular_of_equation {k : Type u_1} [Field k] {α β γ : k} (hΔ : (ofCubic α β γ).Δ ≠ 0) {x y : Polynomial k} (h : (twistPoly α β γ).toAffine.Equation x y) :

A solution over k[T] is a nonsingular point of the twist over k(T) when Δ ≠ 0.

noncomputable def WeierstrassCurve.Manin.P₀ {k : Type u_1} [Field k] (α β γ : k) :
(twist α β γ).toAffine.Point

The point P₀ = (D T, D²) of the twist (0 if these coordinates are singular, which does not happen when Δ ≠ 0, see P₀_eq).

theorem WeierstrassCurve.Manin.P₀_eq {k : Type u_1} [Field k] {α β γ : k} (hΔ : (ofCubic α β γ).Δ ≠ 0) :
P₀ α β γ = Affine.Point.some ((algebraMap (Polynomial k) (RatFunc k)) (cubicPoly α β γ * Polynomial.X)) ((algebraMap (Polynomial k) (RatFunc k)) (cubicPoly α β γ ^ 2)) ⋯

Manin's height #

noncomputable def WeierstrassCurve.Manin.xPair {k : Type u_1} [Field k] {α β γ : k} :

The reduced pair (num, denom) of x / D for an affine point (x, y) of the twist, and (1, 0) for the point at infinity.

noncomputable def WeierstrassCurve.Manin.d {k : Type u_1} [Field k] {α β γ : k} (P : (twist α β γ).toAffine.Point) :

Manin's height of a point of the twist: max (deg r) (deg s) for x / D = r / s in lowest terms, and 0 at infinity.

theorem WeierstrassCurve.Manin.xPair_some {k : Type u_1} [Field k] {α β γ : k} {x y : RatFunc k} (h : (twist α β γ).toAffine.Nonsingular x y) :
xPair (Affine.Point.some x y h) = ((x / (algebraMap (Polynomial k) (RatFunc k)) (cubicPoly α β γ)).num, (x / (algebraMap (Polynomial k) (RatFunc k)) (cubicPoly α β γ)).denom)
theorem WeierstrassCurve.Manin.isCoprime_xPair {k : Type u_1} [Field k] {α β γ : k} (P : (twist α β γ).toAffine.Point) :
IsCoprime (xPair P).1 (xPair P).2
theorem WeierstrassCurve.Manin.d_some_eq_of_div {k : Type u_1} [Field k] {α β γ : k} {x y : RatFunc k} (h : (twist α β γ).toAffine.Nonsingular x y) {r : RatFunc k} (hx : x / (algebraMap (Polynomial k) (RatFunc k)) (cubicPoly α β γ) = r) :

The height of an affine point of the twist depends only on x / D.

theorem WeierstrassCurve.Manin.d_some_of_x_eq {k : Type u_1} [Field k] {α β γ : k} {x y : RatFunc k} (h : (twist α β γ).toAffine.Nonsingular x y) (f : Polynomial k) (hx : x = (algebraMap (Polynomial k) (RatFunc k)) (cubicPoly α β γ * f)) :

A point with x-coordinate D f for a polynomial f has height deg f.

theorem WeierstrassCurve.Manin.d_P₀ {k : Type u_1} [Field k] {α β γ : k} (hΔ : (ofCubic α β γ).Δ ≠ 0) :
d (P₀ α β γ) = 1

d P₀ = 1.

The parallelogram law #

theorem WeierstrassCurve.Manin.parallelogram {k : Type u_1} [Field k] {α β γ : k} (hΔ : (ofCubic α β γ).Δ ≠ 0) (P Q : (twist α β γ).toAffine.Point) :
d (P + Q) + d (P - Q) = 2 * d P + 2 * d Q

Manin's parallelogram law. On the twist, d (P + Q) + d (P - Q) = 2 d P + 2 d Q for all points P and Q.