Separation Logic of Generic Resources via Sheafeology
Berend van Starkenburg, Henning Basold, Chase Ford

TL;DR
This paper introduces a categorical logic framework called sheafeology that models separation logic for generic resources by internalizing resource views in sheaf categories, enabling scalable local reasoning across diverse resource types.
Contribution
It develops a novel categorical logic framework using sheaves to unify and generalize separation logic for various resource structures, extending its applicability beyond memory to other resource models.
Findings
Framework models predicates on resources using sheaves
Supports first-order and separating connectives internally
Successfully instantiated to memory models and stochastic resources
Abstract
Separation logic was conceived in order to make the verification of pointer programs scalable to large systems and it has proven extremely effective. The key idea is that programs typically access only small parts of memory, allowing for local reasoning. This idea is implemented in separation logic by extending first-order logic with separating connectives, which inspect local regions of memory. It turns that this approach not only applies to pointer programs, but also to programs involving other resource structures. Various theories have been put forward to extract and apply the ideas of separation logic more broadly. This resulted in algebraic abstractions of memory and many variants of separation logic for, e.g., concurrent programs and stochastic processes. However, none of the existing approaches formulate the combination of first-order logic with separating connectives in a theory…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Formal Methods in Verification · Logic, Reasoning, and Knowledge
