Mathematical logic and foundations Definition
Recursively enumerable language
Builds on Turing machineFormal language
Definition
Let be an alphabet and let be a formal language. Let be a Turing machine with input alphabet and an accepting halting state. The machine recognises if, for every , the run of on halts in the accepting state exactly when . On inputs the machine may halt in another state or run forever. The language is recursively enumerable, or Turing-recognizable, if some Turing machine recognises it. The language is co-recognizable if its complement is recursively enumerable.
Remarks
Equivalently, is recursively enumerable when it is empty or there is a machine that prints exactly the members of , in some order and possibly with repetitions. Example: the halting language is recursively enumerable. A universal machine simulates on and accepts if the simulation halts, so it accepts exactly the members of . Non-example: the complement of is not recursively enumerable. If it were, would be decidable by the characterisation of decidable languages, which contradicts the undecidability of the halting problem. Every decidable language is recursively enumerable. Under a computable bijection between and , these languages correspond to the computably enumerable sets.
Reading path
To understand this page from the ground up, read these 28 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
- Recursively enumerable language definition
Where this leads
1 page builds on this one.
Further reading
About this page
| Tag | XYZEVGCBXN |
|---|---|
| URI | m2://XYZEVGCBXN |
| Kind | definition |
| Writing | W0 stub |
| MSC | 03D25, 68Q45, 68Q04 |
| Defines | Recursively enumerable language |
| Uses | Turing machine, Formal 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.