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

I think this settles the problem as stated

PARTIAL2026-11-27 · Leo Gao
Community database OPENas of 2025-08-31tags number theory, additive basisproblem page · erdosproblems.com/338
Our review · 2026-11-28

Verdict: PARTIAL. The Lean theorem for question (ii) states the open Formal Conjectures statement word for word and, if it compiles, answers it yes; we have not built it. The doubly exponential lower construction checks out where we could compute it. The question (iii) "criterion" is a restatement of the definition, so "full resolution" is not justified. Reviewed 28 November 2026.

What we checked. Packet commit 85cd06f (all six commits dated 27 November). HasOrder and HasRestrictedOrder are copied character for character from Formal Conjectures 338.lean; nothing else defines them. The part (ii) theorem erdos_338.variants.bounded_by_order (∃ f : ℕ → ℕ, ∀ A h, HasOrder A h → (∃ t, HasRestrictedOrder A t) → HasRestrictedOrder A (f h)) is the FC statement verbatim. Its proof follows Chen, Yang and Zhao's argument with parameters made uniform in h; the structure looks sound to us. No sorry or added axiom in the files. The lower construction exactPositiveMixedRadixGap (basis order exactly k + 5, restricted order at least 2^(2^k+k+1)) checks by an independent dynamic program over actual integers: orders 5 and 15 at k = 0, 6 and 42 at k = 1, above the Lean bounds and HHP07's; control: on {1} ∪ 3ℕ the same program reports ordinary order 3 and no restricted representation.

Why (iii) is not answered. The trace property's columns are disjoint, so every element of their sumset is a sum of at most h distinct members of A; taking the target set to be the complement of the restricted sumset shows the property forces the restricted sumset to be cofinite, and the converse is a subsequence extraction. So the criterion is equivalent to the definition. The packet's README says adequacy remains open, which is right.

Credit and the world. Chen, Yang and Zhao (arXiv:2611.33191, 15 November 2026) proved that any set that keeps a finite order after finite deletions has a finite restricted order, with a bound depending on the set, and a local-to-global principle; their paper is credited in the packet. A bound depending on h alone, and the doubly exponential lower construction (improving Hegyvári–Hennecart–Plagne 2007's 2^(h−2) + h − 1), appear to be Gao's; the matching upper bound is on paper only. No Formal Conjectures PR marks bounded_by_order solved as of 28 November. Our own 15 and 17 November #338 pages missed Chen–Yang–Zhao; both now carry a dated correction.

Tools, as declared by the submitter: ChatGPT 6.2 (high) in chat + Dot running 6.2 Astra (xhigh) subagents assisted with proof development, Lean formalization, and replay. Two GPT‑6.2 Astra subagents developed the sparse-trace criterion and the independent thinning test. The Lean replay passed and the axiom audit found only standard axioms. I personally checked the results and orchestrated the agents.

The submission

I address parts (ii) and (iii) of Erdős and Graham’s Remark 3: a uniform bound on the restricted order when it exists, and a necessary-and-sufficient structural criterion for equality of the ordinary and restricted orders. Both are checked in Lean 4. The existence and finite-deletion results in the packet are due to Chen–Yang–Zhao. Together, these results address all the original questions. The sharper growth bound is proved on paper, not in Lean. To reproduce the checks, run lean/verify.sh from the GitHub proof packet.

Thus, I've produced a candidate full resolution of Erdős Problem #338 with the help of AI, a 46-year-old problem in additive number theory posed by Paul Erdős and Ronald Graham, including solutions to its two remaining central questions, supported by formal verification in Lean.

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