SteelCore: an extensible concurrent separation logic for effectful dependently typed programs
SteelCore: an extensible concurrent separation logic for effectful dependently typed programs
复制标题
SteelCore:用于有效依赖类型程序的可扩展并发分离逻辑
DOI:
--
复制
发表时间:
2020
期刊:
影响因子:
--
通讯作者:
Guido Martínez
中科院分区:
文献类型:
--
作者:
N. Swamy;Aseem Rastogi;Aymeric Fromherz;Denis Merigoux;Danel Ahman;Guido Martínez
Much recent research has been devoted to modeling effects within type theory. Building on this work, we observe that effectful type theories can provide a foundation on which to build semantics for more complex programming constructs and program logics, extending the reasoning principles that apply within the host effectful type theory itself. Concretely, our main contribution is a semantics for concurrent separation logic (CSL) within the F⋆ proof assistant in a manner that enables dependently typed, effectful F⋆ programs to make use of concurrency and to be specified and verified using a full-featured, extensible CSL. In contrast to prior approaches, we directly derive the partial-correctness Hoare rules for CSL from the denotation of computations in the effectful semantics of non-deterministically interleaved atomic actions. Demonstrating the flexibility of our semantics, we build generic, verified libraries that support various concurrency constructs, ranging from dynamically allocated, storable spin locks, to protocol-indexed channels. We conclude that our effectful semantics provides a simple yet expressive basis on which to layer domain-specific languages and logics for verified, concurrent programming.
DOI:
10.1145/3341301.3359632
发表时间:
2019
期刊:
Proceedings of the 27th ACM Symposium on Operating Systems Principles (SOSP
影响因子:
--
作者:
Chajed, Tej;Tassarotti, Joseph;Kaashoek, Frans;Zeldovich, Nickolai
通讯作者:
Zeldovich, Nickolai