English

Logical relations for call-by-push-value models, via internal fibrations in a 2-category

Logic in Computer Science 2025-06-16 v2 Category Theory

Abstract

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 \top\top-lifting to CBPV models, an effect simulation result, and a relative full completeness result for CBPV without sum types.

Keywords

Cite

@article{arxiv.2505.14482,
  title  = {Logical relations for call-by-push-value models, via internal fibrations in a 2-category},
  author = {Pedro H. Azevedo de Amorim and Satoshi Kura and Philip Saville},
  journal= {arXiv preprint arXiv:2505.14482},
  year   = {2025}
}

Comments

Accepted to Logic in Computer Science (LICS) 2025. Comments welcome! (Updated to correct a typo and add a new reference.)