arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.12137cs.LOcs.PL
收藏

微分逻辑关系,第一部分:简单类型的情况(长版)

Differential Logical Relations, Part I: The Simply-Typed Case (Long Version)

Ugo Dal Lago, Francesco Gavazzo, Akira Yoshimizu

摘要:

我们引入一种新形式的逻辑关系,在度量关系的精神,使我们能够分配给每一对程序的数量测量他们的距离,而不是一个布尔值代表他们是等价的。微分逻辑关系的新颖之处在于,不(一定)用数值来度量项之间的距离,而是用某种数学对象来度量,这种数学对象以某种方式反映了被比较项的交互复杂性,即类型。我们将这一概念推广到简单型的代数演算中,并给出了可靠性定理的一种形式。我们还看到普通的逻辑关系和度量关系可以被看作是微分逻辑关系的实例。最后,我们表明,微分逻辑关系可以组织在一个carbohydrate封闭范畴,相反度量关系,这是众所周知的没有这样的结构,但只有一个monoidal封闭范畴。

英文摘要:

We introduce a new form of logical relation which, in the spirit of metric relations, allows us to assign each pair of programs a quantity measuring their distance, rather than a boolean value standing for their being equivalent. The novelty of differential logical relations consists in measuring the distance between terms not (necessarily) by a numerical value, but by a mathematical object which somehow reflects the interactive complexity, i.e. the type, of the compared terms. We exemplify this concept in the simply-typed lambda-calculus, and show a form of soundness theorem. We also see how ordinary logical relations and metric relations can be seen as instances of differential logical relations. Finally, we show that differential logical relations can be organised in a cartesian closed category, contrarily to metric relations, which are well-known not to have such a structure, but only that of a monoidal closed category.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑