AFTD Auto-Formalizing Theoretical Domains

self_halting_compl_not_re

theoremverified

The complement of the diagonal halting problem is not recursively enumerable.

Statement

theorem self_halting_compl_not_re : ¬REPred (fun c : Nat.Partrec.Code => ¬(Nat.Partrec.Code.eval c (Encodable.encode c)).Dom)
Verified
06 Sep 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3

Lean source view module on GitHub

/-- The complement of the diagonal halting problem is not recursively enumerable. -/
theorem self_halting_compl_not_re : ¬REPred (fun c : Nat.Partrec.Code => ¬(Nat.Partrec.Code.eval c (Encodable.encode c)).Dom) := not_re_compl_of_re_and_not_computable self_halting_problem_re self_halting_problem_undecidable
Discuss this resultChallenge it