Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

TuringMachine

Tutorials

  • Exploring One-Sided Turing Machines
  • The Chain of Smith's Universality Proof

Guides

  • Turing Machine

Symbols

  • boundaryAxiomsFor
  • cachedProofFor
  • CompressToRunLength
  • CyclicTagSystemEvolution
  • CyclicTagSystemEvolutionPlot
  • CyclicTagSystem
  • CyclicTagSystemToSystem5
  • CyclicTagSystemToTagSystem
  • DecodeTuringMachineRules
  • EmulationParameters
  • EmulationSizes
  • FindInductiveProof
  • forAllBody
  • goalFor
  • inductionProofGraph
  • IslandsPanel
  • mergedProofFor
  • MultiwayBothPanel
  • multiwayCloudOverlap
  • multiwayDistance
  • MultiwayEquationalGraph
  • MultiwayGeodesicGraph
  • MultiwayInductiveProofPanel
  • MultiwayNonHaltedStatesLeft
  • MultiwayRuleGraph
  • multiwaySubProofCones
  • multiwaySystemFor
  • MultiwayTokenEventGraph
  • MultiwayTuringMachineFunction
  • MultiwayTuringMachinePlot
  • MultiwayTuringMachineRules
  • NonTerminatingTuringMachineQ
  • OneSidedTuringMachineEvolution
  • OneSidedTuringMachineFind
  • OneSidedTuringMachineFunction
  • OneSidedTuringMachineFunctionPlot
  • OneSidedTuringMachinePlot
  • OneSidedTuringMachineRuntimePlot
  • onesRunDefinitions
  • ParityBlock
  • proofGraph
  • RenderAxiomGrid
  • RenderConfiguration
  • RenderEquation
  • RenderUniversalGoal
  • RuleSpacePanel
  • RunMachine
  • SettingsPanel
  • ShowTapeConfiguration
  • StatementPanel
  • System3Evolution
  • System3EvolutionPlot
  • System3
  • System3ToWolfram23
  • System4Evolution
  • System4EvolutionPlot
  • System4
  • System4ToSystem3
  • System4ToSystem5
  • System5Evolution
  • System5EvolutionPlot
  • System5
  • System5ToCyclicTagSystem
  • System5ToSystem4
  • TagSystemEvolution
  • TagSystemEvolutionPlot
  • TagSystem
  • TagSystemToCyclicTagSystem
  • TagSystemToTuringMachine
  • TokenEventPanel
  • transitionAxiomsFor
  • TuringMachineEvolutionPlot
  • TuringMachineOutput
  • TuringMachineOutputWithStepsFloat
  • TuringMachineOutputWithSteps
  • TuringMachineOutputWithStepsWidthsFloat
  • TuringMachineOutputWithStepsWidths
  • TuringMachineRuleCases
  • TuringMachineRuleCount
  • TuringMachineSteps
  • TuringMachineStepsWidths
  • TuringMachineToTagSystem
  • TuringMachineWidths
  • TuringMachineWorstCasePlot
  • unboundAxiom
  • Wolfram23Evolution
  • Wolfram23EvolutionPlot
  • Wolfram23ToSystem5
  • zerosRunDefinitions
  • $InductiveProofColors
  • $PvsNPStyles

Overviews

  • TuringMachine
WolframInstitute`TuringMachine`
TuringMachineEvolutionPlot
​
TuringMachineEvolutionPlot
[machine,config,n]
plots the tape of the binary Turing machine machine started from the configuration config for n steps, or until it halts.
​
Details and Options
▪
The machine is a list of rules
{q,a}{q',w,d}
: in state
q
reading
a
, write
w
, move by
d
(
1
right,
-1
left) and go to state
q'
; state
0
halts.
▪
The configuration is
{q,left,head,right}
, with
left
read outward from the head, as in
TuringMachineToTagSystem
.
▪
Each row is the tape before a step; the tape grows with blank 0s where the head goes. The head cell is colored by the state, gray once the machine halts.
▪
A small run is drawn as a grid with every bit written in its cell; a larger one as an array plot with the head circled.
option
default
effect
"Labels"
Automatic
whether to write the bits in the cells;
Automatic
does it for small runs
ImageSize
Automatic
the size of the plot
AspectRatio
1
the ratio of height to width of the array plot
​
Examples  
(4)
Basic Examples  
(1)
A three-state machine that moves both ways, from the tape
011
with the head on the 0:
In[1]:=
TuringMachineEvolutionPlot
[{{1,0}{2,1,1},{1,1}{1,0,-1},{2,0}{1,1,-1},{2,1}{2,1,1}},{1,{},0,{1,1}},6]
Out[1]=
0
0
1
1
0
1
1
1
1
0
2
1
1
1
0
3
1
1
1
0
4
1
1
1
1
5
1
1
0
1
6
1
0
0
1
Scope  
(1)

Options  
(1)

Properties & Relations  
(1)

SeeAlso
TuringMachineToTagSystem
 
▪
TagSystemToTuringMachine
 
▪
TagSystemEvolutionPlot
TechNotes
▪
SmithsUniversalityProof
RelatedGuides
▪
TuringMachine
""

© 2026 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com