Pure-Kernel Lean 4 Formalizations of Erdős #883 (Complete) & #504 (Open-Research Milestone)
A complete, unconditional Lean 4 (v4.33.1) formalization of both questions of Erdős Problem #883
(Justin Sun Prize PR #5661), matching Google DeepMind's
FormalConjectures/ErdosProblems/883.lean verbatim, alongside a 6,141-line pure-kernel open-research milestone
for Erdős Problem #504 (Blumenthal's minimax-angle problem) — all verified by leanchecker using standard
Lean foundations only (zero sorry, zero custom axioms, zero native_decide / Lean.ofReduceBool).
erdos883-lean (v1.0.0) — Complete Formalization & Certificate Compression
Target statements: Formalizes both Erdos883.erdos_883.parts.i (every subset
A ⊆ {1, ..., n} exceeding ⌊n/2⌋ + ⌊n/3⌋ - ⌊n/6⌋
contains every odd cycle length 3 ≤ l ≤ ⌊n/3⌋ + 1 in its coprime graph) and
Erdos883.erdos_883.parts.ii (uniform eventual containment of K_{1,l,l} for every l ≥ 1).
Replacing external SAT certificates with pure-kernel checking: The underlying computer-assisted
proof of Part (i) by Cecil Jentges relied on 99 external SAT/LRAT instances and 167 floating-point computational blocks.
To eliminate external solver trust and compiler reflection (native_decide), this formalization restructures
all four regimes purely inside the Lean 4 kernel:
1 ≤ n ≤ 255(SmallRange.lean): 12-block Exact-Rank Ordered Hall checked directly by kerneldecide, eliminating all 99 external SAT/LRAT files.256 ≤ n ≤ 5,000(PeriodBound.lean,MidRange*.lean): exact discrepancyD_Q = 3551/1001overQ5 = {3, 5, 7, 11, 13}and Quadratic-Bonferroni weights checked in kernel.5,000 ≤ n ≤ 10^9&n ≥ 10^9(AnalyticMid*.lean,AnalyticTail*.lean): exact rational minimal-divisor and zero-C(s)Rankin bounds.- Part (ii) (
Part2.lean): elementary Prime-Number-Theorem-free formalization via minimum-degree Kővári–Sós–Turán andk-th moment Rankin bounds.
Verification receipts: Fresh-clone lake build passed in 78.37 s (0 warnings),
#print axioms reports only [propext, Classical.choice, Quot.sound] on both theorems,
and lake env leanchecker Erdos883.Main passed on all 23/23 modules in 143.96 s.
Attribution: This repository claims Lean formalization credit only. Mathematical authorship of the problem and proofs belongs to P. Erdős and G. N. Sárközy (1997), G. N. Sárközy (1999), Cecil Jentges (2026, PR #5021), and Donald Della Pietra.
erdos504-lean (v0.1.0) — Partial Pure-Kernel Lean 4 Formalization toward Erdős #504
Scope & honesty notice: No JSP-000404 award claim is made. As documented in
TheJustinSunPrize/awards#5656,
Sendov's 1995 lower bound for general non-dyadic N ≥ 17 has an unresolved gap in Lemma 4.1.
erdos504-lean is published strictly as a partial open-research formalization and verified milestone — the full all-N Sendov theorem is not proved here.
- Classical
504.leanverbatim: All 5 theorems (erdos_504,endpointat2^n - 1,erdos_szekeres_1960,szekeres_lower,szekeres_upper) proved unconditionally in pure kernel. - Sendov bands (all
n ≥ 3) & small cases: Full Band 1 (sendov_band_one), entire Band 2 upper half (sendov_band_two_upper_half,3·2^{n-2} < N ≤ 2^n), and complete Sendov forN ≤ 16(sendov_n3,sendov_n4). - New open-frontier reductions: Exact 1-line bridge
sendov_of_tb_bound, antipodal-separated critical winding-one walk (exists_separated_critical_winding_one), triangle-transversal bound (card_le_two_pow_add_transversal), and Forced Case 1 theorem (card_le_sendov_of_one_sided_forced). - Verification receipts: Fresh-clone
lake buildpassed (8,717jobs, 0 warnings), all 19 exported theorems depend strictly on[propext, Classical.choice, Quot.sound], and sequentialleancheckerpassed on10/10declaration-bearing modules.
min-modulus-lean-certs v1.1.0 & Cross-Repo Lean 4 Expansion
min-modulus-lean-certs v1.1.0 expanded its Lean 4 formalization to 9,255 lines
and 133 audited declarations (adding kernel-verified extremizers Z_14, Z_62,
Z_254, upper bounds at (7, 124) and (8, 248), and Barriers 1 & 4).
Companion pure-kernel Init+Std Lean 4 expansions (v1.1.0/v1.2.0) are live across
the lattice-packing, cube-and-conquer, Gowers–Long, DNA, and Ramsey repositories with evergreen Zenodo concept DOIs.