Affiliation:
1. Eötvös Loránd University, Hungary
2. University of Nottingham, UK
Abstract
Quotient inductive-inductive types (QIITs) generalise inductive types in two ways: a QIIT can have more than one sort and the later sorts can be indexed over the previous ones. In addition, equality constructors are also allowed. We work in a setting with uniqueness of identity proofs, hence we use the term QIIT instead of higher inductive-inductive type. An example of a QIIT is the well-typed (intrinsic) syntax of type theory quotiented by conversion. In this paper first we specify finitary QIITs using a domain-specific type theory which we call the theory of signatures. The syntax of the theory of signatures is given by a QIIT as well. Then, using this syntax we show that all specified QIITs exist and they have a dependent elimination principle. We also show that algebras of a signature form a category with families (CwF) and use the internal language of this CwF to show that dependent elimination is equivalent to initiality.
Publisher
Association for Computing Machinery (ACM)
Subject
Safety, Risk, Reliability and Quality,Software
Reference30 articles.
1. Containers: Constructing strictly positive types
2. Benedikt Ahrens and Peter LeFanu Lumsdaine. 2017. Displayed Categories. arXiv: arXiv:1705.04296 Benedikt Ahrens and Peter LeFanu Lumsdaine. 2017. Displayed Categories. arXiv: arXiv:1705.04296
3. Quotient Inductive-Inductive Types
4. Type theory in type theory using quotient inductive types
5. A relationally parametric model of dependent type theory
Cited by
27 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Internal Parametricity, without an Interval;Proceedings of the ACM on Programming Languages;2024-01-05
2. Quotient Haskell: Lightweight Quotient Types for All;Proceedings of the ACM on Programming Languages;2024-01-05
3. Decalf: A Directed, Effectful Cost-Aware Logical Framework;Proceedings of the ACM on Programming Languages;2024-01-05
4. Generic bidirectional typing for dependent type theories;Lecture Notes in Computer Science;2024
5. Type-theoretic approaches to ordinals;Theoretical Computer Science;2023-05