paperbot · PL 论文追踪

全部论文 待读 收藏

P2 The adequacy of Launchbury's natural semantics for lazy evaluation

Launchbury 惰性求值自然语义的 adequacy
JFP vol.282018匹配度 2/10 · 该论文属于形式语义与定理证明工程,虽与形式化验证相关,但既未涉及 LLM/Agent 改进静态分析或形式化验证,也未覆盖浮点程序分析、贝叶斯程序分析或 Agentic 程序分析等用户核心方向。引用 6 inbox
JOACHIM BREITNER
crossref: 2026-09-10

AI 速览

一句话:在 Isabelle 中机器验证 Launchbury 惰性求值自然语义的 adequacy,首次给出严格证明。

Launchbury 在 1993 年提出惰性求值的自然语义,并相对指称语义证明了其正确性,但仅概述了 adequacy(充分性)证明;此前将其严格化的尝试依赖中间自然语义和带资源的指称语义,均未成功。本文给出一种新的直接证明,绕过中间自然语义,首次严格证明了 Launchbury 语义的 adequacy。作者在交互式定理证明器 Isabelle 中形式化该语义并机器检查全部证明,从而提供最高级别的严谨性,同时为后续工作(如编译器变换的正确性证明)提供了可复用的机器验证基础。

问题
如何严格证明 Launchbury 的惰性求值自然语义相对于指称语义的 adequacy;此前涉及中间自然语义与资源指称语义的证明尝试均未成功。
方法
设计跳过中间自然语义的直接证明,并在 Isabelle 中形式化语义、机器检查全部证明。
评估
通过 Isabelle 机器化证明完成首个严格 adequacy 证明,并为编译器变换正确性等后续工作提供工具基础。
原文摘要(Abstract)

Abstract In his seminal paper “A Natural Semantics for Lazy Evaluation”, John Launchbury proves his semantics correct with respect to a denotational semantics, and outlines a proof of adequacy. Previous attempts to rigorize the adequacy proof, which involves an intermediate natural semantics and an intermediate resourced denotational semantics, have failed. We devised a new, direct proof that skips the intermediate natural semantics. It is the first rigorous adequacy proof of Launchbury's semantics. We have modeled our semantics in the interactive theorem prover Isabelle and machine-checked our proofs. This does not only provide a maximum level of rigor, but also serves as a tool for further work, such as a machine-checked correctness proof of a compiler transformation.

链接与引用

DOI 原文 ·

BibTeX
@article{paperbot327,
  title = {The adequacy of Launchbury's natural semantics for lazy evaluation},
  author = {JOACHIM BREITNER},
  journal = {Journal of Functional Programming},
  volume = {28},
  year = {2018},
  doi = {10.1017/s0956796817000144}
}