Mathematics / Formalization Note / Number Theory

The Sieve and Exponential-Sum Half of the Negative Answer to Erdős Problem 387 in Lean 4

Proves R1.H2 in one Lean file by porting and combining existing Apache-2.0 code: the beta sieve (louie-zhang), Mertens estimates (Sebastian Bachmaier), rational Weil, Kloosterman, CRT, rough-divisor, reciprocal-energy, bilinear-moment and comparable-prime estimates from plby/lean-proofs rev. 8822f7d (Boris Alexeev et al., via Pantelis Papageorgiou), and interval Fourier estimates from FormalPantheon; per the file header, the progression and quantitative sieve conclusion are adapted in the file itself. At that revision the plby development proves the disproof only conditionally on five divisor-error estimates and lists the medium and separated estimates as remaining; the PR file proves the R1.H2 versions of all these counts, including the medium and separated rows. No line-by-line comparison with plby was made, so individual lemmas are not claimed as new.

Author
Ali Uyar
DOI
10.5281/zenodo.24765151
Scope
Modular suite
Status
Merged on Left to Solve
Original theorem
Negative answer to Erdos Problem 387 (question of Erdos and Graham, 1976: is there c > 0 such that every C(n,k), 1 <= k < n, has a divisor in (cn, n]?), proved by H. M. Bui, S. Naprienko, K. Pratt and A. Zaharescu, arXiv:2605.21221 (2026).
Statement source
Left to Solve (FormalConjectures / OMA statements)
Source
github.com/aliuyar1234/lean4-landmark-formalizations/tree/main/19-erdos-387-binomial-divisors

Machine-checked in Lean 4 ✓ Accepted and merged on Left to Solve.

Summary

Erdős Problem 387 asks whether there is an absolute constant c > 0 such that every binomial coefficient C(n,k), 1 ≤ k < n, has a divisor in (cn, n]. Bui, Naprienko, Pratt and Zaharescu answered it negatively in 2026 (arXiv:2605.21221). On Left to Solve, physbuzz's reduction splits the formal negative answer into a covering-system step H1 and a sieve and exponential-sum step H2. The 7,410-line Lean 4 file of PR #75559 proves H2: it builds a dense sifted squarefree sample, applies rational Weil and squarefree Kloosterman bounds, bounds the large, split, comparable-prime, medium and separated-prime divisor allocations, and closes with a two-mode Fourier budget. With mattdorman's H1, its merge closed the root Erdos387.erdos_387. Much of the code is adapted from earlier Apache-2.0 Lean work, chiefly plby/lean-proofs (Alexeev et al.).

Context

It supplies the analytic half of a Lean-checked negative answer to Erdős Problem 387: together with mattdorman's covering step and physbuzz's reduction it proves the formal-conjectures statement Erdos387.erdos_387, that no constant c > 0 works.

Root problems on Left to Solve

  • LTS Erdos387.erdos_387 closed; credited to @physbuzz, with aliuyar1234 as contributor

Credits

Mathematics: H. M. Bui, S. Naprienko, K. Pratt and A. Zaharescu (arXiv:2605.21221); question of Erdos and Graham. Reduction R1 (H1 + H2 -> root): physbuzz (PR #14762). Step R1.H1: mattdorman (PR #35689). Left to Solve credits the root solution to physbuzz's reduction, with contributors aliuyar1234 and mattdorman. Adapted Lean code, per the file header: 'Beta sieve adapted from louie-zhang, open-math-agents, Erdos387.erdos_387.variants.guy.R1.H2. Rational Weil and Kloosterman bounds from plby/lean-proofs (Boris Alexeev, Codex and GPT-5.6 Sol, revision 8822f7d), via Pantelis Papageorgiou, open-math-agents Erdos445. CRT and squarefree Kloosterman estimates from the same plby revision. Interval Fourier estimates from frenzymath/FormalPantheon (ffbb65c). Mertens estimates adapted from Sebastian Bachmaier, open-math-agents PR 1431. Rough-divisor, reciprocal-energy, bilinear-moment and comparable-prime estimates are adapted from the Apache-2.0 Erdos387 modules in the same plby revision. The progression and quantitative sieve conclusion are adapted here.' (Left to Solve records the guy.R1.H2 step under the handle louie-zhang-ai.) 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)

  • #75559 Erdos387.erdos_387.R1.H2 merged

Cite

@misc{uyar2026_erdos_387_binomial_divisors_lean4,
  author    = {Uyar, Ali},
  title     = {The Sieve and Exponential-Sum Half of the Negative Answer to Erdős Problem 387 in Lean 4},
  year      = {2026},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.24765151},
  url       = {https://doi.org/10.5281/zenodo.24765151},
  note      = {Lean 4 formalization technical note (Negative answer to Erdos Problem 387 (question of Erdos and Graham, 1976: is there c > 0 such that every C(n,k), 1 <= k < n, has a divisor in (cn, n]?), proved by H. M. Bui, S. Naprienko, K. Pratt and A. Zaharescu, arXiv:2605.21221 (2026).). Code: https://github.com/aliuyar1234/lean4-landmark-formalizations/tree/main/19-erdos-387-binomial-divisors}
}