Skip to content

Commit

Permalink
exit condition update for example
Browse files Browse the repository at this point in the history
  • Loading branch information
NamrathaG committed Jun 21, 2024
1 parent a13197e commit 0fa0c55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ modifies r1, pSet;
var {:pool "V"} v:Value;
assert 1 <= perm->val->mem_index && perm->val->mem_index <=n;
assume {:add_to_pool "A", 0, n} true;
assume {:exit_condition Set_IsSubset(WholeTidPermission(perm->val->t_id), pSet)} true;
assume {:exit_condition Set_IsSubset(WholeTidPermission(perm->val->t_id), Set_Add(pSet, perm->val) )} true;

if (*) {
assume {:add_to_pool "K", mem[perm->val->mem_index]->ts, k} {:add_to_pool "V", mem[perm->val->mem_index]->value, v} true;
Expand Down

0 comments on commit 0fa0c55

Please sign in to comment.