blob: 45cb4a76245883d3594e8d2c28c0843472a5e6f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
function {:checksum "1"} PlusOne(n: int) : int
{
n + 1
}
function {:checksum "0"} F(n: int) : int;
axiom (forall n: int :: { F(n) } F(n) == PlusOne(n));
procedure {:checksum "2"} M();
implementation {:id "M"} {:checksum "3"} M()
{
assert F(0) == 1;
}
|