Clone this wiki locally
by Carlos Tomé (🔵) and Nachiappan Valliappan (🟥)
Modal logic is an extension of propositional logic with one or more
◇,… sending a proposition
A to a new
◇ A,…. Similar to how the simply-typed λ-calculus
(STLC) corresponds to propositional logic via the Curry–Howard
, there are extensions of
STLC that correspond to various modal logics, known as modal type
theories. One such extension is Moggi's metalanguage [11, Table
which was mentioned in Carlos' talk on the
semantics of computations a few weeks ago.
Modal type theories have gained traction in the last few years mainly in two different formulations. On the one hand, we have Fitch-style [2, 3] modal calculi, which have been used for reactive functional programming  and programming coinductive types , among others. On the other hand, dual-context calculi  have found applications in staged computation , information flow control (IFC) , and region-based memory management , for instance.
In this session, we will present the basic parts of these two very different modal calculi highlighting their differences and commonalities. We won't assume familiarity with modal logic, and will begin the session by briefly introducing its possible worlds semantics. This may look familiar to those of you who attended Andreas' talk on normalization by evaluation last week (more specifically, see slides 12–14 in ).
- Nachiappan Valliappan. 2021. An Implementation of Fitch-Style Intuitionistic K in Agda.
- Carlos Tomé and Nachiappan Valliappan. 2021. Talk recording.
- ^ Philip Wadler. 2015. Propositions as Types.
- ^ Ranald Clouston. 2018. Fitch-Style Modal Lambda Calculi.
- ^ Frederic Brenton Fitch. 1952. Symbolic logic, an introduction.
- ^ Patrick Bahr, Christian Graulund, and Rasmus Ejlers Møgelberg. 2019. Simply RaTT: a fitch-style modal calculus for reactive programming without space leaks.
- ^ Lars Birkedal, Ales Bizjak, Ranald Clouston, Hans Bugge Grathwohl, Bas Spitters, and Andrea Vezzosi. 2019. Guarded Cubical Type Theory.
- ^ Rowan Davies and Frank Pfenning. 2001. A modal analysis of staged computation.
- ^ Kenji Miyamoto and Atsushi Igarashi. 2004. A Modal Foundation for Secure Information Flow. FCS04 slides.
- ^ Mads Tofte, Lars Birkedal, Martin Elsman, and Niels Hallenberg. 2001. A Retrospective on Region-Based Memory Management.
- ^ Andreas Abel. 2019. Normalization by Evaluation for Call-by-Push-Value — Towards a Modal-Logical Reconstruction of NbE.
- ^ Georgios Alexandros Kavvos. 2020. Dual-Context Calculi for Modal Logic.
- ^ Eugenio Moggi. 1991. Notions of computation and monads.
- Georgios Alexandros Kavvos. 2016–?. The Many Worlds of Modal λ-calculi: I. Curry-Howard for Necessity, Possibility and Time.