Two elliptic curves over of rank
DefinitionRank2Sha_CurvesThis file defines two elliptic curves over by their Weierstrass equations.
curve389a1is
with LMFDB label 389.a1 and Cremona label 389a1. Its discriminant is .
curve56is
with LMFDB label 12544.g1 and Cremona label 12544b2. Its discriminant is . It has complex multiplication by .
The file proves the two discriminant values and registers both curves as elliptic curves. According to the LMFDB both curves have Mordell–Weil rank ; that is not asserted in this file.
Formalization Note A Weierstrass curve is given by its coefficients in ; the two curves are and .
import Mathlib.AlgebraicGeometry.EllipticCurve.Affine.Point
/-!
# Two elliptic curves over `ℚ` of rank 2
A `WeierstrassCurve` is given by its coefficients `⟨a₁, a₂, a₃, a₄, a₆⟩`, for the
equation `y² + a₁xy + a₃y = x³ + a₂x² + a₄x + a₆`.
-/
namespace Rank2Sha
/-- The curve `y² + y = x³ + x² - 2x` over `ℚ`, LMFDB label 389.a1, Cremona label 389a1. -/
def curve389a1 : WeierstrassCurve.Affine ℚ := ⟨0, 1, 1, -2, 0⟩
/-- The curve `y² = x³ - 56x` over `ℚ`, LMFDB label 12544.g1, Cremona label 12544b2. -/
def curve56 : WeierstrassCurve.Affine ℚ := ⟨0, 0, 0, -56, 0⟩
/-- The discriminant of `y² + y = x³ + x² - 2x` is `389`. -/
theorem Δ_curve389a1 : curve389a1.Δ = 389 := by
simp only [curve389a1, WeierstrassCurve.Δ, WeierstrassCurve.b₂, WeierstrassCurve.b₄,
WeierstrassCurve.b₆, WeierstrassCurve.b₈]
norm_num
/-- The discriminant of `y² = x³ - 56x` is `11239424 = 2¹⁵ · 7³`. -/
theorem Δ_curve56 : curve56.Δ = 11239424 := by
simp only [curve56, WeierstrassCurve.Δ, WeierstrassCurve.b₂, WeierstrassCurve.b₄,
WeierstrassCurve.b₆, WeierstrassCurve.b₈]
norm_num
/-- `y² + y = x³ + x² - 2x` is an elliptic curve over `ℚ`. -/
instance instIsEllipticCurve389a1 : curve389a1.IsElliptic := by
rw [WeierstrassCurve.isElliptic_iff, Δ_curve389a1]
exact IsUnit.mk0 _ (by norm_num)
/-- `y² = x³ - 56x` is an elliptic curve over `ℚ`. -/
instance instIsEllipticCurve56 : curve56.IsElliptic := by
rw [WeierstrassCurve.isElliptic_iff, Δ_curve56]
exact IsUnit.mk0 _ (by norm_num)
end Rank2Sha
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Conventions used below. A Weierstrass curve over (type WeierstrassCurve.Affine ℚ, a synonym for WeierstrassCurve ℚ) is a tuple , standing for the equation . Its discriminant is Mathlib's
with , , , . The property IsElliptic of a Weierstrass curve over a ring is that is a unit of the ring; over this says .
Rank2Sha.curve389a1. The Weierstrass curve over with , that is, the equation
The code asserts nothing else about this curve: it does not state a rank, a conductor, minimality of the model, or any database label.
Rank2Sha.curve56. The Weierstrass curve over with , that is, the equation
The code asserts nothing else about this curve: it does not state a rank, a conductor, minimality of the model, complex multiplication, or any database label.
Rank2Sha.Δ_curve389a1. The discriminant of curve389a1 equals in .
Rank2Sha.Δ_curve56. The discriminant of curve56 equals in . (As integers, ; the theorem states only the value .)
Rank2Sha.instIsEllipticCurve389a1. An instance asserting that curve389a1 satisfies IsElliptic, that is, its discriminant is a unit of . The proof uses .
Rank2Sha.instIsEllipticCurve56. An instance asserting that curve56 satisfies IsElliptic, that is, its discriminant is a unit of . The proof uses .