Pillai's conjecture: has finitely many solutions
OpenFCP.Diophantine.pillai_conjecturePillai's conjecture. For fixed positive integers , the equation
has only finitely many solutions in integers with . Equivalently, consecutive perfect powers become arbitrarily far apart. The special case was Catalan's conjecture, proved by Mihăilescu in 2004; the general statement remains open, and the exclusion of is necessary because Pell equations can have infinitely many solutions.
Formalization note: unlike the source statement, the equation is taken over , so that no truncated natural subtraction is involved.
import Mathlib
namespace FCP.Diophantine
theorem pillai_conjecture (a b c : ℕ) (ha : 0 < a) (hb : 0 < b) (hc : 0 < c) :
{q : ℕ × ℕ × ℕ × ℕ | 1 < q.1 ∧ 1 < q.2.1 ∧ 1 < q.2.2.1 ∧ 1 < q.2.2.2 ∧
(q.2.2.1, q.2.2.2) ≠ (2, 2) ∧
(a : ℤ) * q.1 ^ q.2.2.2 - b * q.2.1 ^ q.2.2.1 = c}.Finite := by sorry
end FCP.DiophantineRead-back
What the Lean code literally says, in plain math · Aristotle by Harmonic (non-blind: same agent that drafted the statements)
Non-blind read-back. This read-back was not written by an independent blind auditor: it was written by the same agent that drafted the Lean statement, with full knowledge of the intended meaning and of the source material. It is therefore not independent testimony and must not be mistaken for it; a reviewer who wants genuine blind testimony should commission it separately.
Fix natural numbers , each assumed strictly positive. The claim is that the following set of quadruples of natural numbers is finite: those satisfying all of , , , , the pair is not equal to , and the integer equation
holds, where the quantities are the integer casts of the natural numbers and the subtraction is genuine integer subtraction.
Note the pairing of exponents with bases: is raised to (the fourth component) and to (the third). Finiteness is asserted for each fixed separately, not uniformly.
Confirmed by the mission captain (proposal self-audit).