Reference. Logical relations for call-by-push-value models, via internal fibrations in a 2-category
We give a denotational account of logical relations for call-by-push-value (CBPV) in the fibrational style of Hermida, Jacobs, Katsumata and others. Fibrations – which axiomatise the usual notion of sets-with-relations – provide a clean framework for constructing new, logical relations-style, models. Such models can then be used to study properties such as effect simulation.
Extending this picture to CBPV is challenging: the models incorporate both adjunctions and enrichment, making the appropriate notion of fibration unclear. We handle this using 2-category theory. We identify an appropriate 2-category, and define CBPV fibrations to be fibrations internal to this 2-category which strictly preserve the CBPV semantics.
Next, we develop the theory so it parallels the classical setting. We give versions of the codomain and subobject fibrations, and show that new models can be constructed from old ones by pullback. The resulting framework enables the construction of new, logical relations-style, models for CBPV.
Finally, we demonstrate the utility of our approach with particular examples. These include a generalisation of Katsumata’s -lifting to CBPV models, an effect simulation result, and a relative full completeness result for CBPV without sum types.
Cite
Cited by (2)
A Framework for Coalgebraic Reward-Sensitive Bisimulation (Extended Version) amorim-2026-a
The Compositional Essence of Effectful Cost Analyses: Categorical Foundations and Fibered Logical Relations amorim_effcost
Cites 78 works (10 here)
With notes (10)
Denotational Foundations for Expected Cost Analysis amorim_2025_oopsla
Reasoning about the cost of executing programs is one of the fundamental questions in computer science. In the context of programming with probabilities, however, the notion of cost stops being deterministic, since it depends on the probabilistic samples made throughout the execution of the program. This interaction is further complicated by the non-trivial interaction between cost, recursion and evaluation strategy.
In this work we introduce cert: a Call-By-Push-Value (CBPV) metalanguage for reasoning about probabilistic cost. We equip cert with an operational cost semantics and define two denotational semantics — a cost semantics and an expected-cost semantics. We prove operational soundness and adequacy for the denotational cost semantics and a cost adequacy theorem for the expected-cost semantics.
We formally relate both denotational semantics by stating and proving a novel effect simulation property for CBPV. We also prove a canonicity property of the expected-cost semantics as the minimal semantics for expected cost and probability by building on recent advances on monadic probabilistic semantics.
Finally, we illustrate the expressivity of cert and the expected-cost semantics by presenting case-studies ranging from randomized algorithms to stochastic processes and show how our semantics capture their intended expected cost.
Semantic analysis of normalisation by evaluation for typed lambda calculus fiore-2022-semantic
Fully abstract models for effectful λ-calculi via category-theoretic logical relations kammar-2022-fully
Monoidal Grothendieck construction moeller_vasilakopoulou_2020
Framed bicategories and monoidal fibrations shulman_2008
In some bicategories, the 1-cells are ‘morphisms’ between the 0-cells, such as functors between categories, but in others they are ‘objects’ over the 0-cells, such as bimodules, spans, distributors, or parametrized spectra. Many bicategorical notions do not work well in these cases, because the ‘morphisms between 0-cells’, such as ring homomorphisms, are missing. We can include them by using a pseudo double category, but usually these morphisms also induce base change functors acting on the 1-cells. We avoid complicated coherence problems by describing base change ‘nonalgebraically’, using categorical fibrations. The resulting ‘framed bicategories’ assemble into 2-categories, with attendant notions of equivalence, adjunction, and so on which are more appropriate for our examples than are the usual bicategorical ones.
We then describe two ways to construct framed bicategories. One is an analogue of rings and bimodules which starts from one framed bicategory and builds another. The other starts from a ‘monoidal fibration’, meaning a parametrized family of monoidal categories, and produces an analogue of the framed bicategory of spans. Combining the two, we obtain a construction which includes both enriched and internal categories as special cases.
Call-By-Push-Value: A Functional/Imperative Synthesis levy-2003-callbypushvalue
Categorical Logic and Type Theory jacobs-1999
This book is an attempt to give a systematic presentation of both logic and type theory from a categorical perspective, using the unifying concept of fibred category. Its intended audience consists of logicians, type theorists, category theorists and (theoretical) computer scientists.
Notes on sconing and relators mitchell_scedrov_1993
Two-dimensional monad theory blackwell_kelly_power_1989
A general coherence result power_1989
External (68)
- V-graded categories and V-W-bigraded categories: Functor categories and bifunctors over non-symmetric bases (2025)
- Abstract Operational Methods for Call-by-Push-Value (2025)
- Enhanced 2-categorical structures, two-dimensional limit sketches and the symmetry of internalisation (2024)
- Bialgebraic Reasoning on Higher-order Program Equivalence (2024)
- Logical Predicates in Higher-Order Mathematical Operational Semantics (2024)
- What Makes a Strong Monad? (2022)
- On the Lambek embedding and the category of product-preserving presheaves (2022)
- Actegories for the Working Amthematician (2022)
- 2-Dimensional Categories (2021)
- Reasoning about effectful programs and evaluation order (2020)
- Relative Full Completeness for Bicategorical Cartesian Closed Structure (2020)
- Categorical notions of fibration (2020)
- Stone Dualities from Opfibrations (2020)
- Normalization by Evaluation for Call-By-Push-Value and Polarized Lambda Calculus (2019)
- Codensity Lifting of Monads and its Dual (2018)
- Factorisation systems for logical relations and monadic lifting in type-and-effect system semantics (2018)
- On Enriched Fibrations (2018)
- Relative pseudomonads, Kleisli bicategories, and substitution monoidal structures (2017)
- Algebraic theory of type-and-effect systems (2014)
- Fibred 2-categories and bicategories (2014)
- Relating computational effects by ⊤⊤-lifting (2013)
- Logical Step-Indexed Logical Relations (2011)
- Step-Indexed Biorthogonality: a Tutorial Example (2010)
- Grothendieck construction for bicategories (2010)
- A 2-Categories Companion (2009)
- A Characterisation of Lambda Definability with Sums Via TT-Closure Operators (2008)
- Normed Spaces and the Change of Base for Enriched Categories (2008)
- Logical relations for monadic types (journal version, MSCS) (2008)
- Yoneda Structures from 2-toposes (2007)
- Call-by-push-value: Decomposing call-by-value and call-by-name (2006)
- Categories, allegories , transferred to digital print. ed., ser. North Holland mathematical library. Amsterdam (2006)
- Basic Concepts of Enriched Category Theory (2005)
- A Semantic Formulation of TT-Lifting and Logical Predicates for Computational Metalanguage (2005)
- Limits for Lax Morphisms (2005)
- Higher Operads, Higher Categories (2004)
- Adjunction Models For Call-By-Push-Value With Stacks (2003)
- Factorization systems and fibrations (2003)
- Logical Relations for Monadic Types (2002)
- Remarks on isomorphisms in typed lambda calculi with empty and sum types (2002)
- Call-by-push-value (PhD thesis, Queen Mary and Westfield College) (2001)
- An indexed model of recursive types for foundational proof-carrying code (2001)
- Categorical Glueing and Logical Predicates for Models of Linear Logic (1999)
- Categories for the Working Mathematician (2nd ed.) (1998)
- Towards a mathematical operational semantics (1997)
- Connected limits, familial representability and Artin glueing (1995)
- A Characterization of lambda Definability in Categorical Models of Implicit Polymorphism (1995)
- Categories for Types (1994)
- Handbook of Categorical Algebra, volume 2 (1994)
- Fibrations, logical predicates and indeterminates (1993)
- A New Characterization of Lambda Definability (1993)
- Types, Abstraction, and Parametric Polymorphism, Part 2 (1992)
- Reasoning about sequential functions via logical relations (1992)
- Notions of Computation and Monads (1991)
- Computational lambda-calculus and monads (1989)
- Logiques, categories et machines (1987)
- The free adjunction (1986)
- CONSPECTUS OF VARIABLE CATEGORIES (1981)
- LCF Considered as a Programming Language (1977)
- The formal semantics of computer languages and their interpretations (1974)
- Adjonctions et monades au niveau des 2-catégories (1974)
- Artin glueing (1974)
- Fibrations and Yoneda's lemma in a 2-category (1974)
- Strong functors and monoidal monads (1972)
- The formal theory of monads (1972)
- Eine Bemerkung über Monaden und adjungierte Funktoren (1970)
- Coequalizers in categories of algebras (1969)
- Fibred and Cofibred Categories (1966)
- Closed Categories (1966)