A rational p-torsion point supplies the good-at-p integrality witness
ProvedPrimeLocal.rational_point_supplies_atP_hordIf the curve has good reduction at p >= 3 and a rational point of order p, then above p there is a p-torsion point with integral x-coordinate (the hord clause of the local package).
Preamble
import Mathlib import Definitions.Def_EllipticCurve_ZeroComponentAt import Definitions.Def_FLTPrelim_GaloisRep import Definitions.Def_FLTPrelim_Ramification import Definitions.Def_FLTPrelim_CofixedLine set_option synthInstance.maxHeartbeats 400000 set_option backward.isDefEq.respectTransparency.types false open WeierstrassCurve WeierstrassCurve.Affine WeierstrassCurve.Affine.Point open scoped WeierstrassCurve.Affine NNReal
Formal statement
namespace PrimeLocal
theorem rational_point_supplies_atP_hord (W : WeierstrassCurve ℤ) (hΔ : W.Δ ≠ 0) {p : ℕ} (hp : p.Prime) (hp3 : 3 ≤ p) (x y : ℚ) (h : (W.map (Int.castRingHom ℚ)).toAffine.Nonsingular x y) (hP : addOrderOf (WeierstrassCurve.Affine.Point.some x y h) = p) : ∀ A : ValuationSubring (AlgebraicClosure ℚ), A.LiesOverPrime p → ∃ (x' y' : AlgebraicClosure ℚ) (h' : ((W.map (Int.castRingHom ℚ))⁄(AlgebraicClosure ℚ)).toAffine.Nonsingular x' y'), p • (Point.some x' y' h') = 0 ∧ x' ∈ A := by sorry
end PrimeLocalSource