A Formally Verified Proof of Stephen Crowley's Three-Gap Conjecture for OEIS A172468 and A172470

We present a completely self-contained, formally verified proof in Lean 4 of Stephen Crowley's three-gap conjecture for OEIS A172468 and its first-difference sequence OEIS A172470 (formalized as OMA.S_oeis_a172470.main). For each positive integer n, let v_n = Im W_n(-ln(2)/2) in (2 pi n, 2 pi n + pi/2) denote the imaginary part of the n-th upper complex branch of the Lambert W function. Sequence A172468 enumerates in increasing order all positive integers n satisfying floor((n+2)/ln 2) - 2 - floor(v_n/(2 pi ln 2) + 1/2) = 1. We prove that A172468 is infinite, begins at 50, and every consecutive difference a_{172468}(n+1) - a_{172468}(n) belongs strictly to {9, 52, 61}. Proof Method: Substituting v_n = 2 pi n + pi/2 - x_n reduces the complex Lambert-W equation (u + iv)e^{u+iv} = -ln(2)/2 to the single real equation h_n(x) = v / (cos(x) exp(v tan x)) = ln(2)/2 on (0, pi/2). Using a uniform scaling inequality that avoids computing derivatives of h_n, we establish a five-stage non-asymptotic staircase bounding the qualifying window W(n) = (7/(4 ln 2) - 5/2) + x_n/(2 pi ln 2) strictly inside (0.024716, 0.0308) for all n >= 50—safely inside the Slater three-gap stability cell (delta_52, delta_52 + delta_9) = (0.020142..., 0.035887...) generated by the unimodular Farey bracket 75/52 < 88/61 < 1/ln(2) < 13/9. Rewriting qualification as { (n+2)/ln 2 } < W(n), exact integer certificates eliminate all 1 <= m <= 49, verify 50 qualifies, exclude every intermediate step k in {1,...,61} \ {9,52,61}, and force one of n+9, n+52, or n+61 to qualify. Verification: Complete 833-line (39,906-byte) Lean 4.33.1 + Mathlib proof (OMA.solution; 27 theorems/lemmas, 3 definitions; zero sorry, zero axiom, zero native_decide), independently re-verified in pure stdlib Python (1.75 s) via 64-digit Decimal complex branch evaluation over 1 <= n <= 2,000 (max residual 4.300e-63), exact integer replay of all 49 small-index and 58 non-gap step certificates, and certified enumeration of all 2,472 terms of A172468 and 2,471 consecutive gaps of A172470 up to n = 100,000. Verification, Scope Audit & AI Assistance Disclosure Catalog Tier: Tier 1 — Selected Highlight (Litang Academic Club Curated Archive) (Curated Index · llms.txt) Frozen Third-Party Statement: lean/OMAStatements/S_oeis_a172470.lean (authored by @hulkholden in lefttosolve2/open-math-agents; SHA-256 177c4e82a8126282…, Git blob SHA-1 1a04268ead9b7739…) Scope & Deviations Audit: Exact match to Crowley's three-gap conjecture for A172468/A172470 using the OEIS floor and half-integer rounding conventions. (Full audit: DEVIATIONS.md) Live Lean 4.33.1 Kernel CI: Continuously typechecked on GitHub-hosted Ubuntu runners against the frozen target statement (runtime audit nonce, zero sorry/axiom/native_decide/metaprogramming tokens, standard axioms propext/Classical.choice/Quot.sound only): lean-verify.yml AI Assistance & Publication Disclosure: Problem exploration, proof decomposition, Lean 4 formalization, and manuscript drafting involved AI/LLM workflows under human curation and verification. Mathematical correctness does not rely on any LLM output and rests strictly on Lean 4.33.1 kernel verification and the independent zero-dependency Python verifier. This open-access Zenodo preprint has not yet undergone traditional journal peer review; linked upstream benchmark PRs on lefttosolve2/open-math-agents are currently open pending maintainer review and cited solely as timestamped provenance.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24772524
Primary Topic
Analytic Number Theory Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

A Formally Verified Proof of Stephen Crowley's Three-Gap Conjecture for OEIS A172468 and A172470

YAN SANG, hanhai bei, litangking, 12gg et al.
Zenodo (CERN European Organization for Nuclear Research)
Analytic Number Theory Research
preprint

A Formally Verified Proof of Stephen Crowley's Three-Gap Conjecture for OEIS A172468 and A172470

YAN SANG, hanhai bei, litangking, 12gg, JKLORI, zorda, yv bian, freeman
preprint en

Abstract

We present a completely self-contained, formally verified proof in Lean 4 of Stephen Crowley's three-gap conjecture for OEIS A172468 and its first-difference sequence OEIS A172470 (formalized as OMA.S_oeis_a172470.main). For each positive integer n, let v_n = Im W_n(-ln(2)/2) in (2 pi n, 2 pi n + pi/2) denote the imaginary part of the n-th upper complex branch of the Lambert W function. Sequence A172468 enumerates in increasing order all positive integers n satisfying floor((n+2)/ln 2) - 2 - floor(v_n/(2 pi ln 2) + 1/2) = 1. We prove that A172468 is infinite, begins at 50, and every consecutive difference a_{172468}(n+1) - a_{172468}(n) belongs strictly to {9, 52, 61}. Proof Method: Substituting v_n = 2 pi n + pi/2 - x_n reduces the complex Lambert-W equation (u + iv)e^{u+iv} = -ln(2)/2 to the single real equation h_n(x) = v / (cos(x) exp(v tan x)) = ln(2)/2 on (0, pi/2). Using a uniform scaling inequality that avoids computing derivatives of h_n, we establish a five-stage non-asymptotic staircase bounding the qualifying window W(n) = (7/(4 ln 2) - 5/2) + x_n/(2 pi ln 2) strictly inside (0.024716, 0.0308) for all n >= 50—safely inside the Slater three-gap stability cell (delta_52, delta_52 + delta_9) = (0.020142..., 0.035887...) generated by the unimodular Farey bracket 75/52 < 88/61 < 1/ln(2) < 13/9. Rewriting qualification as { (n+2)/ln 2 } < W(n), exact integer certificates eliminate all 1 <= m <= 49, verify 50 qualifies, exclude every intermediate step k in {1,...,61} \ {9,52,61}, and force one of n+9, n+52, or n+61 to qualify. Verification: Complete 833-line (39,906-byte) Lean 4.33.1 + Mathlib proof (OMA.solution; 27 theorems/lemmas, 3 definitions; zero sorry, zero axiom, zero native_decide), independently re-verified in pure stdlib Python (1.75 s) via 64-digit Decimal complex branch evaluation over 1 <= n <= 2,000 (max residual 4.300e-63), exact integer replay of all 49 small-index and 58 non-gap step certificates, and certified enumeration of all 2,472 terms of A172468 and 2,471 consecutive gaps of A172470 up to n = 100,000. Verification, Scope Audit & AI Assistance Disclosure Catalog Tier: Tier 1 — Selected Highlight (Litang Academic Club Curated Archive) (Curated Index · llms.txt) Frozen Third-Party Statement: lean/OMAStatements/S_oeis_a172470.lean (authored by @hulkholden in lefttosolve2/open-math-agents; SHA-256 177c4e82a8126282…, Git blob SHA-1 1a04268ead9b7739…) Scope & Deviations Audit: Exact match to Crowley's three-gap conjecture for A172468/A172470 using the OEIS floor and half-integer rounding conventions. (Full audit: DEVIATIONS.md) Live Lean 4.33.1 Kernel CI: Continuously typechecked on GitHub-hosted Ubuntu runners against the frozen target statement (runtime audit nonce, zero sorry/axiom/native_decide/metaprogramming tokens, standard axioms propext/Classical.choice/Quot.sound only): lean-verify.yml AI Assistance & Publication Disclosure: Problem exploration, proof decomposition, Lean 4 formalization, and manuscript drafting involved AI/LLM workflows under human curation and verification. Mathematical correctness does not rely on any LLM output and rests strictly on Lean 4.33.1 kernel verification and the independent zero-dependency Python verifier. This open-access Zenodo preprint has not yet undergone traditional journal peer review; linked upstream benchmark PRs on lefttosolve2/open-math-agents are currently open pending maintainer review and cited solely as timestamped provenance.

Zenodo (CERN European Organization for Nuclear Research)
Analytic Number Theory Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon