Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

FLT.Assumptions.MazurProof.N13FakeDescentAssembly source foundation

Definition
MazurN13_FLT_Assumptions_MazurProof_N13FakeDescentAssembly_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.N13FakeDescentAssembly
Original leading source comments and nonproject imports are retained below. -/
import Definitions.Def_MazurN13_FLT_Assumptions_MazurProof_N13CandidateCollapse_p0
import Definitions.Def_MazurN13_FLT_Assumptions_MazurProof_N13KummerKernelAssembly_p0
import Definitions.Def_MazurN13_FLT_Assumptions_MazurProof_N13LowDegreeKummerHom_p0
import Definitions.Def_MazurN13_FLT_Assumptions_MazurProof_N13MumfordKummerValue_p0

set_option autoImplicit false




/-!
# Assembly of the structural N13 fake descent

The finite algebra is already complete: a candidate whose first ramified
logarithm vanishes has trivial fake square class.  This file isolates the two
semantic arithmetic inputs needed to apply that calculation to the genuine
Jacobian Kummer map:

1. every global Kummer value has a representative in the four-generator
   candidate envelope;
2. the representative attached to a rational Jacobian class has vanishing
   first local logarithm at two.

No candidate enumeration, Mordell--Weil generators, or finiteness hypothesis
is used in the assembly.
-/

namespace MazurProof.N13FakeDescentAssembly

noncomputable section

open N13SexticSquareclass

abbrev G : Type :=
  N13KummerKernelAssembly.G

abbrev Target : Type :=
  N13MumfordKummerValue.FakeTarget

/-- The additive version of the four-generator fake square class. -/
def candidateValue (i j k s : ZMod 2) : Target :=
  Additive.ofMul (N13CandidateCollapse.candidateClass i j k s)

/-- The actual global-to-local semantic package.  The exponents may depend on
the Jacobian class; no finite list of Jacobian generators is assumed. -/
structure CandidateLocalization (kummer : G →+ Target) : Prop where
  exists_candidate :
    ∀ P : G, ∃ i j k s : ZMod 2,
      kummer P = candidateValue i j k s ∧
      N13LocalDlogTwo.candidateDlog i j k s = 0

/-- Structural candidate collapse in the additive fake-Kummer target. -/
theorem candidateValue_eq_zero_of_dlog_eq_zero
    (i j k s : ZMod 2)
    (hlocal : N13LocalDlogTwo.candidateDlog i j k s = 0) :
    candidateValue i j k s = 0 := by
  change
    Additive.ofMul
        (N13CandidateCollapse.candidateClass i j k s) =
      Additive.ofMul 1
  exact congrArg Additive.ofMul
    (N13CandidateCollapse.candidateClass_eq_one_of_dlog_eq_zero
      i j k s hlocal)

/-- The two semantic bridges and the structural candidate calculation make
the genuine fake-Kummer map trivial. -/
theorem kummer_trivial_of_candidateLocalization
    (kummer : G →+ Target)
    (H : CandidateLocalization kummer) :
    ∀ P : G, kummer P = 0 := by
  intro P
  obtain ⟨i, j, k, s, hP, hlocal⟩ :=
    H.exists_candidate P
  rw [hP]
  exact candidateValue_eq_zero_of_dlog_eq_zero i j k s hlocal

/-- Full weak-descent assembly.  The generic even-sextic kernel theorem and
the global/local candidate localization are the only remaining inputs; the
N13 infinity ambiguity is removed by its explicit half-class. -/
theorem twoSurjective_of_candidateLocalization
    (kummer : G →+ Target)
    (kernel_double_or_infinity :
      ∀ P : G, kummer P = 0 ↔
        (∃ Q : G, P = 2 • Q) ∨
        (∃ Q : G,
          P = 2 • Q + N13KummerKernelAssembly.infinityClass))
    (H : CandidateLocalization kummer) :
    N13TwoAdicEndgame.TwoSurjective G := by
  exact N13KummerKernelAssembly.twoSurjective_of_kummer_trivial
    kummer kernel_double_or_infinity
    (kummer_trivial_of_candidateLocalization kummer H)

/-! ## The unconditional structural Kummer map -/

abbrev actualKummer : G →+ Target :=
  N13LowDegreeKummerHom.mumfordKummer

/-- Candidate localization makes the now-unconditional N13 Kummer map
trivial. -/
theorem actualKummer_trivial_of_candidateLocalization
    (H : CandidateLocalization actualKummer) :
    ∀ P : G, actualKummer P = 0 :=
  kummer_trivial_of_candidateLocalization actualKummer H

/-- For the actual structural Kummer map, only the converse kernel theorem
and CandidateLocalization remain as weak-descent inputs. -/
theorem twoSurjective_of_actualCandidateLocalization
    (kernel_double_or_infinity :
      ∀ P : G, actualKummer P = 0 ↔
        (∃ Q : G, P = 2 • Q) ∨
        (∃ Q : G,
          P = 2 • Q + N13KummerKernelAssembly.infinityClass))
    (H : CandidateLocalization actualKummer) :
    N13TwoAdicEndgame.TwoSurjective G :=
  twoSurjective_of_candidateLocalization
    actualKummer kernel_double_or_infinity H

end

end MazurProof.N13FakeDescentAssembly

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

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