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`
System4
​
System4
["Elements"{...},"Active"i,"State"s]
is a tape of Smith's System 4: sets of integers and stars
"*"
, the element i (counting from 0) active in the state s,
"A"
,
"B"
or
"C"
.
​
​
System4
[elements]
starts on the first element in state
"A"
.
​
​
s4["key"]
gives a part of the tape s4.
​
Details and Options
▪
A set is a list of integers. In state A the head moves left over sets; at the left end, or when it deletes a star, it turns to state B and moves right. Moving right in B or C it decrements every set it passes, and a set holding a 0 loses it and switches the state between B and C. A star reached in B is deleted and the head turns left in state A; a star reached in C stays, and the next set gains or loses a 1.
▪
A tape displays as
RulePlot
[s4]
: each set as a cell with its members, each star dark, the active element in the color of its state. A long tape is drawn wrapped, sets gray, empty sets light and stars dark.
▪
Normal
[s4]
gives the association. Every function of the paclet that takes a System 4 tape takes its association as well.
Examples  
(5)
Basic Examples  
(2)
A tape of two sets and a star:
In[1]:=
System4
[{{0,2},"*",{}}]
Out[1]=
System4

​
Its run:
In[1]:=
System4EvolutionPlot

System4
[{{0,2},"*",{}}],6
Out[1]=
0
{0,2}
★
{}
1
{0,2}
★
{}
2
{1}
★
{}
3
{1}
★
{1}
4
{1}
★
{0}
Scope  
(2)

Properties & Relations  
(1)

SeeAlso
System5ToSystem4
 
▪
System4Evolution
 
▪
System4EvolutionPlot
 
▪
System4ToSystem3
 
▪
System4ToSystem5
TechNotes
▪
SmithsUniversalityProof
RelatedGuides
▪
Turing Machine
""

© 2026 Wolfram. All rights reserved.

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