On Generalized Metric Spaces for the Simply Typed Lambda-Calculus
Paolo Pistone
摘要
Generalized metrics, arising from Lawvere's view of metric spaces as enriched categories, have been widely applied in denotational semantics as a way to measure to which extent two programs behave in a similar, although non equivalent, way. However, the application of generalized metrics to higher-order languages like the simply typed lambda calculus has so far proved unsatisfactory. In this paper we investigate a new approach to the construction of cartesian closed categories of generalized metric spaces. Our starting point is a quantitative semantics based on a generalization of usual logical relations. Within this setting, we show that several families of generalized metrics provide ways to extend the Euclidean metric to all higher-order types.
- This work has been funded by the ERC CoG 818616 "DIAPASoN".
2 Higher-Order Metric Semantics
Program metrics have been widely investigated to capture properties like program similarity and sensitivity. The fundamental idea is usually to associate types σ, τ with metric spaces, and programs f : σ → τ with non-expansive, or more generally Lipschitz continuous functions. This means that for all programs t, u of type σ, the distance between f (t) and f (u) does not exceed that between t and u by more than a fixed factor L (formally, d(f (t), f (u)) ≤ L • d(t, u)).
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper1
问问它们各自怎么用它相关 Paper
- Logical Foundations of Quantitative EqualityFrancesco Dagnino, Fabio PasqualiLICS 2022 · 被引用 7 次
- A relational theory of effects and coeffectsUgo Dal Lago, Francesco GavazzoPOPL 2022 · 被引用 22 次
- Bialgebraic Reasoning on Higher-order Program EquivalenceSergey Goncharov, Stefan Milius, Stelios Tsampas, Henning UrbatLICS 2024 · 被引用 4 次
- Higher-Order Behavioural Conformances via FibrationsHenning UrbatPOPL 2026
- An Analysis of Symmetry in Quantitative SemanticsPierre Clairambault, Simon ForestLICS 2024
