User:GregoryMorse/Computability and provability guide
Computability asks what an algorithm can determine. Provability asks what a specified axiom system can prove. This guide explains the distinction for Busy Beaver, Beeping Busy Beaver, halting and consistency.
Start with Introduction to the Busy Beaver Function for machine notation and Measuring large numbers for growth-rate notation. Logical independence maintains the construction records, theory comparisons and state bounds; this guide explains how to read those claims.
| An undecidable problem has no algorithm that correctly answers every input. A statement independent of a theory has neither a proof nor a disproof in that theory. An unresolved machine is one whose behavior is not yet known. |
AI disclosure: The original draft used GPT 6.1 Sol (xhigh) in ChatGPT and was reviewed and edited by GregoryMorse. The 26 November revision also used AI assistance to organize sources and revise the guide.
1. Start here: four different questions
| Question | Concept | Distinction |
|---|---|---|
| Can this machine be simulated? | Execution | A computable next step does not give a way to recognize every infinite run. |
| Do we know its behavior? | Resolved / unresolved; holdout | Failure of current methods is not a proof of independence. |
| Can one algorithm settle every input in a specified family? | Algorithmic decidability | The input family matters. |
| Can a specified theory settle a specified sentence? | Provability / logical independence | The theory and the formal sentence matter. |
The two meanings of undecidable are therefore:
- Algorithmically undecidable: no total computable procedure decides every input of the problem.
- Undecidable in a theory : neither nor .
Uncomputable and incomputable are synonyms. A decision problem is decidable exactly when its 0-or-1 characteristic function is computable. Neither term means “too slow on today's hardware.”[1]
2. What actually happens when a machine is run?
For a deterministic machine with a fixed initial tape:
| Behavior | Evidence | Limitation |
|---|---|---|
| It halts after steps. | A finite trace witnesses halting; a proved acceleration may give a shorter certificate. | Finding or storing that trace may be impractical. |
| It never halts. | A loop, invariant or another mathematical argument may establish nonhalting. | Every finite simulation shows only that it has not halted yet. |
There is no runtime event called “becoming undecidable.” The transition rules continue normally. An infinite computation need not repeat a complete configuration: it can keep changing its tape.
If a fixed machine's ordinary halting statement is independent of a theory containing sufficient arithmetic, the machine is actually nonhalting. A genuine halt has a standard finite trace, provable in elementary arithmetic with the usual encoding. Independence says that the named theory cannot prove this particular nonhalting claim; a stronger theory may prove it.[2]
Nonhalting alone implies no independence: a machine that moves right forever is easy to prove nonhalting.
3. BB is a finite maximum; the whole function is uncomputable
Fix a two-symbol, two-way infinite tape, blank input, working states and a separate halt state. Count the final halting transition as a step. Here BB means maximum runtime, also written ; the maximum number of printed 1s is the different function .
Unreachable states can be added, so “at most” and “exactly” give the same maximum here. There are finitely many tables of each size and finitely many halting runtimes among them. Their maximum is a finite integer; nonhalters are excluded.[3]
| Fixed finite information | Uniform task |
|---|---|
| Each is an integer. | Computing requires an answer for every . |
| Every fixed finite collection of machines has a correct table of halting answers. | There is no algorithm that constructs those tables correctly for every size. |
| The correct finite table can be hardcoded. | Existence does not tell us which table is correct. |
Why BB would solve halting. Effectively compile a program and its finite input into an -state blank-tape machine. Knowing tells us how long to simulate: no halt by then means no halt ever. Conversely, a halting oracle can classify the finite set of machines, run the halters and take the maximum. Thus : BB and halting supply the same oracle-computability power, not necessarily the same practical efficiency.[4]
Growth and approximation
BB eventually exceeds every total computable function:
This proves uncomputability: otherwise use . It also rules out a computable upper bound valid for all sufficiently large inputs. Merely growing very quickly is insufficient: Ackermann-style functions remain computable. Conversely, an uncomputable function can have only the values 0 and 1.[3]
Simulating all -state machines for increasing finite times gives a computable, nondecreasing lower approximation to BB(n). For each fixed it eventually stabilizes at the right value. There is no computable rule that always recognizes that stabilization point: such a rule would compute BB.
4. Encoding halting is possible; universally deciding it is impossible
An encoding preserves a question; it does not answer it. Programs, inputs and finite histories can be encoded as integers. The Davis–Putnam–Robinson–Matiyasevich theorem supplies an effective polynomial encoding:
There is no algorithm deciding solvability for all these equations. The encoding and its undecidability have been formalized in Rocq.[5] Bounded integer solutions, unbounded integer solutions, rational solutions and real solutions are different problems.
A universal machine accepts arbitrary programs on a varying input tape. The same machine on one fixed blank tape has only one execution. Universality therefore does not identify a state count where a finite collection of blank-tape questions becomes algorithmically undecidable. See Universal Turing Machine.
5. Theories, consistency and Gödel's theorems
| Term | Meaning / qualification |
|---|---|
| PA | First-order Peano arithmetic, including induction for every first-order arithmetic formula. |
| ZF / ZFC | Zermelo–Fraenkel set theory / ZF with the axiom of choice. |
| NF | Quine's New Foundations, based on stratified comprehension. It is not simply ZFC with axioms removed; see the theory comparisons. |
| Consistency | No contradiction has a finite derivation in the specified proof system. |
| Arithmetical soundness | Every arithmetic theorem is true in the standard natural numbers. This is stronger than consistency. |
| -soundness | No false existential computational sentence is proved. Often this is the soundness needed to rule out a false halting theorem. |
Gödel–Rosser first incompleteness says that a consistent, effectively axiomatized theory containing sufficient arithmetic is incomplete. Gödel's second incompleteness says that, with its usual proof predicate and the standard derivability conditions,
This restricts an internal consistency proof. A stronger theory can prove the consistency of a weaker one: ZFC proves Con(PA), for example. Gentzen's proof for PA uses transfinite induction up to over an appropriate weak base; that additional principle matters.[2][6]
ZF versus ZFC. ZF and ZFC have the same arithmetic consequences: the constructible universe supplies the usual conservativity argument. In particular, adding choice does not settle additional ordinary blank-tape halting statements over ZF. This does not apply automatically to other added axioms, such as large-cardinal axioms.[7]
6. Consistency-checking machines and BB bounds
Let enumerate candidate finite proofs and halt upon finding a -proof of contradiction. For recursively enumerable axioms, the certificates can include axiom-enumeration witnesses.
| Layer | Claim | Required connection |
|---|---|---|
| Program correctness | Faithful proof enumeration, checking and compilation to the literal machine. | |
| Internal correctness | A comparison available inside , not just in a stronger metatheory. | |
| Unprovability | If is consistent, . | Apply second incompleteness to the internal implication. |
search for a finite contradiction proof
/ \
none exists one exists
| |
run forever eventually halt
| |
T is consistent T is inconsistent
If a correct checker halts, extract the finite proof and check it against the intended axioms. A bug in its simulator or implementation is not an inconsistency in the theory.
One direction is not both. Consistency gives the unprovability of nonhalting above. Excluding a false proof of halting requires suitable soundness or a separate argument. If PA is consistent, PA + ¬Con(PA) is a consistent but arithmetically unsound theory.[2]
Watch for an extra “proof of.” Searching for a contradiction and searching for a proof that a contradiction exists are different searches. In an unsound theory, a proof of the existential claim need not yield an actual standard contradiction proof.
How an m-state checker bounds provability
If has working states, the internal comparison is available and is consistent, then:
T proves BB(m) <= b
+
finite verification: C_T survives b steps
|
v
T proves C_T never halts
|
v
T proves Con(T)
|
v
forbidden by second incompleteness
Thus cannot prove any true numerical upper bound for . Padding extends this to larger sizes. This is a theoretical, conditional proof limitation, not a practical runtime estimate. The construction need not give the first unprovable BB value.[2]
An external formalization can also prove unprovability by explicitly formalizing the derivability argument. A PA-internal comparison is one route to the required bridge; it is not the only possible format for an independence proof.
7. A formula for BB up to k
| Claim | Status |
|---|---|
| Every fixed finite prefix has an interpolating polynomial. | True, even when its coefficients are unknown. |
| One algorithm produces a correct, exactly evaluable formula for every prefix length. | Impossible: evaluating its last entry would compute BB. |
| A short definition specifies BB for all inputs. | Possible. Its halting condition need not be effectively decidable. |
There is no largest finite for which some polynomial exists. Let , for . Lagrange interpolation gives a rational-coefficient polynomial of degree at most :
Then . The values are already present as coefficients. Clearing denominators gives an integer-coefficient relation, not necessarily an integer-coefficient polynomial with the same outputs.
| Other finite-table representations | What they preserve / require |
|---|---|
| Piecewise lookup or line segments | Reproduce supplied samples; justify no extrapolation. The line through BB(1)=1 and BB(2)=6 predicts 11 at 3, but BB(3)=21. |
| Linear constraints with selectors | Require , , , . Dropping integrality admits fractional mixtures. |
| Quadratic equations with auxiliary variables | Replace circuit operations by equations such as and . This changes representation, not access to the unknown coefficients or a general solver. Slack variables alone do not encode products. |
Different cutoffs
| What is fixed? | What follows? |
|---|---|
| One total computable candidate | It has a first disagreement with BB and only finitely many agreements, by eventual domination. That first disagreement need not be effectively recognizable. |
| One theory | A consistency-machine argument can bound the prefix of true exact values whose entries proves. It does not say that all earlier entries are provable. |
| A formula class and size/resource limits | Representation, discovery and certification depend on those specified limits. “Closed form” alone does not specify them. |
| Arbitrary finite formulas | Every fixed finite prefix has a table or polynomial representation, with no maximal finite length. |
Nonuniform existence, effective discovery and provable correctness are different questions. Independence can obstruct certification without preventing the finite table or polynomial from existing.
8. BBB: the last beep need not be a halt
A beeper has a designated observable event. Write for its last-beep time, with 0 for no beeps and infinity for infinitely many. For a fixed model and timing convention,
Quasihalting means beeping only finitely often. Ordinary execution may continue forever afterwards. Both beep-state and beep-transition conventions are called BBB on this wiki; state the convention when comparing counts.[8]
ordinary halt: step -- step -- HALT finite beeps: beep -- LAST BEEP -- step -- step -- ... infinite beeps: beep ----- beep -------- beep ---- ...
| Event | What must be specified? |
|---|---|
| Entering a designated state | Which state, and whether entering or leaving defines the time. |
| Executing a designated transition | The state and scanned symbol. Other uses of that state need not beep. |
| Reaching a class of configurations | The decidable predicate is part of the model. Its description and computation cannot be added free when comparing description sizes. |
A state reached only with one scanned symbol may already isolate a single transition event. In general, converting between conventions can add states and alter timing; no global minimality follows. The relevant distinction is whether the chosen event occurs finitely or infinitely often, not whether every state is visited.
For twin primes, beep once per pair while continuing the search. The machine quasihalts iff there are finitely many twin-prime pairs. This implements the conjecture; it does not settle it.
| Question | Logical form |
|---|---|
| Halts | — . |
| Never halts | — . |
| Finitely many beeps | — . |
| Infinitely many beeps | — . |
These general decision problems are complete at the indicated levels. Under the standard beeping conventions, BB has oracle degree and BBB has degree . A BB oracle therefore does not compute BBB. Higher recurrence conditions or oracle variants require their own definitions; the letters “BBBB” alone do not specify a model.[4]
No finite pause certifies a last beep. Even a supplied bound does not make “simulate until ” a quasihalting decider: an infinitely beeping run may have a long gap there. A beep strictly after does certify infinitely many beeps.
9. Practical research and bounded proof search
| Evidence | Establishes | Does not establish |
|---|---|---|
| A proved halter with runtime | . | Maximality. |
| Sound coverage of every machine, with largest halting runtime | . | A uniform BB algorithm. |
| A proved invariant or accelerated recurrence | Behavior within its proved hypotheses. | Coverage of other configurations, or a solution to every resulting recurrence. |
| Long simulation / an analysis tool returns UNKNOWN | A finite prefix / that method's limitation. | Nonhalting or logical independence. |
In bbchallenge, a decider can return HALT, NONHALT or UNKNOWN. Multiple sound methods can cover a finite domain without constituting a universal halting decider.[9] The formal proof of is an example of exhaustive finite coverage.[10]
An invariant must contain the initial configuration, be preserved by every next step and exclude halting. Matching a simulated prefix is insufficient. The same applies whether a human, a search program or AI proposes it. A finite proof can describe an infinite run; its checking time need not resemble the execution time being analyzed.
Checking a proof, finding a short proof, and deciding provability
| Task | Why the distinction matters |
|---|---|
| Check one supplied finite proof. | Effective for an appropriately encoded proof system; axiom-enumeration witnesses may be needed. |
| Search all proof strings up to a supplied finite length. | A finite decision problem. Its complexity depends on the encoding, verifier and representation of the bound. |
| Determine whether any proof exists. | An unbounded question. Increasing the length limit finds existing proofs but never certifies that none exists. |
Even a fast solver or suitable oracle for bounded proof search needs a length bound guaranteed to contain a proof. It does not automatically decide unprovability or independence. Searching for proofs of both and can run forever when neither exists. This is the bounded/unbounded distinction behind the November proof-search discussion.
Computable updates, difficult long-term behavior
Generalized Collatz functions have computable residue-class update rules, yet their general reachability problems can encode halting. “Does every input reach 1?” has the different form ; Kurtz and Simon prove the generalized all-input problem -complete.[11] Neither result proves the ordinary conjecture independent of PA or ZFC.
Similarly, a theory's language matters. Adding an externally interpreted predicate to a decidable theory does not preserve decidability automatically; the expanded language and axioms must be analyzed.
10. Reading the construction records
For counts and chronology, use Logical independence and TMBR: November 2026. The following distinctions recur in the recent discussions:
| Quantity / claim | What it measures |
|---|---|
| The theory-relative threshold defined at Logical independence. A construction supplies an upper bound, not necessarily its exact value. | |
| Smallest published direct checker for | A record for a specified construction task and proof scope. It can remain useful even when a smaller bound is obtained via another theory. |
| A bound inherited via another theory | Requires the relevant arithmetic proof transfer. Its nonhalting justification may use Con(S), rather than only Con(T). |
| A smaller implementation of the same search | Requires a literal-table/startup/simulation argument. Transporting an internal unprovability theorem is a separate obligation. |
| Consistency strength | Does not determine checker size, proof length, runtime, or a probability that a contradiction exists. |
The PA-versus-NF discussion illustrates why a direct PA checker and a smaller NF-derived bound answer different questions. A bare consistency-strength ranking is insufficient: use theorem inclusion, an arithmetic-preserving interpretation or an explicit internal comparison.[12]
Shared interpreters also explain similar counts across theories: much of a table implements syntax, enumeration and arithmetic, while only part represents the axioms. Compression of that code is not a consistency proof or a lower bound on possible checker sizes. See the discussion of the shared register-machine architecture.
“Smallest machine that halts iff ” needs a meaningful construction and correctness requirement. For a fixed statement with a definite truth value, a trivial halter or a trivial nonhalter has the same halting truth value. Choosing the correct one without a proof gives no usable encoding. See Shawn Ligocki's explanation.
11. Checking consistency and formalization claims
| Reported result | Interpretation |
|---|---|
| Halting iff inconsistency | A correctness theorem; consistency remains a premise for nonhalting. |
| Relative consistency; keep the premise. | |
| A proof using the principles of . | |
| Under the usual second-incompleteness hypotheses, a valid such derivation would imply inconsistency of . | |
| A concrete contradiction proof | Check its finite derivation against the exact intended axioms. |
| An assumption audit reports no additional axioms | A statement within the proof assistant's foundation; not a proof of that foundation's consistency. |
| What to identify | Why |
|---|---|
| Literal machine, blank start, state count and observer | A different table, prepared tape or beep event can change the result. |
| Exact theorem and hypotheses | A predicate's name is not its definition. Conditional consistency and soundness premises remain conditional. |
| Object theory and metatheory | A Lean theorem about PA-provability is not a PA derivation. Conversely, an external independence proof can explicitly establish that no PA derivation exists. |
| Complete proof chain | Physical simulation, proof enumeration, theory calibration and unprovability can have different verification status. Kernel-checked components do not imply every connecting step was formalized. |
| Encoding in a very weak theory | Externally equivalent computation encodings need not be provably equivalent in that theory. Fix the arithmetic representation as well as the literal machine. |
| Reproduction / registry scope | Identify what was actually built or replayed and which version was checked; do not turn an author's recorded check into an independent rebuild. |
Palomar formalizations links registered results. Palomar distinguishes mechanical proof checking from automated language-model review of the informal/formal correspondence and other editorial criteria. Registration supplies no human referee's endorsement.[13]
An internal argument must also work in nonstandard models of the object theory. A nonstandard model believing that a machine “halts” does not supply a standard finite execution trace. This is why standard-run equivalence alone does not automatically provide the internal bridge used by second incompleteness.
| Claim | Logical form / consequence |
|---|---|
| This fixed standard input halts. | . If true, a finite trace is provable in elementary arithmetic with the usual encoding. |
| Every input halts. | . This can be true but unprovable in PA. |
| A beeper runs inputs in order and beeps after each completed run. | Infinitely many beeps iff every input terminates, for the correctly implemented search. This encodes uniform totality in non-quasihalting. |
Goodstein's theorem illustrates the distinction: every individual standard sequence terminates, but PA cannot prove uniform termination.[14] A computable function can therefore be total without being provably total in PA. The ordinal is an index used in proof-theoretic analysis, not a numerical runtime.
For a fixed calculation such as TREE(3), distinguish a termination proof, its numerical output and a proof that the chosen program implements the intended definition. A halting trace alone does not establish the last point. See the October TREE discussion. Enormous runtimes do not by themselves prove lower bounds on the length of all possible proofs.
| Related topic | Connection / pitfall |
|---|---|
| Chaitin's | An uncomputable halting-probability real for an optimal prefix-free universal machine. Its bits depend on the machine; an uncomputable expansion is not an “uncomputable finite integer.”[15] |
| Rice's theorem | Nontrivial extensional properties of the partial computable functions computed by programs have undecidable index sets. This does not cover arbitrary syntactic questions about code.[16] |
| Oracles | A halting oracle settles ordinary halting. Machines with that oracle have a new halting problem; one jump does not settle the whole hierarchy. |
| Open conjectures / Cryptids | A faithful machine construction can encode an open statement without proving it independent of any theory. Its quantifiers determine the appropriate acceptance condition. |
13. Quick misconception checklist
| Claim | Clarification |
|---|---|
| “This machine is undecidable.” | Unknown today, outside one method, or independent of which theory? |
| “BB becomes uncomputable at n states.” | Uncomputability concerns the infinite function. Theory-relative proof thresholds are different. |
| “The winning halter is itself an unprovable halt.” | Its finite run is provable; maximality can be the unprovable claim. |
| “A formula for a finite prefix is impossible.” | Interpolation works for every finite prefix; discovering or certifying the coefficients is another task. |
| “A smaller checker threatens consistency.” | It shortens the description, not necessarily a contradiction proof or its search time. |
| “Stronger in consistency means every bound transfers.” | Check the actual arithmetic proof transfer. |
| “A checked component / registry entry proves everything.” | Read the endpoint, remaining bridges, hypotheses and checking scope. |
| “No proof below this length means independence.” | It rules out only that bounded search range. |
| “AI, quantum computing or faster search removes the halting obstruction.” | Effective algorithms and heuristics still face the same uniform impossibility theorem. |
| “BB encodes every mathematical question.” | Ordinary halting has a finite-witness form; other quantifier patterns need separate analysis. |
14. A precise way to ask for help
For this exact machine, initial tape and observer, what is known? Is the evidence a simulation, a mathematical proof, a checked certificate or an independence theorem? If independent, of which theory and under which assumptions?
For a formula claim: “Which operations and constants are allowed, on what input range, with what exact evaluator and proof of correctness?”
References
- ↑ A. M. Turing, On Computable Numbers, with an Application to the Entscheidungsproblem, 1936–1937. The usual halting formulation is modern.
- ↑ 2.0 2.1 2.2 2.3 Johannes Riebel, The Undecidability of BB(748): Understanding Gödel's Incompleteness Theorems, University of Augsburg, March 2023, especially §§2.4–2.5 and 3.2.
- ↑ 3.0 3.1 Tibor Radó, On Non-Computable Functions, Bell System Technical Journal 41 (1962), 877–884.
- ↑ 4.0 4.1 Scott Aaronson, The Busy Beaver Frontier, 2020, §§2–3 and 5.10.
- ↑ Dominique Larchey-Wendling and Yannick Forster, Hilbert's Tenth Problem in Coq (Extended Version), 2022.
- ↑ Timothy Y. Chow, The Consistency of Arithmetic, 2018.
- ↑ Lawrence C. Paulson, The Relative Consistency of the Axiom of Choice Mechanized Using Isabelle/ZF, 2003, including the role of constructibility and metatheory.
- ↑ Beeping Busy Beaver, definitions and conventions.
- ↑ The bbchallenge Collaboration, Turing machines deciders, part I, 2025.
- ↑ The bbchallenge Collaboration, Determination of the fifth Busy Beaver value, revised March 2026.
- ↑ Stuart A. Kurtz and Janos Simon, The Undecidability of the Generalized Collatz Problem, 2007.
- ↑ James Walsh, On the hierarchy of natural theories, §9.3.1, 2025.
- ↑ About Palomar, “What does Palomar require for registration?”, accessed 26 November 2026.
- ↑ Michael Rathjen, Goodstein revisited, 2014.
- ↑ Kohtaro Tadaki, Chaitin Ω numbers and halting problems, 2009.
- ↑ H. G. Rice, Classes of recursively enumerable sets and their decision problems, 1953.