paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Mirroring Call-by-Need, or Values Acting Silly

镜像 call-by-need:或值表现得愚蠢
LMCS vol.Volume 22, Issue 32026匹配度 1/10 · 该论文属于纯PL形式语义与类型系统,研究call-by-need的镜像演算,未涉及LLM/Agent、静态分析应用、浮点或贝叶斯程序分析,与用户研究方向无直接关联。引用 3 inbox
Beniamino Accattoli, Adrienne Lancelot
crossref: 2026-09-10

AI 速览

一句话:提出 call-by-silly 退化演算,镜像 call-by-need,合并按名重复与按值擦除的最差行为,并用多类型与抽象机分析。

本文研究 λ 演算中复制与擦除如何结合:call-by-need 将 call-by-name 的“明智擦除”与 call-by-value 的“明智复制”融合,而本文构造一个对称的退化演算 call-by-silly,融合 call-by-name 的愚蠢复制与 call-by-value 的愚蠢擦除。作者通过重写性质和多类型系统验证该设计,证明 call-by-silly 与 call-by-value 诱导相同的上下文等价,从而镜像了 call-by-need 与 call-by-name 操作等价这一主定理;这表明按值调用的上下文等价对效率不敏感。文章还定义 call-by-silly 求值策略与实现该策略的抽象机,并用紧多类型精确测量策略步数,最后证明该策略计算该演算中最长的求值序列。

问题
如何理解 λ 演算中复制与擦除的相互作用,特别是 call-by-need 之外的对偶退化情形及其操作与上下文等价。
方法
构造对称的 call-by-silly 演算,使用重写性质、多类型系统、求值策略与抽象机来验证并刻画其行为。
评估
证明 call-by-silly 与 call-by-value 上下文等价,用紧多类型测量步数,并证明其策略产生最长求值序列。
原文摘要(Abstract)

Call-by-need evaluation for the lambda-calculus can be seen as merging the best of call-by-name and call-by-value, namely the wise erasing behaviour of the former and the wise duplicating behaviour of the latter. To better understand how duplication and erasure can be combined, we design a degenerated calculus, dubbed call-by-silly, that is symmetric to call-by-need in that it merges the worst of call-by-name and call-by-value, namely silly duplications by-name and silly erasures by-value. We validate the design of the call-by-silly calculus via rewriting properties and multi types. In particular, we mirror the main theorem about call-by-need -- that is, its operational equivalence with call-by-name -- showing that call-by-silly and call-by-value induce the same contextual equivalence. This fact shows the blindness with respect to efficiency of call-by-value contextual equivalence. We also define a call-by-silly strategy and a call-by-silly abstract machine implementing the strategy. Moreover, we measure the number of steps taken by the strategy via tight multi types. Lastly, we prove that the call-by-silly strategy computes evaluation sequences of maximal length in the calculus.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@article{AccattoliL26,
  title = {Mirroring Call-by-Need, or Values Acting Silly},
  author = {Beniamino Accattoli and Adrienne Lancelot},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 22, Issue 3},
  year = {2026},
  doi = {10.46298/lmcs-22(3:3)2026}
}