summaryrefslogtreecommitdiff
path: root/Test/z3api/boog21.bpl
blob: 8e3abde75fbdebbcd9b71efa46e7947ce02baed7 (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);
}