paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Interaction Equivalence

交互等价
POPL 9(POPL)2025匹配度 2/10 · 该论文属于纯程序语言理论/形式语义,研究无类型λ演算中的上下文等价细化与Böhm树等价,未涉及静态分析、Agentic/LLM、浮点程序分析或贝叶斯程序分析等用户核心方向。虽然属于PL领域且理论形式化扎实,但与用户当前研究画像基本不重合。引用 3 inbox
Beniamino Accattoli, Adrienne Lancelot, Giulio Manzonetto, Gabriele Vanoni
crossref: 2026-09-10

AI 速览

一句话:提出交互等价:只计项与上下文的交互步数,证明它是等式理论并刻画为Böhm树等价B。

上下文等价是程序等价的标准概念,且通常构成等式理论;若把计算时间等内涵信息纳入,则会因代价在归约下并不保持不变而破坏等式理论性质。本文在无类型λ演算中提出交互等价,其灵感来自博弈语义:观察项与上下文之间的交互步数,但忽略项与上下文各自的内部步数。作者证明交互等价仍是一种等式理论,并将其精确刻画为B,即由Böhm树相等诱导的著名理论。这是首个无需借助非确定性等额外判别能力来强化上下文即可对B给出的观察式刻画。为证明该结果,论文发展了基于交互的Böhm-out技术和交类型精细化方法。

问题
如何在不破坏等式理论性质的前提下,为上下文等价增加类似时间代价的内涵区分力?直接把代价纳入观察会因代价不满足归约不变性而失败。
方法
在无类型λ演算中引入受博弈语义启发的交互等价:只统计项与上下文之间的交互步数,忽略各自内部归约步数;并发展交互式Böhm-out与交类型精细化作为证明工具。
评估
评估方式为理论证明:证明交互等价构成等式理论,并证明其与Böhm树相等诱导的理论B完全一致。
原文摘要(Abstract)

Contextual equivalence is the de facto standard notion of program equivalence. A key theorem is that contextual equivalence is an equational theory . Making contextual equivalence more intensional, for example taking into account the time cost of the computation, seems a natural refinement. Such a change, however, does not induce an equational theory, for an apparently essential reason: cost is not invariant under reduction. In the paradigmatic case of the untyped λ -calculus, we introduce interaction equivalence . Inspired by game semantics, we observe the number of interaction steps between terms and contexts but–crucially–ignore their internal steps. We prove that interaction equivalence is an equational theory and characterize it as B , the well-known theory induced by Böhm tree equality. It is the first observational characterization of B obtained without enriching the discriminating power of contexts with extra features such as non-determinism. To prove our results, we develop interaction-based refinements of the Böhm-out technique and of intersection types.

链接与引用

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

BibTeX
@article{abs-2409-18709,
  title = {Interaction Equivalence},
  author = {Beniamino Accattoli and Adrienne Lancelot and Giulio Manzonetto and Gabriele Vanoni},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {9},
  number = {POPL},
  year = {2025},
  doi = {10.1145/3704891}
}