Abstract
Substructural logics serve as the formal foundation for resource-aware reasoning, notably in verification tools like Separation Logic. However, proving the strong completeness of these logics—ensuring that the proof system captures all semantic truths—has historically been a fragmented, case-by-case endeavor. This paper presents a modular, coalgebraic framework that unifies these proofs through the lens of category theory. By establishing a link between algebraic canonicity and relational completeness, the authors provide a systematic methodology for developing and extending resource logics.
Introduction
In classical logic, premises can be reused indefinitely. In contrast, substructural logics track "ownership" and resource consumption, making them indispensable for verifying software memory safety (e.g., preventing use-after-free bugs). Despite their utility, a persistent gap exists between the abstract syntax of these logics and their relational semantics (models of heaps or memory). Proving completeness—that every valid statement in a model is provable—is often a grueling process. This research introduces a "master theory" to bridge this gap using coalgebraic logic, allowing for the modular construction of complex logical systems.
The Coalgebraic Framework
The authors employ category theory to unify disparate logical systems. The core of their approach is a dual adjunction between the world of Syntax (represented by distributive lattices) and the world of Semantics (represented by partially ordered sets, or posets).
As shown in Figure 1, this framework uses functors to define logical operators. By treating operators like the "separating conjunction" ($\otimes$) as functors, the system becomes modular. New features, such as temporal or probabilistic modalities, can be added by simply "fusing" the corresponding functors together. This modularity ensures that properties proven for individual components are preserved in the combined system.
Completeness via Canonicity
The central technical contribution is the strategy of "completeness-via-canonicity." In algebraic logic, an axiom is canonical if its validity in a simple algebra implies its validity in a larger, "completed" version of that algebra. This completed algebra corresponds directly to a relational model, such as a Kripke frame.
The authors demonstrate that the algebraic property of canonicity is precisely what is required to guarantee strong completeness in a coalgebraic setting. Figure 2 illustrates the commutative diagram used to define the interpretation of the logic, mapping the syntactic constructors to their semantic counterparts. This mapping allows researchers to effectively "guess" the correct relational model for a new logic based solely on its algebraic structure.
Key Results and Applications
The framework was successfully applied to prove strong completeness for a wide range of distributive substructural logics, including the Distributive Full Lambek Calculus. Key findings include:
- Axiomatization: The identification of specific "Frame Conditions" (axioms FC1-6) that capture residuated lattice behavior while remaining canonical.
- Transfer Theorems: Proof that completeness is preserved under the fusion of logics.
- Practical Validation: The standard "heap model" used in program verification was shown to satisfy the framework's "Residuation Compatibility Condition" (RCC), confirming the theory's relevance to real-world software analysis.
Conclusion and Future Work
By grounding resource logics in the mathematics of posets and coalgebra, this work provides a robust roadmap for future logical design. While currently limited to distributive logics, the authors identify the extension to non-distributive systems (like standard Linear Logic) and the inclusion of graded modalities as primary targets for future research. This unified framework significantly lowers the barrier to creating sound and complete logics for increasingly complex resource-management scenarios.
Summary updated