Skip to content

Commit

Permalink
examples: fix the specs in the bounded_counter
Browse files Browse the repository at this point in the history
  • Loading branch information
nisarg-certora committed Nov 10, 2024
1 parent c50e702 commit baeedf7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/comparison/bounded_counter.rav
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ inv counterInv(x: Ref, max: Int) {
proc incr(x: Ref, max: Int)
returns (res: Int)
requires counterInv(x, max)
ensures counterInv(x, max)
ensures 0 <= res <= max
{
var v: Int;
Expand All @@ -33,7 +32,6 @@ proc incr(x: Ref, max: Int)
proc read(x: Ref, max: Int)
returns (v: Int)
requires counterInv(x, max)
ensures counterInv(x, max)
{
unfold counterInv(x, max);
v := x.c;
Expand Down

0 comments on commit baeedf7

Please sign in to comment.