Non-halting Turing machine: Difference between revisions
→Chaotic: Converted HTML markup to wikitable markup |
mention of independent nonhalting machines |
||
| (18 intermediate revisions by 4 users not shown) | |||
| Line 3: | Line 3: | ||
The crux of the [[Busy Beaver function|Busy Beaver]] problem, of finding BB(''n'', ''k'') for a given ''n'' and ''k'', is to prove that all non-halting Turing machines with ''n'' states and ''k'' symbols are, in fact, non-halting. | The crux of the [[Busy Beaver function|Busy Beaver]] problem, of finding BB(''n'', ''k'') for a given ''n'' and ''k'', is to prove that all non-halting Turing machines with ''n'' states and ''k'' symbols are, in fact, non-halting. | ||
The zoology of non-halting Turing machines is extremely rich. See [[Translated cycler]], [[Bouncer]], [[Bell]], [[Counter]], [[Shift overflow counter]], [[Shift overflow bouncer counter]] for a sample. In this page, we provide a detailed zoology for some low numbers of states and symbols. | The zoology of non-halting Turing machines is extremely rich. See [[Translated cycler]], [[Bouncer]], [[Bell]], [[Counter]], [[Fractal]], [[Shift overflow counter]], [[Shift overflow bouncer counter]], [[Logical independence]] for a sample. In this page, we provide a detailed zoology for some low numbers of states and symbols. | ||
== Zoology == | == Zoology == | ||
Machines are enumerated in [[TNF-1RB]], and we exclude halting machines. In particular, a transition is defined if and only if it is reachable; unreachable transitions are undefined. This avoids duplicates. | Machines are enumerated in [[TNF-1RB]], and we exclude halting machines. In particular, a transition is defined if and only if it is reachable; unreachable transitions are undefined. This avoids duplicates. | ||
For convenience, Turing machines are displayed here in [[ | For convenience, Turing machines are displayed here in [[Turing machine#Standard text format|standard text format]]. | ||
=== n × 1 === | |||
There are no TNF-1RB machines with just one symbol, as they cannot have "print 1" in their instructions. | |||
=== 1 × m === | |||
There are no non-halting TNF-1RB machines with 1 state and any amount of symbols, as the transition to state B already is undefined and leads to halting. | |||
=== 2 × 2 === | === 2 × 2 === | ||
| Line 99: | Line 105: | ||
|≥2,253,849 | |≥2,253,849 | ||
| | | | ||
* {{TM|1RB0LA_0RC1RD_1LD0RB_1LA1RB}}, the current period record holder, with a period of 212,081,736. Before phasing into a translated cycle, this machine appears to be a | * {{TM|1RB0LA_0RC1RD_1LD0RB_1LA1RB}}, the current period record holder, with a period of 212,081,736. Before phasing into a translated cycle, this machine appears to be a spaghetti (described in a later subsubsection). | ||
* {{TM|1RB1LC_0LA1RD_0RB0LC_1LA0RD}}, the current preperiod record holder, with a preperiod of 119,120,230,102. Before phasing into a translated cycle, this machine appears to be a | * {{TM|1RB1LC_0LA1RD_0RB0LC_1LA0RD}}, the current preperiod record holder, with a preperiod of 119,120,230,102. Before phasing into a translated cycle, this machine appears to be a spaghetti. | ||
* {{TM|1RB1RC_1LC0RA_0LB0LD_1LA1LD}} starts out as an irregular bell, but phase transitions into a translated cycler with period 4,222 at step 29,754,825. | * {{TM|1RB1RC_1LC0RA_0LB0LD_1LA1LD}} starts out as an irregular bell, but phase transitions into a translated cycler with period 4,222 at step 29,754,825. | ||
* | * {{TM|1RB0RC_1LB1LD_0RA0LD_1LA1RC}} | ||
|[[File:1RB0RC 1LB1LD 0RA0LD 1LA1RC.png|frameless]] | |[[File:1RB0RC 1LB1LD 0RA0LD 1LA1RC.png|frameless]] | ||
|- | |- | ||
|[[Cycler]] | |[[Cycler]] | ||
| | |≥ 341,617 | ||
| | | | ||
* {{TM|1RB0RB_1LC0RD_1LA1LB_0LC1RD}}, likely period record holder, with a period of 120. | * {{TM|1RB0RB_1LC0RD_1LA1LB_0LC1RD}}, likely period record holder, with a period of 120. | ||
| Line 113: | Line 119: | ||
|- | |- | ||
|[[Bouncer]] | |[[Bouncer]] | ||
| | |≈ 132,000 | ||
| | | | ||
* {{TM|1RB1LA_1LC0RC_0RA1LD_1RC0LD}}, the current record holder for longest time to settle into a bouncer, with a start step of 83,158,409. | * {{TM|1RB1LA_1LC0RC_0RA1LD_1RC0LD}}, the current record holder for longest time to settle into a bouncer, with a start step of 83,158,409. | ||
| Line 121: | Line 127: | ||
|- | |- | ||
|[[Counter]] | |[[Counter]] | ||
| | |≈ 14,700 | ||
| | | | ||
* {{TM|1RB1LC_0LC1RD_1LA1LB_0LC0RD}}, a ternary counter. | * {{TM|1RB1LC_0LC1RD_1LA1LB_0LC0RD}}, a ternary counter. | ||
| Line 139: | Line 145: | ||
|- | |- | ||
|[[Bell]] | |[[Bell]] | ||
| | |≈ 2,350 | ||
| | | | ||
* {{TM|1RB1LA_0RC0LD_1LC0LA_1RC0RD}}, a typical inverted bell. | * {{TM|1RB1LA_0RC0LD_1LC0LA_1RC0RD}}, a typical inverted bell. | ||
| Line 148: | Line 154: | ||
|- | |- | ||
|[[Bell|Cubic bell]] | |[[Bell|Cubic bell]] | ||
| | |≈ 1,376 | ||
| | | | ||
* {{TM|1RB1RC_1LC0RC_0RA1LD_0LC0LB}}, a cubic inverted bell. | * {{TM|1RB1RC_1LC0RC_0RA1LD_0LC0LB}}, a cubic inverted bell. | ||
| Line 155: | Line 161: | ||
|- | |- | ||
|Bouncer + X | |Bouncer + X | ||
| | |≈ 365 | ||
| | | | ||
* {{TM|1RB1LA_1RC0RB_0LC1LD_0LD1RA}}, a bouncer + binary counter. | * {{TM|1RB1LA_1RC0RB_0LC1LD_0LD1RA}}, a bouncer + binary counter. | ||
| Line 167: | Line 173: | ||
|- | |- | ||
|Bounce-counter | |Bounce-counter | ||
| | |≈ 330 | ||
| | | | ||
* {{TM|1RB1LC_1LC0RB_1RA0LD_1RA1LA}}, a typical binary bounce-counter. | * {{TM|1RB1LC_1LC0RB_1RA0LD_1RA1LA}}, a typical binary bounce-counter. | ||
| Line 177: | Line 183: | ||
|style="text-align: center"|[[File:1RB1LC 1LC0RB 1RA0LD 1RA1LA.png|frameless|300x300px]] | |style="text-align: center"|[[File:1RB1LC 1LC0RB 1RA0LD 1RA1LA.png|frameless|300x300px]] | ||
|- | |- | ||
|Fractal | |[[Fractal]] | ||
|20 | |20 | ||
| | | | ||
| Line 210: | Line 216: | ||
|style="text-align: center"|[[File:1RB0RC 1LC1RA 1RA1LD 0LC0LA.png|frameless|300x300px]] | |style="text-align: center"|[[File:1RB0RC 1LC1RA 1RA1LD 0LC0LA.png|frameless|300x300px]] | ||
|- | |- | ||
| | |Spaghetti | ||
|26 | |26 | ||
|This is an informal description for spaghetti-code Turing machines that seem to have no predictable behavior, instead winding back and forth like a spaghetti. Any of these machines could potentially end up proven as one of the regular classifications. Indeed, many translated cyclers start their life out as spaghetti. | |This is an informal description for spaghetti-code Turing machines that seem to have no predictable behavior, instead winding back and forth like a spaghetti. Any of these machines could potentially end up proven as one of the regular classifications. Indeed, many translated cyclers start their life out as spaghetti. | ||
| Line 237: | Line 243: | ||
|style="text-align: center"|[[File:1RB1LC 1RD0RB 1LA0LC 0LA0RD.png|frameless|300x300px]] | |style="text-align: center"|[[File:1RB1LC 1RD0RB 1LA0LC 0LA0RD.png|frameless|300x300px]] | ||
|} | |} | ||
Additionally, some machines have been created that are non-halting if and only if certain [[wikipedia:Formal_system|formal systems]] are consistent. By [[wikipedia:Gödel's_incompleteness_theorems|Gödel's incompleteness theorems]], if the corresponding theory is consistent, it cannot prove that the machine is non-halting even though it is, and therefore if the machine has length n, the value BB(n) cannot be determined by the formal theory. See [[logical independence]] for more info. | |||
== Records == | == Records == | ||
=== Translated cycler preperiod === | === Translated cycler preperiod === | ||
BBS(n,m) = maximum translated cycler preperiod among n-state, m-symbol TMs. | |||
BBS(1,m) = 0: {{TM|0RA---}} and {{TM|1RA---}}, note that any transitions other than A0 are unreachable. | |||
{| class="wikitable" | |||
|+ | |||
!Domain | |||
!Preperiod | |||
!Champions | |||
!Period | |||
|- | |||
|BBS(2,2) | |||
|≥ 9 | |||
|{{TM|1RB0LB_1LA0RB}} | |||
|3 | |||
|- | |||
|BBS(3,2) | |||
|= 101 | |||
|{{TM|1RB1LB_0RC0LA_1LC0LA}} | |||
|24 | |||
|- | |||
|BBS(4,2) | |||
|≥ 119,120,230,102 | |||
|{{TM|1RB1LC_0LA1RD_0RB0LC_1LA0RD}} | |||
|966,716 | |||
|- | |||
|BBS(5,2) | |||
|> 10<sup>14,006</sup> | |||
|{{TM|1RB1LE_0LC0LB_0LD1LC_1RD1RA_0RC0LA}} | |||
|1 | |||
|- | |||
|BBS(2,3) | |||
|≥ 165<ref>Nick Drozd. [https://nickdrozd.github.io/2021/02/14/blanking-beavers.html Blanking Beavers]</ref> | |||
|{{TM|1RB0LA---_1LB2LA0RB}} | |||
|55 | |||
|- | |||
|BBS(3,3) | |||
|> 10 ↑↑ 6 | |||
|{{TM|1RB0LB2LA_1LA0RC0LB_2RC2RB0LC}} | |||
|1 | |||
|- | |||
|BBS(4,3) | |||
|> <math>10 \uparrow^{4} 4</math> | |||
|{{TM|1RB1RD1LC_2LB1RB1LC_1LB1LA1LD_0RB2RA2RD}} | |||
|1 | |||
|- | |||
|BBS(2,4) | |||
|≥ 205,770,076,433,044,242,247,860 | |||
|{{TM|1RB2LA1RA1LB_0LB2RB3RB1LA}} | |||
|1<ref>[https://discord.com/channels/960643023006490684/1385498968011575366/1450955870971367535]</ref> | |||
|} | |||
=== Translated cycler period === | === Translated cycler period === | ||
BBP(n,m) = maximum translated cycler period among n-state, m-symbol TMs. | |||
BBP(1,m) = 1: {{TM|0RA---}} and {{TM|1RA---}}, note that any transitions other than A0 are unreachable. | |||
{| class="wikitable" | |||
|+ | |||
!Domain | |||
!Period | |||
!Champions | |||
!Preperiod | |||
|- | |||
|BBP(2,2) | |||
|≥ 9 | |||
|{{TM|1RB0RB_1LB1RA}} | |||
|0 | |||
|- | |||
|BBP(3,2) | |||
|= 92 | |||
|{{TM|1RB0LA_0RC1LA_1LC0RB}} | |||
|0 | |||
|- | |||
|BBP(4,2) | |||
|≥ 212,081,736 | |||
|{{TM|1RB0LA_0RC1RD_1LD0RB_1LA1RB}} | |||
|5,248,647,886 | |||
|- | |||
|BBP(3,3) | |||
|≥ 1,195 | |||
|{{TM|1RB2RC1LC_0RC0RB1LA_2LA2RC1LB}} | |||
|15 | |||
|- | |||
|BBP(2,4) | |||
|≥ 33,209,131 | |||
|{{TM|1RB0RA3LB1RB_2LA0LB1RA2RB}} | |||
|63,141,841 | |||
|} | |||
== References == | |||
[[Category:Zoology]] | |||
[[Category:Functions]] | |||
Latest revision as of 06:18, 27 February 2026
A non-halting Turing machine is a Turing machine that does not halt. These include halt-free Turing machines, meaning those without an undefined or halt transition, as well as non-halt-free Turing machines that never enter an undefined or halt transition.
The crux of the Busy Beaver problem, of finding BB(n, k) for a given n and k, is to prove that all non-halting Turing machines with n states and k symbols are, in fact, non-halting.
The zoology of non-halting Turing machines is extremely rich. See Translated cycler, Bouncer, Bell, Counter, Fractal, Shift overflow counter, Shift overflow bouncer counter, Logical independence for a sample. In this page, we provide a detailed zoology for some low numbers of states and symbols.
Zoology
Machines are enumerated in TNF-1RB, and we exclude halting machines. In particular, a transition is defined if and only if it is reachable; unreachable transitions are undefined. This avoids duplicates.
For convenience, Turing machines are displayed here in standard text format.
n × 1
There are no TNF-1RB machines with just one symbol, as they cannot have "print 1" in their instructions.
1 × m
There are no non-halting TNF-1RB machines with 1 state and any amount of symbols, as the transition to state B already is undefined and leads to halting.
2 × 2
There are 106 TNF-1RB machines with 2 states and 2 symbols, with the following breakdown:
| Classification | Count | Notable examples |
|---|---|---|
| Translated cycler | 88 | |
| Cycler | 14 | |
| Bouncer | 3 | |
| Counter | 1 |
|
3 × 2
There are 15,064 TNF-1RB machines with 3 states and 2 symbols, with the following breakdown:
| Classification | Count | Notable examples |
|---|---|---|
| Translated cycler | 12,427 | |
| Cycler | 1,969 | |
| Bouncer | 558 |
|
| Counter | 95 | |
| Cubic bell | 10 |
|
| Bell | 5 |
4 × 2
There are 2,744,516 TNF-1RB machines with 4 states and 2 symbols, with the following breakdown. This breakdown is not exact due to the presence of chaotic Turing machines which defy straightforward analysis and may eventually transition into a translated cycler or, more rarely, a bouncer, after a very large number of steps.
Regular (non-chaotic)
| Classification | Count | Notes and Notable examples | Example space-time diagram |
|---|---|---|---|
| Translated cycler | ≥2,253,849 |
|
|
| Cycler | ≥ 341,617 | ||
| Bouncer | ≈ 132,000 |
|
|
| Counter | ≈ 14,700 |
|
|
| Bell | ≈ 2,350 | ||
| Cubic bell | ≈ 1,376 | ||
| Bouncer + X | ≈ 365 |
|
|
| Bounce-counter | ≈ 330 |
|
|
| Fractal | 20 |
|
|
| Tetration counter | 19 |
|
|
| Cubic bounce-counter | 13 |
|
Chaotic
| Classification | Count | Notes and Notable examples | Example space-time diagram |
|---|---|---|---|
| Irregular bell | 39 | ||
| Spaghetti | 26 | This is an informal description for spaghetti-code Turing machines that seem to have no predictable behavior, instead winding back and forth like a spaghetti. Any of these machines could potentially end up proven as one of the regular classifications. Indeed, many translated cyclers start their life out as spaghetti.
|
|
| Chaotic counter | 10 |
Chaotic counters have slow-growing tapes like counters, but the behavior seems to be chaotic and is as of yet unknown:
|
Additionally, some machines have been created that are non-halting if and only if certain formal systems are consistent. By Gödel's incompleteness theorems, if the corresponding theory is consistent, it cannot prove that the machine is non-halting even though it is, and therefore if the machine has length n, the value BB(n) cannot be determined by the formal theory. See logical independence for more info.
Records
Translated cycler preperiod
BBS(n,m) = maximum translated cycler preperiod among n-state, m-symbol TMs.
BBS(1,m) = 0: 0RA--- (bbch) and 1RA--- (bbch), note that any transitions other than A0 are unreachable.
| Domain | Preperiod | Champions | Period |
|---|---|---|---|
| BBS(2,2) | ≥ 9 | 1RB0LB_1LA0RB (bbch)
|
3 |
| BBS(3,2) | = 101 | 1RB1LB_0RC0LA_1LC0LA (bbch)
|
24 |
| BBS(4,2) | ≥ 119,120,230,102 | 1RB1LC_0LA1RD_0RB0LC_1LA0RD (bbch)
|
966,716 |
| BBS(5,2) | > 1014,006 | 1RB1LE_0LC0LB_0LD1LC_1RD1RA_0RC0LA (bbch)
|
1 |
| BBS(2,3) | ≥ 165[1] | 1RB0LA---_1LB2LA0RB (bbch)
|
55 |
| BBS(3,3) | > 10 ↑↑ 6 | 1RB0LB2LA_1LA0RC0LB_2RC2RB0LC (bbch)
|
1 |
| BBS(4,3) | > | 1RB1RD1LC_2LB1RB1LC_1LB1LA1LD_0RB2RA2RD (bbch)
|
1 |
| BBS(2,4) | ≥ 205,770,076,433,044,242,247,860 | 1RB2LA1RA1LB_0LB2RB3RB1LA (bbch)
|
1[2] |
Translated cycler period
BBP(n,m) = maximum translated cycler period among n-state, m-symbol TMs.
BBP(1,m) = 1: 0RA--- (bbch) and 1RA--- (bbch), note that any transitions other than A0 are unreachable.
| Domain | Period | Champions | Preperiod |
|---|---|---|---|
| BBP(2,2) | ≥ 9 | 1RB0RB_1LB1RA (bbch)
|
0 |
| BBP(3,2) | = 92 | 1RB0LA_0RC1LA_1LC0RB (bbch)
|
0 |
| BBP(4,2) | ≥ 212,081,736 | 1RB0LA_0RC1RD_1LD0RB_1LA1RB (bbch)
|
5,248,647,886 |
| BBP(3,3) | ≥ 1,195 | 1RB2RC1LC_0RC0RB1LA_2LA2RC1LB (bbch)
|
15 |
| BBP(2,4) | ≥ 33,209,131 | 1RB0RA3LB1RB_2LA0LB1RA2RB (bbch)
|
63,141,841 |
References
- ↑ Nick Drozd. Blanking Beavers
- ↑ [1]