Artículo
SteelCore: An extensible concurrent separation logic for effectful dependently typed programs
Fecha de publicación:
08/2020
Editorial:
Association for Computing Machinery
Revista:
Proceedings of the ACM on Programming Languages
e-ISSN:
2475-1421
Idioma:
Inglés
Tipo de recurso:
Artículo publicado
Clasificación temática:
Resumen
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.
Palabras clave:
CONCURRENCY
,
PROGRAM PROOFS
,
SEPARATION LOGIC
Archivos asociados
Licencia
Identificadores
Colecciones
Articulos(CIFASIS)
Articulos de CENTRO INT.FRANCO ARG.D/CS D/L/INF.Y SISTEM.
Articulos de CENTRO INT.FRANCO ARG.D/CS D/L/INF.Y SISTEM.
Citación
Swamy, Nikhil; Rastogi, Aseem; Fromherz, Aymeric; Merigoux, Denis; Ahman, Danel; et al.; SteelCore: An extensible concurrent separation logic for effectful dependently typed programs; Association for Computing Machinery; Proceedings of the ACM on Programming Languages; 4; 121; 8-2020; 1-30
Compartir
Altmétricas