blob: 3ab51400b325e0041c1b9d41e49611fc1031dde7 (
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;
}
|