Mathematics / Formalization Note / Combinatorics & Graph Theory
Beker's Sum-Free Subset Bound (log n)^(1+c) for c < 1/68 (Erdos Problem 787) in Lean 4
Assembles the four-stage proof in one Lean file: integer modeling and Sanders peeling, valuation pruning, BSG and Freiman-6 modeling into Z/PZ, a regular Bohr-set density-increment iteration, and Beker's quantitative k-partite graph-counting step with explicit constants. The graph-counting increment, the local reduction and the calibration to the 1/68 exponent are new. Stages 1-2 adapt the Open Math Agents proofs of the Erdos 787 'sanders' and 'integers' variants, and the Bohr-set regularity, sampling and spectrum code adapts the Open Math Agents Kelley-Meka proof for Erdos 3 (itself a port of plby/lean-proofs, LeanAPAP and AddCombi).
- Author
- Ali Uyar
- Scope
- Direct proof
- Status
- Merged on Left to Solve
- Original theorem
- Adrian Beker (arXiv:2501.10203; IMRN 2026), Theorem 1.2: for every c in (0, 1/68), every sufficiently large finite set A of integers contains a subset B of size at least (log |A|)^(1+c) with b1 + b2 not in A for all distinct b1, b2 in B. Beker states it for subsets of Z; it transfers to R by Choi's observation. A bound of this shape, (log n)^(1+c) << g(n) for some c > 0, was first proved by Sanders (Canad. J. Math. 2021).
- Statement source
- Left to Solve (FormalConjectures / OMA statements)
Machine-checked in Lean 4 ✓ Accepted and merged on Left to Solve.
Summary
A Lean 4 proof of Adrian Beker's 2025 lower bound for the Erdos-Moser sum-free set problem (Erdos Problem 787): for every 0 < c < 1/68 and all large n, every n-element real set A contains a subset S of size at least (log n)^(1+c) whose sums of distinct elements avoid A. Sanders (2021) had proved a bound of this shape for some c > 0; Beker gave a new proof via improved bounds for k-configurations, with an explicit range for c. The 11,626-line Lean 4 file (PR #67851) proves Erdos787.erdos_787.variants.beker directly via integer_model, sanders_peel_step, ruzsa_modeling_6, a Bohr-set density-increment iteration and local_increment_estimate. Substantial parts of the file are adapted from earlier Open Math Agents proofs; the note lists them.
Context
Beker's argument combines the Kelley-Meka density-increment method on Bohr sets with a quantitative refinement of the Filmus-Hatami-Hosseini-Kelman graph counting lemma, with explicit constants throughout. This formalization checks that pipeline end to end in Lean 4, from the reduction to integers through the Bohr-set iteration to the graph-counting step, down to the 1/68 exponent.
Root problems on Left to Solve
- LTS Erdos787.erdos_787.variants.beker closed; Left to Solve credits the solution to aliuyar1234
Credits
Mathematics: A. Beker (arXiv:2501.10203), building on T. Sanders (2021), Kelley-Meka and Filmus-Hatami-Hosseini-Kelman. Adapted Lean code (per the file header): 'The integer model, ordered slices, peeling, Ruzsa model, valuation pruning, BSG, and extraction estimates adapt Apache-2.0 Open Math Agents references Erdos787.erdos_787.variants.sanders.lean and Erdos787.erdos_787.variants.integers.lean. Bohr regularity, sampling and local spectrum helpers adapt the Apache-2.0 Erdos3.erdos_3.variants.kelley_meka.lean.' That Kelley-Meka proof ports plby/lean-proofs (commit 8822f7dd) and incorporates YaelDillies/LeanAPAP and AddCombi. Left to Solve credits these reference proofs to gdyan2022 (sanders, PR #27049), Genbox (integers) and adammcarter (kelley_meka). 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)
- #67851 Erdos787.erdos_787.variants.beker merged
Cite
@misc{uyar2026_erdos_787_beker_lean4,
author = {Uyar, Ali},
title = {Beker's Sum-Free Subset Bound (log n)^(1+c) for c < 1/68 (Erdos Problem 787) in Lean 4},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.24765131},
url = {https://doi.org/10.5281/zenodo.24765131},
note = {Lean 4 formalization technical note (Adrian Beker (arXiv:2501.10203; IMRN 2026), Theorem 1.2: for every c in (0, 1/68), every sufficiently large finite set A of integers contains a subset B of size at least (log |A|)^(1+c) with b1 + b2 not in A for all distinct b1, b2 in B. Beker states it for subsets of Z; it transfers to R by Choi's observation. A bound of this shape, (log n)^(1+c) << g(n) for some c > 0, was first proved by Sanders (Canad. J. Math. 2021).). Code: https://github.com/aliuyar1234/lean4-landmark-formalizations/tree/main/09-erdos-787-beker}
}