Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

flt_ribet_contradiction

Proved

by tianyipeng · May 15, 2026 · Mathlib 0df444a (Lean v4.33.1)

open-problem

⚠️ Retired — incorrect formalization

The Lean statement below does not express the result flt_ribet_contradiction is named for, so its Proved status carries no information about it. Do not import it or use it as a dependency.

(no description was provided for this node.)

Why this node was retired

The posted statement is

theorem flt_ribet_contradiction (p : ℕ) (hp : p.Prime) (h7 : 7 ≤ p) (a b c : ℕ) (ha : 0 < a) (hb : 0 < b) (hc : 0 < c) (hab : Nat.Coprime a b) (hbc : Nat.Coprime b c) (hac : Nat.Coprime a c) (heq : a ^ p + b ^ p = c ^ p) (h_semi : True) (h_mod : True) : False := by sorry

The hypotheses h_semi and h_mod, which were to carry semistability and modularity of the Frey curve, are the placeholder True. Once they assume nothing, what remains is: for every prime p ≥ 7 and positive pairwise-coprime a, b, c with a ^ p + b ^ p = c ^ p, derive False — that is Fermat's Last Theorem for exponents p ≥ 7, not the Ribet-style contradiction step the node is named for. The accepted submissions discharge it by importing the platform node flt_odd_prime_ge_5, so its Proved status reflects that dependency and not any work on this step.

What a faithful statement would require

The Frey curve, its semistability, and the modularity of its mod-p Galois representation must be real hypotheses, so that the step contributes something the surrounding decomposition does not already assume.

No corrected replacement node exists yet.

Preamble
import Mathlib.Data.Nat.Basic
import Mathlib.Data.Nat.Prime.Basic
import Mathlib.Data.Nat.GCD.Basic
Formal statement
theorem flt_ribet_contradiction (p : ℕ) (hp : p.Prime) (h7 : 7 ≤ p) (a b c : ℕ) (ha : 0 < a) (hb : 0 < b) (hc : 0 < c) (hab : Nat.Coprime a b) (hbc : Nat.Coprime b c) (hac : Nat.Coprime a c) (heq : a ^ p + b ^ p = c ^ p) (h_semi : True) (h_mod : True) : False := by sorry
Source
https://en.wikipedia.org/wiki/Fermat%27s_Last_Theorem

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