Title:Catalan's conjecture and related Diophantine equations
Statement:The only natural number solution to the equation such that and is given by , , , and .
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Tags: | formal_proof |
| Cite as: | NS.07725 [math.NT] · NS.07725v1 for this version |
| Declaration: | Catalan.catalans_conjecture |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 64ffdb7d5d1b7323d356f64fab050cfa9442dbe2243cffc17fb12ca2aa975ca4 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/Wikipedia/Catalan.lean |
Formal statement
theorem catalans_conjecture (a b x y : ℕ) (ha : 1 < a) (hb : 1 < b) (hx : 0 < x) (hy : 0 < y)
(heq : x ^ a - y ^ b = 1) : a = 2 ∧ b = 3 ∧ x = 3 ∧ y = 2Show the full Challenge.lean (87 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Catalan's conjecture and related Diophantine equations
*References:*
- [Wikipedia - Catalan's conjecture](https://en.wikipedia.org/wiki/Catalan%27s_conjecture)
- [arXiv:2507.12397](https://arxiv.org/abs/2507.12397) (Lebesgue-Nagell equation)
-/
@[expose] public section
namespace Catalan
set_option linter.style.formal_proof_palomar false in
/--
The only natural number solution to the equation $x^a - y^b = 1$ such that $a, b > 1$ and
$x, y > 0$ is given by $a = 2$, $b = 3$, $x = 3$, and $y = 2$.
-/
@[category research solved, AMS 11,
formal_proof using lean4 at "https://github.com/cadamcat/catalan-lean4/blob/4bf1f742eb341decbdfc59ec56e1616f4d13e33b/Catalan/Final/Assembly.lean#L32"]
theorem catalans_conjecture (a b x y : ℕ) (ha : 1 < a) (hb : 1 < b) (hx : 0 < x) (hy : 0 < y)
(heq : x ^ a - y ^ b = 1) : a = 2 ∧ b = 3 ∧ x = 3 ∧ y = 2 := by
sorry
/--
For positive integers a, b, and c, there are only finitely many positive solutions (x, y, m, n) to the
equation $ax^n - by^m = c$ where $(m, n) \neq (2, 2)$ and $x, y > 1$.
-/
@[category research open, AMS 11]
theorem pillais_conjecture (a b c : ℕ) (ha : 0 < a) (hb : 0 < b) (hc : 0 < c) :
{ (x, y, m, n) : (ℕ × ℕ × ℕ × ℕ) |
1 < x ∧ 1 < y ∧ 1 < m ∧ 1 < n ∧ (m, n) ≠ (2, 2) ∧
a * x^n - b * y^m = c }.Finite := by
sorry
end Catalan
/- ## Lebesgue-Nagell equation -/
namespace LebesgueNagell
/--
**Lebesgue-Nagell Equation Conjecture**
For any odd prime $p$, the only integer solutions $(x, y)$ to the equation $x^2 - 2 = y^p$
are $(x, y) = (\pm 1, -1)$.
*Reference:* Ethan Katz and Kyle Pratt, "On the Lebesgue-Nagell equation $x^2 - 2 = y^p$",
[arXiv:2507.12397](https://arxiv.org/abs/2507.12397)
-/
@[category research open, AMS 11]
theorem lebesgue_nagell (p : ℕ) (hp : p.Prime) (hodd : Odd p) (x y : ℤ) :
x ^ 2 - 2 = y ^ p ↔ (x = 1 ∨ x = -1) ∧ y = -1 := by
sorry
/-- The pair $(1, -1)$ is a solution to $x^2 - 2 = y^p$ for any odd $p$. -/
@[category test, AMS 11]
theorem lebesgue_nagell_solution_pos_one (p : ℕ) (hodd : Odd p) :
(1 : ℤ) ^ 2 - 2 = (-1 : ℤ) ^ p := by
simp [hodd.neg_one_pow]
/-- The pair $(-1, -1)$ is a solution to $x^2 - 2 = y^p$ for any odd $p$. -/
@[category test, AMS 11]
theorem lebesgue_nagell_solution_neg_one (p : ℕ) (hodd : Odd p) :
(-1 : ℤ) ^ 2 - 2 = (-1 : ℤ) ^ p := by
simp [hodd.neg_one_pow]
end LebesgueNagell
To prove it: keep every definition of Challenge.lean unchanged and prove Catalan.catalans_conjecture with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_catalans_conjecture : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch wikipedia-catalan nosorry submit wikipedia-catalan nosorry/wikipedia-catalan/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- pillais-conjecture — open
- lebesgue-nagell — open
Contributions
No contributions yet — be the first. Submit a proof or a finding.
Research in progress
People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.
Nobody has shared research on this problem yet.
Sign in to share your research.
Statement review
Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.
Sign in to open a critique.