Program logics à la Carte
Vistrup M, Sammler MJ, Jung R. 2025. Program logics à la Carte. Proceedings of the ACM on Programming Languages. 9(POPL), 300–331.
Download (ext.)
DOI
Journal Article
| Published
| English
Scopus indexed
Author
Vistrup, Max;
Sammler, Michael JoachimISTA;
Jung, Ralf
Abstract
Program logics have proven a successful strategy for verification of complex programs. By providing local reasoning and means of abstraction and composition, they allow reasoning principles for individual components of a program to be combined to prove guarantees about a whole program. Crucially, these components and their proofs can be reused. However, this reuse is only available once the program logic has been defined. It is a frustrating fact of the status quo that whoever defines a new program logic must establish every part, both semantics and proof rules, from scratch. In spite of programming languages and program logics typically sharing many core features, reuse is generally not available across languages. Even inside one language, if the same underlying operation appears in multiple language primitives, reuse is typically not possible when establishing proof rules for the program logic.
To enable reuse across and inside languages when defining complex program logics (and proving them sound), we serve program logics à la carte by combining program logic fragments for the various effects of the language. Among other language features, the menu includes shared state, concurrency, and non-determinism as reusable, composable blocks that can be combined to define a program logic modularly. Our theory builds on ITrees as a framework to express language semantics and Iris as the underlying separation logic; the work has been mechanized in the Coq proof assistant.
Publishing Year
Date Published
2025-01-09
Journal Title
Proceedings of the ACM on Programming Languages
Publisher
Association for Computing Machinery
Volume
9
Issue
POPL
Page
300-331
ISSN
IST-REx-ID
Cite this
Vistrup M, Sammler MJ, Jung R. Program logics à la Carte. Proceedings of the ACM on Programming Languages. 2025;9(POPL):300-331. doi:10.1145/3704847
Vistrup, M., Sammler, M. J., & Jung, R. (2025). Program logics à la Carte. Proceedings of the ACM on Programming Languages. Association for Computing Machinery. https://doi.org/10.1145/3704847
Vistrup, Max, Michael Joachim Sammler, and Ralf Jung. “Program Logics à La Carte.” Proceedings of the ACM on Programming Languages. Association for Computing Machinery, 2025. https://doi.org/10.1145/3704847.
M. Vistrup, M. J. Sammler, and R. Jung, “Program logics à la Carte,” Proceedings of the ACM on Programming Languages, vol. 9, no. POPL. Association for Computing Machinery, pp. 300–331, 2025.
Vistrup M, Sammler MJ, Jung R. 2025. Program logics à la Carte. Proceedings of the ACM on Programming Languages. 9(POPL), 300–331.
Vistrup, Max, et al. “Program Logics à La Carte.” Proceedings of the ACM on Programming Languages, vol. 9, no. POPL, Association for Computing Machinery, 2025, pp. 300–31, doi:10.1145/3704847.
All files available under the following license(s):
Creative Commons Attribution 4.0 International Public License (CC-BY 4.0):
Link(s) to Main File(s)
Access Level
Open Access
