diff options
author | Unknown <qadeer@FAIZ-AHMED-FAIZ.redmond.corp.microsoft.com> | 2013-05-18 21:15:20 -0700 |
---|---|---|
committer | Unknown <qadeer@FAIZ-AHMED-FAIZ.redmond.corp.microsoft.com> | 2013-05-18 21:15:20 -0700 |
commit | 64d8963508ce048d00db3766f4ca597b792c1b95 (patch) | |
tree | 67801fe71cd2ceb7eb851833dd489751baa21ce2 /Test/linear/f1.bpl | |
parent | 89b20adf23750478098578895fef9ca3b9170927 (diff) |
reworked the linear and og implementation based on available variables theory
Diffstat (limited to 'Test/linear/f1.bpl')
-rw-r--r-- | Test/linear/f1.bpl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Test/linear/f1.bpl b/Test/linear/f1.bpl index 0d9189ab..1f451daf 100644 --- a/Test/linear/f1.bpl +++ b/Test/linear/f1.bpl @@ -24,9 +24,7 @@ procedure {:entrypoint} main({:linear "1"} x_in: [int]bool) requires b1 ==> x_in != mapconstbool(false);
{
var {:linear "1"} x: [int] bool;
- assume x == x_in;
-
- assume x == mapconstbool(true);
+ x := x_in;
call foo(x);
@@ -40,7 +38,7 @@ procedure foo({:linear "1"} x_in: [int]bool) requires b3 ==> x_in != mapconstbool(false);
{
var {:linear "1"} x: [int] bool;
- assume x == x_in;
+ x := x_in;
assert b4 ==> x == mapconstbool(true);
assert b5 ==> x != mapconstbool(false);
|