The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V28. Algebraic geometry

Mathlib.AlgebraicGeometry.EllipticCurve.ModelsWithJ

26 declarations. Mathlib docs · Source

Models of elliptic curves with prescribed j-invariant

This file defines the Weierstrass equation over a field with prescribed j-invariant, proved that it is an elliptic curve, and that its j-invariant is equal to the given value. It is a modification of [silverman2009], Chapter III, Proposition 1.4 (c).

Main definitions

  • WeierstrassCurve.ofJ0: an elliptic curve whose j-invariant is 0.
  • WeierstrassCurve.ofJ1728: an elliptic curve whose j-invariant is 1728.
  • WeierstrassCurve.ofJNe0Or1728: an elliptic curve whose j-invariant is neither 0 nor 1728.
  • WeierstrassCurve.ofJ: an elliptic curve whose j-invariant equal to j.

Main statements

  • WeierstrassCurve.ofJ_j: the j-invariant of WeierstrassCurve.ofJ is equal to j.

References

  • [J Silverman, The Arithmetic of Elliptic Curves][silverman2009]

Tags

elliptic curve, weierstrass equation, j invariant

def WeierstrassCurve.ofJ0 E3 #

(R : Type u_1) → [CommRing R] → WeierstrassCurve R

The Weierstrass curve Y² + Y = X³. It is of j-invariant 0 if it is an elliptic curve.

theorem WeierstrassCurve.ofJ0_c₄ E1 #

∀ (R : Type u_1) [inst : CommRing R], (WeierstrassCurve.ofJ0 R).c₄ = 0

theorem WeierstrassCurve.ofJ0_Δ E1 #

∀ (R : Type u_1) [inst : CommRing R], (WeierstrassCurve.ofJ0 R).Δ = -27

def WeierstrassCurve.ofJ1728 E3 #

(R : Type u_1) → [CommRing R] → WeierstrassCurve R

The Weierstrass curve Y² = X³ + X. It is of j-invariant 1728 if it is an elliptic curve.

theorem WeierstrassCurve.ofJ1728_c₄ E1 #

∀ (R : Type u_1) [inst : CommRing R], (WeierstrassCurve.ofJ1728 R).c₄ = -48

theorem WeierstrassCurve.ofJ1728_Δ E1 #

∀ (R : Type u_1) [inst : CommRing R], (WeierstrassCurve.ofJ1728 R).Δ = -64

def WeierstrassCurve.ofJNe0Or1728 E3 #

{R : Type u_1} → [CommRing R] → R → WeierstrassCurve R

The Weierstrass curve Y² + (j - 1728)XY = X³ - 36(j - 1728)³X - (j - 1728)⁵. It is a modification of the curve in [silverman2009], Chapter III, Proposition 1.4 (c) to avoid denominators. It is of j-invariant j if it is an elliptic curve.

theorem WeierstrassCurve.ofJNe0Or1728_c₄ E1 #

∀ {R : Type u_1} [inst : CommRing R] (j : R), (WeierstrassCurve.ofJNe0Or1728 j).c₄ = j * (j - 1728) ^ 3

theorem WeierstrassCurve.ofJNe0Or1728_Δ E1 #

∀ {R : Type u_1} [inst : CommRing R] (j : R), (WeierstrassCurve.ofJNe0Or1728 j).Δ = j ^ 2 * (j - 1728) ^ 9

instance WeierstrassCurve.instIsEllipticOfJ0OfFactIsUnitOfNat E0 #

∀ (R : Type u_1) [inst : CommRing R] [hu : Fact (IsUnit 3)], (WeierstrassCurve.ofJ0 R).IsElliptic

When 3 is a unit, Y² + Y = X³ is an elliptic curve. It is of j-invariant 0 (see WeierstrassCurve.ofJ0_j).

theorem WeierstrassCurve.ofJ0_j E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : Fact (IsUnit 3)], (WeierstrassCurve.ofJ0 R).j = 0

instance WeierstrassCurve.instIsEllipticOfJ1728OfFactIsUnitOfNat E0 #

∀ (R : Type u_1) [inst : CommRing R] [hu : Fact (IsUnit 2)], (WeierstrassCurve.ofJ1728 R).IsElliptic

When 2 is a unit, Y² = X³ + X is an elliptic curve. It is of j-invariant 1728 (see WeierstrassCurve.ofJ1728_j).

theorem WeierstrassCurve.ofJ1728_j E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : Fact (IsUnit 2)], (WeierstrassCurve.ofJ1728 R).j = 1728

instance WeierstrassCurve.instIsEllipticOfJNe0Or1728OfFactIsUnitHSubOfNat E0 #

∀ {R : Type u_1} [inst : CommRing R] (j : R) [h1 : Fact (IsUnit j)] [h2 : Fact (IsUnit (j - 1728))],
  (WeierstrassCurve.ofJNe0Or1728 j).IsElliptic

When j and j - 1728 are both units, Y² + (j - 1728)XY = X³ - 36(j - 1728)³X - (j - 1728)⁵ is an elliptic curve. It is of j-invariant j (see WeierstrassCurve.ofJNe0Or1728_j).

theorem WeierstrassCurve.ofJNe0Or1728_j E1 #

∀ {R : Type u_1} [inst : CommRing R] (j : R) [inst_1 : Fact (IsUnit j)] [inst_2 : Fact (IsUnit (j - 1728))],
  (WeierstrassCurve.ofJNe0Or1728 j).j = j

def WeierstrassCurve.ofJ E3 #

{F : Type u_2} → [Field F] → F → [DecidableEq F] → WeierstrassCurve F

For any element j of a field F, there exists an elliptic curve over F with j-invariant equal to j (see WeierstrassCurve.ofJ_j). Its coefficients are given explicitly (see WeierstrassCurve.ofJ0, WeierstrassCurve.ofJ1728 and WeierstrassCurve.ofJNe0Or1728).

theorem WeierstrassCurve.ofJ_0_of_three_ne_zero E1 #

∀ {F : Type u_2} [inst : Field F] [inst_1 : DecidableEq F], 3 ≠ 0 → WeierstrassCurve.ofJ 0 = WeierstrassCurve.ofJ0 F

theorem WeierstrassCurve.ofJ_0_of_three_eq_zero E1 #

∀ {F : Type u_2} [inst : Field F] [inst_1 : DecidableEq F], 3 = 0 → WeierstrassCurve.ofJ 0 = WeierstrassCurve.ofJ1728 F

theorem WeierstrassCurve.ofJ_0_of_two_eq_zero E1 #

∀ {F : Type u_2} [inst : Field F] [inst_1 : DecidableEq F], 2 = 0 → WeierstrassCurve.ofJ 0 = WeierstrassCurve.ofJ0 F

theorem WeierstrassCurve.ofJ_1728_of_three_eq_zero E1 #

∀ {F : Type u_2} [inst : Field F] [inst_1 : DecidableEq F],
  3 = 0 → WeierstrassCurve.ofJ 1728 = WeierstrassCurve.ofJ1728 F

theorem WeierstrassCurve.ofJ_1728_of_two_ne_zero E1 #

∀ {F : Type u_2} [inst : Field F] [inst_1 : DecidableEq F],
  2 ≠ 0 → WeierstrassCurve.ofJ 1728 = WeierstrassCurve.ofJ1728 F

theorem WeierstrassCurve.ofJ_1728_of_two_eq_zero E1 #

∀ {F : Type u_2} [inst : Field F] [inst_1 : DecidableEq F], 2 = 0 → WeierstrassCurve.ofJ 1728 = WeierstrassCurve.ofJ0 F

theorem WeierstrassCurve.ofJ_ne_0_ne_1728 E1 #

∀ {F : Type u_2} [inst : Field F] (j : F) [inst_1 : DecidableEq F],
  j ≠ 0 → j ≠ 1728 → WeierstrassCurve.ofJ j = WeierstrassCurve.ofJNe0Or1728 j

instance WeierstrassCurve.instIsEllipticOfJ E0 #

∀ {F : Type u_2} [inst : Field F] (j : F) [inst_1 : DecidableEq F], (WeierstrassCurve.ofJ j).IsElliptic

theorem WeierstrassCurve.ofJ_j E3 #

∀ {F : Type u_2} [inst : Field F] (j : F) [inst_1 : DecidableEq F], (WeierstrassCurve.ofJ j).j = j

instance WeierstrassCurve.instInhabitedSubtypeIsElliptic E0 #

{F : Type u_2} → [inst : Field F] → [DecidableEq F] → Inhabited { W // W.IsElliptic }