Formal language
Definition
Let be an alphabet and let be the set of strings over . A formal language over is a subset .
Remarks
Example: is a language over , since each member is a finite string over . Non-example: a set that contains the infinite sequence is not a language over , since that sequence is not in . The empty language and the language are different: the first has no strings, the second has one. Languages are combined by the set operations and by concatenation . Since is countably infinite, there are uncountably many languages over but only countably many Turing machines, so most languages are not recursively enumerable.
Reading path
To understand this page from the ground up, read these 24 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Element definition
- Monoid concept
- Proposition concept
- Set 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
Where this leads
7 pages build on this one.
Further reading
About this page
| Tag | 5VRS8PJEFT |
|---|---|
| URI | m2://5VRS8PJEFT |
| Kind | definition |
| Writing | W0 stub |
| MSC | 68Q45, 03D05 |
| Defines | Formal language |
| Uses | String, Subset |
| Changed | 3 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- 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.