Hydra: Difference between revisions

From BusyBeaverWiki
Jump to navigation Jump to search
Int-y1 (talk | contribs)
m bold name
C7X (talk | contribs)
Add configurations + date on Antihydra source
Line 8: Line 8:
\end{array}</math>
\end{array}</math>
<br>
<br>
starting from <math>C(3,0)</math>.<ref>S. Ligocki, "[https://www.sligocki.com/2024/05/10/bb-2-5-is-hard.html BB(2, 5) is Hard (Hydra)] (2023). Accessed 22 July 2024.</ref>
starting from <math>C(3,0)</math>, using configurations of the form <math>C(a+2,b) = 0^\infty \; <B \; 0^{3a} \; 3^b \; 2 \; 0^\infty</math>.<ref>S. Ligocki, "[https://www.sligocki.com/2024/05/10/bb-2-5-is-hard.html BB(2, 5) is Hard (Hydra)] (2023). Accessed 22 July 2024.</ref>


It is closely related to the machine [[Antihydra]].<ref>S. Ligocki, "[https://www.sligocki.com/2024/07/06/bb-6-2-is-hard.html BB(6) is Hard (Antihydra)]". Accessed 22 July 2024.</ref>
It is closely related to the machine [[Antihydra]].<ref>S. Ligocki, "[https://www.sligocki.com/2024/07/06/bb-6-2-is-hard.html BB(6) is Hard (Antihydra)]" (2024). Accessed 22 July 2024.</ref>


A fast simulator for the odd/even sequence used by Hydra is available [http://nethack4.org/esolangs/fasthydra.zip here].
A fast simulator for the odd/even sequence used by Hydra is available [http://nethack4.org/esolangs/fasthydra.zip here].

Revision as of 11:48, 24 July 2024

Unsolved problem:
Does Hydra run forever?

1RB3RB---3LA1RA_2LA3RA4LB0LB0LA (bbch)

Hydra is a BB(2,5) machine that simulates the Collatz-like iteration

C(2a+1,b)→A(3a+1,b+2)C(2a,b)→A(3a,b−1)ifb>0C(2a,0)→HALT
starting from C(3,0), using configurations of the form C(a+2,b)=0∞<B03a3b20∞.[1]

It is closely related to the machine Antihydra.[2]

A fast simulator for the odd/even sequence used by Hydra is available here.

Name

The name Hydra references the Ancient Greek legend: just as the legendary creature was growing 2 heads after losing 1 head, the b counter that is kept on the right side of the tape either increases by 2 or decreases by 1 (approximately with equal frequency if modelled as a random process; in reality it depends on the parity of a). The Hydra dies (halts) when the last head is cut.

Sources

  1. ↑ S. Ligocki, "BB(2, 5) is Hard (Hydra) (2023). Accessed 22 July 2024.
  2. ↑ S. Ligocki, "BB(6) is Hard (Antihydra)" (2024). Accessed 22 July 2024.