Skip to content

Commit

Permalink
seq range fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sakehl committed Mar 27, 2024
1 parent 400e108 commit 5dac883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion res/universal/res/adt/range.pvl
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ pure set<int> set_range(int l, int r);

ensures (\forall int i; {:i \in \result:} == (l >= i && i < r));
ensures l <= r ? \result.size == r - l : \result.size == 0;
ensures (\forall int i=l..r; {:\result[i]:} == l + i);
ensures (\forall int i=0..(r-l); {:\result[i]:} == l + i);
pure seq<int> seq_range(int l, int r);

0 comments on commit 5dac883

Please sign in to comment.