Abstract
We develop semantics and syntax for bicategorical type theory. Bicategorical type theory features contexts, types, terms, and directed reductions between terms. This type theory is naturally interpreted in a class of structured bicategories. We start by developing the semantics, in the form of comprehension bicategories. Examples of comprehension bicategories are plentiful; we study both specific examples as well as classes of examples constructed from other data. From the notion of comprehension bicategory, we extract the syntax of bicategorical type theory, that is, judgment forms and structural inference rules. We prove soundness of the rules by giving an interpretation in any comprehension bicategory. The semantic aspects of our work are fully checked in the Coq proof assistant, based on the UniMath library.
Original language | English |
---|---|
Pages (from-to) | 868-912 |
Number of pages | 45 |
Journal | Mathematical Structures in Computer Science |
Volume | 33 |
Issue number | 10 |
DOIs | |
Publication status | Published - 2023 |
Keywords
- comprehension bicategory
- computer-checked proof
- dependent types
- Directed type theory