English

Differentials and distances in probabilistic coherence spaces

Logic in Computer Science 2021-08-24 v2 Programming Languages

Abstract

In probabilistic coherence spaces, a denotational model of probabilistic functional languages, mor-phisms are analytic and therefore smooth. We explore two related applications of the corresponding derivatives. First we show how derivatives allow to compute the expectation of execution time in the weak head reduction of probabilistic PCF (pPCF). Next we apply a general notion of "local" differential of morphisms to the proof of a Lipschitz property of these morphisms allowing in turn to relate the observational distance on pPCF terms to a distance the model is naturally equipped with. This suggests that extending probabilistic programming languages with derivatives, in the spirit of the differential lambda-calculus, could be quite meaningful.

Keywords

Cite

@article{arxiv.1902.04836,
  title  = {Differentials and distances in probabilistic coherence spaces},
  author = {Thomas Ehrhard},
  journal= {arXiv preprint arXiv:1902.04836},
  year   = {2021}
}
R2 v1 2026-06-23T07:39:43.837Z