Simulation and Invariance for Weak Consistency

2016 
We aim at developing correct algorithms for a wide variety of weak consistency models \(M_0, \dots , M_n\). Given an algorithm A and a consistency model \(M \in \{M_0, \dots ,M_n\}\), at quite a high-level examining the correctness of the algorithm A under M amounts to asking, for example, “can these executions happen?”, or “are these the only possible executions?”. Since a few years, Luc Maranget and myself have been designing and developing the herd7 simulation tool: given a litmus test, i.e. a small piece of code and a consistency model, i.e. a set of constraints defining the valid executions of a program, the herd7 tool outputs all the possible executions of the litmus test under the consistency model. In recent works with Patrick Cousot, we have developed an invariance method for proving the correctness of algorithms under weak consistency models. In this paper I would like to give a general overview of these works.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    9
    References
    2
    Citations
    NaN
    KQI
    []