Internal normalized witnesses for total computability #
Total computability has no normal-form premise. This module applies the existing single-machine normalization theorem and exposes its native realizing machine, rather than a second numerical computability predicate. Composition and Rice's self-reference compiler use the resulting clean final configuration. This module is a proof dependency of the public computability facade.
theorem Turing.MultiTapeTM.Internal.TotalComputability.normalizedMachine {α : Type u_1} {β : Type u_2} {f : α → β} {encIn : α ↪ List Bool} {encOut : β ↪ List Bool} (h : IsComputable f encIn encOut) :
∃ (t : α → ℕ) (s : α → ℕ) (k : ℕ) (State : Type) (_ : Finite State) (tm : MultiTapeTM k Bool State),
∀ (a : α), tm.ComputesTidilyInTimeAndSpace (encIn a) (encOut (f a)) (t a) (s a)
A total realizing machine can be normalized without changing its encoded function. The arbitrary time and workspace functions remain independent.