Skip to content

Commit

Permalink
fix: peterson create spec
Browse files Browse the repository at this point in the history
  • Loading branch information
nisarg-certora committed Nov 12, 2024
1 parent a4c75ff commit f367cff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/comparison/peterson.rav
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ module Peterson[R: LockResource]
returns (l: Ref)
requires resource(r)
ensures peterson_inv(l, r)
ensures own(l.wait_left, false, 0.5)
ensures own(l.active_left, false, 0.5)
ensures own(l.wait_right, false, 0.5)
ensures own(l.active_right, false, 0.5)
{
l := new(
Expand Down

0 comments on commit f367cff

Please sign in to comment.