Konferenzartikel: A Syntax for Mutual Inductive Families

[DBLP:conf/fscd/KaposiR20]Ambrus Kaposi, Jakob von Raumer, A Syntax for Mutual Inductive Families, Zena M. Ariola (Ed.), 5th International Conference on Formal Structures for Computation and Deduction, FSCD 2020, June 29-July 6, 2020, Paris, France (Virtual Conference), pp. 23:1--23:21, Schloss Dagstuhl - Leibniz-Zentrum f{\"U}r Informatik, 2020.


Inductive families of types are a feature of most languages based on dependent types. They are usually described either by syntactic schemes or by encodings of strictly positive functors such as combinator languages or containers. The former approaches are informal and give only external signatures, the latter approaches suffer from encoding overheads and do not directly represent mutual types. In this paper we propose a direct method for describing signatures for mutual inductive families using a domain-specific type theory. A signature is a context (roughly speaking, a list of types) in this small type theory. Algebras, displayed algebras and sections are defined by models of this type theory: the standard model, the logical predicate and a logical relation interpretation, respectively. We reduce the existence of initial algebras for these signatures to the existence of the syntax of our domain-specific type theory. As this theory is very simple, its normal syntax can be encoded using indexed W-types. To the best of our knowledge, this is the first formalisation of the folklore fact that mutual inductive types can be reduced to indexed W-types. The contents of this paper were formalised in the proof assistant Agda.




Institutsinterne Autoren

Wissenschaftliche Mitarbeiter
Dr. Jakob von Raumer