Paper: The Collatz Conjecture: A Complete Proof via Mod-4 Structural Forcing Author: Khayyam Wakil — The ARC Institute of Knowware, Calgary, Alberta, Canada Version: 4 (March 2026)
| Path | Description |
|---|---|
Collatz Conjecture v4/Wakil_Collatz_v4.pdf |
Final paper (PDF) |
Collatz Conjecture v4/Wakil_Collatz_v4.tex |
LaTeX source |
LeanProofs/Basic.lean |
Lean 4 machine-checked proof |
LeanProofs.lean |
Top-level import |
lakefile.toml |
Lake build configuration |
lean-toolchain |
Lean 4 version pin (v4.29.0) |
The formalisation covers the complete core argument of the paper:
Smap— the simple S-map:S(n) = (3n + 1) / 2inE— the exceptional setE: odd naturals whose entire S-chain is odd
smap_odd_iff_mod4—S(n)is odd iffn ≡ 3 (mod 4)inE_mod4— everyn ∈ Esatisfiesn ≡ 3 (mod 4)inE_closed/inE_iterate—Eis closed underSandS^k
nesting_formula—S(16p + 15) = 16 · S(p) + 15for all oddpoddness_lemma—q = 16p + 15 ∈ Eimpliespis oddpropagation—S^k(q) = 16 · S^k(p) + 15andS^k(p)is odd, for allk ≥ 0mod4_forcing— all iteratesS^k(p) ≡ 3 (mod 4)forced_cascade—q ∈ Eimpliesq ≡ 15 (mod 16)
E_empty—E = ∅: no odd natural number has an infinite all-odd S-chainodd_eventually_even_smap— every oddneventually produces an evenS-iterate
Requires elan (Lean version manager). Mathlib is fetched automatically by Lake.
lake buildA successful build produces no errors. CI runs on every push via GitHub Actions.
- Lean 4
v4.29.0 - Mathlib4
v4.29.0