Register machine: Difference between revisions

From BusyBeaverWiki
Jump to navigation Jump to search
HelpMe (talk | contribs)
like a new champion or smtg
HelpMe (talk | contribs)
new champion for the 9th mbb function number
Line 44: Line 44:
|-
|-
|MBB(8)
|MBB(8)
|≥ 3394
|≥ 3,394
|<code>0+B_0+C_1-GD_1+E_0-DF_2-HG_2+A_2-D*</code>
|<code>0+B_0+C_1-GD_1+E_0-DF_2-HG_2+A_2-D*</code>
|-
|-
|MBB(9)
|MBB(9)
|≥ 6299367
|≥ 603,336,234,851,237,807
|<code>0+B_0+C_1-GD_2+E_0-FC_1+E_0+H_1-AI_2-E*</code>
|<code>0+B_1-FC_2+D_1+E_0-DB_0+G_0+H_1-AI_2-D*</code>
|}
|}


Line 68: Line 68:
  A:[0, 0, 0] -> 44 -> S(4) -> 107 -> S(12) -> 283 -> S(32) -> 723 ->  S(82) -> 1823 -> S(207) -> 414 -> halt
  A:[0, 0, 0] -> 44 -> S(4) -> 107 -> S(12) -> 283 -> S(32) -> 723 ->  S(82) -> 1823 -> S(207) -> 414 -> halt
MBB(9):
MBB(9):
<pre>let the [sic] A(x, y) = E:[x, 0, y]
<pre>let A(x, y) = D:[x, 0, y]
A(2k, y) --(9k + 3)--> A(3k, y + 1)
A(2k, y + 1) --(9k + 7)--> A(3k + 2, y)
A(2k + 1, y + 1) --(9k + 7)--> A(3k + 1, y)
A(2k, 0) --(9k + 7)--> *:[3k + 2, 0, 0]
A(2k + 1, 0) --(9k + 7)--> *:[3k + 1, 0, y]
A(2k + 1, y) --(9k + 11)--> A(3k + 3, y + 1)


A:[0, 0, 0]
A:[0, 0, 0]
—(4)—> A(2, 1)             —(12)—> A(3, 2)              —(16)—> A(4, 1)
—(3)—> A(1, 1)
—(21)—> A(6, 2)            —(30)—> A(9, 3)             —(43)—> A(13, 2)
—(11)—> A(3, 2)
—(61)—> A(19, 1)          —(88)—> A(28, 0)            —(129)—> A(42, 1)
—(20)—> A(6, 3)
—(192)—> A(63, 2)          —(286)—> A(94, 1)            —(426)—> A(141, 2)
—(34)—> A(11, 2)
—(637)—> A(211, 1)        —(952)—> A(316, 0)          —(1.425)—> A(474, 1)
...
—(2.136)—> A(711, 2)      —(3.202)—> A(1.066, 1)       —(4.800)—> A(1.599, 2)
—(12.306.791)—> A(4.102.263, 11)
—(7.198)—> A(2.398, 1)    —(10.794)—> A(3.597, 2)      —(16.189)—> A(5.395, 1)
—(18.460.190)—> A(6.153.396, 12)
—(24.280)—> A(8.092, 0)    —(36.417)—> A(12.138, 1)    —(54.624)—> A(18.207, 2)
—(27.690.289)—> A(9.230.096, 11)
—(81934)—> A(27.310, 1)    —(122.898)—> A(40.965, 2)    —(184.345)—> A(61.447, 1)
—(41.535.439)—> A(13.845.146, 10)
—(276.514)—> A(92.170, 0)  —(414.768)—> A(138.255, 1)  —(622.150)—> A(207.382, 0)
...
—(933.222)—> A(311.073, 1) —(1.399.831)—> A(466.609, 0) —(2.099.743)—> *:[699.913, 0, 0]</pre>
—(59.588.763.935.924.797)—> A(19.862.921.311.974.932, 2)
—(89.383.145.903.887.201)—> A(29.794.381.967.962.400, 1)
—(134.074.718.855.830.807)—> A(44.91.572.951.943.602, 0)
—(201.112.078.283.746.216)—> *:[67.037.359.427.915.405, 0, 0]</pre>


== Cryptids ==
== Cryptids ==

Revision as of 07:12, 20 September 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(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) ≥ 603,336,234,851,237,807 0+B_1-FC_2+D_1+E_0-DB_0+G_0+H_1-AI_2-D*

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):

let A(x, y) = D:[x, 0, y]
A(2k, y + 1) --(9k + 7)--> A(3k + 2, y)
A(2k, 0) --(9k + 7)--> *:[3k + 2, 0, 0]
A(2k + 1, y) --(9k + 11)--> A(3k + 3, y + 1)

A:[0, 0, 0]
—(3)—> A(1, 1)
—(11)—> A(3, 2)
—(20)—> A(6, 3)
—(34)—> A(11, 2)
...
—(12.306.791)—> A(4.102.263, 11)
—(18.460.190)—> A(6.153.396, 12)
—(27.690.289)—> A(9.230.096, 11)
—(41.535.439)—> A(13.845.146, 10)
...
—(59.588.763.935.924.797)—> A(19.862.921.311.974.932, 2)
—(89.383.145.903.887.201)—> A(29.794.381.967.962.400, 1)
—(134.074.718.855.830.807)—> A(44.91.572.951.943.602, 0)
—(201.112.078.283.746.216)—> *:[67.037.359.427.915.405, 0, 0]

Cryptids

No Cryptids have been found via exhaustive search, but Hydra has been hand coded into a 10-instruction, 3-register Minsky 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:[1]

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)