Skip to main content
QUICK REVIEW

[Paper Review] Probabilistic call by push value

Thomas Ehrhard, Christine Tasson|HAL (Le Centre pour la Communication Scientifique Directe)|Jul 16, 2016
Logic, Reasoning, and KnowledgeComputer Science7 citations
TL;DR

This paper introduces a probabilistic extension of Call-By-Push-Value (CBPV) by adding a 'flipping coin' primitive, enabling both call-by-name and call-by-value evaluation with recursive and lazy data types. It establishes adequacy and full abstraction in a denotational model based on probabilistic coherence spaces, proving that observational equivalence corresponds precisely to equality of denotational interpretations.

ABSTRACT

We introduce a probabilistic extension of Levy's Call-By-Push-Value. This extension consists simply in adding a " flipping coin " boolean closed atomic expression. This language can be understood as a major generalization of Scott's PCF encompassing both call-by-name and call-by-value and featuring recursive (possibly lazy) data types. We interpret the language in the previously introduced denotational model of probabilistic coherence spaces, a categorical model of full classical Linear Logic, interpreting data types as coalgebras for the resource comonad. We prove adequacy and full abstraction, generalizing earlier results to a much more realistic and powerful programming language.

Motivation & Objective

  • To extend Call-By-Push-Value with probabilistic features, enabling realistic modeling of probabilistic and non-deterministic computations.
  • To support both call-by-name and call-by-value evaluation strategies within a single, unified language framework.
  • To provide a denotational model for the extended language using probabilistic coherence spaces, a categorical model of full classical Linear Logic.
  • To prove adequacy and full abstraction, ensuring that observational equivalence between terms coincides with equality of their denotational interpretations.

Proposed method

  • Introduces a probabilistic variant of Call-By-Push-Value by adding a closed atomic expression for flipping a fair coin, enabling probabilistic choice.
  • Interprets the language in the category of probabilistic coherence spaces, where types are modeled as coalgebras for the resource comonad.
  • Uses the structure of positive types in Linear Logic (coinciding with coalgebras for the $ abla$-comonad) to support call-by-value evaluation of data types.
  • Employs power series representations of interpretations to model probabilistic behaviors and derive coefficients corresponding to observable outcomes.
  • Applies structural morphisms inherent to positive types to allow non-linear use of arguments without requiring explicit lifting via $ abla$.
  • Proves full abstraction by showing that two terms are observationally equivalent only if their denotational interpretations are equal, using a contrapositive argument based on coefficient differences in power series.

Experimental results

Research questions

  • RQ1Can a unified functional language support both call-by-name and call-by-value evaluation strategies while incorporating probabilistic choice?
  • RQ2How can a denotational model for a probabilistic extension of CBPV be constructed that preserves key properties like adequacy and full abstraction?
  • RQ3What is the role of positive types in Linear Logic in enabling call-by-value evaluation of data types in a half-polarized system?
  • RQ4Can observational equivalence in the probabilistic language be fully characterized by equality in the denotational model?
  • RQ5How do structural morphisms of positive types enable non-linear use of arguments while preserving computational meaning in the presence of probabilistic effects?

Key findings

  • The addition of a probabilistic 'flipping coin' primitive to Call-By-Push-Value enables a realistic, general-purpose language supporting both call-by-name and call-by-value evaluation.
  • The language supports rich data types, including recursive and lazy types, via closure under positive Linear Logic connectives and least fixpoints.
  • A denotational model based on probabilistic coherence spaces provides a fully abstract interpretation of the language.
  • Adequacy is established: if a term converges to a value with a certain probability, its denotational interpretation reflects that probability.
  • Full abstraction is proven: two terms are observationally equivalent if and only if their denotational interpretations are equal.
  • The proof relies on showing that differences in observational behavior (e.g., convergence probabilities) are detectable via coefficient differences in power series representations of interpretations.

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.