Coq语言形式化的集束蕴涵逻辑的语义割消除
Semantic Cut Elimination for the Logic of Bunched Implications, Formalized in Coq
摘要:
集束蕴涵逻辑(BI)是构成分离逻辑主干的子结构逻辑,分离逻辑是研究堆操作程序推理的逻辑。虽然BI的证明理论和元理论在数学上都有涉及,但重要的元理论结果的形式化仍然刚刚起步。在本文中,我们提出了一个自包含的形式化,在Coq的证明助手,证明了中央元理论性质的BI:削减消除其微积分。提出的证明是 * 语义 *,在这个意义上说,是通过解释在一个特定的“通用”模型的序列。这导致了一个比标准的Gentzen风格的切割消除参数更模块化和优雅的证明,这在BI的手动证明中可能是微妙和容易出错的。特别是,我们的语义方法避免了不必要的反演证明推导,或使用削减减少和多削减规则。除了模块化,我们的方法也是强大的:我们演示了我们的方法规模,与微小的修改,(i)BI的扩展与任意一组的\emph{simple structural rules},和(ii)扩展与S4一样的$\Box$模态。
英文摘要:
The logic of bunched implications (BI) is a substructural logic that forms the backbone of separation logic, the much studied logic for reasoning about heap-manipulating programs. Although the proof theory and metatheory of BI are mathematically involved, the formalization of important metatheoretical results is still incipient. In this paper we present a self-contained formalized, in the Coq proof assistant, proof of a central metatheoretical property of BI: cut elimination for its sequent calculus. The presented proof is *semantic*, in the sense that is obtained by interpreting sequents in a particular "universal" model. This results in a more modular and elegant proof than a standard Gentzen-style cut elimination argument, which can be subtle and error-prone in manual proofs for BI. In particular, our semantic approach avoids unnecessary inversions on proof derivations, or the uses of cut reductions and the multi-cut rule. Besides modular, our approach is also robust: we demonstrate how our method scales, with minor modifications, to (i) an extension of BI with an arbitrary set of \emph{simple structural rules}, and (ii) an extension with an S4-like $\Box$ modality.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。