paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Spatial and Temporal Decomposition for Faster Translation Validation

面向更快翻译验证的时空分解
OOPSLA 10(OOPSLA2)2026匹配度 3/10 · 论文属于程序验证与编译器正确性方向的翻译验证,与用户关注的静态分析/形式化验证有间接关联,但未涉及 LLM/Agent、浮点程序分析或贝叶斯程序分析等核心交叉点。其核心是提升翻译验证的可扩展性,与用户当前追的问题匹配度较低。引用 0 inbox
Benjamin Mikek, Chathur Bommineni, Qirun Zhang, Thomas Reps
crossref: 2026-10-02

AI 速览

一句话:提出按空间与时间两轴分解翻译验证问题,利用编译器信息提升可扩展性,验证更多翻译并加速。

翻译验证判断程序变换前后 P 与 P′ 语义是否一致,是编译器测试与形式验证之间的折中,但性能瓶颈限制其采用。本文提出按空间和时间两轴分解翻译验证问题:空间轴上利用编译器信息提取子程序,使子程序等价可蕴含整体变换等价;时间轴上利用编译器信息动态分组待验证的变换 pass。评估表明,该方法能验证现有方法失败的 10% 翻译,并将验证速度最多提升 2.4 倍。

问题
翻译验证需判定变换前后程序语义等价,但现有工具常超时或需大量人工适配,难以规模化。
方法
利用编译器信息进行空间分解,提取可蕴含整体等价的子程序,并在时间上动态分组变换 pass 以分而治之。
评估
在翻译验证任务上评估,额外验证了现有方法失败的 10% 翻译,验证速度最高提升 2.4 倍。
原文摘要(Abstract)

Translation validation is a critical tool in program analysis: when a program P is transformed into a new program P ′, translation validation asks whether P and P ′ have the same semantics. It serves as a middle ground between compiler testing and formal verification, capable of proving that a particular run of a compiler produced correct results. However, one bottleneck holds back wider adoption of translation validation: performance. State-of-the-art tools frequently time out or require extensive manual engineering to adapt to specific use cases. In this paper, we propose a new approach to improving the scalability of translation validation by decomposing the problem along two axes. Our primary contribution is a method for harnessing compiler information to extract subprograms whose equivalence result implies equivalence of the overall transformation (the spatial axis). We augment this method by utilizing compiler information to dynamically group transformation passes for validation (the temporal axis). Our evaluation demonstrates that this approach validates 10% of translations that existing approaches fail to validate, and speeds up validation by up to 2.4×.

链接与引用

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

BibTeX
@article{paperbot12107,
  title = {Spatial and Temporal Decomposition for Faster Translation Validation},
  author = {Benjamin Mikek and Chathur Bommineni and Qirun Zhang and Thomas Reps},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {10},
  number = {OOPSLA2},
  year = {2026},
  doi = {10.1145/3839512}
}