Semantics for two-dimensional type theory

Conference Paper (2022)
Author(s)

B.P. Ahrens (TU Delft - Programming Languages, University of Birmingham)

P.R. North (University of Pennsylvania)

Niels van der Weide (Radboud Universiteit Nijmegen)

Research Group
Programming Languages
Copyright
© 2022 B.P. Ahrens, Paige Randall North, Niels van der Weide
DOI related publication
https://doi.org/10.1145/3531130.3533334
More Info
expand_more
Publication Year
2022
Language
English
Copyright
© 2022 B.P. Ahrens, Paige Randall North, Niels van der Weide
Research Group
Programming Languages
ISBN (print)
978-1-4503-9351-5
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

We propose a general notion of model for two-dimensional type theory, in the form of comprehension bicategories. Examples of comprehension bicategories are plentiful; they include interpretations of directed type theory previously studied in the literature. From comprehension bicategories, we extract a core syntax, that is, judgment forms and structural inference rules, for a two-dimensional type theory. 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. This work is the first step towards a theory of syntax and semantics for higher-dimensional directed type theory.