Mathematical logic and foundations Definition
Inductive type
Definition
Work in a dependent type theory with function types and a universe of types. An inductive type is declared by a finite list of constructors . Each constructor has a type of the form . The declaration must satisfy strict positivity. This means that each argument type either does not mention , or has the form where no mentions . The declaration adds the following rules.
- Formation: is a type.
- Introduction: each is a term of its declared type.
- Elimination: for every type family over , a function is given by one case for each constructor. In the case of , the value at may use the values of at the arguments of type .
- Computation: reduces to the case of applied to and to those values of .
Remarks
Example: the natural numbers are the inductive type with constructors and . Strict positivity holds, since the only argument of is itself. Rule 3 is the induction principle: to give one gives and, for each , computed from and .
Non-example: a type with one constructor is rejected. The argument type mentions to the left of an arrow, so strict positivity fails. Accepting would allow the term of the untyped lambda calculus to be encoded, which gives a term of type with no normal form. A similar type with a constructor , where is the empty type, would give a closed term of , that is, a proof of falsity.
Other standard examples are lists, with and , and binary trees. Inductive families, such as vectors of a given length, allow the constructors to target different instances of a type family.
Reading path
To understand this page from the ground up, read these 25 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Element definition
- Intuitionistic logic concept
- Lambda calculus concept
- Mathematical induction concept
- Proposition concept
- Set concept
- Set definition
- Conjunction definition
- Disjunction definition
- Implication definition
- Negation definition
- Biconditional definition
- Truth table concept
- Modus ponens concept
- Mathematical proof concept
- Propositional logic concept
- Tautology definition
- Logical equivalence definition
- Double negation law statement
- Proof by contradiction concept
- Russell's paradox statement
- Type theory concept
- Curry–Howard correspondence concept
- Dependent type concept
- Inductive type definition
Further reading
About this page
| Tag | DKRTRRG3V4 |
|---|---|
| URI | m2://DKRTRRG3V4 |
| Kind | definition |
| Writing | W0 stub |
| MSC | 03B38, 68N15 |
| Defines | Inductive type |
| Uses | Type theory, Dependent type, Mathematical induction |
| 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.
What links here
No page links to this page yet.