Sciweavers

FM
1999
Springer

Compositional Symmetric Sharing in B

13 years 8 months ago
Compositional Symmetric Sharing in B
Sharing between B constructs is limited, both on the specification and the implementation level. The limitations stem from the single writer/multiple readers paradigm, restricted visibility of shared variables, and structural constraints to prevent interference. As a consequence, applications with inherent sharing requirements have to either be described as large monolithic constructs or be underspecified, leading to a loss of modularity respectively certain desirable properties being unprovable. We propose a new compositional symmetric shared access mechanism based on roles describing rely/guarantee conditions. The mechanism provides for multiple writers on shared constructs, visibility of shared variables in the accessors’ invariants, and controlled aliasing. Use is uniform in machines, refinements, and implementations. Sharing is compositional: all proof obligations are local and do not require knowledge of the other accessors’ specifications, let alone their or the shared c...
Martin Büchi, Ralph-Johan Back
Added 04 Aug 2010
Updated 04 Aug 2010
Type Conference
Year 1999
Where FM
Authors Martin Büchi, Ralph-Johan Back
Comments (0)