Debian Codegraph @

src/plugins/wp/tests/wp_acsl/oracle/block_length.res.oracle

raw
1 # frama-c -wp [...]
2 [kernel] Parsing block_length.i (no preprocessing)
3 [wp] Running WP plugin...
4 [wp] Warning: Missing RTE guards
5 ------------------------------------------------------------
6 Function f
7 ------------------------------------------------------------
8
9 Goal Post-condition 'Pt' in 'f':
10 Prove: true.
11
12 ------------------------------------------------------------
13
14 Goal Post-condition 'Psiz1' in 'f':
15 Prove: true.
16
17 ------------------------------------------------------------
18
19 Goal Post-condition 'Pmat1' in 'f':
20 Prove: true.
21
22 ------------------------------------------------------------
23
24 Goal Post-condition 'Psiz2' in 'f':
25 Prove: true.
26
27 ------------------------------------------------------------
28
29 Goal Post-condition 'Pmat2' in 'f':
30 Prove: true.
31
32 ------------------------------------------------------------
33
34 Goal Post-condition 'Ps' in 'f':
35 Prove: true.
36
37 ------------------------------------------------------------
38
39 Goal Post-condition 'Pts' in 'f':
40 Prove: true.
41
42 ------------------------------------------------------------
43
44 Goal Post-condition 'Pt1' in 'f':
45 Prove: true.
46
47 ------------------------------------------------------------
48
49 Goal Post-condition 'Pmat12' in 'f':
50 Prove: true.
51
52 ------------------------------------------------------------
53
54 Goal Post-condition 'Pts1' in 'f':
55 Prove: true.
56
57 ------------------------------------------------------------
58 ------------------------------------------------------------
59 Function g
60 ------------------------------------------------------------
61
62 Goal Post-condition 'Pt' in 'g':
63 Assume {
64 (* Heap *)
65 Type: (region(G_mat_21) <= 0) /\ (region(G_s_23) <= 0) /\
66 (region(G_t_20) <= 0) /\ (region(G_ts_24) <= 0) /\
67 (region(G_x_22) <= 0) /\ linked(Malloc_0).
68 }
69 Prove: (Malloc_0[G_t_20] / 20) = 1.
70
71 ------------------------------------------------------------
72
73 Goal Post-condition 'Psiz1' in 'g':
74 Prove: true.
75
76 ------------------------------------------------------------
77
78 Goal Post-condition 'Pmat1' in 'g':
79 Assume {
80 (* Heap *)
81 Type: (region(G_mat_21) <= 0) /\ (region(G_s_23) <= 0) /\
82 (region(G_t_20) <= 0) /\ (region(G_ts_24) <= 0) /\
83 (region(G_x_22) <= 0) /\ linked(Malloc_0).
84 }
85 Prove: (Malloc_0[G_mat_21] / 5) = 10.
86
87 ------------------------------------------------------------
88
89 Goal Post-condition 'Psiz2' in 'g':
90 Prove: true.
91
92 ------------------------------------------------------------
93
94 Goal Post-condition 'Pmat2' in 'g':
95 Assume {
96 (* Heap *)
97 Type: (region(G_mat_21) <= 0) /\ (region(G_s_23) <= 0) /\
98 (region(G_t_20) <= 0) /\ (region(G_ts_24) <= 0) /\
99 (region(G_x_22) <= 0) /\ linked(Malloc_0).
100 }
101 Prove: (Malloc_0[G_mat_21] / 50) = 1.
102
103 ------------------------------------------------------------
104
105 Goal Post-condition 'Ps' in 'g':
106 Assume {
107 (* Heap *)
108 Type: (region(G_mat_21) <= 0) /\ (region(G_s_23) <= 0) /\
109 (region(G_t_20) <= 0) /\ (region(G_ts_24) <= 0) /\
110 (region(G_x_22) <= 0) /\ linked(Malloc_0).
111 }
112 Prove: (4 + Malloc_0[G_x_22]) = (5 * (Malloc_0[G_s_23] / 5)).
113
114 ------------------------------------------------------------
115
116 Goal Post-condition 'Pts' in 'g':
117 Assume {
118 (* Heap *)
119 Type: (region(G_mat_21) <= 0) /\ (region(G_s_23) <= 0) /\
120 (region(G_t_20) <= 0) /\ (region(G_ts_24) <= 0) /\
121 (region(G_x_22) <= 0) /\ linked(Malloc_0).
122 }
123 Prove: (Malloc_0[G_ts_24] / 20) = (Malloc_0[G_s_23] / 5).
124
125 ------------------------------------------------------------
126
127 Goal Post-condition 'Pt1' in 'g':
128 Assume {
129 (* Heap *)
130 Type: (region(G_mat_21) <= 0) /\ (region(G_s_23) <= 0) /\
131 (region(G_t_20) <= 0) /\ (region(G_ts_24) <= 0) /\
132 (region(G_x_22) <= 0) /\ linked(Malloc_0).
133 }
134 Prove: Malloc_0[G_t_20] = 20.
135
136 ------------------------------------------------------------
137
138 Goal Post-condition 'Pmat12' in 'g':
139 Assume {
140 (* Heap *)
141 Type: (region(G_mat_21) <= 0) /\ (region(G_s_23) <= 0) /\
142 (region(G_t_20) <= 0) /\ (region(G_ts_24) <= 0) /\
143 (region(G_x_22) <= 0) /\ linked(Malloc_0).
144 }
145 Prove: Malloc_0[G_mat_21] = 50.
146
147 ------------------------------------------------------------
148
149 Goal Post-condition 'Pts1' in 'g':
150 Assume {
151 (* Heap *)
152 Type: (region(G_mat_21) <= 0) /\ (region(G_s_23) <= 0) /\
153 (region(G_t_20) <= 0) /\ (region(G_ts_24) <= 0) /\
154 (region(G_x_22) <= 0) /\ linked(Malloc_0).
155 }
156 Prove: (Malloc_0[G_ts_24] / 5) = (4 * (Malloc_0[G_s_23] / 5)).
157
158 ------------------------------------------------------------