Index of theproofnetwork/open-problems@860a535/Prove2Me/Definitions/Def_Rank2Sha_Curves.lean

qedmarket’s copy of theproofnetwork/open-problems@860a535, 3 Dec 2026original source ↗

43 lines · 1.8 kBraw
/-From Prove2Me, definition `Rank2Sha_Curves` (https://prove2.me/definitions/4fd07909-3f1d-479f-ac8f-fed040fcae11). Apache-2.0 per Prove2Me's terms.-/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 theequation `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

download (.tar)