Documentation

Complexitylib.Models.TuringMachine.UTM.Machine

The universal Turing machine #

utmTM — a single, fixed six-work-tape machine. On input pair α x it simulates the single-work-tape machine (decodeDesc α).toTM on input x:

Its specification is the interpreter TMDesc.toTM (UTM/Interp.lean); the simulation and time-bound theorems are assembled in UTM/Sim.lean from the phase Hoare triples.

The universal Turing machine: initialization, then the simulate-one-step / test-halt loop, then output extraction.

Equations
Instances For