paperbot · PL 论文追踪

全部论文 待读 收藏

P1 Constructive Galois Connections

构造性 Galois 连接
JFP vol.292019匹配度 5/10 · 论文研究抽象解释中 Galois 连接的构造性机械化,属于静态分析与形式化验证的基础理论,与用户对程序分析和证明助手的兴趣相关;但未涉及 LLM/Agent、浮点程序分析或贝叶斯程序分析,与当前主线的交叉点有限。引用 2 inbox
DAVID DARAIS, DAVID VAN HORN
crossref: 2026-09-10

AI 速览

一句话:提出构造性 Galois 连接,使抽象解释中的 Galois 连接可在依赖类型证明助手中机械化并支持可提取算法。

Galois 连接是抽象解释与语义中组织抽象的基础工具,但其在证明助手中的机械化此前仅限受限用法,难以广泛用于机械化元理论与认证编程。本文提出构造性 Galois 连接:识别经典 Galois 连接的一种既通用又适合在依赖类型函数式语言中机械化的受限使用模式,并加入 monadic 结构控制“规约效应”。效应化计算可经典推理,纯计算保留可提取内容,从而支持在规约与实现间显式切换及 Cousot 的计算式推理风格。案例研究包括用计算式抽象解释设计静态分析器,以及为渐进类型建立语义基础;机械化证明贴近原始纸笔证明,支持已验证算法抽取,并采用此前机械化方法未涵盖的推理原则。

问题
经典 Galois 连接在证明助手中的机械化受限于特定使用模式,无法普遍支撑机械化元理论、认证编程及计算式抽象解释推理。
方法
提出构造性 Galois 连接,通过限定经典 Galois 连接的使用模式并加入 monadic“规约效应”,在依赖类型语言中兼顾经典规约推理与可提取的纯计算内容。
评估
在两个案例中机械化文献中已有证明:设计计算式抽象解释静态分析器,并为渐进类型建立语义基础;证明贴近原纸笔版本并支持已验证算法抽取。
原文摘要(Abstract)

Abstract Galois connections are a foundational tool for structuring abstraction in semantics, and their use lies at the heart of the theory of abstract interpretation. Yet, mechanization of Galois connections using proof assistants remains limited to restricted modes of use, preventing their general application in mechanized metatheory and certified programming. This paper presents constructive Galois connections , a variant of Galois connections that is effective both on paper and in proof assistants; is complete with respect to a large subset of classical Galois connections; and enables more general reasoning principles, including the “calculational” style advocated by Cousot. To design constructive Galois connections, we identify a restricted mode of use of classical ones which is both general and amenable to mechanization in dependently typed functional programming languages. Crucial to our metatheory is the addition of monadic structure to Galois connections to control a “specification effect.” Effectful calculations may reason classically, while pure calculations have extractable computational content. Explicitly moving between the worlds of specification and implementation is enabled by our metatheory. To validate our approach, we provide two case studies in mechanizing existing proofs from the literature: the first uses calculational abstract interpretation to design a static analyzer, and the second forms a semantic basis for gradual typing. Both mechanized proofs closely follow their original paper-and-pencil counterparts, employ reasoning principles not captured by previous mechanization approaches, support the extraction of verified algorithms, and are novel.

链接与引用

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

BibTeX
@article{paperbot722,
  title = {Constructive Galois Connections},
  author = {DAVID DARAIS and DAVID VAN HORN},
  journal = {Journal of Functional Programming},
  volume = {29},
  year = {2019},
  doi = {10.1017/s0956796819000066}
}