Theorems for free from separation logic specifications - Archive ouverte HAL
Article Dans Une Revue Proceedings of the ACM on Programming Languages Année : 2021

Theorems for free from separation logic specifications

Résumé

Separation logic specifications with abstract predicates intuitively enforce a discipline that constrains when and how calls may be made between a client and a library. Thus a separation logic specification of a library intuitively enforces a protocol on the trace of interactions between a client and the library. We show how to formalize this intuition and demonstrate how to derive "free theorems" about such interaction traces from abstract separation logic specifications. We present several examples of free theorems. In particular, we prove that a so-called logically atomic concurrent separation logic specification of a concurrent module operation implies that the operation is linearizable. All the results presented in this paper have been mechanized and formally proved in the Coq proof assistant using the Iris higher-order concurrent separation logic framework.

Dates et versions

hal-03510684 , version 1 (04-01-2022)

Identifiants

Citer

Lars Birkedal, Thomas Dinsdale-Young, Armaël Guéneau, Guilhem Jaber, Kasper Svendsen, et al.. Theorems for free from separation logic specifications. Proceedings of the ACM on Programming Languages, 2021, 5 (ICFP), pp.1-29. ⟨10.1145/3473586⟩. ⟨hal-03510684⟩
65 Consultations
0 Téléchargements

Altmetric

Partager

More