Set_of_Codes_for_URM_Programs_is_Primitive_Recursive
Provedcomputabilityprimitive-recursive-functionsproofwikiurm-programs
Let be the set of all code numbers of URM programs. Then is a primitive recursive set.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem Set_of_Codes_for_URM_Programs_is_Primitive_Recursive : ∃ (S : Set ℕ), ∃ (f : ℕ → Bool), (∀ n, f n = true ↔ n ∈ S) := by sorry
Source