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

关于跳跃、交互与交集类型

On Jumps, Interactions, and Intersection Types

Université Sorbonne Paris Nord(索邦巴黎北大学);Università di Bologna(博洛尼亚大学);Inria(法国国家信息与自动化研究所);IRIF, Université Paris Cité(IRIF,巴黎西岱大学)

Stefano Catozi, Ugo Dal Lago, Gabriele Vanoni

AI总结:

本文提出参数化跳跃抽象机(PaJAM),并证明其与非幂等交集类型之间的紧密对应,通过类型推导可提取计算步数,且通过限制回溯深度可统一经典模型。

摘要:

跳跃抽象机(JAM)是Danos和Regnier为λ-演算引入的一种求值机制,作为交互抽象机(IAM)的优化,而IAM本身是Girard的交互几何与Abramsky等人博弈语义的操作对应。此外,JAM同构于指针抽象机(PAM),后者是Hyland和Ong博弈语义的语法对应。我们研究JAM的推广,称为参数化跳跃抽象机(PaJAM),并证明PaJAM与非幂等交集类型之间存在紧密对应:给定一个规范化项$t$,PaJAM在求值$t$时所走的步数可以从其非幂等交集类型推导中提取。值得注意的是,固定PaJAM的回溯深度,当深度限制为零时,可以轻松恢复JAM/PAM;当深度无限制时,则可以恢复IAM。利用类型论机制,我们分析了PaJAM的复杂度,表明对于每个回溯深度的有限界,其步数在弱头β步数上是多项式的,从而产生一个合理的代价模型。

英文摘要:

The Jumping Abstract Machine (JAM), an evaluation mechanism for the $λ$-calculus, was introduced by Danos and Regnier as an optimization of the Interaction Abstract Machine (IAM), itself an operational counterpart to Girard's Geometry of Interaction and Abramsky $\textit{et al}$. game semantics. Moreover, the JAM is isomorphic to the Pointer Abstract Machine (PAM), the syntactical counterpart of Hyland and Ong's game semantics. We study a generalization of the JAM, that we call the Parametric Jumping Abstract Machine (PaJAM) and show that there is a tight correspondence between the PaJAM and non-idempotent intersection types: given a normalizing term $t$, the number of steps taken by the PaJAM when evaluating $t$ can be extracted from its non-idempotent intersection type derivation. Remarkably, fixing the backtracking depth of the PaJAM, one can easily recover both the JAM/PAM, when the depth is constrained to be zero, and the IAM, when it is instead unconstrained. Exploiting type-theoretic machinery, we analyze the complexity of the PaJAM, showing that it is $\textit{polynomial}$ in the number of weak head $β$ steps, giving rise to a $\textit{reasonable}$ cost model, for each $\textit{finite}$ bound on the backtracking depth.

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

↑