Universal Turing Machine: Difference between revisions

From BusyBeaverWiki
Jump to navigation Jump to search
Created page with "A '''Universal Turing Machine''' (UTM) is a Turing Machine which can simulate any other TM (encoded onto input tape). The precise definition requires defining the encoding function to map simulated TMs and TM inputs into UTM initial tapes. Since a UTM can simulate any TM, the halting problem for any UTM is not computable. There is a common misconception that the Busy Beaver Functions will become uncomputable once we reach a domain with a UTM (since the general h..."
 
Added machine codes for small UTMs
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
* Standard UTMs: (15,2), (9,3), (6,4), (5,5), (4,6), (3,9), (2,18)
* Standard UTMs: (15,2), (9,3), (6,4), (5,5), (4,6), (3,9), (2,18)
* Weakly UTMs: (6,2), (3,3), (2,4)
* Weakly UTMs: (6,2), (3,3), (2,4)
=== Standard UTMs ===
==== 15-State, 2-Symbol UTM<ref name=":0">Turlough Neary and Damien Woods. "Four Small Universal Turing Machines". 2009. https://mural.maynoothuniversity.ie/id/eprint/12416/1/Woods_FourSmall_2009.pdf</ref> ====
<code>0RB1RA_1RC1RA_0LG0LE_0LF1LE_1RA1LD_1LD1LD_0LH1LG_1LI1LG_0RA1LJ_1LK---_0RL1RN_0RM1RL_0LB1RL_0LC0RO_0RN1RN</code>
==== 9-State, 3-Symbol UTM<ref name=":0" /> ====
<code>1RA0LB2RC_0LC0LB2LB_0LC1LD2RA_1LI1LD2LD_0RF---2LH_1LD1RF2RF_2LD1RG2RG_0RG0RI2RH_1LE0RH0RA</code>
==== 6-State, 4-Symbol UTM<ref name=":0" /> ====
<code>2LA3LA0RB1LA_3RE3RB0RB3RA_2LC1LE2LE1LC_0RE3RD0RD1RB_1LC3RF2RE1LF_---3RE3RA1LD</code>
==== 5-State, 5-Symbol UTM<ref name=":0" /> ====
<code>2LA3LA0RB1LA1LA_1LC3RB0RB3RA3RB_2LC4RE2RC1LC1LE_2LC3RD0RD---1LB_---4RC4RA---1LD</code>
=== Weakly UTMs ===
==== 6-State, 2-Symbol Weakly UTM<ref name=":1">Turlough Neary and Damien Woods. "Small weakly universal Turing machines". 2009. https://dna.hamilton.ie/assets/dw/NearyWoodsFCT09.pdf</ref> ====
<code>0LA1LB_0LF0LC_0RB1LC_1RE0RF_1LD1RD_1LA0RD</code>
==== 3-State, 3-Symbol Weakly UTM<ref name=":1" /> ====
<code>1LA2LB2LC_0RA1LB---_2LA0RC1RC</code>
==== 2-State, 4-Symbol Weakly UTM<ref name=":1" /> ====
<code>2LA3LB2LA2LA_3RA2LB0RB1RB</code>


== References ==
== References ==
<references />
<references />
[[Category:Zoology]]

Latest revision as of 19:11, 20 November 2026

A Universal Turing Machine (UTM) is a Turing Machine which can simulate any other TM (encoded onto input tape). The precise definition requires defining the encoding function to map simulated TMs and TM inputs into UTM initial tapes. Since a UTM can simulate any TM, the halting problem for any UTM is not computable.

There is a common misconception that the Busy Beaver Functions will become uncomputable once we reach a domain with a UTM (since the general halting problem for UTMs are undecidable). However, while no program can decide if a UTM halts across all possible inputs, it is possible to decide whether it halts when started on a single input (ex: a blank tape).

Minimal UTMs

There is a long history of searching for the smallest UTMs (measured in terms of number of states and symbols). It appears that the the best known results are summarized by Turlough Neary and Damien Woods in "The complexity of small universal Turing machines: a survey".[1] The define 3 types of UTM: standard, semi-weakly universal, and weakly universal. Standard UTMs require the TM encoding to be finite. Semi-weakly UTMs allow TM encodings which are finite with an additional finite sequence repeated indefinitely in one direction on the tape. Weakly UTMs allow such a finite repeat in both directions on the tape.

The set of minimal known UTMs are of size (num states, num symbols):

  • Standard UTMs: (15,2), (9,3), (6,4), (5,5), (4,6), (3,9), (2,18)
  • Weakly UTMs: (6,2), (3,3), (2,4)

Standard UTMs

15-State, 2-Symbol UTM[2]

0RB1RA_1RC1RA_0LG0LE_0LF1LE_1RA1LD_1LD1LD_0LH1LG_1LI1LG_0RA1LJ_1LK---_0RL1RN_0RM1RL_0LB1RL_0LC0RO_0RN1RN

9-State, 3-Symbol UTM[2]

1RA0LB2RC_0LC0LB2LB_0LC1LD2RA_1LI1LD2LD_0RF---2LH_1LD1RF2RF_2LD1RG2RG_0RG0RI2RH_1LE0RH0RA

6-State, 4-Symbol UTM[2]

2LA3LA0RB1LA_3RE3RB0RB3RA_2LC1LE2LE1LC_0RE3RD0RD1RB_1LC3RF2RE1LF_---3RE3RA1LD

5-State, 5-Symbol UTM[2]

2LA3LA0RB1LA1LA_1LC3RB0RB3RA3RB_2LC4RE2RC1LC1LE_2LC3RD0RD---1LB_---4RC4RA---1LD

Weakly UTMs

6-State, 2-Symbol Weakly UTM[3]

0LA1LB_0LF0LC_0RB1LC_1RE0RF_1LD1RD_1LA0RD

3-State, 3-Symbol Weakly UTM[3]

1LA2LB2LC_0RA1LB---_2LA0RC1RC

2-State, 4-Symbol Weakly UTM[3]

2LA3LB2LA2LA_3RA2LB0RB1RB

References

  1. ↑ Turlough Neary and Damien Woods. "The complexity of small universal Turing machines: a survey". 2011. https://doi.org/10.48550/arXiv.1110.2230
  2. ↑ 2.0 2.1 2.2 2.3 Turlough Neary and Damien Woods. "Four Small Universal Turing Machines". 2009. https://mural.maynoothuniversity.ie/id/eprint/12416/1/Woods_FourSmall_2009.pdf
  3. ↑ 3.0 3.1 3.2 Turlough Neary and Damien Woods. "Small weakly universal Turing machines". 2009. https://dna.hamilton.ie/assets/dw/NearyWoodsFCT09.pdf