summaryrefslogtreecommitdiff
path: root/Test/z3api/boog34.bpl
blob: f04bc46fed39c1d9b267668c941c23cf6c87989e (plain)
1
2
3
4
5
6
7
8
9
10
11
type ref;

function Rep(int, int) returns (int);
axiom(forall n:int, x:int :: {Rep(n,x)} 
  (exists k:int :: Rep(n,x) - x  == n*k));

procedure  main(x:int) 
{
assert((Rep(0,x)==x));
return;
}