A Lean 4 formalization of Unlimited Register Machines (URMs), a model of computation equivalent to Turing machines and partial recursive functions.
This standalone project formalizes URMs for eventual contribution to CSLib.
- N.J. Cutland, Computability: An Introduction to Recursive Function Theory (1980)
- J.C. Shepherdson & H.E. Sturgis, Computability of Recursive Functions (1963)
Urm/Basic.lean- Core definitions: instructions, programs, state, configurationUrm/Execution.lean- Step semantics, halting, divergence, evaluationUrm/Computable.lean- URMComputable definition, basic function theorems
lake build- CSLib
- Mathlib