Code halting is RE-complete
Lax624099.CodehaltREComplete · concepts/Lax624099/CodehaltREComplete.lean · lax-624099
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
CODEHALT is RE-complete: a drawn code halting on zero is recognized by guessing its computation in existential second-order logic with value invention, and every problem of RE reduces to CODEHALT by an ordered first-order reduction that draws the instance as the program running a semi-decision procedure for the problem on it.
Concept map
Evidence
Each proof establishes this claim relative to its assumptions.
Lean source view on GitHub
| 1 | import Lax904597.Problems |
| 2 | import Lax904597.Interpretations |
| 3 | import Lax904597.Relativized |
| 4 | import Lax904597.Classes |
| 5 | import Lax624099.Problems |
| 6 | import Lax624099.ValueInvention |
| 7 | import Lax624099.ClassRE |
| 8 | import Lax624099.FiniteSatisfiability |
| 9 | import Lax624099.Halting |
| 10 | import Lax624099.CodeHalting |
| 11 | import Lax624099.PostCorrespondence |
| 12 | import Lax624099.ConcreteInstances |
| 13 | import Lax904597.Machines |
| 14 | |
| 15 | /-! |
| 16 | --- |
| 17 | title: Code halting is RE-complete |
| 18 | type: theorem |
| 19 | --- |
| 20 | CODEHALT is RE-complete: a drawn code halting on zero is recognized by |
| 21 | guessing its computation in existential second-order logic with value |
| 22 | invention, and every problem of RE reduces to CODEHALT by an ordered |
| 23 | first-order reduction that draws the instance as the program running a |
| 24 | semi-decision procedure for the problem on it. |
| 25 | -/ |
| 26 | |
| 27 | namespace Lax624099.CodehaltREComplete |
| 28 | |
| 29 | open FirstOrder FirstOrder.Language |
| 30 | open Lax904597.Problems Lax904597.Interpretations Lax904597.Relativized Lax904597.Classes |
| 31 | open Lax904597.Machines Lax624099.Problems Lax624099.ValueInvention Lax624099.ClassRE |
| 32 | open Lax624099.FiniteSatisfiability |
| 33 | open Lax624099.Halting Lax624099.CodeHalting Lax624099.PostCorrespondence |
| 34 | open Lax624099.ConcreteInstances |
| 35 | |
| 36 | /-- CODEHALT is RE-complete. -/ |
| 37 | axiom codehalt_RE_complete : RE.Complete CODEHALT |
| 38 | |
| 39 | end Lax624099.CodehaltREComplete |
| 40 |
Builds on
Used by
none
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments