Skip to main content
QUICK REVIEW

[Paper Review] On Probabilistic Applicative Bisimulation and Call-by-Value $λ$-Calculi (Long Version)

Raphaëlle Crubillé, Ugo Dal Lago|arXiv (Cornell University)|Jan 15, 2014
Logic, Reasoning, and KnowledgeComputer Science27 references9 citations
TL;DR

This paper introduces and analyzes probabilistic applicative bisimulation in a typed, call-by-value $\lambda$-calculus, showing it precisely characterizes context equivalence—a surprising result not seen in call-by-name or nondeterministic settings. The key technical contribution is a constructive proof that every bisimulation test can be emulated by a context, establishing full abstraction in the symmetric call-by-value setting.

ABSTRACT

Probabilistic applicative bisimulation is a recently introduced coinductive methodology for program equivalence in a probabilistic, higher-order, setting. In this paper, the technique is applied to a typed, call-by-value, lambda-calculus. Surprisingly, the obtained relation coincides with context equivalence, contrary to what happens when call-by-name evaluation is considered. Even more surprisingly, full-abstraction only holds in a symmetric setting.

Motivation & Objective

  • To extend probabilistic applicative bisimulation to a typed, call-by-value $\lambda$-calculus, generalizing prior work on untyped, call-by-name systems.
  • To investigate whether applicative bisimulation coincides with context equivalence in the call-by-value setting, contrary to known results in call-by-name and nondeterministic settings.
  • To explore the conditions under which full abstraction holds, particularly in symmetric versus asymmetric evaluation contexts.
  • To bridge operational and denotational semantics by characterizing bisimulation through testing, leveraging techniques from probabilistic labelled Markov processes.

Proposed method

  • Formalizing a typed, call-by-value $\lambda$-calculus with probabilistic choice, called $\mathsf{PCFL}_{\oplus}$, extending $\mathsf{PCF}$ with lazy lists and binary probabilistic choice.
  • Defining probabilistic applicative bisimulation as a coinductive relation based on value distributions and probabilistic transitions.
  • Constructing a translation $\langle\!\langle \cdot \rangle\!\rangle$ from $\mathsf{PCFL}_{\oplus}$ terms to their denotational semantics in a domain-theoretic model.
  • Proving that bisimilarity is a congruence and that context equivalence implies bisimilarity via a constructive embedding of bisimulation tests into contexts.
  • Leveraging results from probabilistic labelled Markov processes to characterize bisimulation via testing, ensuring full abstraction in the symmetric setting.
  • Establishing that full abstraction fails for simulation and the contextual preorder, highlighting a key asymmetry in the call-by-value calculus.

Experimental results

Research questions

  • RQ1Does probabilistic applicative bisimulation coincide with context equivalence in a typed, call-by-value $\lambda$-calculus?
  • RQ2Why does full abstraction hold for bisimulation but not for simulation or the contextual preorder in the call-by-value setting?
  • RQ3How do the testing capabilities of the calculus relate to the expressiveness of bisimulation tests, especially in comparison to call-by-name?
  • RQ4Can the class of tests characterizing probabilistic bisimulation be fully realized as contexts in call-by-value, and what does this imply for full abstraction?
  • RQ5What structural properties of call-by-value evaluation enable the coincidence of bisimilarity and context equivalence, unlike in call-by-name?

Key findings

  • Probabilistic applicative bisimulation precisely characterizes context equivalence in the typed, call-by-value $\lambda$-calculus $\mathsf{PCFL}_{\oplus}$, a result that does not hold in call-by-name or nondeterministic settings.
  • Full abstraction holds for bisimulation in the symmetric call-by-value setting, but fails for simulation and the contextual preorder, indicating a fundamental asymmetry in the operational semantics.
  • The proof that context equivalence implies bisimilarity is constructive: every test characterizing bisimilarity can be emulated by a context, ensuring that non-bisimilar terms differ in some context.
  • The class of tests that characterize bisimulation is powerful enough to distinguish non-bisimilar terms, but not so complex as the infinitary tests needed in nondeterministic settings.
  • The results highlight a key difference between call-by-value and call-by-name: only in call-by-value can all bisimulation tests be implemented as contexts, due to the ability to evaluate and copy parameters.
  • The study reveals that the symmetric nature of call-by-value evaluation enables a tight correspondence between testing and bisimulation, which is absent in asymmetric or call-by-name settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.