Multimodal Dependent Type Theory
Authors:
Open Access
- 8 July 2020
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 492-506
Abstract
We introduce MTT, a dependent type theory which supports multiple modalities. MTT is parametrized by a mode theory which specifies a collection of modes, modalities, and transformations between them. We show that different choices of mode theory allow us to use the same type theory to compute and reason in many modal situations, including guarded recursion, axiomatic cohesion, and parametric quantification. We reproduce examples from prior work in guarded recursion and axiomatic cohesion --- demonstrating that MTT constitutes a simple and usable syntax whose instantiations intuitively correspond to previous handcrafted modal type theories. In some cases, instantiating MTT to a particular situation unearths a previously unknown type theory that improves upon prior systems. Finally, we investigate the metatheory of MTT. We prove the consistency of MTT and establish canonicity through an extension of recent type-theoretic gluing techniques. These results hold irrespective of the choice of mode theory, and thus apply to a wide variety of modal situations.Keywords
All Related Versions
Funding Information
- Villum Fonden (25804,12386)
This publication has 33 references indexed in Scilit:
- First steps in synthetic guarded domain theory: step-indexing in the topos of treesLogical Methods in Computer Science, 2012
- On Irrelevance and Algorithmic Equality in Predicative Type TheoryLogical Methods in Computer Science, 2012
- Contextual modal type theoryACM Transactions on Computational Logic, 2008
- Polarised subtyping for sized typesMathematical Structures in Computer Science, 2008
- Applicative programming with effectsJournal of Functional Programming, 2008
- A modal analysis of staged computationJournal of the ACM, 2001
- A judgmental reconstruction of modal logicMathematical Structures in Computer Science, 2001
- Developing Theories of Types and Computability via RealizabilityElectronic Notes in Theoretical Computer Science, 2000
- An Intuitionistic Theory of Types: Predicative Part1975
- Intensional interpretations of functionals of finite type IThe Journal of Symbolic Logic, 1967