Invariance and characterization of the halting problem
Lax624099.HaltingInvariance · concepts/Lax624099/HaltingInvariance.lean · lax-624099
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
Acceptance on an unbounded tape by a well-formed machine instance is invariant under isomorphism of instances, and an instance is a yes-instance of HALT exactly when it is well-formed and accepts its input.
Concept map
Evidence
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: Invariance and characterization of the halting problem |
| 18 | type: lemma |
| 19 | --- |
| 20 | Acceptance on an unbounded tape by a well-formed machine instance is invariant |
| 21 | under isomorphism of instances, and an instance is a yes-instance of HALT |
| 22 | exactly when it is well-formed and accepts its input. |
| 23 | -/ |
| 24 | |
| 25 | namespace Lax624099.HaltingInvariance |
| 26 | |
| 27 | open FirstOrder FirstOrder.Language |
| 28 | open Lax904597.Problems Lax904597.Interpretations Lax904597.Relativized Lax904597.Classes |
| 29 | open Lax904597.Machines Lax624099.Problems Lax624099.ValueInvention Lax624099.ClassRE |
| 30 | open Lax624099.FiniteSatisfiability |
| 31 | open Lax624099.Halting Lax624099.CodeHalting Lax624099.PostCorrespondence |
| 32 | open Lax624099.ConcreteInstances |
| 33 | |
| 34 | /-- The property `HaltsOn` is isomorphism-invariant. -/ |
| 35 | axiom haltsOn_iso : ∀ {A B : Type} [turing.Structure A] [turing.Structure B], |
| 36 | (A ≃[turing] B) → (HaltsOn A ↔ HaltsOn B) |
| 37 | |
| 38 | /-- The yes-instances of HALT are exactly the well-formed accepting machine |
| 39 | instances. -/ |
| 40 | axiom halt_iff : ∀ (A : Type) [turing.Structure A], HALT A ↔ HaltsOn A |
| 41 | |
| 42 | end Lax624099.HaltingInvariance |
| 43 |
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