In computability theory, a Busy Beaver (from the colloquial expression for "industrious person") is a Turing machine that, when given an empty tape, does a lot of work, then halts. The machine meets limits on the amount of resources that a halting machine of a particular size can consume, in terms of either time or space. Related is the concept of a Busy Beaver function, which quantifies those resource limits and which, therefore, is incalculable by Turing machine.
Both of these functions are noncomputable, because they grow faster than any computable function. Even with only a few states, a Busy Beaver can do very much.
Originally the only Turing machines considered were those using only 2 tape symbols (0 and 1). With more symbols, the machine can store more state on its tape and so do more work.
The function values for Σ(n) and S(n) are only known exactly for 2 symbols and n < 5. The current 5-state 2-symbol Busy Beaver champion produces 4,098 ones, using 47,176,870 steps, but there remain about 40 machines with nonregular behavior. At the moment the record 6-state 2-symbol Busy Beaver produces over 10865 ones, using over 101730 steps.
The longest running 3-state 3-symbol machine found so far (by Gregory Lafitte and Christophe Papazian* in 2005) runs 4,144,465,135,614 steps before halting. The longest running 6-state, 2-symbol machine which has the additional property of reversing the tape value at each step produces 6,147 ones after 47,339,970 steps. So SRTM(6) ≥ 47,339,970 and ΣRTM(6) ≥ 6,147.
There is an analog to the Σ function for Minsky machines, namely the largest number which can be present in any register on halting, for a given number of instructions. This is a consequence of the Church-Turing thesis.
Let BadS denote the composition Create_n0 | Double | EvalS | Clean. Notice that this machine has N states. Starting with an initially blank tape it first creates a sequence of n0 1s and then doubles it, producing a sequence of N 1s. Then BadS will produce S(N) 1s on tape, and at last it will clear all 1's and then halt. But the phase of cleaning will continue at least S(N) steps, so the time of working of BadS is strictly greater than S(N), which contradicts to the definition of the function S(n).
The uncomputability of Σ(n) may be proved in a similar way. In the above proof, one must exchange the machine EvalS with EvalΣ and Clean with Increment - a simple TM, searching for a first 0 on the tape and replacing it with 1.
The uncomputability of S(n) can also be trivially established by reference to the halting problem. As S(n) is the maximum number of steps that can be performed by a halting Turing machine, any machine which runs for more steps must be non-halting. One could then determine whether a given Turing machine with n states halts by running it for S(n) steps; if it has still not halted, it never will. As being able to compute S(n) would provide a solution to the provably uncomputable halting problem, it follows that S(n) must likewise be uncomputable.
In the tables, the columns represent the current state and the rows represent the current symbol read from the tape. The table entries indicate the symbol to write onto the tape, the new state, and the direction to move over the tape.
Each machine begins in state A with an infinite tape that contains all 0's. Thus, the initial symbol read from the tape is a 0.
Result Key: (starts here, goes to here)
1-state, 2-symbol:
| A | |
| 0 | 1-Halt |
| 1 | Never used |
Result: 0 0 1 0 0 (one "1" total)
2-state, 2-symbol:
| A | B | |
| 0 | 1-B-Right | 1-A-Left |
| 1 | 1-B-Left | 1-Halt |
Result: 0 0 1 1 1 1 0 0 (four "1"s total)
6-state, 2-symbol:
| A | B | C | D | E | F | |
| 0 | 1-B-Right | 0-C-Right | 1-D-Left | 0-E-Left | 0-A-Right | 1-A-Left |
| 1 | 0-F-Left | 0-D-Right | 1-E-Right | 0-D-Left | 1-C-Right | 1-Halt |
Result: ~1.291 x 10865 ones in ~3.002 x 101730 steps. See Heiner Marxen's list of 6 state, 2 symbol Turing machines for the exact values of these lower bounds.
The Turing machines that achieve these values are available on either Heiner Marxen's and Pascal Michel's WWW pages. Each of these WWW sites also contains some analysis of the Turing machines and references to the proofs of the exact values.
Values of S(n,m):
| 2-state | 3-state | 4-state | 5-state | 6-state | |
| 2-symbol | 6 | 21 | 107 | ≥ 47,176,870 | ≥ 3.0 x 101730 |
|---|---|---|---|---|---|
| 3-symbol | ≥ 38 | ≥ 4,144,465,135,614 | ??? | ??? | ??? |
| 4-symbol | ≥ 3,932,964 | ??? | ??? | ??? | ??? |
| 5-symbol | ≥ 26,375,397,569,930 | ??? | ??? | ??? | ??? |
Values of Σ(n,m):
| 2-state | 3-state | 4-state | 5-state | 6-state | |
| 2-symbol | 4 | 6 | 13 | ≥ 4,098 | ≥ 1.2 x 10865 |
|---|---|---|---|---|---|
| 3-symbol | ≥ 9 | ≥ 2,950,149 | ??? | ??? | ??? |
| 4-symbol | ≥ 2,050 | ??? | ??? | ??? | ??? |
| 5-symbol | ≥ 4,848,239 | ??? | ??? | ??? | ??? |
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Busy beaver".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world