Mathematics / Formalization Note / Algebra, Logic & Quantum
ZFC-Provable Non-Halting for Every Four-State Turing Machine in Lean 4 (Step R1.H3 of Tao's Constant C14 >= 5)
A Lean 4 proof of step R1.H3, submitted as PR #156804 (one commit, head 887e7114). The four-state part (lines 6,635-10,539) was written for this submission: a tree-normal-form enumeration of four-state transition tables, shared finite-automaton certificate families, guarded-period certificates interpreted as sets in every ZFC model, and a replay verifier with a soundness theorem. The completeness theorem, the model semantics and the non-halting invariant criterion (lines 1-6,634) are adapted from KevinBigham's Constant14.c14_ge_4.R1.H2 proof. The guarded-period criterion is adapted from hyprspacecoyote's BB4.R2 checker.
- Author
- Ali Uyar
- Scope
- Reduction
- Status
- Submitted to Left to Solve
- Original theorem
- C14 >= 5, where C14 (Tao's optimization constant 14) is the smallest n such that some n-state Turing machine has halting behaviour independent of ZFC. The bound follows from Brady's determination of the four-state Busy Beaver values (Math. Comp. 40 (1983), doi:10.1090/S0025-5718-1983-0689479-6). It is a known result; the best known lower bound is C14 >= 6 from BB(5) (Blanchard et al., STOC 2026, arXiv:2509.12337).
- Statement source
- Left to Solve (FormalConjectures / OMA statements)
Machine-checked in Lean 4 ✓ Submitted to Left to Solve, awaiting its checker. Synced daily (2026-12-04).
Summary
The Lean file proves that every 2-symbol, 4-state Turing machine that has not halted after 108 steps has a ZFC-provable non-halting sentence. This is the third of three hypotheses to which Iraeeee reduced the formal statement Constant14.c14_ge_5 on Left to Solve. Tao's optimization constant C14 is the smallest n for which some n-state, 2-symbol Turing machine started on a blank tape neither provably halts nor provably runs forever in ZFC; C14 >= 5 is a known consequence of Brady's 1983 determination of BB(4) = 107, and C14 >= 6 is now known from BB(5). The proof refutes the halting sentence in every model of ZFC and then applies a Lean proof of the completeness theorem for the embedded calculus. In each model, a set of configurations that contains the start configuration, is closed under one step and avoids the halting state rules out halting. Such sets are built from finite data found by a kernel-checked case split over all four-state transition tables, using finite-automaton, guarded-period and cycle certificates at the leaves. No sorry, native_decide or added axioms appear in the 10,539-line file.
Context
The root statement concerns provability inside ZFC, not just the behaviour of machines in Lean. A Lean proof of BB(4) = 107 therefore does not suffice by itself, and each non-halting verdict has to be turned into a derivation in the embedded first-order ZFC. This step does that for all four-state machines. With the sibling steps H1 and H2, already solved on Left to Solve, it supplies the last step of a Lean proof of the known bound C14 >= 5 inside formal-conjectures.
Root problems on Left to Solve
- LTS Constant14.c14_ge_5 not closed on Left to Solve (5/11 steps solved)
Credits
Mathematics: Brady (Math. Comp. 1983) for the four-state classification, with Rado (1962) and Lin-Rado (1965) for the Busy Beaver framework. The constant C14 is from Tao's optimization-constants list. Reduction R1 and the step statement are by Left to Solve participant Iraeeee (PR #8457). The sibling steps were solved by Narden91 (H1, via a sub-reduction) and KevinBigham (H2, PR #20674). Adapted code, quoted from the Lean file header: '-- The completeness and model-invariant proofs below are adapted from Constant14.c14_ge_4.R1.H2.' '-- Credit: @KevinBigham' '-- Credit: @steveDOTdigital (BeaverBound finite-automata BB(3) decider tree from proofs/BusyBeaver.BB_3.lean)'. A later comment in the file reads: 'The guarded-period criterion is adapted from @hyprspacecoyote's BB4.R2 checker.' Lines 1-6,634 agree almost verbatim with KevinBigham's Constant14.c14_ge_4.R1.H2 proof (PR #21031). The Lean proof was produced with AI coding agents operated by the author. The PR body records 'Agent: codex + claude-code' and 'Model: gpt-6.2-astra', and the final commit carries a Claude Opus 5.5 co-author trailer. The PR body names no other contributors.
Pull request ledger (1)
- #156804 Constant14.c14_ge_5.R1.H3 open
Cite
@misc{uyar2026_busy_beaver_c14_zfc_nonhalting_lean4,
author = {Uyar, Ali},
title = {ZFC-Provable Non-Halting for Every Four-State Turing Machine in Lean 4 (Step R1.H3 of Tao's Constant C14 >= 5)},
year = {2026},
url = {https://aliuyar.dev/math/busy-beaver-c14-zfc-nonhalting-lean4/},
note = {Lean 4 formalization technical note (C14 >= 5, where C14 (Tao's optimization constant 14) is the smallest n such that some n-state Turing machine has halting behaviour independent of ZFC. The bound follows from Brady's determination of the four-state Busy Beaver values (Math. Comp. 40 (1983), doi:10.1090/S0025-5718-1983-0689479-6). It is a known result; the best known lower bound is C14 >= 6 from BB(5) (Blanchard et al., STOC 2026, arXiv:2509.12337).). Code: https://github.com/lefttosolve2/open-math-agents/pull/156804}
}