On the Lattice of Program Metrics
Ugo Dal Lago, Naohiko Hoshino, Paolo Pistone

TL;DR
This paper explores and compares various program metrics for higher-order calculi, introducing a new interactive metric and analyzing their relationships to better understand their discriminative power.
Contribution
It introduces the interactive metric via the Int-Construction, and analyzes how semantic, observational, and equational metrics relate and differ in discriminating programs.
Findings
Semantic metrics lie between observational and equational metrics.
In some cases, these metric inclusions are strict.
Denotational metric is less discriminating than the interactive metric.
Abstract
In this paper we are concerned with understanding the nature of program metrics for calculi with higher-order types, seen as natural generalizations of program equivalences. Some of the metrics we are interested in are well-known, such as those based on the interpretation of terms in metric spaces and those obtained by generalizing observational equivalence. We also introduce a new one, called the interactive metric, built by applying the well-known Int-Construction to the category of metric complete partial orders. Our aim is then to understand how these metrics relate to each other, i.e., whether and in which cases one such metric refines another, in analogy with corresponding well-studied problems about program equivalences. The results we obtain are twofold. We first show that the metrics of semantic origin, i.e., the denotational and interactive ones, lie \emph{in between} the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
