Mathematical logic and foundations Definition
Type theory
Builds on Russell's paradoxSetFunction
Definition
A type theory is a formal system with these parts.
- A collection of types, built from base types by type constructors.
- A collection of terms, built from variables and constants by term constructors.
- Judgments, in particular the typing judgment , which says that in the context the term has type .
- Inference rules, which say which judgments can be derived from which, and a notion of computation or equality on terms.
Every well-formed term has a type, and a term can only be used where its type allows.
Remarks
Example: Church's simply typed lambda calculus is a type theory. Its types are built from base types by the arrow . Its rules include: if , then ; and if and , then . Non-example: the untyped lambda calculus is not a type theory, because its terms carry no types. In it, the self-application is a legal term, while in the simply typed calculus it has no type. In dependent type theories, types may depend on terms, as in the type of lists of length . Unlike a set, a term has its type as part of its form, and " has type " is a judgment, not a proposition that can be true or false. This is how type theory avoids Russell's paradox.
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
- Proposition concept
- Set concept
- Set definition
- Conjunction definition
- Disjunction definition
- Implication definition
- Negation definition
- Predicate definition
- Ordered pair definition
- Biconditional definition
- Truth table concept
- Modus ponens concept
- Existential quantifier definition
- Universal quantifier definition
- Cartesian product definition
- Propositional logic concept
- Subset definition
- Mathematical proof concept
- Uniqueness quantifier definition
- Binary relation definition
- Tautology definition
- Logical equivalence definition
- Function definition
- Double negation law statement
- Proof by contradiction concept
- Russell's paradox statement
- Type theory definition
Where this leads
2 pages build on this one.
Further reading
About this page
| Tag | 42A2M9S2C1 |
|---|---|
| URI | m2://42A2M9S2C1 |
| Kind | definition |
| Writing | W0 stub |
| MSC | 03B38, 03B16 |
| Defines | Type theory |
| Uses | Russell's paradox, Set, Function |
| Changed | 2 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.