Reference. Implementing a modal dependent type theory
Cite
Cited by (8)
Normalization for multimodal type theory gratzer-2026-normalization
Controlling unfolding in type theory gratzer-2025-controlling
UNDER LOCK AND KEY: A PROOF SYSTEM FOR A MULTIMODAL LOGIC kavvos-2023-under
mitten: A Flexible Multimodal Proof Assistant stassen-2023-mitten
A Cubical Language for Bishop Sets sterling-2022-a
Logical Relations as Types: Proof-Relevant Parametricity for Program Modules sterling_harper_2021
The theory of program modules is of interest to language designers not only for its practical importance to programming, but also because it lies at the nexus of three fundamental concerns in language design: the phase distinction, computational effects, and type abstraction. We contribute a fresh “synthetic” take on program modules that treats modules as the fundamental constructs, in which the usual suspects of prior module calculi (kinds, constructors, dynamic programs) are rendered as derived notions in terms of a modal type-theoretic account of the phase distinction. We simplify the account of type abstraction (embodied in the generativity of module functors) through a lax modality that encapsulates computational effects, placing projectibility of module expressions on a type-theoretic basis.
Our main result is a (significant) proof-relevant and phase-sensitive generalization of the Reynolds abstraction theorem for a calculus of program modules, based on a new kind of logical relation called a parametricity structure. Parametricity structures generalize the proof-irrelevant relations of classical parametricity to proof-relevant families, where there may be non-trivial evidence witnessing the relatedness of two programs—simplifying the metatheory of strong sums over the collection of types, for although there can be no “relation classifying relations,” one easily accommodates a “family classifying small families.”
Using the insight that logical relations/parametricity is itself a form of phase distinction between the syntactic and the semantic, we contribute a new synthetic approach to phase separated parametricity based on the slogan logical relations as types, by iterating our modal account of the phase distinction. We axiomatize a dependent type theory of parametricity structures using two pairs of complementary modalities (syntactic, semantic) and (static, dynamic), substantiated using the topos theoretic Artin gluing construction. Then, to construct a simulation between two implementations of an abstract type, one simply programs a third implementation whose type component carries the representation invariant.
Multimodal Dependent Type Theory gratzerNutyzBirkedal2021
First Steps in Synthetic Tait Computability: The Objective Metatheory of Cubical Type Theory sterling_2021
Cites 58 works (4 here)
With notes (4)
Brouwer’s fixed-point theorem in real-cohesive homotopy type theory shulman-2017-brouwer
Applicative programming with effects mcbride-2008-applicative
A judgmental reconstruction of modal logic pfenning-2001-a
External (54)
- A Type Theory for Defining Logics and Proofs (2019)
- Computational Semantics of Cartesian Cubical Type Theory (2019)
- Cartesian Cubical Type Theory (2019)
- On Models of Higher-Order Separation Logic (2018)
- Fitch-Style Modal Lambda Calculi (2018)
- Modal Dependent Type Theory and Dependent Right Adjoints (2018)
- A Generalized Modality for Recursion (2018)
- Internal Universes in Models of Homotopy Type Theory (2018)
- The Clocks They Are Adjunctions: Denotational Semantics for Clocked Type Theory (2018)
- A Coq formalization of normalization by evaluation for Martin-Löf type theory (2018)
- Canonicity and normalization for Dependent Type Theory (2018)
- Normalization by evaluation for sized dependent types (2017)
- The clocks are ticking: No more delays! (2017)
- Dual-Context Calculi for Modal Logic (2017)
- The Essence of Higher-Order Concurrent Separation Logic (2017)
- A Fibrational Framework for Substructural and Modal Logics (2017)
- Guarded Cubical Type Theory: Path Equality for Guarded Recursion (2016)
- Guarded Dependent Type Theory with Coinductive Types (2016)
- The Coq Proof Assistant Reference Manual (2016)
- A Model of Guarded Recursion With Clock Synchronisation (2015)
- A Contextual Logical Framework (2015)
- Programming and Reasoning with Guarded Recursion for Coinductive Types (2015)
- Quantum Gauge Field Theory in Cohesive Homotopy Type Theory (2014)
- Differential cohomology in a cohesive infinity-topos (2013)
- Normalization by Evaluation: Dependent Types and Impredicativity (2013)
- First Steps in Synthetic Guarded Domain Theory: Step-Indexing in the Topos of Trees (2011)
- Multi-level Contextual Type Theory (2011)
- Towards Haskell in the cloud (2011)
- Treatise on Intuitionistic Type Theory (2011)
- Extensional normalization in the logical framework with proof irrelevant equality (2009)
- A Modular Type-Checking Algorithm for Type Theory with Singleton Types and Proof Irrelevance (2009)
- Modal Types for Mobile Code (2008)
- Contextual modal type theory (2008)
- Normalization by Evaluation for Martin-Löf Type Theory with One Universe (2007)
- Mechanizing metatheory in a logical framework (2007)
- Towards a practical programming language based on dependent type theory (2007)
- A Symmetric Modal Lambda Calculus for Distributed Computing (2004)
- Semantic analysis of normalisation by evaluation for typed lambda calculus (2002)
- A modal analysis of staged computation (2001)
- Local type inference (2000)
- A core calculus of dependency (1999)
- Categorical intuitions underlying semantic normalisation proofs (1998)
- An algorithm for type-checking dependent types (1996)
- On the meanings of the logical constants and the justifications of the logical laws (1996)
- A Computational Interpretation of Modal Proofs (1996)
- Categorical reconstruction of a reduction free normalization proof (1995)
- Coming to terms with modal logic: on the interpretation of modalities in typed lambda-calculus (1994)
- Categories of Space and of Quantity (1992)
- An inverse of the evaluation functional for typed lambda -calculus (1991)
- Algebraically complete categories (1991)
- A non-type-theoretic semantics for type-theoretic language (1987)
- Structural Frameworks with Higher-level Rules: Philosophical Investigations on the Foundations of Formal Reasoning (1987)
- An Intuitionistic Theory of Types: Predicative Part (1975)
- Natural Deduction. A Proof-Theoretical Study (1967)