Encoding Call-by-Push-Value in the -Calculus
Benjamin Bennetzen, Nikolaj Rossander Kristensen, Hans Hüttel, Peter Buus Steffensen
Abstract
We define an encoding of a reduced call-by-push-value lambda-calculus (CBPV) into the internal pi-calculus. The encoding uses the restricted output discipline of the internal pi-calculus together with explicit handles for application and return, allowing CBPV substitution to be represented by name passing and replicated pointer processes. We prove an operational correspondence theorem for the encoding: every CBPV reduction is simulated by internal reductions of the encoded process, and every reduction sequence of an encoded process corresponds, up to weak bisimilarity, to a CBPV reduction. We also adapt Gorla's criteria for good encodings to the present setting and show that the encoding satisfies compositionality, name invariance, operational correspondence, divergence reflection, and success sensitiveness. Finally, we compare the encoding with Milner's classical encodings of call-by-value and call-by-name lambda-calculi into the pi-calculus. Composing Levy's translations of call-by-value and call-by-name into CBPV with our encoding yields processes that are behaviourally close to Milner's direct encodings, while making explicit the additional thunk and return structure introduced by CBPV.
Create a lesson
Metadata
- Journal
- EPTCS 458, 2026, pp. 17-34
- Comments
- In Proceedings EXPRESS/SOS 2026, arXiv:2611.38883
Related papers
CoreFi: A Core Calculus for Embedded Systems with Bounded Shared-Memory Channels
Shared title terminologycs.PLYan Liu, Alex Potanin
A Calculus for Borrowability
Shared title terminologycs.PLYanning Chen, Fan Long, Ningning Xie
CIRT: Calculus of Inductive Refinement Types
Shared title terminologycs.PLAlessio Ferrarini, Niki Vazou, G. A. Kavvos
Compiling Matrix Formulas to Quantum Block Encodings
Shared title terminologycs.PLDaksh Shami, Charles Yuan
CFGKAT: A Complete Calculus for Non-Local Control Flow
Shared title terminologycs.PLSpencer Van Koevering, Alexandra Silva, Cheng Zhang et al.
A Complete Calculus for Hamiltonian Quantum Programming
Shared title terminologycs.PLJacques Carette, Chris Heunen, Robin Kaarsgaard et al.