Year: 2020
Type: conference-paper
Abstract: 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.
Authors: Kaposi, Ambrus, von Raumer, Jakob
Institutions: Eötvös Loránd University, University of Nottingham
Language: English
Subfield: Software
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
Awards: G1818906674, G1875477190
OpenAlex ID: W3038043286
