Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

FLT.Assumptions.MazurProof.N13EscapingPointPicardRealization source foundation

Definition
MazurN13_FLT_Assumptions_MazurProof_N13EscapingPointPicardRealization_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.N13EscapingPointPicardRealization
Original leading source comments and nonproject imports are retained below. -/
import Definitions.Def_MazurN13_FLT_Assumptions_MazurProof_N13EscapingPointSpecialRestriction_p0
import Definitions.Def_MazurN13_FLT_Assumptions_MazurProof_N13IntegralInfinityGraphSaturation_p0
import Definitions.Def_MazurN13_FLT_Assumptions_MazurProof_N13TwoChartPicardRealization_p0

set_option autoImplicit false




/-!
# Picard realization of escaping degree-one N13 points

An escaping affine point is integral on the ordinary infinity chart.  Its
proper point line reduces to the canonical reduced infinity point.  Tensoring
once with the positive-infinity point line supplies the second special point
required by the degree-two Abel model, while preserving the generic affine
ideal exactly.

The explicit oriented integer is `-1`: a degree-one affine Mumford point has
`nInf = 0`, and `SexticMumford.mumfordRaw` records `nInf - 1`.
-/

open scoped nonZeroDivisors

namespace MazurProof.N13EscapingPointPicardRealization

noncomputable section

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

/-- The two-adic coefficient field used by the proper reduction and the
oriented generic Picard model. -/
abbrev Q₂ : Type :=
  N13EscapingPointSpecialRestriction.Q₂

/-- The good completed-square sextic model over the two-adic field. -/
abbrev Model : SexticMumford.Model Q₂ :=
  N13TwoChartPicardRealization.Model

/-- Proper two-chart lines on the integral good model. -/
abbrev Line : Type :=
  N13TwoChartPicardRealization.Line

/-- The cleared horizontal equation of an integral infinity-chart point
makes the ordinary affine coordinate invertible modulo its affine point
ideal.  This prevents localization at that coordinate from losing an
affine-chart component. -/
theorem affinePointIdeal_xUnitMod
    (P : N13IntegralInfinityPointSpread.IntegralInfinityPoint) :
    N13IntegralInfinityGraphSaturation.XUnitMod
      (N13IntegralInfinityPointSpread.affinePointIdeal P) := by
  let q : N13IntegralModelContraction.IntegralRing :=
    N13GeneralizedMumfordIntegral.xClassHom
      (Polynomial.C P.1.1)
  refine ⟨q, ?_⟩
  have hgen :
      N13GeneralizedMumfordIntegral.xClassHom
          (N13IntegralInfinityPointSpread.affineU P) ∈
        N13IntegralInfinityPointSpread.affinePointIdeal P :=
    GeneralizedGraphIdealCore.xClass_mem_graphIdeal
      N13GeneralizedMumfordIntegral.xClassHom
      N13GeneralizedMumfordIntegral.yClass
      (N13IntegralInfinityPointSpread.affineU P)
      (N13IntegralInfinityPointSpread.affineV P)
  change
    1 - q * N13OrdinaryCurveOverlap.xClass ∈
      N13IntegralInfinityPointSpread.affinePointIdeal P
  simpa only [q, N13IntegralInfinityPointSpread.affineU,
    N13OrdinaryCurveOverlap.xClass,
    N13GeneralizedMumfordIntegral.xClassHom_apply,
    map_sub, map_mul, map_one] using hgen

/-- The affine closure of an integral infinity-chart point is saturated by
every nonzero two-adic scalar.

The infinity point ideal is a monic graph, hence saturated.  Saturation
survives localization to the overlap, and `affinePointIdeal_xUnitMod` shows
that contracting from the overlap recovers the original affine ideal. -/
theorem affinePointIdeal_scalarSaturated
    (P : N13IntegralInfinityPointSpread.IntegralInfinityPoint)
    (r : N13IntegralModelContraction.R₂)
    (hr : r ≠ 0)
    (z : N13IntegralModelContraction.IntegralRing)
    (hz :
      algebraMap N13IntegralModelContraction.R₂
          N13IntegralModelContraction.IntegralRing r * z ∈
        N13IntegralInfinityPointSpread.affinePointIdeal P) :
    z ∈ N13IntegralInfinityPointSpread.affinePointIdeal P := by
  let Ia := N13IntegralInfinityPointSpread.affinePointIdeal P
  let Ii := N13IntegralInfinityPointSpread.pointIdeal P
  let f := N13OrdinaryCurveOverlap.affineToInfinityOverlap
  let g :
      N13IntegralInfinityPointSpread.InfinityCurve →+*
        N13OrdinaryCurveOverlap.InfinityOverlap :=
    algebraMap
      N13IntegralInfinityPointSpread.InfinityCurve
      N13OrdinaryCurveOverlap.InfinityOverlap
  have hoverlap : Ideal.map f Ia = Ideal.map g Ii := by
    exact N13IntegralInfinityPointSpread.pointIdeals_agree_on_overlap P
  have hInfinity :
      ∀ (s : N13IntegralModelContraction.R₂), s ≠ 0 →
        ∀ w : N13IntegralInfinityPointSpread.InfinityCurve,
          algebraMap N13IntegralModelContraction.R₂
                N13IntegralInfinityPointSpread.InfinityCurve s * w ∈ Ii →
            w ∈ Ii := by
    intro s hs w hw
    change
      algebraMap N13IntegralModelContraction.R₂
            N13IntegralInfinityPointSpread.InfinityCurve s * w ∈
        N13IntegralInfinityGraphTwoChart.infinityIdeal
          (N13IntegralInfinityPointSpread.pointSemiGraph P) at hw
    change
      w ∈ N13IntegralInfinityGraphTwoChart.infinityIdeal
        (N13IntegralInfinityPointSpread.pointSemiGraph P)
    exact
      N13IntegralInfinityGraphSaturation.infinityIdeal_scalarSaturated
        (N13IntegralInfinityPointSpread.pointSemiGraph P)
        (Polynomial.monic_X_sub_C P.1.1)
        s hs w hw
  have hInfinityOverlap :
      ∀ (s : N13IntegralModelContraction.R₂), s ≠ 0 →
        ∀ w : N13OrdinaryCurveOverlap.InfinityOverlap,
          algebraMap N13IntegralModelContraction.R₂
                N13OrdinaryCurveOverlap.InfinityOverlap s * w ∈
              Ideal.map g Ii →
            w ∈ Ideal.map g Ii := by
    exact
      N13IntegralInfinityGraphSaturation.scalarSaturated_map_localization
        (R := N13IntegralModelContraction.R₂)
        (S := N13IntegralInfinityPointSpread.InfinityCurve)
        (T := N13OrdinaryCurveOverlap.InfinityOverlap)
        (Submonoid.powers N13IntegralInfinityChart.tClass)
        hInfinity
  have hrzOverlap :
      algebraMap N13IntegralModelContraction.R₂
            N13OrdinaryCurveOverlap.InfinityOverlap r * f z ∈
        Ideal.map g Ii := by
    rw [← hoverlap]
    have hm := Ideal.mem_map_of_mem f hz
    simpa only [f, Ia, map_mul,
      N13IntegralInfinityGraphSaturation.affineToInfinityOverlap_algebraMap_R₂]
      using hm
  have hzOverlap : f z ∈ Ideal.map g Ii :=
    hInfinityOverlap r hr (f z) hrzOverlap
  have hzComap : z ∈ Ideal.comap f (Ideal.map f Ia) := by
    change f z ∈ Ideal.map f Ia
    rw [hoverlap]
    exact hzOverlap
  rw [N13IntegralInfinityGraphSaturation.affineOverlapContracted_of_xUnitMod
    (affinePointIdeal_xUnitMod P)] at hzComap
  exact hzComap

/-- The proper two-chart line of a nonintegral affine point is vertically
saturated on its ordinary affine chart. -/
theorem nonintegralPointLine_affineVerticallySaturated
    (x y : Q₂)
    (hx : x.valuation < 0)
    (hxy : N13GoodModelTwo.AffineEquation x y) :
    N13TwoChartPicardRealization.AffineVerticallySaturated
      (N13IntegralInfinityPointSpread.nonintegralPointLine
        x y hx hxy) := by
  intro r hr a ha
  exact
    affinePointIdeal_scalarSaturated
      (N13ProperCurveReduction.nonintegralInfinityLift
        x y hx hxy)
      r hr a ha

/-- Algebra structure used to extend an integral fractional ideal to the
generic sextic coordinate ring. -/
local instance integralRationalAlgebra :
    Algebra N13IntegralFractionalHull.IntegralRing
      N13IntegralFractionalHull.RationalRing :=
  N13IntegralFractionalHull.integralToRational.toAlgebra

/-- The common function field is the fraction field of the integral affine
coordinate ring. -/
local instance integralFunctionFieldFractionRing :
    IsFractionRing N13IntegralFractionalHull.IntegralRing
      N13IntegralFractionalHull.FunctionField :=
  N13IntegralFractionalHull.functionField_isFractionRing

/-- The balanced degree-one Mumford representative of the original affine
point.  Its infinity multiplicity is zero because the point is affine. -/
abbrev degreeOneMumford
    (x y : Q₂)
    (hxy : N13GoodModelTwo.AffineEquation x y) :
    SexticMumford.Mumford Model :=
  SexticMumford.pointMumford Model
    (N13EscapingDegreeOneSpread.curvePoint x y hxy)

/-- The two chart-field equalities assemble into literal equality between
the unanchored special restriction and the canonical reduced point pair. -/
theorem restrict_nonintegralPointLine_eq_point
    (x y : Q₂)
    (hx : x.valuation < 0)
    (hxy : N13GoodModelTwo.AffineEquation x y) :
    N13TwoChartSpecialRestriction.restrict
        (N13IntegralInfinityPointSpread.nonintegralPointLine
          x y hx hxy) =
      N13SpecialDivisorCharts.point
        (N13ProperCurveReduction.reduceNonintegralAffine
          x y hx hxy) := by
  apply N13TwoChartSpecialRestriction.ChartPair.ext
  · exact
      N13EscapingPointSpecialRestriction.restrict_nonintegralPointLine_affineIdeal
        x y hx hxy
  · exact
      N13EscapingPointSpecialRestriction.restrict_nonintegralPointLine_infinityIdeal
        x y hx hxy

/-- The anchored line restricts to the canonical chart pair of the literal
degree-two divisor formed by the reduced point and the positive anchor. -/
theorem restrict_anchoredPointLine_eq_ofDivisor
    (x y : Q₂)
    (hx : x.valuation < 0)
    (hxy : N13GoodModelTwo.AffineEquation x y) :
    N13TwoChartSpecialRestriction.restrict
        (N13EscapingPointSpecialRestriction.anchoredPointLine
          x y hx hxy) =
      N13SpecialDivisorCharts.ofDivisor
        (N13EscapingPointSpecialRestriction.anchoredDivisor
          x y hx hxy) := by
  apply N13TwoChartSpecialRestriction.ChartPair.ext
  · exact
      N13EscapingPointSpecialRestriction.restrict_anchoredPointLine_affineIdeal
        x y hx hxy
  · exact
      N13EscapingPointSpecialRestriction.restrict_anchoredPointLine_infinityIdeal
        x y hx hxy

/-- Adjoining the positive-infinity anchor changes only the infinity chart,
so the normalized escaping-point line retains affine vertical saturation. -/
theorem anchoredPointLine_affineVerticallySaturated
    (x y : Q₂)
    (hx : x.valuation < 0)
    (hxy : N13GoodModelTwo.AffineEquation x y) :
    N13TwoChartPicardRealization.AffineVerticallySaturated
      (N13EscapingPointSpecialRestriction.anchoredPointLine
        x y hx hxy) := by
  simpa [N13TwoChartPicardRealization.AffineVerticallySaturated,
    N13EscapingPointSpecialRestriction.anchoredPointLine] using
      nonintegralPointLine_affineVerticallySaturated x y hx hxy

/-- Full two-fibre realization data for an escaping degree-one Mumford point.

The positive-infinity tensor factor supplies special degree two.  The marked
generic order remains `-1`, which is the oriented exponent of an affine
degree-one Mumford representative. -/
def data
    (x y : Q₂)
    (hx : x.valuation < 0)
    (hxy : N13GoodModelTwo.AffineEquation x y) :
    N13TwoChartPicardRealization.Data where
  charts :=
    N13EscapingPointSpecialRestriction.anchoredPointLine
      x y hx hxy
  infinityOrder := -1
  specialDivisor :=
    N13EscapingPointSpecialRestriction.anchoredDivisor
      x y hx hxy
  special_affine :=
    N13EscapingPointSpecialRestriction.restrict_anchoredPointLine_affineIdeal
      x y hx hxy
  special_infinity :=
    N13EscapingPointSpecialRestriction.restrict_anchoredPointLine_infinityIdeal
      x y hx hxy

/-- Adding the positive-infinity anchor leaves the generic affine ideal
unchanged, so it remains the standard Mumford ideal of the original point. -/
theorem map_anchoredPointLine_affineIdeal
    (x y : Q₂)
    (hx : x.valuation < 0)
    (hxy : N13GoodModelTwo.AffineEquation x y) :
    Ideal.map
        N13IntegralFractionalHull.integralToRational
        (N13EscapingPointSpecialRestriction.anchoredPointLine
          x y hx hxy).affineIdeal =
      SexticMumford.mumfordIdeal Model
        (degreeOneMumford x y hxy).u
        (degreeOneMumford x y hxy).v := by
  change
    Ideal.map
        N13TwoAdicCoordinateBaseChange.integralToSextic
        (N13EscapingPointSpecialRestriction.anchoredPointLine
          x y hx hxy).affineIdeal =
      _
  rw [N13EscapingPointSpecialRestriction.anchoredPointLine,
    N13TwoChartLineTensor.map_withPositiveInfinityMultiplicity_affineIdeal]
  change
    Ideal.map
        N13TwoAdicCoordinateBaseChange.integralToSextic
        (N13IntegralInfinityPointSpread.affinePointIdeal
          (N13EscapingDegreeOneSpread.lift x y hx hxy)) =
      _
  exact
    N13EscapingDegreeOneSpread.genericIdeal_eq_pointMumford
      x y hx hxy

/-- The generic fractional-ideal unit of the anchored proper line is exactly
the unit packaged by the degree-one Mumford representative. -/
theorem genericIdealUnit_anchoredPointLine_eq_pointMumford
    (x y : Q₂)
    (hx : x.valuation < 0)
    (hxy : N13GoodModelTwo.AffineEquation x y) :
    N13TwoChartPicardRealization.genericIdealUnit
        (N13EscapingPointSpecialRestriction.anchoredPointLine
          x y hx hxy) =
      SexticMumford.mumfordIdealUnit Model
        (degreeOneMumford x y hxy).toSemi := by
  apply Units.ext
  rw [N13TwoChartPicardRealization.coe_genericIdealUnit,
    SexticMumford.coe_mumfordIdealUnit]
  exact
    congrArg
      (fun I : Ideal N13IntegralFractionalHull.RationalRing =>
        (I : N13IntegralFractionalHull.RationalFractionalIdeal))
      (map_anchoredPointLine_affineIdeal x y hx hxy)

/-- The oriented raw datum of the anchored line is literally the Mumford raw
datum; the ideal units agree and both oriented exponents are `-1`. -/
theorem genericRaw_anchoredPointLine_eq_mumfordRaw
    (x y : Q₂)
    (hx : x.valuation < 0)
    (hxy : N13GoodModelTwo.AffineEquation x y) :
    N13TwoChartPicardRealization.genericRaw
        (N13EscapingPointSpecialRestriction.anchoredPointLine
          x y hx hxy)
        (-1) =
      SexticMumford.mumfordRaw Model
        (degreeOneMumford x y hxy) := by
  apply Prod.ext
  · change
      N13TwoChartPicardRealization.genericIdealUnit
          (N13EscapingPointSpecialRestriction.anchoredPointLine
            x y hx hxy) =
        SexticMumford.mumfordIdealUnit Model
          (degreeOneMumford x y hxy).toSemi
    exact
      genericIdealUnit_anchoredPointLine_eq_pointMumford
        x y hx hxy
  · change
      Multiplicative.ofAdd (-1 : ℤ) =
        Multiplicative.ofAdd
          (((degreeOneMumford x y hxy).nInf : ℤ) - 1)
    simp [degreeOneMumford,
      N13EscapingDegreeOneSpread.curvePoint,
      SexticMumford.pointMumford,
      SexticMumford.affinePointMumford]

/-- The generic raw datum stored by `data` is the literal Mumford raw datum,
not merely the same class modulo principal oriented ideals. -/
theorem data_genericRaw_eq_mumfordRaw
    (x y : Q₂)
    (hx : x.valuation < 0)
    (hxy : N13GoodModelTwo.AffineEquation x y) :
    N13TwoChartPicardRealization.genericRaw
        (data x y hx hxy).charts
        (data x y hx hxy).infinityOrder =
      SexticMumford.mumfordRaw Model
        (degreeOneMumford x y hxy) := by
  change
    N13TwoChartPicardRealization.genericRaw
        (N13EscapingPointSpecialRestriction.anchoredPointLine
          x y hx hxy)
        (-1) =
      _
  exact
    genericRaw_anchoredPointLine_eq_mumfordRaw
      x y hx hxy

/-- Consequently the generic Picard class carried by the two-fibre data is
the standard oriented class of the original degree-one Mumford point. -/
theorem data_toGenericPic_eq_classOf
    (x y : Q₂)
    (hx : x.valuation < 0)
    (hxy : N13GoodModelTwo.AffineEquation x y) :
    (data x y hx hxy).toGenericPic =
      SexticMumford.classOf
        Model
        (N13Infinity.positiveInfinityOrder Q₂)
        (degreeOneMumford x y hxy) := by
  change
    N13TwoChartPicardRealization.genericClass
        (N13EscapingPointSpecialRestriction.anchoredPointLine
          x y hx hxy)
        (-1) =
      SexticMumford.classOf
        Model
        (N13Infinity.positiveInfinityOrder Q₂)
        (degreeOneMumford x y hxy)
  unfold N13TwoChartPicardRealization.genericClass
    SexticMumford.classOf
  rw [genericRaw_anchoredPointLine_eq_mumfordRaw]

end

end MazurProof.N13EscapingPointPicardRealization

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

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