A Complete Axiomatisation for Quantifier-Free Separation Logic

Stéphane Demri,Étienne Lozes,Alessio Mansutti
DOI: https://doi.org/10.46298/lmcs-17%283%3A17%292021
2021-08-09
Abstract:We present the first complete axiomatisation for quantifier-free separation logic. The logic is equipped with the standard concrete heaplet semantics and the proof system has no external feature such as nominals/labels. It is not possible to rely completely on proof systems for Boolean BI as the concrete semantics needs to be taken into account. Therefore, we present the first internal Hilbert-style axiomatisation for quantifier-free separation logic. The calculus is divided in three parts: the axiomatisation of core formulae where Boolean combinations of core formulae capture the expressivity of the whole logic, axioms and inference rules to simulate a bottom-up elimination of separating connectives, and finally structural axioms and inference rules from propositional calculus and Boolean BI with the magic wand.
Logic in Computer Science
What problem does this paper attempt to address?
### What problem does this paper attempt to solve? This paper aims to provide a complete axiomatization system for **Quantifier - Free Separation Logic (QFSL)**. Specifically, the authors present the first internal Hilbert - style proof system for dealing with quantifier - free separation logic without relying on external features such as labels or nominals. #### Background and Motivation 1. **The Importance of Separation Logic**: - Separation logic is an extension of Hoare - Floyd logic and is used to verify programs with mutable data structures. - In the field of program verification, separation logic has attracted much attention due to its powerful expressive ability and simplicity. 2. **Limitations of Existing Work**: - Although there has been a great deal of research on separation logic, most of the work has focused on the abstract level or has relied on external features (such as labels or nominals). - These methods, although effective, do not fully meet the specific semantic requirements of separation logic. 3. **Innovations of This Paper**: - It presents the first fully internalized Hilbert - style proof system specifically for quantifier - free separation logic. - This system does not rely on any external features, ensuring the purity and consistency of logical expression. #### Main Contributions of the Paper 1. **Complete Axiomatization of Core Formulae**: - Core formulae are introduced, which can capture all the expressive power of quantifier - free separation logic. - Complex separation logic formulae are simplified into combinations of core formulae through Boolean combinations. 2. **Gradually Adding Support for Spatial Connectives**: - The system is divided into three parts: - Axiomatization of Boolean combinations of core formulae. - Axioms and inference rules that simulate the bottom - up elimination of the separating conjunction. - Axioms and inference rules that simulate the bottom - up elimination of the magic wand. 3. **Modular Design**: - This method has a modular characteristic and can be applied to other separation logic fragments, forming a general axiomatization method. #### Formulae and Symbols - **Separating Conjunction**: `ϕ * ψ` - **Magic Wand**: `ϕ -∗ ψ` - **Allocation**: `alloc(x)` - **Size**: `size ≥ β` #### Conclusion By presenting a complete, internalized Hilbert - style proof system, the authors provide a solid theoretical foundation for quantifier - free separation logic. This not only helps to better understand the essence of this logic but also provides powerful tools and support for future research. --- Hope this summary can help you understand the core content of this paper and the problem it aims to solve. If you have more questions or need further explanation, please feel free to let me know!