Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

FLT.Assumptions.MazurProof.N13InverseInfinityData source foundation

Definition
MazurN13_FLT_Assumptions_MazurProof_N13InverseInfinityData_p0

by FormallyCorrect · Oct 8, 2026 · Mathlib 0df444a (Lean v4.33.1)

mazur-torsion

Definitions and supporting proofs for the order-thirteen exclusion, retained from the indicated source commands.

Definition code
/- Port source: https://github.com/xiangyazi24/FLT @ 51bbb4f191ad0d3753b87123635c100a638ae580
Module: FLT.Assumptions.MazurProof.N13InverseInfinityData
Original leading source comments and nonproject imports are retained below. -/
import Definitions.Def_MazurN13_FLT_Assumptions_MazurProof_N13SplitQuadraticSpecialRestriction_p0
import Definitions.Def_MazurN13_FLT_Assumptions_MazurProof_N13SpecialCuspReduction_p0

set_option autoImplicit false




/-!
# Special divisor of the nInf = 2 degree-zero witness

The split quadratic u = X(X+1), v = 1 has roots x = 0, -1 with good ordinates 0 and 1; its literal reduced
special divisor is s(zeroPlus, negOnePlus) = C + A (cf. N13CuspCARelation: AJ13 C + AJ13 A = -AJ13 T).
This corrects the D + B divisor guessed in ChatGPT answer Q8689.
-/

namespace MazurProof.N13InverseInfinityData

noncomputable section

local instance instFactPrimeOfNatNat_fLT : Fact (Nat.Prime 2) := ⟨Nat.prime_two⟩

open N13SplitQuadraticSpecialRestriction

abbrev Q₂ : Type := N13SplitQuadraticSpecialRestriction.Q₂

theorem goodY_zero_one : N13TwoChartLineTensor.goodY (0 : Q₂) 1 = 0 := by
  simp [N13TwoChartLineTensor.goodY, N13GoodModelTwo.h]

theorem goodY_negOne_one : N13TwoChartLineTensor.goodY (-1 : Q₂) 1 = 1 := by
  simp [N13TwoChartLineTensor.goodY, N13GoodModelTwo.h]; norm_num

theorem curve_zero : N13GoodModelTwo.AffineEquation (0 : Q₂) (N13TwoChartLineTensor.goodY 0 1) := by
  rw [goodY_zero_one]; simp [N13GoodModelTwo.AffineEquation, N13GoodModelTwo.h, N13GoodModelTwo.rhs]

theorem curve_negOne : N13GoodModelTwo.AffineEquation (-1 : Q₂) (N13TwoChartLineTensor.goodY (-1) 1) := by
  rw [goodY_negOne_one]; norm_num [N13GoodModelTwo.AffineEquation, N13GoodModelTwo.h, N13GoodModelTwo.rhs]



theorem toZMod_mk_of_eq (y c : Q₂) (h : ‖y‖ ≤ 1) (hc : ‖c‖ ≤ 1) (hy : y = c) :
    PadicInt.toZMod (⟨y, h⟩ : ℤ_[2]) = PadicInt.toZMod (⟨c, hc⟩ : ℤ_[2]) := by
  subst hy; rfl

theorem reducedPoint_zero :
    reducedPoint (0 : Q₂) (N13TwoChartLineTensor.goodY 0 1) curve_zero =
      N13SpecialCuspReduction.specialCuspEquiv .zeroPlus := by
  apply N13AbelFiberTwoModel.curvePointEquiv.injective
  have hx : ‖(0 : Q₂)‖ ≤ 1 := by simp
  rw [reducedPoint, dif_pos hx, N13IntegralAffinePointSpecialClass.curvePointEquiv_reducedPoint,
    N13SpecialCuspReduction.curvePointEquiv_specialCuspEquiv]
  simp only [N13SpecialCuspReduction.cuspCoordinate, N13ProperCurveReduction.integralAffineLift]
  ext
  · simp
  · show PadicInt.toZMod _ = 0
    rw [toZMod_mk_of_eq _ 0 _ (by simp) goodY_zero_one]
    exact map_zero _

theorem reducedPoint_negOne :
    reducedPoint (-1 : Q₂) (N13TwoChartLineTensor.goodY (-1) 1) curve_negOne =
      N13SpecialCuspReduction.specialCuspEquiv .negOnePlus := by
  apply N13AbelFiberTwoModel.curvePointEquiv.injective
  have hx : ‖(-1 : Q₂)‖ ≤ 1 := by simp
  rw [reducedPoint, dif_pos hx, N13IntegralAffinePointSpecialClass.curvePointEquiv_reducedPoint,
    N13SpecialCuspReduction.curvePointEquiv_specialCuspEquiv]
  simp only [N13SpecialCuspReduction.cuspCoordinate, N13ProperCurveReduction.integralAffineLift]
  ext
  · simp
  · show PadicInt.toZMod _ = 1
    rw [toZMod_mk_of_eq _ 1 _ (by simp) goodY_negOne_one]
    exact map_one _

theorem reducedPairDivisor_inverseInfinity :
    reducedPairDivisor (0 : Q₂) (N13TwoChartLineTensor.goodY 0 1)
        (-1) (N13TwoChartLineTensor.goodY (-1) 1) curve_zero curve_negOne =
      s(N13SpecialCuspReduction.specialCuspEquiv .zeroPlus,
        N13SpecialCuspReduction.specialCuspEquiv .negOnePlus) := by
  rw [reducedPairDivisor, reducedPoint_zero, reducedPoint_negOne]


end
end MazurProof.N13InverseInfinityData

Source
https://github.com/xiangyazi24/FLT @ 51bbb4f191ad0d3753b87123635c100a638ae580:FLT.Assumptions.MazurProof.N13InverseInfinityData

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me