Unifying cubical and multimodal type theory
Open Access
- 12 December 2024
- journal article
- research article
- Published by Centre pour la Communication Scientifique Directe (CCSD) in Logical Methods in Computer Science
- Vol. ume 20, Is (4)
Abstract
In this paper we combine the principled approach to modalities from multimodal type theory (MTT) with the computationally well-behaved realization of identity types from cubical type theory (CTT). The result -- cubical modal type theory (Cubical MTT) -- has the desirable features of both systems. In fact, the whole is more than the sum of its parts: Cubical MTT validates desirable extensionality principles for modalities that MTT only supported through ad hoc means. We investigate the semantics of Cubical MTT and provide an axiomatic approach to producing models of Cubical MTT based on the internal language of topoi and use it to construct presheaf models. Finally, we demonstrate the practicality and utility of this axiomatic approach to models by constructing a model of (cubical) guarded recursion in a cubical version of the topos of trees. We then use this model to justify an axiomatization of L\"ob induction and thereby use Cubical MTT to smoothly reason about guarded recursion.Keywords
All Related Versions
This publication has 18 references indexed in Scilit:
- Constructive sheaf models of type theoryMathematical Structures in Computer Science, 2021
- Syntax and models of Cartesian cubical type theoryMathematical Structures in Computer Science, 2021
- Multimodal Dependent Type Theory2020
- Modal dependent type theory and dependent right adjointsMathematical Structures in Computer Science, 2019
- Degrees of Relatedness2018
- Brouwer's fixed-point theorem in real-cohesive homotopy type theoryMathematical Structures in Computer Science, 2017
- Natural models of homotopy type theoryMathematical Structures in Computer Science, 2016
- Adjoint Logic with a 2-Category of Modes2015
- First steps in synthetic guarded domain theory: step-indexing in the topos of treesLogical Methods in Computer Science, 2012
- Applicative programming with effectsJournal of Functional Programming, 2008