Idea

In type theory, an inductive-inductive type is a way of constructing a multi-sorted uniform tree structure that is well-founded, where later sorts may be indexed on prior sorts, and all constructors may refer to all other types and constructors.

Like inductive types, these can be encoded using Tarski universe. We model inductive types as the least fixed points of strictly positive endofunctors. This approach relies on a universe of codes (often denoted ) describing the grammar of these functors, an interpretation function mapping codes to functors, and a fixed point constructor.

Syntax

Note: For simplicity we only give the definition of 2-sorted IITs. We define the type of codes , inductively, where, crucially codes for do not depend on . 1 A minimal presentation equivalent to W-types with polynomial adjustment includes:

TODO: Write the definition for forsberg2013-inductive-inductive-thesis sect 3.2.3.

A code is finitary when is finite in all instances, otherwise it is infinitiary.

Interpretation

TODO

Semantics

TODO

See also

References

forsberg2013-inductive-inductive-thesis dybjer1999-inductive-recursive kaposi2019-finitary-induction-induction altenkirch2011-inductive-inductive-semantics sestini2023-inductive-inductive-thesis forsberg2010-inductive-inductive-definition

Footnotes

  1. See forsberg2013-inductive-inductive-thesis forsberg2010-inductive-inductive-definition.