TY - GEN
T1 - Semantic cut elimination for the logic of bunched implications, formalized in Coq
AU - Frumin, Dan
N1 - Funding Information:
The author was supported by VIDI Project No. 016.Vidi.189.046 (Unifying Correctness for Communicating Software).
Publisher Copyright:
© 2022 Owner/Author.
PY - 2022/1/17
Y1 - 2022/1/17
N2 - 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 simple structural rules, and (ii) an extension with an S4-like ĝ modality.
AB - 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 simple structural rules, and (ii) an extension with an S4-like ĝ modality.
KW - bunched implications
KW - Coq
KW - cut elimination
KW - interactive theorem proving
KW - substructural logics
UR - http://www.scopus.com/inward/record.url?scp=85124030896&partnerID=8YFLogxK
U2 - 10.1145/3497775.3503690
DO - 10.1145/3497775.3503690
M3 - Conference contribution
AN - SCOPUS:85124030896
T3 - CPP 2022 - Proceedings of the 11th ACM SIGPLAN International Conference on Certified Programs and Proofs, co-located with POPL 2022
SP - 291
EP - 306
BT - CPP 2022 - Proceedings of the 11th ACM SIGPLAN International Conference on Certified Programs and Proofs, co-located with POPL 2022
A2 - Popescu, Andrei
A2 - Zdancewic, Steve
PB - Association for Computing Machinery, Inc
T2 - 11th ACM SIGPLAN International Conference on Certified Programs and Proofs, CPP 2022 - co-located with POPL 2022
Y2 - 17 January 2022 through 18 January 2022
ER -