Lax251941.AcceptanceUndecidable
The acceptance problem is undecidable
concepts/Lax251941/AcceptanceUndecidable.lean · lax-251941
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
Theorem
No machine decides the acceptance problem (Sipser, Theorem 4.11). The proof is the diagonalisation argument: a decider for would give a machine that, on the description of a machine , runs on and answers the opposite; running on its own description is then a contradiction.
Lean source view on GitHub
| 1 | import Lax251941.Acceptance |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: The acceptance problem is undecidable |
| 6 | type: theorem |
| 7 | --- |
| 8 | No machine decides the acceptance problem (Sipser, Theorem 4.11). The |
| 9 | proof is the diagonalisation argument: a decider for would give a |
| 10 | machine that, on the description of a machine , runs |
| 11 | on and answers the opposite; running |
| 12 | on its own description is then a contradiction. |
| 13 | |
| 14 | # Formalization notes |
| 15 | |
| 16 | The statement is `¬ TuringDecidable ATM` for the machines and the language of |
| 17 | `Acceptance`. It is equivalent to the membership predicate of `ATM` not being |
| 18 | mathlib's `ComputablePred`, decidability of a language and computability of its |
| 19 | membership predicate being the same thing for these machines. |
| 20 | -/ |
| 21 | |
| 22 | namespace Lax251941.AcceptanceUndecidable |
| 23 | |
| 24 | open Lax251941.Acceptance |
| 25 | |
| 26 | /-- Sipser's Theorem 4.11: the acceptance problem is undecidable. -/ |
| 27 | axiom not_turingDecidable_ATM : ¬ TuringDecidable ATM |
| 28 | |
| 29 | end Lax251941.AcceptanceUndecidable |
| 30 |
Formalization notes
The statement is for the machines and the language of . It is equivalent to the membership predicate of not being mathlib's , decidability of a language and computability of its membership predicate being the same thing for these machines.
Community review
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above; your ORCID profile must share a public name.
0 comments