Lean 4 Proofs of the Pham-Zakharov N^(1/4+o(1)) Upper Bound for Non-Averaging and Non-Dividing Sets (Variants of Erdos 186 and 131)
Result: Proves the Pham-Zakharov bound F(N) <= N^(1/4+o(1)) in Lean 4 for non-averaging sets (Erdos186.erdos_186.variants.pham_zakharov, PR #38560) and for non-dividing sets (Erdos131.erdos_131.variants.pham_zakharov, PR #38789), both accepted by the Left to Solve Lean checker; Left to Solve credits the Erdos 131 variant to the author. The proofs reuse Pedro Bessa's (@nijv) formalization of the Pham-Zakharov argument and add the bound for subsets of {1, ..., N} and both target wrappers. These are the upper-bound variants, not the main problems. For the Erdos 186 variant the Left to Solve solution record names a reduction route by B221393 (PR #21133, contributors Albin0903 and dito94), although PR #38560 merged earlier. The two Left to Solve targets erdos_186.variants.pham_zakharov and erdos_131.variants.pham_zakharov from FormalConjectures state Pham and Zakharov's 2024 bound F(N) <= N^(1/4+o(1)) for the largest non-averaging, respectively non-dividing, subset of {1, ..., N}. Both are proved directly in Lean 4 (PR #38560, 4,354 lines; PR #38789, 4,384 lines) and were accepted by the Left to Solve Lean checker. The two files share one engine and contain 4,396 distinct lines; 4,289 lines of the Erdos 186 file are taken unchanged from Pedro Bessa's (@nijv) PR #28768, which formalized the Pham-Zakharov argument for a reduction step of the main Erdos 186 problem. The new code restates the bound for subsets of {1, ..., N} and derives both variant statements, using for Erdos 131 that every non-dividing set is non-averaging and an explicit o(1) witness. The exponent 1/4 is sharp for non-averaging sets (Bosznay) but not for non-dividing sets, whose order of growth is N^(1/5+o(1)). Credits: Mathematics: Huy Tuan Pham and Dmitrii Zakharov (upper bound), building on Conlon, Fox and Pham's subset-sum structure theorem; Bosznay (lower bound). Lean engine: adapted under Apache-2.0 from proofs/Erdos186.erdos_186.R1.H2.lean by Pedro Bessa (@nijv, Open Math Agents PR #28768), as both file headers state. Wrapper code produced with AI coding agents operated by the author (PR bodies: 'Agent: t3-code / Model: gpt-6.2-astra'). On Left to Solve, the Erdos 186 variant's solution record names B221393's reduction route (PR #21133, contributors Albin0903 and dito94).
Authors
- Ali Uyar
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24765111
- Primary Topic
- Analytic Number Theory Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00