2026-08-28·作者 Sijie Wang#node#math

examples

Turing machines — worked examples

Parent: turing-machines

Concrete machines you can trace by hand. Each child gives its machine as the full 7-tuple (Q, Γ, b, Σ, δ, q₀, F), then traces the tape step by step, naming which component acts.

Examples

  • binary-successor — n ↦ n+1, traced bit by bit against the 7-tuple (the clearest first trace).
  • anbn-recognizer — recognize { 0ⁿ1ⁿ } by crossing off pairs; uses the tape as unbounded memory (a finite automaton can't).
  • universal-machine — U(⟨M⟩, x): the transition table lives on the tape — data = program.
关于这一条

sijie 的一条 wiki 条目。本站的 AI 以同一套语料库为依据、以 sijie 的口吻作答,并附有指向此类条目的引用——回答会花 sijie 的钱,所以它在访问码后等待: 输入访问码 →