inductive-recursive type

**natural deduction** metalanguage, practical foundations

**type theory** (dependent, intensional, observational type theory, homotopy type theory)

**computational trinitarianism** =

**propositions as types** +**programs as proofs** +**relation type theory/category theory**

In type theory, *induction-recursion* is a principle for mutually defining types of the form

$A \colon Type\,,\;\;\; and \;\;\; B \colon A \to Type
\,,$

where $A$ is defined as an inductive type and $B$ is defined by recursion on $A$. Crucially, the definition of $A$ may use $B$. Without this last requirement, we could first define $A$ and then separately $B$.

(from ForsSetz)

The universe a la Tarski is an example of an inductive-recursive definition, where a set $U$ is defined inductively together with a recursive function $T: U \to Set$. The constructors for $U$ may depend negatively on $T$ applied to elements of $U$, as is the case if $U$, for example, is closed under dependent function spaces:

$\frac{a:U \;\;\;\;\;\;b : T(a) \to U}{\pi(a, b) : U}$

with $T(\pi(a, b)) = \prod_{x:T(a)} T(b(x))$.

Here, $T:U \to Set$ is defined recursively. Sometimes, however, one might not want to give $T(u)$ completely as soon as $u:U$ is introduced, but instead define $T$ inductively as well. This is the principle of induction-induction.

- Fredrik Nordvall Forsberg and Anton Setzer,
*A finite axiomatisation of inductive-inductive definitions*, (pdf)

Last revised on October 24, 2021 at 13:48:52. See the history of this page for a list of all contributions to it.