Mathematics / Formalization Note / Number Theory
A Finite Subspace Cover for the Mahler Variant of Erdős Problem 933 in Lean 4
Merged leaf proof (PR #30299) of Erdos933.erdos_933.variants.mahler.R1.H1.R1.H1. The new part (about 190 lines, lines 6213-6405) discretizes the {2,3}-adic logarithmic exponents on a finite grid and applies the Ridout-type theorem finite_of_divisible_approximations at alpha = 1. The roughly 6,200-line Roth-Ridout library is copied, with three trivial tactic edits, from @marcusbuffett's merged Erdős 240 proof (PR #2285), itself adapted from facebookresearch/atlas-lean (Apache-2.0); it reached this file via the author's earlier Mills.irrational.R1.H2 proof (PR #29891). The reductions R1 (@marcusbuffett) and R1.H1.R1 (@rgoldman73-dev) and the other leaves (R1.H2 by @ivillar, R1.H1.R1.H2 by @JamesSlash) are by others.
- Author
- Ali Uyar
- Scope
- Modular suite
- Status
- Merged on Left to Solve
- Original theorem
- Mahler's bound 2^k 3^l < n^{1+o(1)} for n(n+1) = 2^k 3^l m with gcd(m,6) = 1 (attributed to Mahler at erdosproblems.com/933; also a consequence of Ridout's theorem, D. Ridout, Mathematika 4 (1957) 125-131). This is a known variant; Erdős Problem 933 (is limsup 2^k 3^l/(n log n) infinite?) is open.
- Statement source
- Left to Solve (FormalConjectures / OMA statements)
Machine-checked in Lean 4 ✓ Accepted and merged on Left to Solve.
Summary
PR #30299 proves in Lean 4 the last open leaf of the Left to Solve reduction tree for Mahler's bound 2^{k(n)} 3^{l(n)} < n^{1+o(1)}, where n(n+1) = 2^{k(n)} 3^{l(n)} m with gcd(m, 6) = 1: the coprime pairs (a, b) with a|a−b| max(a,b)^ε ≤ C·smooth(ab) lie on finitely many lines in Q^2. Its merge closed the root Erdos933.erdos_933.variants.mahler, which other participants had split by two reductions into three leaves. The proof takes the Ridout-type theorem finite_of_divisible_approximations (real algebraic α, prime-power divisibility of numerator and denominator) from @marcusbuffett's Erdős 240 proof, reused verbatim apart from three tactic edits (about 6,200 lines, via atlas-lean), and adds about 190 lines that round {2,3}-adic logarithmic weights onto a finite grid and apply the theorem at α = 1. Erdős Problem 933 itself (is limsup 2^{k(n)} 3^{l(n)}/(n log n) infinite?) is open and not addressed.
Context
A short logarithmic-grid argument turns an existing Lean formalization of a Ridout-type theorem into a finite subspace cover for {2,3}-smooth near-equal coprime pairs, completing the community reduction tree for Mahler's bound.
Root problems on Left to Solve
- LTS Erdos933.erdos_933.variants.mahler closed by @marcusbuffett
Credits
Mathematics: Mahler's bound (as attributed at erdosproblems.com/933), K. F. Roth (1955), D. Ridout (1957). Reduction tree on Left to Solve: R1 by @marcusbuffett (PR #6582), R1.H2 proved by @ivillar (PR #7096), R1.H1.R1 by @rgoldman73-dev (PR #9416), R1.H1.R1.H2 proved by @JamesSlash (PR #11047); the root solution is credited to marcusbuffett with contributors ivillar and rgoldman73-dev, and the author is a listed contributor on R1.H1. Adapted Lean code, as stated in the file headers: 'The auxiliary theorem is adapted from the proof of Mahler's 1957 theorem (Mills.irrational.R1.H2). Adapted from rwst/Subspace-Theorems (commit 7af6b45ddfee564bba0974b66c9f3e37fa686943), Copyright (c) 2026 Ralf Stephan, Apache-2.0 license. The Roth-Ridout theorem below follows the open-math-agents Erdős 240 proof by @marcusbuffett.' and 'The Roth auxiliary-polynomial development below is adapted for Lean 4.33.1 from facebookresearch/atlas-lean, MathlibExt/NumberTheory/RothAuxiliary.lean, at 0de4903166523d1f84d55dd2b2dd25b1303da049' (Copyright Meta Platforms, Inc. and affiliates, Apache-2.0). Lines 10-6212 match @marcusbuffett's proofs/Erdos240.erdos_240.variants.finite.lean (PR #2285) except three trivial tactic edits. The header line 'Reduction step credited to @aliuyar1234 in the original template' does not mean the reductions are the author's. Lean proof produced with AI coding agents operated by the author (t3-code, model gpt-6.2-astra, as recorded in the PR body); the PR body lists no other contributors.
Pull request ledger (1)
- #30299 Erdos933.erdos_933.variants.mahler.R1.H1.R1.H1 merged
Cite
@misc{uyar2026_erdos_933_mahler_smooth_lean4,
author = {Uyar, Ali},
title = {A Finite Subspace Cover for the Mahler Variant of Erdős Problem 933 in Lean 4},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.24765153},
url = {https://doi.org/10.5281/zenodo.24765153},
note = {Lean 4 formalization technical note (Mahler's bound 2^k 3^l < n^{1+o(1)} for n(n+1) = 2^k 3^l m with gcd(m,6) = 1 (attributed to Mahler at erdosproblems.com/933; also a consequence of Ridout's theorem, D. Ridout, Mathematika 4 (1957) 125-131). This is a known variant; Erdős Problem 933 (is limsup 2^k 3^l/(n log n) infinite?) is open.). Code: https://github.com/aliuyar1234/lean4-landmark-formalizations/tree/main/20-erdos-933-mahler-smooth}
}