blob: 3034f9733d06b399387de61a643dab3714cceb2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
const a:bool;
const b:bool;
const c:bool;
const d:bool;
function f(int) returns (bool);
axiom (forall x:int :: f(x) <== x >= 0);
procedure P() {
assert (a ==> (b ==> c) ==> d) == (d <== (c <== b) <== a);
assert (a ==> b ==> c) == (c <== (a ==> b)); // error
assert f(23);
assert f(-5); // error
}
|