
TL;DR
This paper proves that increasing alphabet size in the Busy Beaver game can lead to higher activity and productivity, especially with larger state counts, extending Harland's conjecture to non-binary alphabets.
Contribution
It confirms Harland's conjecture for large state counts and demonstrates how increasing alphabet size enhances activity and productivity in Busy Beaver machines.
Findings
Increasing alphabet size from two to three increases activity.
Larger alphabet sizes can lead to higher productivity.
A construction allows increasing activity with a larger alphabet depending on states.
Abstract
We investigate the Busy Beaver Game introduced by Rado (1962) generalized to non-binary alphabets. Harland (2016) conjectured that activity (number of steps) and productivity (number of non-blank symbols) of candidate machines grow as the alphabet size increases. We prove this conjecture for any alphabet size under the condition that the number of states is sufficiently large. For the measure activity we show that increasing the alphabet size from two to three allows an increase. By a classical construction it is even possible to obtain a two-state machine increasing activity and productivity of any machine if we allow an alphabet size depending on the number of states of the original machine. We also show that an increase of the alphabet by a factor of three admits an increase of activity.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Busy Beaver Scores and Alphabet Size
Holger Petersen
Reinsburgstr. 75
70197 Stuttgart
Germany
Abstract
We investigate the Busy Beaver Game introduced by Rado (1962) generalized to non-binary alphabets. Harland (2016) conjectured that activity (number of steps) and productivity (number of non-blank symbols) of candidate machines grow as the alphabet size increases. We prove this conjecture for any alphabet size under the condition that the number of states is sufficiently large. For the measure activity we show that increasing the alphabet size from two to three allows an increase. By a classical construction it is even possible to obtain a two-state machine increasing activity and productivity of any machine if we allow an alphabet size depending on the number of states of the original machine. We also show that an increase of the alphabet by a factor of three admits an increase of activity.
1 Introduction
The Busy Beaver Game, as originally defined by Rado [13], is to determine for a given number of states of deterministic Turing machines over the alphabet ([math] is the blank symbol) the maximum number of ones produced on an initially blank two-way inifinite tape. In each step such a machine reads a tape symbol and depending on the current state writes a symbol, shifts its head one square to the left or to the right, and enters a new state. There is a single halt state (which is traditionally not counted), and on the transition to this state the machine also writes a symbol. What we have just described is sometimes called the quintuple variant of Turing machines in view of the five pieces of information that define a transition. In contrast, the quadruple variant can either move the tape head or write a symbol but not both.
Rado introduced the function as the maximum (number of ones produced by machines with states. The function denotes the maximum number of steps performed (shift-number) of such machines. He proved that these functions are non-computable and even grow faster than any computable function. Rado also pointed out that these are very simple examples of non-computable functions and that no (explicit) enumeration of computable functions is used in their definition.
The functions are of metamathematical interest as well, since open problems like Goldbach’s conjecture, which can be refuted in a constructive way by a counterexample, would be settled if would be computable for an large enough to determine a counterexample by running a Turing machine [3, 4]. Recently explicit bounds on such an have been determined for Goldbach’s conjecture and the Riemann hypothesis along with a Turing machine that cannot be proved to run forever in ZFC [15].
Here we consider the generalization of the Busy Beaver Game to alphabets with more than two symbols. As in [12] we denote by the maximum number of non-blanks produced by any halting deterministic Turing machine with states and symbols (called productivity) workin on an initially blank tape. Similarly, we denote by the maximum number of steps performed (called activity). Thus the functions defined by Rado are now special cases with . For a specific Turing machine we denote the two measures by and .
A Turing machine participating in the generalized Busy Beaver competition can be represented by a table of the form
[TABLE]
where indicates the symbol written by after reading in state , is the direction of the head movement, and is the new state enters. State is the initial state and state is the halting state.
As early as 1966, the lower bounds and were reported in [7] for a non-binary alphabet111The origin of these bounds communicated to Korfhage by C. Y. Lee of Bell Telephone Lab. is not clear. In [7] Lee, Tibor Rado, Shen Lin, Patrick Fischer, Milton Green, and David Jefferson are mentioned in connection with these lower bounds and other early results.. Over the following decades, investigations concentrated on computing and on improving lower bounds for larger numbers of states in the classical setting of a binary tape alphabet. The progress in the chase of Busy Beavers is reflected in the following table:
[TABLE]
With the exception of lower bounds due to Brady (, ), the search for high scoring machines with more than two symbols did not continue before 2004. As outlined in the survey [12], Michel and Brady improved the lower bounds on and during that year. Between 2005 and 2008 many new machines for non-binary alphabets were found mainly by two teams: Grégory Lafitte and Christophe Papazian, and Terry and Shawn Ligocki (father and son). Lafitte and Papazian could also establish that and , confirming Michel’s conjecture from [11] that Brady’s lower bounds dating back almost two decades were tight.
Given the known values and lower bounds for non-binary alphabets, it is natural expect that and are increasing in both parameters (it is easily shown that they are increasing in their first parameter, see Lemma 1 below). An even stronger conjecture was stated by Harland [5].
Before presenting our results we cite Harland’s conjecture:
Conjecture 28** (in [5])**
Let be a -halting Turing machine with states and symbols for some with finite activity. Then there is a -halting -state -symbol Turing machine with finite activity such that
[TABLE]
Here -halting means that there are transitions to the halting state.
For , an -state Turing machine has to halt after the first step on a blank in order to have finite activity. As this holds independently of the size of the alphabet, no increase of activity and productivity is possible. We therefore exclude the trivial case .
Notice that the conjecture is stronger than just stating that and are increasing as grows and is kept fixed (which it implies by taking highest scoring machines as ). The conjecture considers for any specific machine both activity and productivity at the same time. A machine maximizing one of the measures may in fact not maximize the other, as is the case for where machines with activity 21 produce at most ones.
In addition Harland’s conjecture imposes a restriction on the structure of a machine increasing these measures, namely that the number of halting transitions is kept constant for machine .
Highest scores for small machines still provide evidence in support of the conjecture. We have
[TABLE]
[TABLE]
[TABLE]
and
[TABLE]
(results of Rado, Lin, Lafitte, Papazian, T. Ligocki and S. Ligocki, see [12] for references).
2 Results
It is well-known that activity and productivity grow with the number of states, see the figure on p. 77 of [6] or Proposition 27 of [5].
Lemma 1
Let be a Turing machine with states and symbols with finite activity. Then there is an -state -symbol Turing machine with finite activity such that and .
The lemma can be proved for any alphabet by redirecting the (unique) halting transition to the new state and having it skip symbols different from the blank while moving the head in one direction. The first blank encountered is replaced with a non-blank and then the machine halts.
An encoding scheme originally developed by Ben-Amram and Petersen [1] and called introspective computing by Luke Schaeffer [15] will be essential in proving Harland’s conjecture for sufficiently large numbers of states.
Theorem 1
For every and there is an such that for every -halting Turing machine with states and symbols with finite activity there is an -state, -symbol -halting Turing machine with finite activity such that and .
Proof. Let be a Turing machine as described in the theorem with states. We first notice that w.l.o.g. all states appear in the unique halting computation of on the blank tape. For otherwise we omit an unused state (reducing the number of halting transitions by at most ) and redirect all transitions with target to some remaining state. The resulting Turing machine with states is equivalent to on a blank tape, since none of the modified transitions is ever reached in the course of the computation. We apply Lemma 1 to resulting in a machine with and . Since the construction for Lemma 1 preserves the number of halting transitions, it suffices to add at most one halting transition on the new symbol for each state in order to transform into a -halting machine. These transitions will not influence the computation because symbol is never written onto the tape. In the following we let .
The next normalization of is the observation from [1] that in its computation on a blank tape “new” states (states not previously visited) appear in increasing order, i.e., the first state visited and not in the set is . This can be achieved by renaming the states appearing in the unique computation of on a blank tape. A transition followed when a state is first arrived at is called special, all other transitions are ordinary. Targets of special transitions can be omitted from a description of , as long as there is a flag indicating whether a transition is special. We further note that the number of special transitions is exactly , since by the normalization above all states (including the halt state) are reached.
Finally halting tansitions (except the one appearing in the halting computation) are modified, such that they target another state. Obviously this does not influence the computation.
After these transformations, can be described by the following information:
The number in a self-delimiting binary notation, using at most bits. 2. 2.
An array containing bits for every state . These bits correspond to the components (symbol written, head movement, and new state) of a row of the transition table encoding all transitions from a state. The next state is replaced by a flag that is 1 if and only if the transition is special. 3. 3.
A list of destinations of ordinary transitions. The list is sorted according to their first appearance in the computation on a blank tape. A destination can be encoded in bits, since the halting transition is always special and the halting state does not appear in another transition.
In summary, the description of requires bits for some constant if is fixed.
Next we consider the information content of states acting as a ROM in the finite control of a Turing machine with symbols. By the technique of introspective computing [1] generalized to tape symbols, bits can be extracted from these states by a fixed extractor machine with states. The extracted bits can be processed by a universal Turing machine having states and simulating machines with symbols. As opposed to usual simulators, we let write an extra non-blank symbol after it has reached the halting transition of the machine being simulated (notice that this will make sure that activity as well as productivity increase in comparison to ). A further specific requirement is that keeps track of the first appearance of a state and finalizes the transition table according to the flags while simulating a machine. Finally an ordinary universal Turing machine would have exactly one halting transition. In order to satisfy the requirements of Harland’s conjecture we add a sufficient number of (unreachable) states to accommodate additional halting transitions.
We let , and observe that for with a sufficiently large . Therefore states suffice to encode .
Finally we compose the Turing machine over symbols with states encoding machine , the extractor , and the universal Turing machine to obtain machine with states simulating and satisfying the theorem.
Next we consider weaker versions of Harland’s conjecture. But first we show some technical Lemmas.
Lemma 2
For all we have
Proof. , Suppose for some . By Lemma 1 we get and by adding transitions on symbols for a two-symbol champion.
Lemma 3
If all transitions of Turing machine with states on the blank move the head in the same direction and has finite activity, then we have .
Proof. If makes more than steps in one direction, then a state repeats and does not stop.
The next result is inspired by the construction in Figure 14 of [5]. In contrast to Theorem 1 it does not preserve the number of halting transitions.
Theorem 2
For every Turing machine with states and two symbols having finite activity there is an -state, three-symbol Turing machine with finite activity such that .
Proof. Without loss of generality has maximum activity among all state, two symbol Turing machines and the first transition of moves the head to the right.
We let have the basic structure of and add transitions on the new (third) symbol to every state. For a state to be determined below this transition is halting, while the other transitions are non-halting and can otherwise be arbitrary, since they never will be used.
Consider the tape cell at the final position of the head in the computation of on a blank tape. We modify the halting transition taken by to write the new symbol and move the head depending on the symbols in neighboring cells of .
If cell contains a blank, we modify the halting transition to move left and go to the initial state. By the normalization of the first transition, will move right on the blank (it cannot halt due to Lemma 2) to a state which is chosen as . Then halts on the new symbol increasing activity by two.
If contains and there is a state with a transition moving right on , we modify the last transition to move left and go to such a state. This will increase activity by one if the transition moving right on is halting, in which case we chosen the current state as . Otherwise activity increases by two as in the previous case if returns to cell in a state chosen as .
If all transitions move left on , we consider tape cell . If it contains , we modify the halting transition to move right and go to an arbitrary state. Machine will either halt immediately or return to cell in a state chosen as and halt.
Finally consider a blank in cell . Since for there is a machine with activity exceeding by Lemma 2, we conclude from Lemma 3 that at least one transition moves the head left on a blank. Go to a state with such a transition and move the head to the right. The resulting Turing machine will halt either when reading cell or when it returns to cell in a state chosen as .
In each case .
Next we turn to constructions that increase the alphabet by more than one symbol.
Theorem 3
For every Turing machine with states and symbols having finite activity there is a 2-state, -symbol Turing machine with finite activity such that and .
Proof. Let be a Turing machine with states and symbols. By Lemma 1 there is a machine with states and symbols increasing activity and productivity. The classical construction from [14] transforms it into an equivalent 2-state machine with symbols.
Theorem 4
For every Turing machine with states and symbols having finite activity there is an -state, -symbol Turing machine with finite activity such that .
Proof. If among the Turing machines with states and symbols does not have maximum activity, we choose as such a machine and no increase of the tape alphabet is necessary.
Otherwise for every symbol of we add new symbols and to the transition table of . A transition of on an old symbol writing is modified to write if it moves the head to the left (indicating that is to the right of the tape head) and similarly if it moves the head to the right. On new symbols and machine replaces the new symbol with and “bounces” back to the right if the symbol was and to the left on . Observe that all symbols with subscript are to the left of the tape head or under it and all symbols with subscript are to the right of the tape head or under it in the course of the computation of .
Consider the homomorphism defined by for all symbols of . We claim that for every instantaneous description of at step with a tape inscription of cells visited by and its head on cell there is an instantaneous description of at step with a tape inscription satisfying with its head on cell . This clearly holds for step 0 when there are no modified cells. If reads an old symbol it writes some or while writes and both move their heads in the same direction. This clearly maintains the property and that the head positions correspond. If reads it has just moved its head left and the neighboring cell contains some symbol . Now writes , moves right, replaces with , and returns to . In comparison to two additional steps have been performed while . In the same way behaves on . We conclude that halts if and only does and .
To see that we make use of the assumption that has maximum activity among the Turing machines with states and symbols. By Lemma 2 and Lemma 3 has to make at least one turn, which adds at least two steps to the computation of in comparison to .
3 Discussion
We have partially proved Harland’s conjecture. It holds for sufficiently large and (restricted to the measure activity and without maintaining the number of halting transitions) for . An increase of the alphabet size exceeding one admits similar results for all . In the former construction we have used the technique of interpretation instead of instrumentation (in terms of [1]).
If the Harland’s conjecture is true in general, then it provides further evidence for the symmetry of symbols and states discussed by Shannon in the concluding remarks of [14], since an increase in one of the parameters adds power to the machines.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Amir M. Ben-Amram and Holger Petersen. Improved Bounds for Functions Related to Busy Beavers. Theory of Computing Systems , 35 (1), 2002, 1 -11.
- 2[2] Allen H. Brady. The Determination of the Value of Rado’s Noncomputable Function Σ ( k ) Σ 𝑘 \Sigma(k) for Four-State Turing Machines. Mathematics of Computation , 40 (162), 1983, 647–665.
- 3[3] Allen H. Brady. The Busy Beaver Game and the Meaning of Life. in: The Universal Turing Machine: A Half-Century Survey , 2nd Edition, R. Herken (Ed.), Springer, 1995, 237 -254.
- 4[4] Gregory Chaitin. Computing the Busy Beaver Function. In Open Problems in Communication and Computation , Springer, 1987, 108–112.
- 5[5] James Harland. Generating Candidate Busy Beaver Machines (Or How to Build the Zany Zoo). https://arxiv.org/abs/1610.03184 v 1 , 2016.
- 6[6] John E. Hopcroft. Turing Machines. Scientific American , May 1984, 250 (5), 70–80.
- 7[7] Robert R. Korfhage. Logic and Algorithms: With Applications to the Computer and Information Sciences, New York, Wiley, 1966.
- 8[8] Shen Lin and Tibor Rado. Computer Studies of Turing Machine Problems. Journal of the Association for Computing Machinery , 12, 1965, 196–212.
