Skip to content

Release/Acquire consistency  #76

@volodeyka

Description

@volodeyka

After pushing #73, we'll be finally ready to reason about R/A consistency. Here I want to make some kind of plan. We know that execution graph is RA consistent iff wb-relation is acyclic. Where wb defined as follows:

So as I see our plan is:

  • Define RA-consistency predicate in terms of ca-relation. To do this I propose to define wb-function of E -> seq E type using strict ca version. Then we can ask something like x \notin wb x for all x from dom es
  • Make a new function eval_RA_step that takes RA-consistent configuration c and returns sequence of all RA-consistent configurations that we can rich from c by one step i.e. we should filter all possible configurations by RA-consistency predicate
  • We should proof that if there is wb-cycle in some event structure es then there is `wb-cycle in it's conflict free subset.
  • I guess that if we know that es is RA-consistent, then there is a simpler way to ensure that add_event x es is RA-consistent then just check RA-consistency predicate. So it would be great to come up with such predicate
  • Finally, we should proof that if es is RA-consistent, than exists such mo relation that is acyclic

Metadata

Metadata

Assignees

Labels

RFCRequest For CommentenhancementNew feature or requesttheory

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions