summaryrefslogtreecommitdiff
path: root/Test/z3api/boog28.bpl
blob: d59d3630a4e872f37932379bce5257e2c69eb355 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
type ref;
 
function LIFT(x:bool) returns (int);
axiom(forall x:bool :: {LIFT(x)} x <==> LIFT(x) != 0);

procedure  main ( ) 

{
var a : int;
var b : int;
var c : int;

c := LIFT (b == a) ;
assert (c != 0 <==> b == a);

}