blob: 59a422898b286d197012a6a753900f5b2e0c7bab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
procedure {:checksum "P0$proc#0"} P0();
// Action: verify
implementation {:id "P0"} {:checksum "P0$impl#0"} P0()
{
}
procedure {:checksum "P1$proc#0"} P1();
// Action: verify
implementation {:id "P1"} {:checksum "P1$impl#0"} P1()
{
call P2();
}
procedure {:checksum "P2$proc#0"} P2();
ensures G();
procedure {:checksum "P3$proc#0"} P3();
// Action: verify
implementation {:id "P3"} {:checksum "P3$impl#0"} P3()
{
}
function {:checksum "G#0"} G() : bool
{
F()
}
function {:checksum "F#0"} F() : bool
{
true
}
|