Skip to content
DAH

Prove that the 6-state Busy Beaver cryptid Antihydra never halts

OpenTo verify: Lean proofPosed by bbchallenge, Antihydra (2024)
AI-reviewed
On this page17 sections
Difficulty
84/100Major open
How far from a resolution. P vs NP = 100
Application value
1.5/100Theoretical
Realistic practical impact if resolved. P vs NP = 100
Leverage
25/100Local
How much other knowledge hinges on it. P vs NP = 100

Difficulty 84: halting is a Collatz-type statement about the parity of an iterated ⌊3n/2⌋ + 2 map, tied to Mahler's 3/2 problem, where no proof technique exists; placed above Hadwiger–Nelson (79) and Lehmer's totient problem (74), below Goldbach (92). Application value 1.5: none. Leverage 25: it gates any determination of BB(6) and would be a first proof for a Collatz-like dynamical system.

The problem

Prove that a specific six-rule Turing machine, Antihydra, runs for ever, as everyone expects but nobody can show.

  1. 1Six rules start a counting game
  2. 2Odd and even tallies wander randomly
  3. 3Halting needs a rare excursion
  4. 4Proof needs equidistribution results

The machine. Antihydra is a Turing machine with six states and two symbols: a tape of 0s and 1s, a read/write head, and a rule table with one "halt" entry. Its table, 1RB1RA_0LC1LE_1LD1LC_1LA0LB_1LF1RE_---0RA, can be simulated in a few lines of Python. Started on a blank tape, does it ever reach the halt rule?

What it is really computing. People on the bbchallenge project found that, after a short start-up, the machine's tape encodes two numbers aa and bb and each long pass of the head performs one step of a simple map:

a↦⌊3a/2⌋+2,b↦b+2 if a was even,b↦b−1 if a was odd,a \mapsto \lfloor 3a/2 \rfloor + 2,\qquad b \mapsto b + 2 \text{ if } a \text{ was even},\quad b \mapsto b - 1 \text{ if } a \text{ was odd},

starting from (a,b)=(8,2)(a, b) = (8, 2). The machine halts exactly when an odd aa is reached while b=0b = 0. In words: multiply by one and a half, round down, add two; keep a tally that gains 2 for every even value and loses 1 for every odd value; stop if the tally ever runs out. You can iterate this in Python with integers of millions of digits and watch bb grow.

Why everyone expects no halting. If the values of aa were even or odd like fair coin flips, the tally would be a random walk, a quantity that moves up or down at random, with steps of +2 or −1 equally likely. That walk drifts upward by 0.5 per step on average, and the chance it ever returns to zero after reaching large values is astronomically small. Simulations agree.

Why no one can prove it. "Behaves like coin flips" is not a proof. The parity of ⌊3a/2⌋+2\lfloor 3a/2 \rfloor + 2 depends on the binary digits of aa in a way that mixes like the famous Collatz problem (n↦n/2n \mapsto n/2 or 3n+13n+1), which is unsolved. Closely related questions about the fractional parts of (3/2)n(3/2)^n, Mahler's 3/2 problem, have been open for decades. No current technique controls such sequences well enough to rule out one rare long excursion.

Why it matters. The Busy Beaver number BB(6), the longest run of any halting 6-state machine, cannot be determined until Antihydra is settled.

How a claim is checked. A proof should be written in the Lean proof assistant and compiled with no gaps. An unreviewed Lean development (rwst/Antihydra-Basics) already models the machine and states the reduction above; a complete proof would add the theorem that the halting condition is never met, and checkers would confirm the model against the bbchallenge simulator.

Go deeper

The full technical text.

Antihydra is the 2-symbol Turing machine 1RB1RA_0LC1LE_1LD1LC_1LA0LB_1LF1RE_---0RA in bbchallenge notation (6 states A to F; transitions listed state by state for read symbols 0 and 1; --- is the halt transition). Starting from a blank tape it reaches configuration A(0,4) after 11 steps and then repeats a Collatz-like iteration. Question: does it ever reach the halt transition? Equivalently (bbchallenge wiki): iterate (a,b)↦(⌊3a/2⌋+2, b+2)(a,b)\mapsto(\lfloor 3a/2\rfloor+2,\ b+2) when aa is even and (a,b)↦(⌊3a/2⌋+2, b−1)(a,b)\mapsto(\lfloor 3a/2\rfloor+2,\ b-1) when aa is odd, starting from (8,2)(8,2); the machine halts if and only if an odd aa is reached while b=0b=0, i.e. once odd values have outnumbered twice the even values. The expected answer is that it never halts.

Words on this page (9)
Words on this page
Turing machine
A model of a computer with a tape, head and rule table.
Busy Beaver
The longest finite run of a halting machine with a given number of rules.
Collatz conjecture
An unsolved problem about halving even numbers and tripling odd ones.
Mahler's Z-numbers
Numbers whose repeated multiplication by 3/2 keeps their fractional part in a limited range; an open problem.
Lean
A proof assistant in which proofs are checked by a small trusted kernel.
floor function
⌊x⌋ is the largest whole number not exceeding x, so ⌊3·5/2⌋ = 7.
random walk
A quantity that moves up or down by random steps; used as a model of Antihydra's tally.
parity
Whether a whole number is even or odd.
Busy Beaver number
The largest number of steps a halting n-state Turing machine can take from a blank tape.
New to this? Read first (3)
New to this? Read first

Path to understanding

foundations → problem

The research entries this problem rests on, in the order to read them. Each links to its explainer.

  1. Start with
  2. Step 2
  3. Step 3
  4. Then
    • Prove that the 6-state Busy Beaver cryptid Antihydra never haltsThe problem

State of the art

The bbchallenge wiki gives only a probabilistic argument: the trajectory resembles a random walk with steps +2 or −1 of equal probability, which strongly suggests that Antihydra runs forever, but no proof exists. The wiki links the question to Mahler's Z-number problem, which needs equidistribution of {ξ(3/2)^n} on (0,1), described as a long-standing open question. Ligocki (2024) argues that any determination of BB(6) must decide Antihydra. The five-state case was resolved and formalised in Coq (arXiv:2509.12337), but that proof has no counterpart for 6-state cryptids. On the formal side, the reduction from the machine to the iteration above has been written in Lean 4 (rwst/Antihydra-Basics, lemma antihydra_halts_iff, generated mostly by language models and not independently reviewed); the open part is purely the number-theoretic statement.

Realistic applications

No practical application. Solving it would remove a main obstacle to BB(6) and would be a rare example of a formal proof for a Collatz-like dynamical system.

What counts as solved

A machine-checked proof (Lean 4, with Mathlib's Turing machine definitions or a self-contained model validated against the bbchallenge simulator) that Antihydra never halts, or a halting run proved by an explicit step count. The Lean source must compile with the three standard axioms only.

How it gets verified

To verify: Lean proof

A formal proof checked by Lean 4 / Mathlib.

Route: Lean 4 + Mathlib, compiled with lake build and #print axioms showing only propext, Classical.choice and Quot.sound. The machine model must be cross-checked against the bbchallenge simulator on the first 10610^6 steps. An existing (unreviewed, not compiled by DARC) Lean development, rwst/Antihydra-Basics (Lean v4.29.0-rc6), defines the transition table, a zipper-tape run, and proves antihydra_halts_iff : (∃ k, (run initConfig k).state = none) ↔ ∃ i, (Aiter i (8, 2)).1 % 2 = 1 ∧ (Aiter i (8, 2)).1 / 2 ≥ 1 ∧ (Aiter i (8, 2)).2 = 0. Target statement (sketch against that model):

theorem antihydra_never_halts : ¬ ∃ k, (Antihydra.run Antihydra.initConfig k).state = none

A proof via the reduction must also be checked to be sorry-free end to end. Mathlib has general Turing machine models (Mathlib/Computability/TuringMachine/) but nothing specific to this machine; the BB(5) proof (ccz181078/Coq-BB5) is in Coq.

Claims

No claimed results on this problem.

Where the work is

Theory
92%
New mathematical or conceptual ideas
Engineering
3%
Building instruments, chips, systems, software, formal proofs
Compute
5%
Raw computation, search, simulation
Empirical
0%
Observation, experiment, data collection

A proof would need new mathematics about the equidistribution of fractional parts of (3/2)^n type sequences; computation can only run the machine further.

Connected problems

No connected problems.

Progress

  1. Jul 6, 2024
    Antihydra analysed

    Ligocki described why BB(6) is hard and the role of Antihydra.

    source