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`InductiveProofs`
FindInductiveProof
​
FindInductiveProof
[goal,axioms]
proves
ForAll
[n,goal]
by equational induction on
n
, returning an association describing the proof.
​
​
FindInductiveProof
[goal,axioms,t]
time-constrains each proof search to t seconds.
​
Details and Options
▪
goal is an
Equal
between two tape terms mentioning the induction variable
n
; axioms is a list of equational axioms (each an
Equal
or a
ForAll
over one).
▪
The base case (
nzero
) and the step case (
nsucc[n]
, with goal itself added as the induction hypothesis) are each proved with the built-in
FindEquationalProof
.
▪
The result is an association with keys
"Valid"
,
"Goal"
,
"InductionVariable"
,
"Axioms"
,
"BaseGoal"
,
"StepGoal"
,
"IH"
,
"BaseProof"
, and
"StepProof"
.
"Valid"
is
True
only when both cases produced a
ProofObject
.
▪
t defaults to 30 seconds.
Examples  
(2)
Basic Examples  
(1)
Prove that a one-cell-longer run of ones equals the run with a
s1
appended:
In[1]:=
proof=
FindInductiveProof
[​​ones[succ[n],y]seq[ones[n,y],s1],​​{ForAll[y,ones[zero,y]y],ForAll[{m,y},ones[succ[m],y]seq[ones[m,y],s1]]},​​20​​]
Out[1]=
ValidTrue,Goalones[succ[n],y]seq[ones[n,y],s1],InductionVariableWolframInstitute`TuringMachine`InductiveProofs`Private`n,Axioms
∀
y
ones[zero,y]y,
∀
{m,y}
ones[succ[m],y]seq[ones[m,y],s1],BaseGoalones[succ[n],y]seq[ones[n,y],s1],StepGoalones[succ[n],y]seq[ones[n,y],s1],IHones[succ[n],y]seq[ones[n,y],s1],BaseProofProofObject
Logic: EquationalLogic
Steps: 3
Theorem: ones[succ[n],y]seq[ones[n,y],s1]
,StepProofProofObject
Logic: EquationalLogic
Steps: 3
Theorem: ones[succ[n],y]seq[ones[n,y],s1]

Both cases were proved:
In[2]:=
proof["Valid"]
Out[2]=
True
Scope  
(1)

SeeAlso
mergedProofFor
 
▪
cachedProofFor
 
▪
proofGraph
 
▪
inductionProofGraph
RelatedGuides
▪
Turing Machine
""

© 2026 Wolfram. All rights reserved.

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