arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.02785cs.LO
收藏

如何演奏手风琴:关于λ演算线性近似的统一性与(非)保守性

How to play the Accordion: Uniformity and the (non-)conservativity of the linear approximation of the λ-calculus (extended version)

Aix-Marseille Université, CNRS(艾克斯-马赛大学,法国国家科学研究中心);Université Paris Cité, CNRS(巴黎西岱大学,法国国家科学研究中心);Università di Bologna(博洛尼亚大学)

Rémy Cerda, Lionel Vaux Auclair

AI总结:

本文研究了λ演算线性近似的统一性与保守性,通过反例展示其在有限和无限缩减下的不同表现,并提出通过限制缩减构建保守扩展的方法。

摘要:

在Ehrhard和Regnier引入二十周年之际,λ演算和线性逻辑中的微分已成为备受推崇的工具。特别是,它允许为各种λ演算建立泰勒展开公式,从而为这些演算提供了一种线性近似的理论。在纯λ演算中,支持这种泰勒展开的λ项的线性近似项是所谓的资源演算中的项,该演算配备了有限的(强归约)缩减;这种线性近似的效率由结果表达,即可能的无限β缩减被其泰勒展开的缩减所模拟,该缩减由资源项的迭代缩减诱导。在重写系统中,资源缩减(在无限线性组合的泰勒近似项上操作)是β缩减的扩展。在本文中,我们探讨了反向性质,即保守性:所有泰勒展开之间的缩减是否源于实际的β缩减?我们证明,如果限制到有限项和β缩减序列,则线性近似是保守的。然而,一旦允许无限缩减序列,这一属性就会被破坏。我们设计了一个反例,即Accordion。然后我们展示如何通过限制泰勒近似项的缩减来构建一个保守的β缩减,同时保持良好的模拟性质;这种限制依赖于统一性,这一属性早在Ehrhard和Regnier的开创性工作中就已处于核心位置。最后,我们将工作扩展到β⊥缩减,这些在λ演算中起着关键作用,因为它们将λ项与其Bohm树联系起来。

英文摘要:

Twenty years after its introduction by Ehrhard and Regnier, differentiation in $λ$-calculus and in linear logic is now a celebrated tool. In particular, it allows to establish a Taylor expansion formula for various $λ$-calculi, hence providing a theory of linear approximations for these calculi. In the pure $λ$-calculus, the linear approximants of $λ$-terms supporting this Taylor expansion are the terms of a so-called resource calculus, which is equipped with a finitary (strongly normalising) reduction; and the efficiency of this linear approximation is expressed by results stating that the (possibly) infinitary $β$-reduction of $λ$-terms is simulated by the reduction of their Taylor expansions, which is induced by the iterated reduction of resource terms. In terms of rewriting systems, resource reduction (operating on infinite linear combinations of Taylor approximants) is an extension of $β$-reduction. In this article, we address the converse property, conservativity: do all reductions between Taylor expansions arise from actual $β$-reductions? We show that if we restrict the setting to finite terms and $β$-reduction sequences, then the linear approximation is conservative. However, as soon as one allows infinitary reduction sequences this property is broken. We design a counter-example, the Accordion. Then we show how restricting the reduction of the Taylor approximants allows to build a conservative extension of the $β$-reduction preserving good simulation properties; this restriction relies on uniformity, a property that was already at the core of Ehrhard and Regnier's pioneering work. Finally, we extend our work to $β\bot$-reductions, which play a key role in $λ$-calculus as they relate a $λ$-term to its Böhm tree.

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

↑