paperbot · PL 论文追踪

全部论文 待读 收藏

P2 How to prove your calculus is decidable: practical applications of second-order algebraic theories and computation

如何证明你的演算是可判定的:二阶代数理论与计算的实践应用
ICFP 1(ICFP)2017匹配度 2/10 · 该论文属于形式语义与定理证明领域,讨论二阶代数理论下演算可判定性及 Haskell 工具,与用户核心关注的 ML/Agent 程序静态分析、LLM 辅助静态分析/形式化验证、浮点程序分析、贝叶斯程序分析均无直接交集。虽涉及形式化验证与工具实现,但未结合 LLM/Agent,也非工业落地或问题驱动型 benchmark 研究。引用 18 inbox
Makoto Hamana
dblp: 2026-09-10crossref: 2026-09-10

AI 速览

一句话:提出用二阶代数理论证明演算等式理论可判定的通用方法,并实现 Haskell 工具 SOL 辅助合流性与强规范化证明。

论文研究编程语言演算中等式理论的可判定性证明问题。作者在二阶代数理论框架下提出一种通用方法,将计算规则转化为重写系统,并结合与扩展二阶计算的语法和语义结果,证明其合流性与强规范化,从而导出等式理论可判定。为此实现 Haskell 分析工具 SOL,辅助此类证明。案例涵盖单子与 λ 演算、Plotkin 与 Power 的状态理论以及 Stark 的 π 演算等,展示了该方法在多种语言理论中的实用性。

问题
如何为编程语言演算的等式理论提供可判定性证明,尤其是含绑定与高阶结构的演算。
方法
在二阶代数理论框架下将计算规则表述为重写系统,结合并扩展语法与语义结果,用 Haskell 工具 SOL 辅助证明合流性与强规范化。
评估
通过单子与 λ 演算、状态理论、π 演算等文献案例展示该方法的适用性与实用性。
原文摘要(Abstract)

We present a general methodology of proving the decidability of equational theory of programming language concepts in the framework of second-order algebraic theories. We propose a Haskell-based analysis tool SOL, Second-Order Laboratory, which assists the proofs of confluence and strong normalisation of computation rules derived from second-order algebraic theories. To cover various examples in programming language theory, we combine and extend both syntactical and semantical results of second-order computation in a non-trivial manner. We demonstrate how to prove decidability of various algebraic theories in the literature. It includes the equational theories of monad and lambda-calculi, Plotkin and Power's theory of states, and Stark's theory of pi-calculus.

链接与引用

DOI 原文 · DBLP

BibTeX
@article{Hamana17,
  title = {How to prove your calculus is decidable: practical applications of second-order algebraic theories and computation},
  author = {Makoto Hamana},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {1},
  number = {ICFP},
  year = {2017},
  doi = {10.1145/3110266}
}