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

Guides

  • Turing Machine

Tech Notes

  • Exploring One-Sided Turing Machines

Symbols

  • cachedProofFor
  • CompressToRunLength
  • DecodeTuringMachineRules
  • FindInductiveProof
  • inductionProofGraph
  • IslandsPanel
  • mergedProofFor
  • MultiwayBothPanel
  • multiwayCloudOverlap
  • multiwayDistance
  • MultiwayEquationalGraph
  • MultiwayGeodesicGraph
  • MultiwayInductiveProofPanel
  • MultiwayNonHaltedStatesLeft
  • MultiwayRuleGraph
  • multiwaySubProofCones
  • multiwaySystemFor
  • MultiwayTokenEventGraph
  • MultiwayTuringMachineFunction
  • MultiwayTuringMachinePlot
  • MultiwayTuringMachineRules
  • NonTerminatingTuringMachineQ
  • OneSidedTuringMachineEvolution
  • OneSidedTuringMachineFind
  • OneSidedTuringMachineFunction
  • OneSidedTuringMachineFunctionPlot
  • OneSidedTuringMachinePlot
  • OneSidedTuringMachineRuntimePlot
  • proofGraph
  • RenderAxiomGrid
  • RenderConfiguration
  • RenderEquation
  • RenderUniversalGoal
  • RuleSpacePanel
  • RunMachine
  • SettingsPanel
  • ShowTapeConfiguration
  • StatementPanel
  • TokenEventPanel
  • TuringMachineOutput
  • TuringMachineOutputWithStepsFloat
  • TuringMachineOutputWithSteps
  • TuringMachineOutputWithStepsWidthsFloat
  • TuringMachineOutputWithStepsWidths
  • TuringMachineRuleCases
  • TuringMachineRuleCount
  • TuringMachineSteps
  • TuringMachineStepsWidths
  • TuringMachineWidths
  • TuringMachineWorstCasePlot
  • $InductiveProofColors
  • $PvsNPStyles

Overviews

  • TuringMachine
WolframInstitute`TuringMachine`InductiveProofs`
CompressToRunLength
​
CompressToRunLength
[expr]
compresses a left-nested tape configuration expr by collapsing each maximal run of
s0
or
s1
cells into a
zeros[*n*]
or
ones[*n*]
term.
​
Details and Options
▪
expr is a
seq[...]
configuration, such as one of the steps returned by
RunMachine
.
▪
Run-length terms
ones[*n*]
and
zeros[*n*]
are the compact form the inductive proofs and multiway renderers reason over.
▪
A single cell is left uncompressed; only runs of length two or more become run-length terms.
​
Examples  
(1)
Basic Examples  
(1)
Collapse the two adjacent
s1
cells into a single
ones[2]
run:
In[1]:=
CompressToRunLength
[seq[seq[seq[end,s1],s1],s0]]
Out[1]=
seq[seq[end,ones[2]],s0]
SeeAlso
RunMachine
 
▪
RenderConfiguration
 
▪
ShowTapeConfiguration
RelatedGuides
▪
TuringMachine
""

© 2026 Wolfram. All rights reserved.

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