summaryrefslogtreecommitdiff
path: root/Test/z3api/boog20.bpl
blob: fa714972b87ac1b05e08d2aa1fdf784ff71bd5a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

function PLUS(int, int, int) returns (int);
function Rep(int, int) returns (int);

//PLUS(a,b,z)
// ERROR

axiom(forall a:int, b:int, z:int :: Rep(a,b) == Rep(a,0));
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);
}