Register machine: Difference between revisions

From BusyBeaverWiki
Jump to navigation Jump to search
→Cryptids: Listed names for Achilles and Patroclus
Int-y1 (talk | contribs)
→Analysis: MΣ(9)
 
(6 intermediate revisions by 3 users not shown)
Line 52: Line 52:
|-
|-
|MBB(9)
|MBB(9)
|> 4.493 × 10<sup>74</sup>
|> 9.380 × 10<sup>565</sup>
|<code>0+B_0+C_1-HD_0-EG_0-FI_1+D_2+H_0+A_2-B*</code>
|<code>0-GB_1-HC_2-FD_3+E_2+A_0+B_1+E_1-FI_3-A*</code>
|-
|-
|MBB(10)
|MBB(10)
Line 108: Line 108:
|-
|-
|MΣ(9)
|MΣ(9)
|> 2.64 × 10<sup>73</sup>
|> 7.504 × 10<sup>564</sup>
|<code>0+B_0+C_1-HD_0-EG_0-FI_1+D_2+H_0+A_2-B*</code>
|<code>0-GB_1-HC_2-FD_3+E_2+A_0+B_1+E_1-FI_3-A*</code>
|-
|-
|MΣ(10)
|MΣ(10)
Line 137: Line 137:
A:[0, 0, 0] -> 44 -> S(4) -> 107 -> S(12) -> 283 -> S(32) -> 723 ->  S(82) -> 1823 -> S(207) -> 414 -> halt</pre>
A:[0, 0, 0] -> 44 -> S(4) -> 107 -> S(12) -> 283 -> S(32) -> 723 ->  S(82) -> 1823 -> S(207) -> 414 -> halt</pre>


MBB(9):
MBB(9): (TODO: Update the analysis from <code>0+B_1+C_2-GD_3-HE_1-FA_2+D_3+B_3-FI_0-C*</code> to <code>0-GB_1-HC_2-FD_3+E_2+A_0+B_1+E_1-FI_3-A*</code>)
<pre>Let A(x, y) = D:[x, 0, y]
<pre>Let A(x, y, z) = D:[x, y, 0, z]
A(2k, y) --(7k + 6)--> A(3k + 3, y + 1)
A(x, y, 2k) --(6y + 6k + 5)--> A(x + 1, y + k + 1, y + k)
A(2k + 1, y + 1) --(7k + 5)--> A(3k + 1, y)
A(0, y, 2k + 1) --(3k + 3)--> *:[0, y, k, 0]
A(2k + 1, 0) --(3k + 3)--> *:[0, k, 0]
A(x + 1, y, 2k + 1) --(6k + 4)--> A(x, y + k, k)


A:[0, 0, 0]
A:[0, 0, 0, 0]
--(3)--> A(2, 0)
--(3)--> A(1, 1, 0)
--(13)--> A(6, 1)
--(11)--> A(2, 2, 1)
--(27)--> A(12, 2)
--(4)--> A(1, 2, 0)
...
...
--(2753550047052785432549)--> A(1180092877308336613950, 31)
--(~1.132e392)--> A(114, ~1.888e391, ~1.888e391)
--(4130325070579178148831)--> A(1770139315962504920928, 32)
--(~1.699e392)--> A(115, ~2.832e391, ~2.832e391)
--(6195487605868767223254)--> A(2655208973943757381395, 33)
--(~2.548e392)--> A(116, ~4.248e391, ~4.248e391)
--(~1.274e392)--> A(115, ~6.372e391, ~2.124e391)
--(~6.372e391)--> A(114, ~7.434e391, ~1.062e391)
...
...
--(123361440505394191838159894807429323394336791980165278392551786831696080997)--> A(52869188788026082216354240631755424311858625134356547882522194356441177569, 0)
--(~6.003e564)--> A(1, ~7.004e564, ~1.000e564)
--(79303783182039123324531360947633136467787937701534821823783291534661766355)--> *[0, 26434594394013041108177120315877712155929312567178273941261097178220588784, 0]
--(~3.001e564)--> A(0, ~7.504e564, ~5.003e563)
MBB(9) ≥ 449388104698221698839011045369921106650798313642030657001438652029750007257</pre>
--(~7.504e563)--> *:[0, ~7.504e564, ~2.501e563, 0]
MBB(9) ≥ 93808302582820712791644417566040356966659191512697357149136867624700931982873063964863271099194780838377723063669792161935000859072795722864221532361274926037490231854664326040553873160244266831113368676770665462863814567617184985560055651833166935998277667022251167870624970026104078639440979631861317142986512752460254598177192819532310263795690689758159136451943394641109567460958101983276919602448298247603462594943072075800934937930480389717991529952101779740586759297620506461207270972513833891597770670073318572258149043704801729040255724358646133192808544041
MΣ(9) ≥ 7504664206625657023331553405283228557332735321015788571930949409976074558629845117189061687935582467070217845093583372954800068725823657829137722588901994082999218548373146083244309852819541346489069494141653237029105165409374798844804452146653354879862213361780093429649997602088326291155278370548905371438921020196820367854175425562584821103655255180652730916155471571288765396876648158662153568195863859808277007595445766064074795034438431177439322396168142379246940743809640516896581677801106711327821653605865485780651923496384138323220457948691690655424682907</pre>


MBB(10):
MBB(10):
Line 249: Line 253:
They are similar to the [[BB(6)]] cryptid [[Space Needle]], which is also the [[Beaver Math Olympiad#Unsolved problems|BMO's]] 6th problem.
They are similar to the [[BB(6)]] cryptid [[Space Needle]], which is also the [[Beaver Math Olympiad#Unsolved problems|BMO's]] 6th problem.


These were found by Shawn Ligocki as the only 6 remaining 8-instruction holdouts on 2 Oct 2026 with an initial analysis of <code>0+B_1-GC_2-AD_1+E_2+F_0-DB_1-AH_0-F*</code> .<sup>[https://discord.com/channels/960643023006490684/1552294888740098139/1555767330531967099]</sup> Sheep noticed the connection to Space Needle,<sup>[https://discord.com/channels/960643023006490684/1552294888740098139/1555825617197342816]</sup> analyzed all 6 holdouts and discovered that they can be reduced down to just two behaviors (listed above) and named them.<sup>[https://discord.com/channels/960643023006490684/1552294888740098139/1555896809208156202]</sup>
These were found by Shawn Ligocki as the only 6 remaining 8-instruction holdouts on 2 Oct 2026 with an initial analysis of <code>0+B_1-GC_2-AD_1+E_2+F_0-DB_1-AH_0-F*</code> .<sup>[https://discord.com/channels/960643023006490684/1552294888740098139/1555767330531967099]</sup> sheep noticed the connection to Space Needle,<sup>[https://discord.com/channels/960643023006490684/1552294888740098139/1555825617197342816]</sup> analyzed all 6 holdouts and discovered that they can be reduced down to just two behaviors (listed above)<sup>[https://discord.com/channels/960643023006490684/1552294888740098139/1555896809208156202]</sup> and named them.<sup>[https://discord.com/channels/960643023006490684/1552294888740098139/1567887303014223883]</sup>


=== Larger Cryptids ===
=== Larger Cryptids ===
Line 268: Line 272:
The 5n + 1 map has also been hand coded into a 12-instruction, 2-register machine: <code>0+B_0+C_0+D_0+E_1-IF_1+G_0-HE_0-FJ_0+A_1-KL_0+J_0-H*</code> which can be interpreted the following way:<sup>[https://discord.com/channels/960643023006490684/1552294888740098139/1555083694937604097]</sup>
The 5n + 1 map has also been hand coded into a 12-instruction, 2-register machine: <code>0+B_0+C_0+D_0+E_1-IF_1+G_0-HE_0-FJ_0+A_1-KL_0+J_0-H*</code> which can be interpreted the following way:<sup>[https://discord.com/channels/960643023006490684/1552294888740098139/1555083694937604097]</sup>
<pre>
<pre>
0+B_0+C_0+D_0+E_1-IF_1+G_0-HE_0-FJ_0+A_1-KL_0+J_0-H*
Let A(x + 3) = F:[x, 0]
Let A(x + 3) = F:[x, 0]
Assume x > 0.
Assume x > 0.
Line 277: Line 279:
   
   
A:[0, 0] --(5)--> A(7)
A:[0, 0] --(5)--> A(7)
</pre>
==== MBB(19): Erdős ternary conjecture ([https://www.erdosproblems.com/406 Erdos problem #406]) ====
The statement "All powers of 2 above 2^8 have at least one '2' in their ternary representation" has been encoded in a 19-instruction, 5-register machine: <code>4+B_4+C_0+D_0+E_2-CF_0-GI_2+H_1+F_1-JN_1-KN_1-LM_3+I_0+N_3-OQ_1+P_3-OI_0-RS_0-RE_4-E*</code><sup>[https://discord.com/channels/960643023006490684/1243312334907375676/1554489195916173353]</sup> which can be interpreted the following way:<sup>[https://discord.com/channels/960643023006490684/1552294888740098139/1555083694937604097]</sup>
<pre>
I:[0, x, x, 0, y] —> Q:[# of 2s in base 3 expansion of x, 0, x, 0, y]
Q:[0, 0, x, 0, y + 1] —> I:[0, 2x, 2x, 0, y]
Q:[0, 0, x, 0, 0] —> *:[0, 0, x, 0, 0]
Q:[k + 1, 0, x, 0, y] —> I:[0, 2x, 2x, 0, y]
A:[0, 0, 0, 0, 0] —> I:[0, 2, 2, 0, 2]
...
—> I:[0, 4, 4, 0, 2]
—> I:[0, 8, 8, 0, 1]
...
—> I:[0, 256, 256, 0, 1]
—> I:[0, 512, 512, 0, 0]
(Erdős ternary conjecture)
</pre>
</pre>



Latest revision as of 06:17, 1 December 2026

Register machines, also known as Minsky machines, are a Turing-complete model of computation.

Register machines contain a set of instructions and a set of registers. The instructions are labelled A, B, C, and so on. The registers are numbered 0, 1, 2, and so on. There are 2 types of instructions:

  • inc(c, n) adds 1 to the register c then jumps to instruction n.
  • dec(c, n, m) jumps to instruction m if register c equals 0, else subtract 1 to the register c then jump to instruction n.

The program halts if it reaches an undefined instruction. Here we label an undefined instruction with *.

Register Busy Beaver

The Register Busy Beaver function, denoted MBB(n,r), returns the maximum number of instructions executed by a register machine with n instructions and r registers when started in instruction A and all registers initialized to 0. MBB(n) = MBB(n,n) (unlimited registers).

Domain Halting Time Champion
MBB(0) 0
MBB(1) 1 0+*
MBB(2) 3 0+B_0-B*
MBB(3) 5 0+B_0+C_0-C*
MBB(4) 10 0+B_1+C_0-BD_1-C*
MBB(5) 24 0-DB_0+C_1-ED_1+A_1-B*
MBB(6) 49 0+B_1-FC_1+D_0-CE_0+A_1-A*
MBB(7) 231 0+B_0+C_0+D_1-GE_1+F_0-EC_1-A*
MBB(8) ≥ 3,394 0+B_0+C_1-GD_1+E_0-DF_2-HG_2+A_2-D*
MBB(9) > 9.380 × 10565 0-GB_1-HC_2-FD_3+E_2+A_0+B_1+E_1-FI_3-A*
MBB(10) > 10↑↑4.03 0+B_1-AC_2-ED_1+E_1+F_0-DG_2-JH_2+I_1-HE_2-A*
MBB(11) > 10↑↑17.74 0-KB_1-IC_1+D_1+E_2-CF_0-AG_0+H_1-GI_2+J_2+B_0-B*

The Register Sigma function, denoted MΣ(n,r), returns the maximum value in any register when a register machine with n instructions and r registers halting when started in instruction A and all registers initialized to 0. MΣ(n) = MΣ(n,n) (unlimited registers) = A081419(n+1).

Domain Sigma Champion
MΣ(0) 0
MΣ(1) 1 0+*
MΣ(2) 2 0+B_0+*
MΣ(3) 3 0+B_0+C_0+*
MΣ(4) 4 0+B_0+C_0+D_0+*
MΣ(5) 6 0+B_0+C_0+D_1-*E_1+A
MΣ(6) 9 0+B_0+C_1+D_1+E_1+F_0-C*
MΣ(7) 34 0+B_0+C_0+D_1-GE_1+F_0-EC_1-A*
MΣ(8) ≥ 520 0+B_1+C_2-AD_2+E_2+F_0-DG_1-H*_1-EB
MΣ(9) > 7.504 × 10564 0-GB_1-HC_2-FD_3+E_2+A_0+B_1+E_1-FI_3-A*
MΣ(10) > 10↑↑4.03 0+B_1-AC_2-ED_1+E_1+F_0-DG_2-JH_2+I_1-HE_2-A*
MΣ(11) > 10↑↑17.74 0-KB_1-IC_1+D_1+E_2-CF_0-AG_0+H_1-GI_2+J_2+B_0-B*

Analysis

MBB(7):

Let A(x) = A:[x, 0]
A(2x) -> 9x+20 -> A(3x+4)
A(2x+1) -> 9x+27 -> halt

A(0) -> 20 -> A(4) -> 38 -> A(10) -> 65 -> A(19) -> 108 -> halt

MBB(8):

Let S(z) = F:[0, 2z+1, z]
S(2k) -> 44k+19 -> S(5k+2)
S(2k+1) -> 4k+2 -> halt

A:[0, 0, 0] -> 44 -> S(4) -> 107 -> S(12) -> 283 -> S(32) -> 723 ->  S(82) -> 1823 -> S(207) -> 414 -> halt

MBB(9): (TODO: Update the analysis from 0+B_1+C_2-GD_3-HE_1-FA_2+D_3+B_3-FI_0-C* to 0-GB_1-HC_2-FD_3+E_2+A_0+B_1+E_1-FI_3-A*)

Let A(x, y, z) = D:[x, y, 0, z]
A(x, y, 2k) --(6y + 6k + 5)--> A(x + 1, y + k + 1, y + k)
A(0, y, 2k + 1) --(3k + 3)--> *:[0, y, k, 0]
A(x + 1, y, 2k + 1) --(6k + 4)--> A(x, y + k, k)

A:[0, 0, 0, 0]
--(3)--> A(1, 1, 0)
--(11)--> A(2, 2, 1)
--(4)--> A(1, 2, 0)
...
--(~1.132e392)--> A(114, ~1.888e391, ~1.888e391)
--(~1.699e392)--> A(115, ~2.832e391, ~2.832e391)
--(~2.548e392)--> A(116, ~4.248e391, ~4.248e391)
--(~1.274e392)--> A(115, ~6.372e391, ~2.124e391)
--(~6.372e391)--> A(114, ~7.434e391, ~1.062e391)
...
--(~6.003e564)--> A(1, ~7.004e564, ~1.000e564)
--(~3.001e564)--> A(0, ~7.504e564, ~5.003e563)
--(~7.504e563)--> *:[0, ~7.504e564, ~2.501e563, 0]
MBB(9) ≥ 93808302582820712791644417566040356966659191512697357149136867624700931982873063964863271099194780838377723063669792161935000859072795722864221532361274926037490231854664326040553873160244266831113368676770665462863814567617184985560055651833166935998277667022251167870624970026104078639440979631861317142986512752460254598177192819532310263795690689758159136451943394641109567460958101983276919602448298247603462594943072075800934937930480389717991529952101779740586759297620506461207270972513833891597770670073318572258149043704801729040255724358646133192808544041
MΣ(9) ≥ 7504664206625657023331553405283228557332735321015788571930949409976074558629845117189061687935582467070217845093583372954800068725823657829137722588901994082999218548373146083244309852819541346489069494141653237029105165409374798844804452146653354879862213361780093429649997602088326291155278370548905371438921020196820367854175425562584821103655255180652730916155471571288765396876648158662153568195863859808277007595445766064074795034438431177439322396168142379246940743809640516896581677801106711327821653605865485780651923496384138323220457948691690655424682907

MBB(10):

Let A(x) = E:[0, 0, x]
A(3k) --(28 × 2^k - 5k - 21)--> A(4 × 2^k - 2)
A(3k + 1) --(20 × 2^k - 5k - 16)--> *:[0, 4 × 2^k - 3, 0]
A(3k + 2) --(56 × 2^k - 5k - 23)--> A(8 × 2^k - 1)

Let t3 = 2^5864062014807
Let t4 = 2^((t3 + 4) / 3)

A:[0, 0, 0]
--(20)--> A(5)
--(84)--> A(15)
--(850)--> A(126)
--(123145302310681)--> A(17592186044414)
--(7 × t3 - 29320310074043)--> A(t3 - 1)
--(5 × t4 - 5 / 3 × t3 - 38 / 3)--> *:[0, t4 - 3, 0]
MBB(10) ≥ 5 × t4 + 16 / 3 × t3 + 281474976712738 / 3 > 10^^4.03

MBB(11):

Let A(x) = I:[x, 0, 0]
A(3k) --> A((20 * 4^k + 1)/3) if k ≥ 1
A(3k + 1) --> A((80 * 4^k + 1)/3) if k ≥ 1
A(3k + 2) --> *:[0, (20 * 4^k - 2)/3, 0] if k ≥ 1

A:[0, 0, 0] --(140)--> A(27)
--> A((20 * 4^9 + 1) / 3) = A(1747627)
--> A((80 * 4^582542 + 1) / 3) ≡ A(4897384) mod 3^15
--> A((80 * 4^1632461 + 1) / 3) ≡ A(2637523) mod 3^14
--> A((80 * 4^879174 + 1) / 3) ≡ A(813591) mod 3^13
--> A((20 * 4^271197 + 1) / 3) ≡ A(72385) mod 3^12
--> A((80 * 4^24128 + 1) / 3) ≡ A(84526) mod 3^11
--> A((80 * 4^28175 + 1) / 3) ≡ A(35479) mod 3^10
--> A((80 * 4^11826 + 1) / 3) ≡ A(14202) mod 3^9
--> A((20 * 4^4734 + 1) / 3) ≡ A(268) mod 3^8
--> A((80 * 4^89 + 1) / 3) ≡ A(2077) mod 3^7
--> A((80 * 4^692 + 1) / 3) ≡ A(394) mod 3^6
--> A((80 * 4^131 + 1) / 3) ≡ A(235) mod 3^5
--> A((80 * 4^78 + 1) / 3) ≡ A(21) mod 3^4
--> A((20 * 4^7 + 1) / 3) ≡ A(12) mod 3^3
--> A((20 * 4^4 + 1) / 3) ≡ A(6) mod 3^2
--> A((20 * 4^2 + 1) / 3) ≡ A(2) mod 3^1
--> *:[0, (20 * 4^0 - 2) / 3, 0] ≡ *:[0, 0, 0] mod 3^0
MBB(11) > 10^^17.74

Cryptids

Cryptids in the Wild

These cryptids were discovered through exhaustive enumeration of a domain, rather than being constructed by hand.

MBB(8): Achilles and Patroclus

Through the exhaustive search of the MBB(8) domain, all eight instruction machines have either been decided, or are equivalent to one of the two following potential cryptids: Achilles (0+B_1+C_2-AD_1-EH_2+F_1-DG_0-EB_2-C*) and Patroclus (0+B_1-FC_2-GD_0-EF_1+C_2+A_2-EH_1-B*), which may each be interpreted in the following ways:

Achilles: 0+B_1+C_2-AD_1-EH_2+F_1-DG_0-EB_2-C*

Let A(x, y) = D:[x, y, 0]
A(x, 0) --(2)--> *:[x, 0, 0]
A(x, 2k + 1) --(6x + 6k + 9)--> A(x + k + 1, x + k + 2)
A(x, 2k + 2) --(6k + 6)--> A(x + k, k)

A:[0, 0, 0] --(3)--> A(1, 1)


Needle rules:
Let C(x + 3) = A(x, x + 1) = D:[x, x + 1, 0].
Let a and b be non-negative integers satisfying x = (2a + 1) * 2^b.
C(x) --> C(2x - a - 2b - 1) if a > 0
C(x) --> *:[2x - 2b - 3, 0, 0] if a = 0

START: C(5)
Patroclus: 0+B_1-FC_2-GD_0-EF_1+C_2+A_2-EH_1-B*

Let A(x, y) = C:[x, 0, y]
A(x, 2k) --(6x + 6k + 5)--> A(x + k + 1, x + k + 1)
A(x, 2k + 3) --(6k + 7)--> A(x + k, k)
A(x, 1) --(3)--> *:[x, 0, 0]

A:[0, 0, 0] --(2)--> A(1, 0)


Needle rules:
Let C(x + 3) = A(x, x) = C:[x, 0, x].
Let a and b be non-negative integers satisfying x = (2a + 1) * 2^b.
C(x) --> C(2x - a - 3b - 1) if a > 0
C(x) --> *:[2x - 3b - 1, 0, 0] if a = 0

START: C(5)

They are similar to the BB(6) cryptid Space Needle, which is also the BMO's 6th problem.

These were found by Shawn Ligocki as the only 6 remaining 8-instruction holdouts on 2 Oct 2026 with an initial analysis of 0+B_1-GC_2-AD_1+E_2+F_0-DB_1-AH_0-F* .[1] sheep noticed the connection to Space Needle,[2] analyzed all 6 holdouts and discovered that they can be reduced down to just two behaviors (listed above)[3] and named them.[4]

Larger Cryptids

These cryptids were constructed by hand, translating a previously known Cryptid-like mechanism into a register machine. Note that this does not include Rick Griffith's 85-instruction, 16-register machine which would have halted had Fermat's Last Theorem turned out to be false,[5] as the theorem had already been proven true[6] by the time Griffith's machine was constructed (2003).

MBB(10): Hydra

Hydra was hand coded into a 10-instruction, 3-register register machine: 0-BF_1+C_1+D_0-EH_1+A_2+G_2+I_2-I*_0+J_1-IA which can be interpreted the following way:[7]

Let S(h,w) = A:[h-3,0,w]

Start: A:[0,0,0] = S(3,0)
S(2k,0) = A:[2k-3,0,0] -> Halt
S(2k,w+1) = A:[2k-3,0,w+1] -> A:[3k-3,0,w] = S(3k,w)
S(2k+1,w) = A:[2k-2,0,w] -> A:[3k-2,0,w+2] = S(3k+1,w+2)

MBB(12,2): Convergence of 7 under the 5n + 1 map

The 5n + 1 map has also been hand coded into a 12-instruction, 2-register machine: 0+B_0+C_0+D_0+E_1-IF_1+G_0-HE_0-FJ_0+A_1-KL_0+J_0-H* which can be interpreted the following way:[8]

Let A(x + 3) = F:[x, 0]
Assume x > 0.
A(4) --(10)--> *:[0, 0]
A(2k) --(5k - 2)--> A(k)
A(2k + 1) --(9k)--> A(5k + 3)
 
A:[0, 0] --(5)--> A(7)

MBB(19): Erdős ternary conjecture (Erdos problem #406)

The statement "All powers of 2 above 2^8 have at least one '2' in their ternary representation" has been encoded in a 19-instruction, 5-register machine: 4+B_4+C_0+D_0+E_2-CF_0-GI_2+H_1+F_1-JN_1-KN_1-LM_3+I_0+N_3-OQ_1+P_3-OI_0-RS_0-RE_4-E*[9] which can be interpreted the following way:[10]

I:[0, x, x, 0, y] —> Q:[# of 2s in base 3 expansion of x, 0, x, 0, y]
Q:[0, 0, x, 0, y + 1] —> I:[0, 2x, 2x, 0, y]
Q:[0, 0, x, 0, 0] —> *:[0, 0, x, 0, 0]
Q:[k + 1, 0, x, 0, y] —> I:[0, 2x, 2x, 0, y]

A:[0, 0, 0, 0, 0] —> I:[0, 2, 2, 0, 2]
...
—> I:[0, 4, 4, 0, 2]
—> I:[0, 8, 8, 0, 1]
...
—> I:[0, 256, 256, 0, 1]
—> I:[0, 512, 512, 0, 0]
(Erdős ternary conjecture)

MBB(130): Riemann Hypothesis

The Riemann Hypothesis has been coded into a 130-instruction, 29-register machine.[11]