blob: 5b2cf68c461443088c1f3ad2df54ec37308a2b13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
procedure {:checksum "0"} M(n: int);
requires 0 < n;
implementation {:id "M"} {:checksum "1"} M(n: int)
{
var x: int;
call x := N(n);
assert 0 <= x;
}
procedure {:checksum "2"} N(n: int) returns (r: int);
requires 0 < n;
requires true;
ensures 0 < r;
ensures true;
|