Documentation

FormalConjectures.Wikipedia.BusyBeaver

Busy Beaver #

The Busy Beaver problem asks for the maximum number of steps that an n-state, 2-symbol Turing machine can take before halting, when started on an empty tape.

References:

structure BusyBeaver.Candidate (n : ) :
Instances For
    noncomputable def BusyBeaver.BB (n : ) :

    BB(n) is the n-th Busy Beaver number. This is the maximum shifts function, not the "number of ones function"

    Equations
    Instances For
      theorem BusyBeaver.sanity_check (n : ) [NeZero n] :
      (BB n) = sSup {N : ℕ∞ | ∃ (M : Turing.BusyBeaver.Machine (Fin n) (Fin 2)) (_ : M.IsHalting), M.haltingNumber = N}

      To compute BB n, we need only consider machines with states and symbols indexed in Fin.

      theorem BusyBeaver.BB_3 :
      BB 3 = 21
      theorem BusyBeaver.BB_4 :
      BB 4 = 107
      theorem BusyBeaver.BB_5 :
      BB 5 = 47176870
      theorem BusyBeaver.BB_6 :
      BB 6 = sorry

      Determine the value of the Busy Beaver function at n = 6.