Antihydra: Difference between revisions
Tag: Rollback |
(→Biased Random Walk: Fix random walk probability.) |
||
Line 68: | Line 68: | ||
== Biased Random Walk == | == Biased Random Walk == | ||
If we consider the sequence of parities of <math>a</math> to be independent random coin flips, then the movement of <math>b</math> is a biased random walk (50% chance of +2, 50% of -1). Starting from <math>b = n</math>, the chance of such a random walk ever reaching <math>b = -1</math> is <math>\left(\frac{1}{ | If we consider the sequence of parities of <math>a</math> to be independent random coin flips, then the movement of <math>b</math> is a biased random walk (50% chance of +2, 50% of -1). Starting from <math>b = n</math>, the chance of such a random walk ever reaching <math>b = -1</math> is <math>\left(\frac{1}{\phi}\right)^{n+1}</math> and the expected value of b after k steps is <math>\frac{k}{2}</math>. | ||
== Simulation == | == Simulation == |
Revision as of 20:21, 17 February 2025

Antihydra (1RB1RA_0LC1LE_1LD1LC_1LA0LB_1LF1RE_---0RA
(bbch)) is a probviously nonhalting BB(6) Collatz-like Cryptid. In fact, it was the first identified BB(6) Cryptid. It is closely related to Hydra.
It simulates iterations of the Collatz-like Hydra function:
Antihydra halts if and only if the cumulative number of odd values in this sequence is ever more than twice the cumulative number of even values.
If we treat the parity of successive values in this sequence as independent random coin flips, then this is a biased random walk and has a miniscule chance of ever halting, thus we say that this TM "probviously" does not halt. But proving this would require solving a Collatz-like problem.
Turing Machine
Antihydra is the TM 1RB1RA_0LC1LE_1LD1LC_1LA0LB_1LF1RE_---0RA
(bbch)
0 | 1 | |
---|---|---|
A | 1RB | 1RA |
B | 0LC | 1LE |
C | 1LD | 1LC |
D | 1LA | 0LB |
E | 1LF | 1RE |
F | --- | 0RA |
It was discovered by @mxdys on 28 Jun 2024 and shared on Discord[1] and Racheline discovered that it iterates the Hydra function.
Analysis
Let , then[2]
halting iff b ever reaches -1.
Biased Random Walk
If we consider the sequence of parities of to be independent random coin flips, then the movement of is a biased random walk (50% chance of +2, 50% of -1). Starting from , the chance of such a random walk ever reaching is and the expected value of b after k steps is .
Simulation
@mxdys has simulated this iteration out to steps at which point (Discord link), this is 20940 (0.002%) below the expected value if this were a random walk. If this was a random walk, the chance of ever halting from this point is
an extremely miniscule chance.
Sources
- ↑ Discord message, accessed 30 June 2024.
- ↑ S. Ligocki, "BB(6) is Hard (Antihydra)" (2024). Accessed 22 July 2024.