blob: dd3ecc768db5be7cbe8f45dde5fb20f6e095749e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
type ref;
function PLUS(int, int, int) returns (int);
function Rep(int,int) returns (int);
// ERROR
axiom(forall a:int, b:int, z:int :: Rep(a,b) == PLUS(a,b,z
));
axiom(forall n:int, x:int :: {Rep(n,x)} (exists k:int :: Rep(n,x) == x));
// END ERROR
procedure main ( )
{
assert (PLUS(0, 4, 55)!=0);
}
|