Skip to content

Commit

Permalink
fix: alloy6 language migration (#1803)
Browse files Browse the repository at this point in the history
The alloy tool in which the formal memory model is specified has been
updated to version 6. The single quote has been introduced as a new
operator thus the old notation no longer compiles. This ensures the
formal memory spec still works under the new alloy 6.

Signed-off-by: Tianrui Wei <[email protected]>
  • Loading branch information
tianrui-wei authored Jan 15, 2025
1 parent 866cfb8 commit 97273ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mm-formal.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ pred restrict_to_current_encodings {
// =Alloy shortcuts=
pred acyclic[rel: Event->Event] { no iden & ^rel }
pred total[rel: Event->Event, bag: Event] {
all disj e, e': bag | e->e' in rel + ~rel
all disj e, f: bag | e->f in rel + ~rel
acyclic[rel]
}
....
Expand Down

0 comments on commit 97273ec

Please sign in to comment.