Differentials and distances in probabilistic coherence spaces

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.

[1]  Raphaëlle Crubillé,et al.  Probabilistic Stable Functions on Discrete Cones are Power Series , 2018, LICS.

[2]  Jean-Yves Girard,et al.  Linear Logic in Computer Science: Between Logic and Quantic: a Tract , 2004 .

[3]  Ugo Dal Lago,et al.  Metric Reasoning About \lambda -Terms: The General Case , 2017, ESOP.

[4]  Ugo Dal Lago,et al.  A lambda-calculus foundation for universal probabilistic programming , 2015, ICFP.

[5]  P. Selinger Towards a semantics for higher-order quantum computation , 2004 .

[6]  Ohad Kammar,et al.  A domain theory for statistical probabilistic programming , 2018, Proc. ACM Program. Lang..

[7]  Thomas Ehrhard,et al.  Probabilistic coherence spaces as a model of higher-order probabilistic computation , 2011, Inf. Comput..

[8]  Thomas Ehrhard,et al.  The Di erential Lambda-Calculus , 2003 .

[9]  Laurent Regnier,et al.  The differential lambda-calculus , 2003, Theor. Comput. Sci..

[10]  Thomas Ehrhard,et al.  Full Abstraction for Probabilistic PCF , 2015, J. ACM.

[11]  Daniel de Carvalho,et al.  Execution time of λ-terms via denotational semantics and intersection types , 2009, Mathematical Structures in Computer Science.

[12]  Glynn Winskel,et al.  The concurrent game semantics of Probabilistic PCF , 2018, LICS.

[13]  Thomas Ehrhard,et al.  An introduction to differential linear logic: proof-nets, models and antiderivatives , 2016, Mathematical Structures in Computer Science.

[14]  Vincent Danos,et al.  Probabilistic game semantics , 2000, Proceedings Fifteenth Annual IEEE Symposium on Logic in Computer Science (Cat. No.99CB36332).

[15]  Klaus Keimel,et al.  Mixed powerdomains for probability and nondeterminism , 2016, Log. Methods Comput. Sci..

[16]  Jean-Yves Girard,et al.  Geometry of interaction IV: the feedback equation , 2006 .