{"title":"Differentials and distances in probabilistic coherence spaces","authors":"T. Ehrhard","doi":"10.46298/lmcs-18(3:2)2022","DOIUrl":null,"url":null,"abstract":"In probabilistic coherence spaces, a denotational model of probabilistic\nfunctional languages, morphisms are analytic and therefore smooth. We explore\ntwo related applications of the corresponding derivatives. First we show how\nderivatives allow to compute the expectation of execution time in the weak head\nreduction of probabilistic PCF (pPCF). Next we apply a general notion of\n\"local\" differential of morphisms to the proof of a Lipschitz property of these\nmorphisms allowing in turn to relate the observational distance on pPCF terms\nto a distance the model is naturally equipped with. This suggests that\nextending probabilistic programming languages with derivatives, in the spirit\nof the differential lambda-calculus, could be quite meaningful.","PeriodicalId":284975,"journal":{"name":"International Conference on Formal Structures for Computation and Deduction","volume":"24 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-02-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"10","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Formal Structures for Computation and Deduction","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.46298/lmcs-18(3:2)2022","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 10
Abstract
In probabilistic coherence spaces, a denotational model of probabilistic
functional languages, morphisms 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.