Semantic cut elimination for the logic of bunched implications, formalized in Coq

Dan Frumin*

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

95 Downloads (Pure)

Abstract

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.

Original languageEnglish
Title of host publicationCPP 2022 - Proceedings of the 11th ACM SIGPLAN International Conference on Certified Programs and Proofs, co-located with POPL 2022
EditorsAndrei Popescu, Steve Zdancewic
PublisherAssociation for Computing Machinery, Inc
Pages291-306
Number of pages16
ISBN (Electronic)9781450391825
DOIs
Publication statusPublished - 17-Jan-2022
Event11th ACM SIGPLAN International Conference on Certified Programs and Proofs, CPP 2022 - co-located with POPL 2022 - Philadelphia, United States
Duration: 17-Jan-202218-Jan-2022

Publication series

NameCPP 2022 - Proceedings of the 11th ACM SIGPLAN International Conference on Certified Programs and Proofs, co-located with POPL 2022

Conference

Conference11th ACM SIGPLAN International Conference on Certified Programs and Proofs, CPP 2022 - co-located with POPL 2022
Country/TerritoryUnited States
CityPhiladelphia
Period17/01/202218/01/2022

Keywords

  • bunched implications
  • Coq
  • cut elimination
  • interactive theorem proving
  • substructural logics

Fingerprint

Dive into the research topics of 'Semantic cut elimination for the logic of bunched implications, formalized in Coq'. Together they form a unique fingerprint.

Cite this