Reference. Modular Denotational Semantics for Effects with Guarded Interaction Trees
Cite
Cited by (7)
Handling Higher-Order Effectful Operations with Judgemental Monadic Laws yang-2026-handling
Context-Dependent Effects and Concurrency in Guarded Interaction Trees stepanenko-2025-context
Modelling Recursion and Probabilistic Choice in Guarded Type Theory stassen-2025-modelling
Denotational Semantics of Gradual Typing using Synthetic Guarded Domain Theory giovannini_ding_new_2025
Gradually typed programming languages, which allow for soundly mixing static and dynamically typed programming styles, present a strong challenge for metatheorists. Even the simplest sound gradually typed languages feature at least recursion and errors, with realistic languages featuring furthermore runtime allocation of memory locations and dynamic type tags. Further, the desired metatheoretic properties of gradually typed languages have become increasingly sophisticated: validity of type-based equational reasoning as well as the relational property known as graduality. Many recent works have tackled verifying these properties, but the resulting mathematical developments are highly repetitive and tedious, with few reusable theorems persisting across different developments.
In this work, we present a new denotational semantics for gradual typing developed using guarded domain theory. Guarded domain theory combines the generality of step-indexed logical relations for modeling advanced programming features with the modularity and reusability of denotational semantics. We demonstrate the feasibility of this approach with a model of a simple gradually typed lambda calculus and prove the validity of beta-eta equality and the graduality theorem for the denotational model. This model should provide the basis for a reusable mathematical theory of gradually typed program semantics. Finally, we have mechanized most of the core theorems of our development in Guarded Cubical Agda, a recent extension of Agda with support for the guarded recursive constructions we use.
Context-Dependent Effects in Guarded Interaction Trees stepanenko-2025-contextx
Solving Guarded Domain Equations in Presheaves over Ordinals and Mechanizing It stepanenko-2025-solving
A Logical Approach to Type Soundness timany-2024-a
Cites 38 works (6 here)
With notes (6)
Reasoning about effect interaction by fusion yang-2021-reasoning
Iris from the ground up: A modular foundation for higher-order concurrent separation logic jung_etal_iris_ground_up_2018
Interactive proofs in higher-order concurrent separation logic krebbers-2017-interactive
Higher-order ghost state jung_higher-order_2016
Iris: Monoids and Invariants as an Orthogonal Basis for Concurrent Reasoning jung-2015-iris
First steps in synthetic guarded domain theory: step-indexing in the topos of trees birkedalFirstStepsSGDT2012
External (32)
- Hefty Algebras: Modular Elaboration of Higher-Order Algebraic Effects (2023)
- Semantics for Noninterference with Interaction Trees (2023)
- C4: verified transactional objects (2022)
- Semantic soundness for language interoperability (2022)
- Formally Verified Animation for RoboChart Using Interaction Trees (2022)
- A separation logic for effect handlers (2021)
- Two Guarded Recursive Powerdomains for Applicative Simulation (2021)
- Latent Effects for Reusable Language Components (2021)
- Modular, compositional, and executable formal semantics for LLVM IR (2021)
- Verifying an HTTP Key-Value Server with Interaction Trees and VST (2021)
- From C to interaction trees: specifying, verifying, and testing a networked server (2019)
- Interaction trees: representing recursive and impure programs in Coq (2019)
- Denotational semantics of recursive types in synthetic guarded domain theory (2018)
- The Essence of Higher-Order Concurrent Separation Logic (2017)
- Guarded Dependent Type Theory with Coinductive Types (2016)
- Programming with algebraic effects and handlers (2015)
- A Model of PCF in Guarded Type Theory (2015)
- Effect handlers in scope (2014)
- Intensional Type Theory with Guarded Recursive Types qua Fixed Points on Universes (2013)
- Handling Algebraic Effects (2013)
- Step Indexed Realizability Semantics for a Call-by-Value Language Based on Basic Combinatorial Objects (2012)
- The category-theoretic solution of recursive metric-space equations (2010)
- A Generic Operational Metatheory for Algebraic Effects (2010)
- A Simple Model of Separation Logic for Higher-Order Store (2008)
- Relational Parametricity and Separation Logic (2008)
- Operational semantics for multi-language programs (2007)
- Relational Properties of Domains (1996)
- The revised report on the syntactic theories of sequential control and state (1992)
- Algebraically complete categories (1991)
- The Category-Theoretic Solution of Recursive Domain Equations (1982)
- LCF considered as a programming language (1977)
- Data Types as Lattices (1976)