Logical independence: Difference between revisions

From BusyBeaverWiki
Jump to navigation Jump to search
Svennik (talk | contribs)
put the 178-state NF machine
Link PA196 and ZF192 Palomar registrations; add formalizations index
 
(35 intermediate revisions by 7 users not shown)
Line 1: Line 1:
For any recursively enumerable and arithmetically sound axiomatic theory T, there exists an integer <math>N_T</math> such that T cannot prove the values of BB(n) for any <math>n \ge N_T</math>. Let <math>N_T</math> denote the least such integer. For [[wikipedia:Zermelo–Fraenkel_set_theory|Zermelo–Fraenkel set theory]] (ZF), this value is known to be in the range:
For any recursively enumerable and arithmetically sound axiomatic theory T, there exists an integer <math>N_T</math> such that T cannot prove the values of BB(n) for any <math>n \ge N_T</math>. Let <math>N_T</math> denote the least such integer. For [[wikipedia:Zermelo–Fraenkel_set_theory|Zermelo–Fraenkel set theory]] (ZF), this value is known to be in the range:


<math display="block">6 \le N_{ZF} \le 207</math>
<math display="block">6 \le N_{ZF} \le 192</math>


This lower bound comes from the fact that [[BB(5)]] has been proven in Rocq.<ref group="footnote">The fact that this theorem has been proven in Rocq technically does not imply that the theorem must be provable in ZF, because the consistency strength of Rocq is actually higher than that of ZF. However, the BB(5) proof does not use any techniques that could not be formalized within ZF.</ref> The upper bound comes from an explicit TM which halts if and only if ZFC has a finite proof of contradiction. Assuming ZF is consistent and sound, then it cannot prove whether or not it is consistent, hence it cannot prove whether or not this specific TM halts.
This lower bound comes from the fact that [[BB(5)]] has been proven in Rocq.<ref group="footnote">The fact that this theorem has been proven in Rocq technically does not imply that the theorem must be provable in ZF, because the consistency strength of Rocq is actually higher than that of ZF. However, the BB(5) proof does not use any techniques that could not be formalized within ZF.</ref> The upper bound comes from an explicit TM which halts if and only if ZFC has a finite proof of contradiction. Assuming ZF is consistent and sound, then it cannot prove whether or not it is consistent, hence it cannot prove whether or not this specific TM halts.
Line 8: Line 8:


== Results by Theory ==
== Results by Theory ==
Most normal theories form a linear ordering with respect to consistency strength. All theories in the table below follow that linear order from top to bottom. Thus for any row X below Y, <math>N_X \le N_Y</math>. Rows are empty if no better results is known than the result inherited from a previous row.
Most natural theories form a linear ordering with respect to consistency strength.<ref>James Walsh, [https://www.cambridge.org/core/journals/bulletin-of-symbolic-logic/article/on-the-hierarchy-of-natural-theories/FEF058E948E6E8B8A4F5F174E02AFCC9 "On the hierarchy of natural theories"],  Bulletin of Symbolic Logic, 04 December 2025</ref> All theories in the table below follow that linear order from top to bottom. Thus for any row X below Y, <math>N_X \le N_Y</math>. Rows are empty if no better results is known than the result inherited from a previous row.


Note: For extremely weak theories, <math>N_T</math> is not well defined without defining a specific TM encoding. Technically, <math>N_T</math> for any theory requires fixing some TM encoding into the language of the theory. But for EFA and stronger theories, they are strong enough to prove the equivalence between all common TM encodings (ex: binary, beta-function, prime-power, MRDP), so specifying the precise encoding is generally irrelevant. Below EFA, the prime-power encoding cannot be decoded due to exponentiation not being provably total.
Note: For extremely weak theories, <math>N_T</math> is not well defined without defining a specific TM encoding. Technically, <math>N_T</math> for any theory requires fixing some TM encoding into the language of the theory. But for EFA and stronger theories, they are strong enough to prove the equivalence between all common TM encodings (ex: binary, beta-function, prime-power, MRDP), so specifying the precise encoding is generally irrelevant. Below EFA, the prime-power encoding cannot be decoded due to exponentiation not being provably total.
{| class="wikitable"
{| class="wikitable"
!Language
! Theory
! Theory
! Upper bound on <math>N_T</math> (states)
! Upper bound on <math>N_T</math> (states)
|-
|-
| rowspan="11" |Set Theory
| ZF+Berkeley cardinal
| ZF+Berkeley cardinal
| 1399
| 1399
Line 34: Line 31:
|-
|-
| ZF+subtle cardinal
| ZF+subtle cardinal
| 493
| 493 [https://github.com/Saoi2/turing_machine_explorer/blob/main/subtle.tm]<br />''380 (via ZFC+I3)''
|-
|New Foundation + Cantorian Sets
|199 [https://discord.com/channels/960643023006490684/1573398403235184810/1573804552472371231]
|-
|-
| Zermelo-Fraenkel set theory (ZF) / ZFC / NBG
| Zermelo-Fraenkel set theory (ZF) / ZFC / NBG
Line 40: Line 40:
|-
|-
| New Foundations (NF) + Axiom of Counting (AxCount)
| New Foundations (NF) + Axiom of Counting (AxCount)
| 192 [https://github.com/wlad-svennik/notes/tree/main/nf-axcount-bb192]
| 187
|-
|-
| Zermelo set theory
| Zermelo set theory
| ''192 (via NF+AxCount)''<ref group="footnote">The 192-state NF + AxCount machine also gives <math>N_Z\le 192</math> for Zermelo set theory. Writing <math>H</math> for its blank-tape halting statement, the note proves <math>\mathrm{PA}\vdash\neg H\to\mathrm{Con}(Z)</math>. Thus, if <math>Z</math> is consistent, it cannot prove that the machine runs forever. The note derives actual nonhalting in ZF using the cited consistency comparisons. Proof and verification files</ref>
| ''187 (via NF+AxCount)''<ref group="footnote">The 187-state NF + AxCount machine also gives <math>N_Z\le 187</math> for Zermelo set theory. Writing <math>H</math> for its blank-tape halting statement, the note proves <math>\mathrm{PA}\vdash\neg H\to\mathrm{Con}(Z)</math>. Thus, if <math>Z</math> is consistent, it cannot prove that the machine runs forever. The note derives nonhalting in ZF using the cited consistency comparisons. Proof and verification files</ref>
|-
|-
| New Foundations (NF) / Mac Lane
| New Foundations (NF) / Mac Lane
| 178 [https://github.com/wlad-svennik/notes/tree/208dd14/nf-bb178]
| 177 [https://github.com/wlad-svennik/notes/tree/main/nf-bb177]
|-
| KP
|
|-
|-
| rowspan="10" |Arithmetic
| <math>\mathrm{Z}_\omega</math>
| <math>\mathrm{Z}_\omega</math>
|
|
Line 57: Line 53:
| <math>\mathrm{Z}_2</math>
| <math>\mathrm{Z}_2</math>
|
|
|-
| KP
|
|-
|-
| Peano arithmetic (PA)
| Peano arithmetic (PA)
| 196  [https://github.com/jamesyc/BusyBeaver/tree/main/PA196]<br />''178 (via NF)''<ref group="footnote">The 178-state bound also applies to every weaker arithmetic theory listed below PA, since any numerical upper bound on <math>BB(n)</math> provable in one of those theories is also provable in PA. See [[Logical independence#Peano Arithmetic (PA)|the PA section]] for the proof of the 178-state bound.</ref>
| 196  [https://github.com/jamesyc/BusyBeaver/tree/main/PA196]<br />''177 (via NF)''<ref group="footnote">The 177-state bound also applies to every weaker arithmetic theory listed below PA, since any numerical upper bound on <math>BB(n)</math> provable in one of those theories is also provable in PA. See [[Logical independence#Peano Arithmetic (PA)|the PA section]] for the proof of the 177-state bound.</ref>
|-
|-
| PRA / <math>I\Sigma_1</math> / <math>\mathrm{RCA}_0</math> / <math>\mathrm{WKL}_0</math>
| PRA / <math>I\Sigma_1</math> / <math>\mathrm{RCA}_0</math> / <math>\mathrm{WKL}_0</math>
Line 80: Line 79:
|-
|-
| <math>I\Delta_0</math>
| <math>I\Delta_0</math>
|
|-
| Q
|
|
|}
|}
Line 197: Line 199:
|[[Media:K211-review-by-email.zip|Lean proof and replay]]
|[[Media:K211-review-by-email.zip|Lean proof and replay]]
|-
|-
|207
|192
|19 Nov 2026
|21 Nov 2026
|James Chang formalized with ChatGPT
|James Chang formalized with ChatGPT
|
|[https://github.com/jamesyc/BusyBeaver/tree/main/ZF192/paper Github]
|[https://github.com/jamesyc/BusyBeaver/tree/main/ZF207 Lean proof and replay]
|[https://github.com/jamesyc/BusyBeaver/tree/main/ZF192 Lean proof and replay] <small class="plainlinks">([https://palomar-registry.org/entry?id=PALOMAR-2026-11-23-000016&version=1 Palomar])</small>
|}
|}
[[File:ZFC Machine 254.png|thumb|The transition table of the ZF machine with 254 states. The initial state is 1.]]
[[File:ZFC Machine 254.png|thumb|The transition table of the ZF machine with 254 states. The initial state is 1.]]
Line 207: Line 209:


== New Foundations (NF) ==
== New Foundations (NF) ==
''New Foundations'' is a formal theory created by W.V.O. Quine in 1937, based around the principle of stratified comprehension of sets. It is known to be stronger than Peano Arithmetic and second-order arithmetic, but weaker than ZF. The Github page contains a proof in Lean that it is equiconsistent with Mac Lane set theory, which is a novel result as of the time of writing (November 2026). Mac Lane set theory is far more mainstream than NF, so the following machine could be seen as an efficient way of determining which Busy Beaver value MAC cannot verify.
''New Foundations'' is a formal theory created by W.V.O. Quine in 1937, based around the principle of stratified comprehension of sets. It is known to be stronger than Peano Arithmetic and second-order arithmetic, but weaker than ZF. The Github page contains a proof in Lean that it is equiconsistent with Mathias's set theory <math>\mathsf{M}</math>,<ref>wlad-svennik, "[https://github.com/wlad-svennik/notes/blob/main/nf-bb192/interpretations/MacNFU.lean#L85 notes]". GitHub repository, 18 November 2026. Accessed 22 November 2026.</ref> also known as Mac Lane set theory without choice, which is a novel result as of the time of writing (November 2026). Mac Lane set theory is far more mainstream than NF, so the following machine could be seen as an efficient way of determining which Busy Beaver value <math>\mathsf{M}</math> cannot verify.


{| class="wikitable"
{| class="wikitable"
Line 246: Line 248:
|[https://github.com/wlad-svennik/notes/tree/208dd14/nf-bb178 Github]
|[https://github.com/wlad-svennik/notes/tree/208dd14/nf-bb178 Github]
|
|
|-
|177
|21 November 2026
|@wlad-svennik
|
|[https://github.com/wlad-svennik/notes/tree/main/nf-bb177 Lean verification on Github]
|}
|}


Line 285: Line 293:




If we add the ''Axiom of Counting'' (AxCount) to NF, which is the rather tautological-looking axiom<blockquote><nowiki>For any finite set S, |S| = |{{x}</nowiki> : x ∈ S}|      (i.e. the number of elements of S doesn't change when you replace each element x with the singleton {x})</blockquote>then it's sufficient to prove Con(Z). As of the time of this writing (November 2026) we've used this to obtain a machine that is smaller (192 states) than any machine of Zermelo-strength or above.
If we add the ''Axiom of Counting'' (AxCount) to NF, which is the rather tautological-looking axiom<blockquote><nowiki>For any finite set S, |S| = |{{x}</nowiki> : x ∈ S}|      (i.e. the number of elements of S doesn't change when you replace each element x with the singleton {x})</blockquote>then it's sufficient to prove Con(Z). As of the time of this writing (November 2026) we've used this to obtain a machine that is smaller (187 states) than any machine of Zermelo-strength or above.


ZFC can prove Con(NF + AxCount).
ZFC can prove Con(NF + AxCount).
==== With the Axiom of Cantorian Sets ====
If we add the ''Axiom of Cantorian Sets'' (CS) to NF, which is the seemingly tautological-looking axiom:<blockquote>Every ''Cantorian'' set is ''strongly Cantorian''.</blockquote>where:<blockquote>S is called ''Cantorian''<nowiki> if |S| = |{{x}</nowiki> : x ∈ S}|,
S is called ''strongly Cantorian'' if {(x, {x}) : x ∈ S} is a set.</blockquote>Oddly enough, the class {(x, {x}) : x ∈ S} is not always a set in NF(U). For example, the universal set V cannot be Cantorian: If V were Cantorian, it would result in Cantor's paradox
<math>\begin{matrix}
|V| &=& \left|\{\{x\} \,:\, x\in V\}\right| &\text{(Assumed V is Cantorian)}\\
&<& |P(V)| &\text{(Provable in NF)}\\
&=& |V|\\
\end{matrix}</math>
NF + Cantorian Sets is stronger than ZFC since it proves Con(ZFC). (See also Enayat's 2026 preprint "[https://arxiv.org/abs/2610.19283 What David Teaches Goliath: An Inevitable Extension of ZFC]" about the related theory NFUA, and its theorem 7.2 putting its consistency strength at the level of <math>n</math>-Mahlo cardinals.) Currently, the machine is down to 199 states.


=== Implementation theory: The combinatory calculus ===
=== Implementation theory: The combinatory calculus ===
FunctionalNF is not implemented directly. Instead, a massively leaner form is implemented, in the form of a [https://en.wikipedia.org/wiki/combinatory_logic combinatory logic] which consists of just three nonlogical primitives:
FunctionNF is not implemented directly. Instead, a massively leaner form is implemented, in the form of a [https://en.wikipedia.org/wiki/combinatory_logic combinatory logic] which consists of just three nonlogical primitives:


* Binary application <math>xy</math>, associated to the left.
* Binary application <math>xy</math>, associated to the left.
Line 339: Line 361:


==== With Rosser's Axiom of Counting ====
==== With Rosser's Axiom of Counting ====
The 192-state machine uses the same three primitives. In the six-axiom calculus above, <math>b</math> serves both as ⊤ and is meant to satisfy axiom 2. By contrast, the Counting variant uses <math>qq</math> for ⊤, and makes ''<math>b</math>'' honour axiom 2 by defining <math>b:=(rq)q</math>. The definitions <math>K(x):=H(x,x)</math> and <math>r:=(qq)q</math> carry over.<ref>[https://github.com/wlad-svennik/notes/releases/tag/counting201-zermelo ''A 201-state Busy Beaver bound for Zermelo set theory''], proof and verification files.</ref>
The 187-state machine uses the same three primitives. In the six-axiom calculus above, <math>b</math> serves both as ⊤ and is meant to satisfy axiom 2. By contrast, the Counting variant uses <math>qq</math> for ⊤, and makes ''<math>b</math>'' honour axiom 2 by defining <math>b:=(rq)q</math>. The definitions <math>K(x):=H(x,x)</math> and <math>r:=(qq)q</math> carry over.<ref>[https://github.com/wlad-svennik/notes/releases/tag/counting201-zermelo ''A 201-state Busy Beaver bound for Zermelo set theory''], proof and verification files.</ref>


With this definition of <math>b</math>, axioms 1, 2, 4 and 5 carry over as written. Replacing axioms 3 and 6 and adding axiom 7 gives the following changes. All free variables are universally quantified.
With this definition of <math>b</math>, axioms 1, 2, 4 and 5 carry over as written. Replacing axioms 3 and 6 and adding axiom 7 gives the following changes. All free variables are universally quantified.
Line 362: Line 384:


=== Fragment of First-Order Logic ===
=== Fragment of First-Order Logic ===
Notably, we '''do not''' implement the whole of First-Order Logic: The quantifier ∀ can be defined ''internally'' to CombNF / FunctionalNF:<blockquote>∀ := λP.(P ≐ λx.⊤)
Notably, we '''do not''' implement the whole of First-Order Logic: The quantifier ∀ can be defined ''internally'' to CombNF / FunctionNF:<blockquote>∀ := λP.(P ≐ λx.⊤)


¬ := λp.(p ≐ ⊥)
¬ := λp.(p ≐ ⊥)
Line 416: Line 438:
|James Chang formalized with ChatGPT
|James Chang formalized with ChatGPT
|[https://github.com/jamesyc/BusyBeaver/commit/64ff1b3047b951b25129d4ab897ccf1728b66dbf Github]
|[https://github.com/jamesyc/BusyBeaver/commit/64ff1b3047b951b25129d4ab897ccf1728b66dbf Github]
|[https://github.com/jamesyc/BusyBeaver/tree/main/PA196/ProofSources Lean]
|[https://github.com/jamesyc/BusyBeaver/tree/main/PA196/ProofSources Lean] <small class="plainlinks">([https://palomar-registry.org/entry?id=PALOMAR-2026-11-13-000007&version=1 Palomar])</small>
|-
|-
|}
|}
This machine takes Wade's ZF champion and replaces the set theory axioms with one axiom schema of "adjunction + separation", which has been shown to interpret PA.<ref>https://mathoverflow.net/questions/508137/interpreting-pa-with-only-adjunction-separation/508161</ref>
The 372-state machine takes Wade's ZF champion and replaces the set theory axioms with one axiom schema of "adjunction + separation", which has been shown to interpret PA.<ref>https://mathoverflow.net/questions/508137/interpreting-pa-with-only-adjunction-separation/508161</ref>


The 178-state machine halts exactly when NF proves a contradiction.<ref>https://github.com/wlad-svennik/notes/tree/bfc960b0725ecab9be07518cc35954662f2592e7/nf-bb185/pa</ref> The Holmes–Wilshaw consistency proof for NF therefore establishes in ZFC that the machine runs forever.<ref>M. Randall Holmes and Sky Wilshaw, [https://arxiv.org/abs/1503.01406 ''NF is Consistent''].</ref> For this same machine, PA proves that if it runs forever, then PA is consistent.<ref>https://github.com/wlad-svennik/notes/tree/bfc960b0725ecab9be07518cc35954662f2592e7/nf-bb185/pa</ref> By Gödel's second incompleteness theorem, PA cannot prove that it runs forever. If PA proved a numerical upper bound on <math>BB(178)</math>, it could verify that the machine survives that many steps and hence prove that it runs forever. Thus <math>N_{\mathrm{PA}}\leq 178</math>.
The 177-state machine halts exactly when NF proves a contradiction.<ref>https://github.com/wlad-svennik/notes/tree/main/nf-bb177</ref> The Holmes–Wilshaw consistency proof for NF therefore establishes in ZFC that the machine runs forever.<ref>M. Randall Holmes and Sky Wilshaw, [https://arxiv.org/abs/1503.01406 ''NF is Consistent''].</ref> For this same machine, PA proves that if it runs forever, then PA is consistent.<ref>https://github.com/wlad-svennik/notes/tree/main/nf-bb177</ref> By Gödel's second incompleteness theorem, PA cannot prove that it runs forever. If PA proved a numerical upper bound on <math>BB(177)</math>, it could verify that the machine runs that many steps and hence prove that it runs forever. Thus <math>N_{\mathrm{PA}}\leq 177</math>. [wrong section?]


=== Weaker arithmetical theories ===
=== Weaker arithmetical theories ===
Line 428: Line 450:
Theories grouped in one arithmetic row have the same Busy Beaver threshold. For fixed standard <math>n</math> and <math>b</math>, a counterexample to <math>BB(n)\le b</math> is a halting computation of an <math>n</math>-state machine lasting more than <math>b</math> steps. A proposed computation can be checked in polynomial time in the length of its complete history. When <math>BB(n)=b</math> is true, a particular halting run witnesses the matching lower bound.
Theories grouped in one arithmetic row have the same Busy Beaver threshold. For fixed standard <math>n</math> and <math>b</math>, a counterexample to <math>BB(n)\le b</math> is a halting computation of an <math>n</math>-state machine lasting more than <math>b</math> steps. A proposed computation can be checked in polynomial time in the length of its complete history. When <math>BB(n)=b</math> is true, a particular halting run witnesses the matching lower bound.


With this explicit history coding, <math>\mathrm{PV}_1</math> and <math>S^1_2</math> agree on the universal equations expressing the upper bounds. Full bounded arithmetic <math>S_2</math> and <math>I\Delta_0+\Omega_1</math> agree on sentences in their common arithmetical language.<ref>Jan Krajíček, [https://www.karlin.mff.cuni.cz/~krajicek/kniha.pdf Bounded Arithmetic, Propositional Logic, and Complexity Theory], Lemma 5.2.15 and Theorem 5.3.4.</ref> Buss's conservation theorem similarly gives <math>T^1_2</math> and <math>S^2_2</math> the same provable upper bounds.<ref>Samuel R. Buss, [https://mathweb.ucsd.edu/~sbuss/ResearchWeb/BAaxioms/camera.pdf Axiomatizations and Conservation Results for Fragments of Bounded Arithmetic].</ref> Finally, <math>I\Sigma_1</math>, <math>\mathrm{RCA}_0</math> and <math>\mathrm{WKL}_0</math> agree with PRA on <math>\Pi^0_2</math> arithmetic sentences, which suffices for all four to share a threshold.<ref>Jeremy Avigad, [https://www.andrew.cmu.edu/user/avigad/Papers/omegasubmodels.pdf Notes on Π¹₁-conservativity, ω-submodels, and the collection schema], §2.</ref>
With this explicit history coding, <math>\mathrm{PV}_1</math> and <math>S^1_2</math> agree on the universal equations expressing the upper bounds. Full bounded arithmetic <math>S_2</math> and <math>I\Delta_0+\Omega_1</math> are two theories in the same language which prove the same sentences.<ref>Jan Krajíček, [https://www.karlin.mff.cuni.cz/~krajicek/kniha.pdf Bounded Arithmetic, Propositional Logic, and Complexity Theory], Lemma 5.2.15 and Theorem 5.3.4.</ref> Buss's conservation theorem similarly gives <math>T^1_2</math> and <math>S^2_2</math> the same provable upper bounds.<ref>Samuel R. Buss, [https://mathweb.ucsd.edu/~sbuss/ResearchWeb/BAaxioms/camera.pdf Axiomatizations and Conservation Results for Fragments of Bounded Arithmetic].</ref>
 
Finally, <math>I\Sigma_1</math>,<ref name="Avigad02">Jeremy Avigad, "[https://www.andrew.cmu.edu/user/avigad/Papers/omegasubmodels.pdf Notes on Π¹₁-conservativity, ω-submodels, and the collection schema]" (2002). Accessed November 2026.</ref><sup>p. 4</sup> <math>\mathrm{RCA}_0</math>,<ref name="Avigad02" /><sup>p. 4</sup> and <math>\mathrm{WKL}_0</math><ref name="Avigad02" /><sup>p. 3</sup> agree with PRA on <math>\Pi^0_2</math> arithmetic sentences, which suffices for all four to share a threshold.


== Large cardinals ==
== Large cardinals ==
Line 449: Line 473:
This machine takes Wade's ZF champion and adds the [[wikipedia:Axiom_of_choice|axiom of Choice]] and a statement from Harvey Friedman (Proposition 4.3 of [https://bpb-us-w2.wpmucdn.com/u.osu.edu/dist/1/1952/files/2014/01/PrimitiveIndResults071302-189vmn0.pdf "Primitive Independence Results"])<ref>H. Friedman, "[https://bpb-us-w2.wpmucdn.com/u.osu.edu/dist/1/1952/files/2014/01/PrimitiveIndResults071302-189vmn0.pdf Primitive Independence Results]" (2002). Accessed February 2026.</ref> which Friedman showed to be equivalent to "There exist arbitrarily large subtle cardinals" over ZFC.
This machine takes Wade's ZF champion and adds the [[wikipedia:Axiom_of_choice|axiom of Choice]] and a statement from Harvey Friedman (Proposition 4.3 of [https://bpb-us-w2.wpmucdn.com/u.osu.edu/dist/1/1952/files/2014/01/PrimitiveIndResults071302-189vmn0.pdf "Primitive Independence Results"])<ref>H. Friedman, "[https://bpb-us-w2.wpmucdn.com/u.osu.edu/dist/1/1952/files/2014/01/PrimitiveIndResults071302-189vmn0.pdf Primitive Independence Results]" (2002). Accessed February 2026.</ref> which Friedman showed to be equivalent to "There exist arbitrarily large subtle cardinals" over ZFC.


For reference, this theory is between the strength of "strongly unfoldable" and "<math>0^\sharp</math> exists" on the [[wikipedia:Large_cardinal|large cardinal hierarchy]] on Wikipedia.
For reference, this theory is between the strength of "strongly unfoldable" and "<math>0^\sharp</math> exists" on the [[wikipedia:Large_cardinal|large cardinal hierarchy]] on Wikipedia.<ref>C7X, "[https://mathoverflow.net/questions/508364/what-is-the-consistency-strength-of-srp-stationary-ramsey-property#comment1324587_508372 What is the consistency strength of SRP (Stationary Ramsey Property)?]". MathOverflow comment, 22 February 2026. Accessed 22 November 2026.</ref>


Note: The initial machine produced in 2016 by Yedidia and Aaronson is designed to halt iff a certain statement created by Harvey Friedman is true.<ref name=":0" /> According to Friedman (without a published proof), this statement is independent of the theory "Stationary Ramsey Property" or ''SRP'', which is equiconsistent with the theory <math>ZFC + \{\text{``There is a }k\text{-subtle cardinal``}\mid k\in\N\}</math> which is also between the strength of "strongly unfoldable" and "<math>0^\sharp</math> exists" on the large cardinal hierarchy.<ref>tlonuqbar, "[https://mathoverflow.net/questions/508364/what-is-the-consistency-strength-of-srp-stationary-ramsey-property What is the consistency strength of SRP (Stationary Ramsey Property)?]" (2026). MathOverflow post, accessed February 2026.</ref> However, the theory used by the BB(493) machine is also independent of this theory.
Note: The initial machine produced in 2016 by Yedidia and Aaronson is designed to halt iff a certain statement created by Harvey Friedman is true.<ref name=":0" /> According to Friedman (without a published proof), this statement is independent of the theory "Stationary Ramsey Property" or ''SRP'', which is equiconsistent with the theory <math>ZFC + \{\text{``There is a }k\text{-subtle cardinal``}\mid k\in\N\}</math> which is also between the strength of "strongly unfoldable" and "<math>0^\sharp</math> exists" on the large cardinal hierarchy.<ref>tlonuqbar, "[https://mathoverflow.net/questions/508364/what-is-the-consistency-strength-of-srp-stationary-ramsey-property What is the consistency strength of SRP (Stationary Ramsey Property)?]" (2026). MathOverflow post, accessed February 2026.</ref> However, the theory used by the BB(493) machine is also independent of this theory.
Line 469: Line 493:


Berkeley cardinals are perhaps the strongest family of large cardinals considered, initially proposed by Hugh Woodin at a lecture at UC Berkeley as an axiom that was "obviously inconsistent".{{Citation needed}} However, no inconsistency has been found and many people now believe it may be consistent. Berkeley cardinals are known to be inconsistent with the axiom of choice.
Berkeley cardinals are perhaps the strongest family of large cardinals considered, initially proposed by Hugh Woodin at a lecture at UC Berkeley as an axiom that was "obviously inconsistent".{{Citation needed}} However, no inconsistency has been found and many people now believe it may be consistent. Berkeley cardinals are known to be inconsistent with the axiom of choice.
== See also ==
* [[Palomar formalizations]]


== Footnotes ==
== Footnotes ==

Latest revision as of 13:40, 24 November 2026

For any recursively enumerable and arithmetically sound axiomatic theory T, there exists an integer NT such that T cannot prove the values of BB(n) for any n≥NT. Let NT denote the least such integer. For Zermelo–Fraenkel set theory (ZF), this value is known to be in the range:

6≤NZF≤192

This lower bound comes from the fact that BB(5) has been proven in Rocq.[footnote 1] The upper bound comes from an explicit TM which halts if and only if ZFC has a finite proof of contradiction. Assuming ZF is consistent and sound, then it cannot prove whether or not it is consistent, hence it cannot prove whether or not this specific TM halts.

Harvey Friedman spoke of embedding consistency statements within turing machines in a 2004 posting on the "Foundations of Mathematics" mailing list. Scott Aaronson conjectured in his Busy Beaver Frontier survey that NZF≤20 and NPA≤10, where PA refers to the theory of Peano Arithmetic. Scott also mentioned (crediting Oscar Cunningham for the observation) that if there is an n-state machine that halts if and only if T is inconsistent, then PA + “BB(n) = b” can prove the consistency of T, where b is the true value of BB(n).[1]

Results by Theory

Most natural theories form a linear ordering with respect to consistency strength.[2] All theories in the table below follow that linear order from top to bottom. Thus for any row X below Y, NX≤NY. Rows are empty if no better results is known than the result inherited from a previous row.

Note: For extremely weak theories, NT is not well defined without defining a specific TM encoding. Technically, NT for any theory requires fixing some TM encoding into the language of the theory. But for EFA and stronger theories, they are strong enough to prove the equivalence between all common TM encodings (ex: binary, beta-function, prime-power, MRDP), so specifying the precise encoding is generally irrelevant. Below EFA, the prime-power encoding cannot be decoded due to exponentiation not being provably total.

Theory Upper bound on NT (states)
ZF+Berkeley cardinal 1399
ZFC+I0 451 [1]
ZFC+I1
ZFC+I2
ZFC+I3 380 [2]
ZF+subtle cardinal 493 [3]
380 (via ZFC+I3)
New Foundation + Cantorian Sets 199 [4]
Zermelo-Fraenkel set theory (ZF) / ZFC / NBG 192 [5]
New Foundations (NF) + Axiom of Counting (AxCount) 187
Zermelo set theory 187 (via NF+AxCount)[footnote 2]
New Foundations (NF) / Mac Lane 177 [6]
Zω
Z2
KP
Peano arithmetic (PA) 196 [7]
177 (via NF)[footnote 3]
PRA / IΣ1 / RCA0 / WKL0
EA+
EFA
IΔ0+Ω1 / S2
T21 / S22
PV1 / S21
IΔ0
Q

Axiom of Choice

Due to Shoenfield's absoluteness theorem, it is known that any TM proven non-halting in ZFC can also be proven non-halting in ZF (and the converse is trivially true), therefore

NZFC=NZF

Therefore we refer to ZF and NZF throughout this article since adding the Axiom of Choice does not have any effect on Turing machine decidability.

History

In a broad sense, the concept of a mechanical or computable procedure that was equivalent to the consistency of a formal theory was discovered by Kurt Gödel's incompleteness theorem, which is notable for introducing a meta-mathematical encoding of the statement that "T can prove statement S" (the provability predicate) which is used in all these machines. This was further clarified by Alan Turing and Alonzo Church's work on a formal definition of computability.

Although not a traditional turing machine, in 2012 Merlin Carl and Boris Z. Moroz constructed a Diophantine Equation which had solutions if and only if NBG (Von Neumann–Bernays–Gödel set theory) is inconsistent. NBG is a conservative extension of ZFC, so solving this equation is independent of ZFC.[3]

Zermelo–Fraenkel set theory (ZF)

There is no one authoritative source on the history of TMs independent of ZF, this is our best understanding of the history of TMs found. The results before 2026 are taken from Scott Aaronson's blog announcements and Busy Beaver Frontier or self-reported by the individuals who discovered them. The Aaronson-Yedida machine used a compiler called Laconic, which was then updated with NQL or "Not Quite Laconic", while the 432 machines use a compiler built by Andrew J. Wade. Many machines after 2026 have been generated by AI without a formal compiler.

Note that only the results with a linked formal verification are known to have such a verification, with the 7910 machine in particular relying on a result from Harvey Friedman that has no published proof.

History of ZF independent TMs
States Date Discoverer Source Verification
7910 May 2016 Adam Yedidia and Scott Aaronson Yedidia and Aaronson 2016[4]
1919 15 May 2016 Stefan O'Rear Github NQL file, Metamath Group Announcement
748 May 2016 Stefan O’Rear Github NQL, Busy Beaver Frontier[1]
745 July 2023 Johannes Riebel Riebel 2023 Bachelor Thesis[5]
643 July 2024 Rohan Ridenour Github NQL, Aaronson Announcement
636 31 August 2024 Rohan Ridenour Github NQL (commit)
588 12 July 2025 Andrew J. Wade Github NQL (commit)
549 16 July 2025 Andrew J. Wade Github NQL (commit)
432 19 Aug 2025 Andrew J. Wade git commit
335 11 Oct 2026 Jeff Ketchersid Github(discord message)
254 13 Oct 2026 Mira with use of ChatGPT, formalized by Jeff Ketchersid with Claude Github Rocq file
230 19 Oct 2026 Elliot Glazer with use of ChatGPT, formalized with GPT and Claude Github Rocq file
215 21 Oct 2026 Vladimir Reshetnikov formalized with Claude Github Rocq file
209 12 Nov 2026 James Chang formalized with ChatGPT Github(discord message) Lean
211 17 Nov 2026 Shivam Patel Paper Lean proof and replay
192 21 Nov 2026 James Chang formalized with ChatGPT Github Lean proof and replay (Palomar)
The transition table of the ZF machine with 254 states. The initial state is 1.

Wade's 432-state champion also omits the axiom of regularity, as ZF-regularity is also equiconsistent with ZF.

New Foundations (NF)

New Foundations is a formal theory created by W.V.O. Quine in 1937, based around the principle of stratified comprehension of sets. It is known to be stronger than Peano Arithmetic and second-order arithmetic, but weaker than ZF. The Github page contains a proof in Lean that it is equiconsistent with Mathias's set theory M,[6] also known as Mac Lane set theory without choice, which is a novel result as of the time of writing (November 2026). Mac Lane set theory is far more mainstream than NF, so the following machine could be seen as an efficient way of determining which Busy Beaver value M cannot verify.

History of New Foundations (NF) independent TMs
States Date Discoverer Source Verification
210 8 November 2026 @wlad-svennik [8]
198 12 November 2026 @wlad-svennik [9]
192 16 November 2026 @wlad-svennik [10]
185 19 November 2026 @wlad-svennik Github Lean verification on Github (currently a 20MB tarball)
178 21 November 2026 @wlad-svennik Github
177 21 November 2026 @wlad-svennik Lean verification on Github

User-friendly theory

The TM searches for an inconsistency in the theory "FunctionNF". It is defined to equal stratified λ-calculus minus pairing, minus case-expressions, plus full functional extensionality, plus an equality checker.

Terms     t ::= x | t u | λx.t | (s ≐ t) | ⊤ | ⊥

Depth     Each subterm occurrence has a depth relative to the term it sits in:
            the term itself        0
            in  t u   at depth n:  t at n+1,  u at n
            in  λx.t  at depth n:  t at n−1
            in  s ≐ t at depth n:  s and t at n

Formation λx.t is a term iff every free occurrence of x in t has depth 0 in t.
          Nothing else is constrained: other variables may occur at any depths.

Axioms    (β)    (λx.t) u = t[u/x]
          (ext)  (∀x. f x = g x) → f = g
          (≐)    s = t → (s ≐ t) = ⊤        s ≠ t → (s ≐ t) = ⊥
          (nt)   ⊤ ≠ ⊥

The logic is ordinary first-order logic with equality, so unstratified formulas are allowed. Only λ is restricted.

It's not obvious, but the above suffices to prove the Axiom of Infinity, i.e. that the set of natural numbers exists and has all of its expected properties. It's then possible to define the set of real numbers in any of the usual ways, and do nearly all of extant mathematics.

NF vs Mac Lane vs other set theories

The Github link contains proofs in Lean that:

  • NF interprets FunctionNF (which is very short),
  • FunctionNF in turn interprets NFU+Infinity (which is similar to Specker's proof of the "Axiom of Infinity" within NF),
  • NFU+Infinity interprets NF, which is a novel and hard result that is not yet found in the literature,
  • NFU+Infinity interprets Mac Lane set theory,
  • Mac Lane set theory interprets TSTI (Theory of Simple Types plus (Axiom of) Infinity),
  • TSTI is equiconsistent with NFU+Infinity.

So overall, the machine halts iff there exists an inconsistency in any of the above theories. Regardless, Mac Lane set theory is actually weaker than NF in terms of intepretability strength, as opposed to just consistency strength.

With Rosser's Axiom of Counting

If we add the Axiom of Counting (AxCount) to NF, which is the rather tautological-looking axiom

For any finite set S, |S| = |{{x} : x ∈ S}| (i.e. the number of elements of S doesn't change when you replace each element x with the singleton {x})

then it's sufficient to prove Con(Z). As of the time of this writing (November 2026) we've used this to obtain a machine that is smaller (187 states) than any machine of Zermelo-strength or above.

ZFC can prove Con(NF + AxCount).

With the Axiom of Cantorian Sets

If we add the Axiom of Cantorian Sets (CS) to NF, which is the seemingly tautological-looking axiom:

Every Cantorian set is strongly Cantorian.

where:

S is called Cantorian if |S| = |{{x} : x ∈ S}|,


S is called strongly Cantorian if {(x, {x}) : x ∈ S} is a set.

Oddly enough, the class {(x, {x}) : x ∈ S} is not always a set in NF(U). For example, the universal set V cannot be Cantorian: If V were Cantorian, it would result in Cantor's paradox

|V|=|{{x}:x∈V}|(Assumed V is Cantorian)<|P(V)|(Provable in NF)=|V|

NF + Cantorian Sets is stronger than ZFC since it proves Con(ZFC). (See also Enayat's 2026 preprint "What David Teaches Goliath: An Inevitable Extension of ZFC" about the related theory NFUA, and its theorem 7.2 putting its consistency strength at the level of n-Mahlo cardinals.) Currently, the machine is down to 199 states.

Implementation theory: The combinatory calculus

FunctionNF is not implemented directly. Instead, a massively leaner form is implemented, in the form of a combinatory logic which consists of just three nonlogical primitives:

  • Binary application xy, associated to the left.
  • A constant q. This is a fixed-point tester.
  • A binary function H(x,y). This is a merger between the K combinator and a Skolem function for function extensionality.

Define the convenient shorthands

K(x):=H(x,x),r:=(qq)q,b:=(q(qq))r.

The six axioms, with all free variables universally quantified, are:

No. Axiom Role
1 H(x,x)y=x Constant functions
2 bxyz=(xH(z,z))(yz) Combinatory composition
3 xy=y⟹(qx)y=b Positive equality test
4 xy≠y⟹(qx)y=r Negative equality test
5 xH(x,y)=yH(x,y)⟹x=y Extensionality witness
6 q(qq)≠qq Nondegeneracy

In particular, K(x)y=x follows immediately from axiom 1. It is not a separate axiom.

With Rosser's Axiom of Counting

The 187-state machine uses the same three primitives. In the six-axiom calculus above, b serves both as ⊤ and is meant to satisfy axiom 2. By contrast, the Counting variant uses qq for ⊤, and makes b honour axiom 2 by defining b:=(rq)q. The definitions K(x):=H(x,x) and r:=(qq)q carry over.[7]

With this definition of b, axioms 1, 2, 4 and 5 carry over as written. Replacing axioms 3 and 6 and adding axiom 7 gives the following changes. All free variables are universally quantified.

No. Axiom Role
3 xy=y⟹(qx)y=qq Positive fixed-point test
6 qq≠q Nondegeneracy. The machine halts if it derives qq=q.
7 (r(rx))q=rx Counting

Thus r has two roles. It serves as ⊥, and it is the operator in the Counting axiom. To read axiom 7, put a=rx. The axiom then says that for every a in the range of r, applying ra to the fixed argument q recovers a.

Fragment of First-Order Logic

Notably, we do not implement the whole of First-Order Logic: The quantifier ∀ can be defined internally to CombNF / FunctionNF:

∀ := λP.(P ≐ λx.⊤)

¬ := λp.(p ≐ ⊥)

∃ := λP. ¬ (∀ λx. ¬ (P x))

Moreover, we've avoided implementing variables thanks to our use of combinatory logic. The only fragment of First-Order Logic we do implement consists of "=", the above function symbols, and propositional logic. This is similar to Primitive Recursive Arithmetic and System T.

What the symbols do

q is an equality tester:

(qx)y={b,xy=y,r,xy≠y.

H has two jobs. On the diagonal it constructs constant functions:

H(x,x)y=x.

Off the diagonal it supplies a witness to distinguish two functions whenever they are different:

x≠y⟹xH(x,y)≠yH(x,y).

b supplies the composition law

bxyz=x(K(z))(yz).

Here b and r are terms, not primitive constants.

Once again, we do not implement the whole of First-Order Logic.

The formalized proof for this machine's NF-undecidability is formalized as an external Lean metatheorem rather than a completed PA-internal derivation. As of this publication, a fresh independent clean build and community review have not been reported.

Peano Arithmetic (PA)

The ZF bound applies to PA because ZF proves the arithmetical theorems of PA. In turn, a proof of an exact Busy Beaver value in any theory listed below PA would give a PA proof of that same value. For n≥196, a proof of BB(n)=b would let PA decide whether the 196-state machine halts by padding it to n states and checking its first b steps.

History of Peano Arithmetic (PA) independent TMs
States Date Discoverer Source Verification
372 11 February 2026 @LegionMammal978 (Matthew House) Github
196 12 Nov 2026 James Chang formalized with ChatGPT Github Lean (Palomar)

The 372-state machine takes Wade's ZF champion and replaces the set theory axioms with one axiom schema of "adjunction + separation", which has been shown to interpret PA.[8]

The 177-state machine halts exactly when NF proves a contradiction.[9] The Holmes–Wilshaw consistency proof for NF therefore establishes in ZFC that the machine runs forever.[10] For this same machine, PA proves that if it runs forever, then PA is consistent.[11] By Gödel's second incompleteness theorem, PA cannot prove that it runs forever. If PA proved a numerical upper bound on BB(177), it could verify that the machine runs that many steps and hence prove that it runs forever. Thus NPA≤177. [wrong section?]

Weaker arithmetical theories

Even R0, a proper subtheory of Tarski–Mostowski–Robinson R, proves every true individual halting assertion because it proves all true Σ1 sentences in the usual language of arithmetic.[12] Between Robinson arithmetic Q and bounded induction IΔ0 lie PA−, the theory of discretely ordered semirings, and IOpen, which adds induction for quantifier-free formulas.[13] Further up, EA+ adds total superexponentiation to EFA. It proves the consistency of IΔ0, which EFA cannot prove.[14]

Theories grouped in one arithmetic row have the same Busy Beaver threshold. For fixed standard n and b, a counterexample to BB(n)≤b is a halting computation of an n-state machine lasting more than b steps. A proposed computation can be checked in polynomial time in the length of its complete history. When BB(n)=b is true, a particular halting run witnesses the matching lower bound.

With this explicit history coding, PV1 and S21 agree on the universal equations expressing the upper bounds. Full bounded arithmetic S2 and IΔ0+Ω1 are two theories in the same language which prove the same sentences.[15] Buss's conservation theorem similarly gives T21 and S22 the same provable upper bounds.[16]

Finally, IΣ1,[17]p. 4 RCA0,[17]p. 4 and WKL0[17]p. 3 agree with PRA on Π20 arithmetic sentences, which suffices for all four to share a threshold.

Large cardinals

These tables are for theories stronger than ZFC.

History of ZFC + "There exist arbitrarily large subtle cardinals" independent TMs
States Date Discoverer Source Verification
493 25 February 2026 @LegionMammal978 Github

This machine takes Wade's ZF champion and adds the axiom of Choice and a statement from Harvey Friedman (Proposition 4.3 of "Primitive Independence Results")[18] which Friedman showed to be equivalent to "There exist arbitrarily large subtle cardinals" over ZFC.

For reference, this theory is between the strength of "strongly unfoldable" and "0♯ exists" on the large cardinal hierarchy on Wikipedia.[19]

Note: The initial machine produced in 2016 by Yedidia and Aaronson is designed to halt iff a certain statement created by Harvey Friedman is true.[1] According to Friedman (without a published proof), this statement is independent of the theory "Stationary Ramsey Property" or SRP, which is equiconsistent with the theory ZFC+{``There is a k-subtle cardinal``∣k∈ℕ} which is also between the strength of "strongly unfoldable" and "0♯ exists" on the large cardinal hierarchy.[20] However, the theory used by the BB(493) machine is also independent of this theory.

History of ZF + "There exists a Berkeley cardinal" independent TMs
States Date Discoverer Source Verification
1399 8 November 2026 @Meganeuridae Github Rocq file

Berkeley cardinals are perhaps the strongest family of large cardinals considered, initially proposed by Hugh Woodin at a lecture at UC Berkeley as an axiom that was "obviously inconsistent".[citation needed] However, no inconsistency has been found and many people now believe it may be consistent. Berkeley cardinals are known to be inconsistent with the axiom of choice.

See also

Footnotes

  1. ↑ The fact that this theorem has been proven in Rocq technically does not imply that the theorem must be provable in ZF, because the consistency strength of Rocq is actually higher than that of ZF. However, the BB(5) proof does not use any techniques that could not be formalized within ZF.
  2. ↑ The 187-state NF + AxCount machine also gives NZ≤187 for Zermelo set theory. Writing H for its blank-tape halting statement, the note proves PA⊢¬H→Con(Z). Thus, if Z is consistent, it cannot prove that the machine runs forever. The note derives nonhalting in ZF using the cited consistency comparisons. Proof and verification files
  3. ↑ The 177-state bound also applies to every weaker arithmetic theory listed below PA, since any numerical upper bound on BB(n) provable in one of those theories is also provable in PA. See the PA section for the proof of the 177-state bound.

References

  1. ↑ 1.0 1.1 1.2 Scott Aaronson. 2020. The Busy Beaver Frontier. SIGACT News 51, 3 (August 2020), 32–54. https://doi.org/10.1145/3427361.3427369
  2. ↑ James Walsh, "On the hierarchy of natural theories", Bulletin of Symbolic Logic, 04 December 2025
  3. ↑ Carl, M., & Moroz, B. Z. (2012). On a Diophantine representation of the predicate of provability. Zapiski Nauchnykh Seminarov POMI, 407, 77-104. (Republished in 2014 in the Journal of Mathematical Sciences) (preprint)
  4. ↑ A. Yedidia and S. Aaronson. A relatively small Turing machine whose behavior is independent of set theory. Complex Systems, (25):4, 2016. https://arxiv.org/abs/1605.04343
  5. ↑ Riebel, Johannes (March 2023). The Undecidability of BB(748): Understanding Gödel's Incompleteness Theorems (PDF) (Bachelor's thesis). University of Augsburg.
  6. ↑ wlad-svennik, "notes". GitHub repository, 18 November 2026. Accessed 22 November 2026.
  7. ↑ A 201-state Busy Beaver bound for Zermelo set theory, proof and verification files.
  8. ↑ https://mathoverflow.net/questions/508137/interpreting-pa-with-only-adjunction-separation/508161
  9. ↑ https://github.com/wlad-svennik/notes/tree/main/nf-bb177
  10. ↑ M. Randall Holmes and Sky Wilshaw, NF is Consistent.
  11. ↑ https://github.com/wlad-svennik/notes/tree/main/nf-bb177
  12. ↑ Taishi Kurahashi and Albert Visser, Certified Σ₁-Sentences, §2, Theorem 2.3.
  13. ↑ Kazuyuki Tanaka, Logic and Computation I, Part 3a. Formal Arithmetic, Corollary 3.43.
  14. ↑ Samuel R. Buss, First-Order Proof Theory of Arithmetic, §4.3.
  15. ↑ Jan Krajíček, Bounded Arithmetic, Propositional Logic, and Complexity Theory, Lemma 5.2.15 and Theorem 5.3.4.
  16. ↑ Samuel R. Buss, Axiomatizations and Conservation Results for Fragments of Bounded Arithmetic.
  17. ↑ 17.0 17.1 17.2 Jeremy Avigad, "Notes on Π¹₁-conservativity, ω-submodels, and the collection schema" (2002). Accessed November 2026.
  18. ↑ H. Friedman, "Primitive Independence Results" (2002). Accessed February 2026.
  19. ↑ C7X, "What is the consistency strength of SRP (Stationary Ramsey Property)?". MathOverflow comment, 22 February 2026. Accessed 22 November 2026.
  20. ↑ tlonuqbar, "What is the consistency strength of SRP (Stationary Ramsey Property)?" (2026). MathOverflow post, accessed February 2026.