In any setting in which observable properties have a quantitative flavor, it is natural to compare computational objects by way of metrics rather than equivalences or partial orders. This holds, in particular, for probabilistic higher-order programs. A natural notion of comparison, then, becomes context distance, the metric analogue of Morrisâ context equivalence. In this paper, we analyze the main properties of the context distance in fully-fledged probabilistic lambda-calculi, this way going beyond the state of the art, in which only affine calculi were considered. We first of all study to which extent the context distance trivializes, giving a sufficient condition for trivialization. We then characterize context distance by way of a coinductively-defined, tuple-based notion of distance in one of those calculi, called Î!â. We finally derive pseudometrics for call-by-name and call-by-value probabilistic lambda-calculi, and prove them fully-abstract.
Crubillé, R., Dal Lago, U. (2017). Metric reasoning about Lambda-Terms: The general case. Springer Verlag [10.1007/978-3-662-54434-1_13].
Metric reasoning about Lambda-Terms: The general case
Crubillé, Raphaelle;Dal Lago, Ugo
2017
Abstract
In any setting in which observable properties have a quantitative flavor, it is natural to compare computational objects by way of metrics rather than equivalences or partial orders. This holds, in particular, for probabilistic higher-order programs. A natural notion of comparison, then, becomes context distance, the metric analogue of Morrisâ context equivalence. In this paper, we analyze the main properties of the context distance in fully-fledged probabilistic lambda-calculi, this way going beyond the state of the art, in which only affine calculi were considered. We first of all study to which extent the context distance trivializes, giving a sufficient condition for trivialization. We then characterize context distance by way of a coinductively-defined, tuple-based notion of distance in one of those calculi, called Î!â. We finally derive pseudometrics for call-by-name and call-by-value probabilistic lambda-calculi, and prove them fully-abstract.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.