Erdős Problem a Daythe open tracker
ERDŐS #787 · READER SUBMISSION

A verified partial result (a case, a bound, an exact value)

PARTIAL2026-11-25 · skaya
Community database OPENas of 2025-08-31tags additive combinatoricsproblem page · erdosproblems.com/787
Our review · 2026-11-25

Verdict: PARTIAL. The exact small values hold up: g(n) is confirmed for every n ≤ 43 by two independent methods, and from 44 to 59 it is reproduced on a re-run of your solver. The doubling construction is right. The improvement of the exponent from 1/68 to 1/44 is a sketch, not a proof. Reviewed 25 November 2026. Write-up: /day/787-skaya-exact-values-of-g-to-59-checked.

The example sets. A separate Claude instance, briefed to refute, wrote its own exact checker (an integer-programming maximisation and a SAT decision in both directions). Every set in your data files, one for each n from 1 to 143, has the stated size and exactly the stated largest sum-avoiding subset; so do the 56 sets in your Lean files. Your C++ checker passes on your files and fails on our altered copies.

The thresholds. We confirmed n_max(3) = 13, n_max(4) = 21 and n_max(5) = 31 with a search written separately from yours (a different encoding, no case split, every blocking certificate checked exactly in integers; the SAT side is not proof-logged). For k = 5 it needs 2,168 certificates and finds the positive example {1, …, 10, 12, 14, 16, 18, 30}. Your Lean proofs for k ≤ 4 compile here (Lean v4.35.0-rc2) with only the standard axioms, the hand proofs for k ≤ 3 read correctly, and your solver's k = 5 self-test agrees (1,814 certificates, not the 68 in your notes). For k = 6 we re-ran your solver, with its exact library built here: all 21 cases are impossible (4,399 s, 314,159 certificates, not the 288,228 in your notes), and we checked by hand that the 21 cases cover everything. Every certificate the run saved, 214,328 of them, passes our own exact check. But certificates longer than eight terms are never saved, the solver silently falls back to an unchecked floating-point LP whenever its exact routine fails (the run does not record how often), and there is no SAT proof log. So n_max(6) = 43, and g(n) = 7 for 44 ≤ n ≤ 59, rests on this one re-run.

The doubling construction. Correct: each step adds 2k + 4 odd numbers, which form a clique because every sum of two of them lands in 2F. So n_max(k) ≥ k² + 3k − 11 for k ≥ 6, checked exactly for sizes 43 through 169, and your Lean proof compiles. The pattern k² + k + 1 does fail at k = 7; we found no one who had conjectured it, and Choi's n^(2/5+o(1)) bound already forces it to fail eventually. What is new is that it fails at k = 7.

The exponent 1/44: UNVERIFIED. The asymmetric inductive peeling lemma is named but never stated with hypotheses and a conclusion, and never proved; the exponent table after it is asserted. Our referee sketched one way such a lemma could go and reached the same exponent, so the claim is plausible. Nor would it be the best claimed exponent: two months before your submission, Yao Zhi's preprint arXiv:2610.03750 (25 September 2026, unrefereed) states every c < 1/36 along Beker's route.

The constant √(8 log 2). The Lean construction compiles; the constant appears to be Ruzsa's own (a secondary source quotes his 2005 paper as allowing any c > √(8 log 2); we have not seen the paper), so it is the constant this construction gives, not a proved limit for g.

For anyone re-running it. GeometryAndCarriesStandalone.lean does not compile on any of the four Lean versions we tried, v4.27 to v4.35.0-rc2 (unterminated comments at lines 948, 1089 and 1442), so verify_all.py fails at its first step; with those three lines fixed it compiles. solve_k6_pos.py with no argument runs only its self-test, and gordan_dll.cpp needs -D'__declspec(x)=' to build on Linux; without the library the solver silently uses a floating-point LP; without z3, a possible configuration shows up as a crash. One C++ test prints an exact answer above its own bound and still exits 0.

Files: verification/787/skaya-exact-small-values.

Tools, as declared by the submitter: Gemini 4 Hydrogen and Gemini 3.8 Flash (operating through Google DeepMind Antigravity) worked on the problem: writing the C++ search and Farkas/LP verifiers, drafting and debugging the 8 standalone Lean 4 modules, deriving the 1/68 -> 1/44 exponent tightening in Beker's density-increment framework, generating the figures, and preparing the GitHub repository. I delegated tasks across the in

The submission

1. Exact Statement Worked On

For a finite set $A \subset \mathbb{Z}$ (equivalently $A \subset \mathbb{R}$) of size $|A| = n$, let $M(A) = \alpha(G_A)$ be the maximum cardinality of a subset $B \subseteq A$ that is sum-avoiding with respect to $A$ ($b_1 + b_2 \notin A$ for all distinct $b_1, b_2 \in B$), where $G_A$ is the conflict graph with edge $\{u, v\}$ whenever $u \neq v$ and $u + v \in A$. Define

$$g(n) = \phi(n) = \min_{|A| = n} M(A), \qquad n_{\max}(k) = \max\{|A| : M(A) \le k\}.$$

Erdős Problem #787 asks for the asymptotic behavior of $g(n)$ as $n \to \infty$ (together with exact extremal thresholds $n_{\max}(k)$).

Status disclaimer: The full asymptotic problem remains open. This submission reports partial progress: exact resolution of $n_{\max}(k)$ for $1 \le k \le 6$ (and $g(n)$ on $[1, 59]$), an infinite constructive refutation of $n_{\max}(k) = k^2 + k + 1$ for all $k \ge 7$, Pure Lean 4 formalizations (Init-only, zero sorry), extended witnesses through $n = 143$, a Lean-certified $D_d$ Ruzsa construction reaching $\sqrt{8\log 2}$, and a tightening of Beker's (2025) lower-bound exponent from $1/68$ to $1/44$.

2. What Was Known

  • Small extremal thresholds suggested $n_{\max}(k) = k^2 + k + 1$, leaving higher $k$ and exact $g(n)$ intervals open.
  • Ruzsa (2005) proved $g(n) \le \exp(O(\sqrt{\log n}))$ via multi-scale 2-adic lattice balls embedded carry-free into $\mathbb{Z}_+$.
  • Sanders (2021) proved $g(n) \ge (\log n)^{1 + c}$ and Beker (2025) established $g(n) \ge (\log n)^{1 + 1/68 - o(1)}$ via Kelley–Meka density increments for $k$-configurations.

3. New Results & Theorem Labels (Partial Progress)

  1. Exact Finite Thresholds $k \le 6$ and $g(n)$ on $[1, 59]$ (n_max_1_exact .. n_max_4_exact, plus $k=5,6$ Farkas+SAT UNSAT):
  • $n_{\max}(1) = 3$, $n_{\max}(2) = 7$, $n_{\max}(3) = 13$ are formally proved in Pure Lean 4 (proofs/ThresholdsStandalone.lean), and $n_{\max}(4) = 21$ is proved in Pure Lean 4 (proofs/Threshold45Standalone.lean: 5 exact integer Farkas cores + 483-step Hinted-RUP check over $\mathbb{R}$).
  • Over $\mathbb{R}$, SAT + __int128-verified Gordan/Farkas LP certificates establish UNSAT at $m_+ = 16$ ($k=5 \implies n_{\max}(5) = 31$) and across all 21 subcases at $m_+ = 22$ ($k=6 \implies n_{\max}(6) = 43$, 288,228 IIS Farkas cores in code/solve_k6_pos.py + code/gordan_dll.cpp). Paired with witness $A_{59}$, this fixes $g(n)$ unconditionally for all $n \in [1, 59]$ (including $g(n) = 7$ on $[44, 59]$).
  1. Breakdown of $k^2 + k + 1$ for All $k \ge 7$ (infinite_family_n_max_ge, k7_beats_projective_bound):
  • Inductive doubling $F_{d+1} = \{\pm(2j+1) : 0 \le j \le k\} \cup 2 F_d$ starting from $F_0 = A_{43}$ proves $n_{\max}(k) \ge k^2 + 3k - 11$ for all $k \ge 6$ in proofs/InfiniteFamilyStandalone.lean, strictly refuting $k^2 + k + 1$ for every $k \ge 7$ ($59 > 57$, $77 > 73$, $97 > 91$, $119 > 111$, ...).
  • All 56 witness sets A3..A100 are machine-checked exact in proofs/WitnessesStandalone.lean and proofs/NewWitnessesStandalone.lean (all_seven_witnesses_certified, all_49_new_witnesses_certified), and dual-exact C++ branch-and-bound extends certified upper bounds through $n = 143$ (data/verified_100_143.txt: $\alpha = 10$ on $[100, 119]$, $\alpha = 11$ on $[120, 143]$).
  1. Checkerboard $D_d$ Ruzsa Formalization & Orthant Limit (AsymptoticClosureStandalone.lean):
  • single_sphere_orthant_lower_bound: every equal-norm subset $S \subset \mathbb{Z}^d \setminus \{0\}$ has $\alpha(G_S) \ge |S|/2^d$ across coordinate orthants (ruling out single-sphere constructions).
  • dd_same_coset_drop, ddVecs_sum_avoiding_bound, ddIntSet_props, dd_beats_quadratic_explicit: formalizes the full multi-scale 2-adic checkerboard $D_d$ construction with carry-free radix embedding, proving the explicit $D_5, L = 37$ super-quadratic crossover $k = 1185$, $|A| \ge 1{,}438{,}294 > 1{,}407{,}769 = k^2 + 3k - 11$.
  • ruzsa_quasipolynomial_nat: proves $2^{2m^2 + 4m} \le |A|$ with $M(A) \le 8m \cdot 2^{4m}$, attaining the asymptotic Ruzsa constant $g(n) \le \exp((\sqrt{8 \log 2} + o(1)) \sqrt{\log n})$.
  • Supporting C++ code verifies tight $D_5, L = 36$ ($k \le 1142, n = 1{,}309{,}341$), $E_8$ ($L = 16, k \le 4097$), Leech $\Lambda_{24}$ ($2.111\times$ quadratic at $L = 10$), and origin-centered $D_d$ ($2^d - 1$ per layer).
  1. Tightened Asymptotic Lower Bound (1/68 -> 1/44, paper derivation in paper/asymptotic_closure_synthesis.md):
  • Replacing symmetric [FHHK Cor 2.3] graph counting in Case (i) of Beker (2025) (thm:graph_counting) with an asymmetric inductive peeling lemma preserves the smaller part's density $\mu_{B^{(j)}}(T) \ge (\alpha/2)^3$ in Subcase B (b: 46 -> 28, c: 6 -> 1), lowering $E_k$ from $68$ to $45$.
  • Separating zero-frequency [FHHK Lem 3.4] scale-uniformity steps ($\Delta_r = \emptyset$, density increment $1 + \Omega(k^{-5})$) from harmonic/graph-counting branches ($|H| \ll k^4\mathcal{L}(\alpha)$, all achieving $1 + \Omega(k^{-4})$) restricts nonzero $\Delta_r$ sums to $r \in H$, reducing Bohr rank $d_t$ from $k^{38}$ to $k^{37}$ and giving $E_k = 1 + (5 + 4 + 28) + (5 + 1) = 44$, so $g(n) \ge (\log n)^{1 + 1/44 - o(1)}$ ($\phi(n) \ge (\log n)^{1+c}$ for any $c \in (0, 1/44)$). This analytic tightening is on paper only (not formalized in Lean).

4. How to Check It

Clone the repository and run a single command (lean v4.36+, g++ C++17, Python 3):

python verify_all.py

This compiles all 8 standalone Pure Lean 4 files (Init-only, standard axioms [propext, Classical.choice, Quot.sound], zero sorry, zero native_decide), audits #print axioms, compiles and runs the dual-exact Tomita MCQ C++ verifier (code/verify_witnesses_143.cpp) across all 143 witness sets in data/verified_1_100.txt and data/verified_100_143.txt, runs all C++ lattice executables, and verifies algebraic doubling identities. To regenerate and audit the $k=6$ ($m_+ = 22$) Farkas+SAT UNSAT proof, run python code/solve_k6_pos.py (with g++ -O3 -shared code/gordan_dll.cpp -o code/gordan.dll or SciPy + PySAT).

5. What Is Ours vs. Prior Work

  • Prior work: Ruzsa (2005) multi-scale 2-adic $L^2$ construction; Sanders (2021) order peeling; Beker (2025) Kelley–Meka $k$-configuration reduction (1/68).
  • Ours: Pure Lean 4 standalone formalizations for $n_{\max}(1..4)$, witnesses A3..A100, infinite doubling $n_{\max}(k) \ge k^2+3k-11$, single-sphere orthant lower bound, checkerboard $D_d$ multi-scale construction & explicit D_5, L=37 crossover; C++ + __int128 Farkas+SAT UNSAT for $k = 5, 6$; dual-verified witnesses up to $n = 143$; tight $D_d$/$E_8$/$\Lambda_{24}$ computations; and the analytic 1/68 -> 1/44 tightening of Beker (2025).

Reviewed by Claude with Patrick White — an AI and a regular dude, not mathematicians. The verdict says what was checked; it is not community acceptance. ← problem page