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

  • TuringMachine

Tech Notes

  • Exploring One-Sided Turing Machines

Symbols

  • MultiwayNonHaltedStatesLeft
  • MultiwayTuringMachineFunction
  • MultiwayTuringMachineRules
  • NonTerminatingTuringMachineQ
  • OneSidedTuringMachineFind
  • OneSidedTuringMachineFunction
  • OneSidedTuringMachinePlot
  • TuringMachineOutput
  • TuringMachineOutputWithStepsFloat
  • TuringMachineOutputWithSteps
  • TuringMachineOutputWithStepsWidthsFloat
  • TuringMachineOutputWithStepsWidths
  • TuringMachineRuleCases
  • TuringMachineRuleCount
  • TuringMachineSteps
  • TuringMachineStepsWidths
  • TuringMachineWidths

Overviews

  • TuringMachine
WolframInstitute`TuringMachine`
NonTerminatingTuringMachineQ
​
NonTerminatingTuringMachineQ
[rules,input,n]
gives
True
if the machine defined by the integer rules enters a cycle within n steps (assuming 2 states, 2 symbols).
​
​
NonTerminatingTuringMachineQ
[rules,s,k,input,n]
specifies the number of states s and symbols k.
​
​
NonTerminatingTuringMachineQ
[{number,s,k},input,n]
checks a specific deterministic rule.
​
Details and Options
▪
Returns
True
only when a repeated configuration (a cycle) is detected within the step bound; a machine that simply has not halted yet within n steps is not reported as non-terminating.
▪
The deterministic form takes a single
{number,s,k}
rule, while the list form treats the rule numbers as a multiway machine.
Examples  
(0)
SeeAlso
MultiwayTuringMachineFunction
 
▪
MultiwayNonHaltedStatesLeft
 
▪
OneSidedTuringMachineFunction
RelatedGuides
▪
TuringMachine
The multiway machine built from rules 12 and 13 does not cycle on input 2 within 20 steps: Check a specific deterministic rule instead:
In[1]:=
NonTerminatingTuringMachineQ
[{12,13},2,20]
Out[1]=
False
In[2]:=
NonTerminatingTuringMachineQ
[{2,2,2},1,20]
Out[2]=
False
""

© 2026 Wolfram. All rights reserved.

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