refinement calculus
Recently Published Documents


TOTAL DOCUMENTS

96
(FIVE YEARS 5)

H-INDEX

12
(FIVE YEARS 1)

2022 ◽  
Vol 6 (POPL) ◽  
pp. 1-32
Author(s):  
Arthur Oliveira Vale ◽  
Paul-André Melliès ◽  
Zhong Shao ◽  
Jérémie Koenig ◽  
Léo Stefanesco

Large-scale software verification relies critically on the use of compositional languages, semantic models, specifications, and verification techniques. Recent work on certified abstraction layers synthesizes game semantics, the refinement calculus, and algebraic effects to enable the composition of heterogeneous components into larger certified systems. However, in existing models of certified abstraction layers, compositionality is restricted by the lack of encapsulation of state. In this paper, we present a novel game model for certified abstraction layers where the semantics of layer interfaces and implementations are defined solely based on their observable behaviors. Our key idea is to leverage Reddy's pioneer work on modeling the semantics of imperative languages not as functions on global states but as objects with their observable behaviors. We show that a layer interface can be modeled as an object type (i.e., a layer signature) plus an object strategy. A layer implementation is then essentially a regular map, in the sense of Reddy, from an object with the underlay signature to that with the overlay signature. A layer implementation is certified when its composition with the underlay object strategy implements the overlay object strategy. We also describe an extension that allows for non-determinism in layer interfaces. After formulating layer implementations as regular maps between object spaces, we move to concurrency and design a notion of concurrent object space, where sequential traces may be identified modulo permutation of independent operations. We show how to express protected shared object concurrency, and a ticket lock implementation, in a simple model based on regular maps between concurrent object spaces.


2021 ◽  
pp. 104819
Author(s):  
Viorel Preoteasa ◽  
Iulia Dragomir ◽  
Stavros Tripakis

Author(s):  
Iulia Dragomir ◽  
Viorel Preoteasa ◽  
Stavros Tripakis

2018 ◽  
Vol 164 ◽  
pp. 37-48 ◽  
Author(s):  
João Alpuim ◽  
Wouter Swierstra
Keyword(s):  

Sign in / Sign up

Export Citation Format

Share Document