Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Import standard Turing machine formats
ResourceFunction["TuringMachineImport"][tm] return explicit Turing machine rules. | |
ResourceFunction["TuringMachineImport"][tm,form] return a Turing machine in a specified form. |
| "Rules" | list of explicit rules (default) |
| "ExtendedRules" | list of rules with extra halting state |
| "Number" | a Turing machine number corresponding to the extended rule list |
| "Table" | raw input table of rules |
| "TableForm" | formatted raw input table of rules |
Import a standard Turing machine format specified as a string:
| In[1]:= |
| Out[1]= |
Return extended list of rules for the Turing machine:
| In[2]:= |
| Out[2]= |
Return a Turing machine number:
| In[3]:= |
| Out[3]= |
Return the raw table of string:
| In[4]:= |
| Out[4]= |
Return a formatted raw table of states and symbols:
| In[5]:= |
| Out[5]= | ![]() |
The "ExtendedRules" and "Number" forms assume an extra halting state that runs aways to the right without further modification of tape:
| In[6]:= | ![]() |
| Out[6]= | ![]() |
Show evolutions of small Busy Beaver Turing machines up-to their record halting time:
| In[7]:= | ![]() |
| Out[7]= | ![]() |
Wolfram Language 13.0 (December 2021) or above
This work is licensed under a Creative Commons Attribution 4.0 International License