Mathematical logic and foundations Theorem
Decidable iff recognizable and co-recognizable
Statement
Let be an alphabet and let be a language. Then is decidable if and only if both and its complement are recursively enumerable.
Remarks
If a machine decides , it recognises ; swapping its accepting and rejecting states gives a machine that decides, and so recognises, the complement. Conversely, let recognise and recognise its complement. On input , run and alternately, one step at a time. Exactly one of them accepts after finitely many steps, so the combined machine always halts, and it accepts when is the one that accepts. The halting language shows that both halves of the condition are needed: is recursively enumerable, but is not decidable, so its complement is not recursively enumerable. The same statement for subsets of says that a set is computable exactly when it and its complement are computably enumerable.
Going deeper
For a student
The theorem is the standard tool to show that a language is not recursively enumerable. Since the halting problem is recognizable but undecidable, the theorem shows that its complement is not recognizable. In the arithmetical hierarchy, it says that the sets in both and are exactly the computable sets.
Reading path
To understand this page from the ground up, read these 30 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Element definition
- Function concept
- Monoid concept
- Proposition concept
- Set concept
- Set definition
- Turing machine definition
- Implication definition
- Predicate definition
- Ordered pair definition
- Existential quantifier definition
- Universal quantifier definition
- Cartesian product definition
- Subset definition
- Uniqueness quantifier definition
- Binary relation definition
- Function definition
- Codomain definition
- Injective function definition
- Free monoid definition
- Surjective function definition
- Bijective function definition
- Equinumerous sets definition
- Finite set definition
- Alphabet definition
- String definition
- Formal language definition
- Decidable language definition
- Recursively enumerable language definition
- Decidable iff recognizable and co-recognizable statement
Further reading
About this page
| Tag | EZ6Z9V91C2 |
|---|---|
| URI | m2://EZ6Z9V91C2 |
| Kind | statement, theorem |
| Writing | W0 stub |
| MSC | 03D25, 68Q04 |
| Status | This copy of the site has no build data. Run m2 status EZ6Z9V91C2. |
| About | Decidable language, Recursively enumerable language |
| Uses | Decidable language, Recursively enumerable language |
| Changed | 3 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.