Lune

LICS2021顶会

On Generalized Metric Spaces for the Simply Typed Lambda-Calculus

Paolo Pistone

2021年份
8被引次数
1顶会引用

摘要

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 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

引用它的顶会 Paper1

问问它们各自怎么用它

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖