Debian Codegraph @

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

raw
1 # frama-c -wp [...]
2 [kernel] Parsing initialized_shift_array.i (no preprocessing)
3 [wp] Running WP plugin...
4 [kernel] initialized_shift_array.i:52: Warning:
5 No code nor implicit assigns clause for function test, generating default assigns from the prototype
6 [wp] Warning: Missing RTE guards
7 ------------------------------------------------------------
8 Function fail_cell_after_end
9 ------------------------------------------------------------
10
11 Goal Instance of 'Pre-condition (file initialized_shift_array.i, line 2) in 'test'' in 'fail_cell_after_end' at call 'test' (file initialized_shift_array.i, line 50)
12 :
13 Prove: false.
14
15 ------------------------------------------------------------
16 ------------------------------------------------------------
17 Function fail_cell_before
18 ------------------------------------------------------------
19
20 Goal Instance of 'Pre-condition (file initialized_shift_array.i, line 2) in 'test'' in 'fail_cell_before' at call 'test' (file initialized_shift_array.i, line 34)
21 :
22 Prove: false.
23
24 ------------------------------------------------------------
25 ------------------------------------------------------------
26 Function fail_partial_not_full
27 ------------------------------------------------------------
28
29 Goal Instance of 'Pre-condition (file initialized_shift_array.i, line 2) in 'test'' in 'fail_partial_not_full' at call 'test' (file initialized_shift_array.i, line 55)
30 :
31 Assume { (* Goal *) When: (0 <= i) /\ (i <= 2). }
32 Prove: (([false..])[1 <- true][0 <- true][i]=true).
33
34 ------------------------------------------------------------
35 ------------------------------------------------------------
36 Function fail_too_long
37 ------------------------------------------------------------
38
39 Goal Instance of 'Pre-condition (file initialized_shift_array.i, line 2) in 'test'' in 'fail_too_long' at call 'test' (file initialized_shift_array.i, line 38)
40 :
41 Prove: false.
42
43 ------------------------------------------------------------
44 ------------------------------------------------------------
45 Function fail_too_long_from_1
46 ------------------------------------------------------------
47
48 Goal Instance of 'Pre-condition (file initialized_shift_array.i, line 2) in 'test'' in 'fail_too_long_from_1' at call 'test' (file initialized_shift_array.i, line 42)
49 :
50 Prove: false.
51
52 ------------------------------------------------------------
53 ------------------------------------------------------------
54 Function fail_too_long_from_2
55 ------------------------------------------------------------
56
57 Goal Instance of 'Pre-condition (file initialized_shift_array.i, line 2) in 'test'' in 'fail_too_long_from_2' at call 'test' (file initialized_shift_array.i, line 46)
58 :
59 Prove: false.
60
61 ------------------------------------------------------------
62 ------------------------------------------------------------
63 Function succ_from_1_from_1
64 ------------------------------------------------------------
65
66 Goal Instance of 'Pre-condition (file initialized_shift_array.i, line 2) in 'test'' in 'succ_from_1_from_1' at call 'test' (file initialized_shift_array.i, line 23)
67 :
68 Assume { (* Goal *) When: (0 < i) /\ (i <= 2). }
69 Prove: (([false..])[2 <- true][1 <- true][i]=true).
70
71 ------------------------------------------------------------
72 ------------------------------------------------------------
73 Function succ_full_first_cell
74 ------------------------------------------------------------
75
76 Goal Instance of 'Pre-condition (file initialized_shift_array.i, line 2) in 'test'' in 'succ_full_first_cell' at call 'test' (file initialized_shift_array.i, line 10)
77 :
78 Prove: true.
79
80 ------------------------------------------------------------
81 ------------------------------------------------------------
82 Function succ_full_from_1
83 ------------------------------------------------------------
84
85 Goal Instance of 'Pre-condition (file initialized_shift_array.i, line 2) in 'test'' in 'succ_full_from_1' at call 'test' (file initialized_shift_array.i, line 18)
86 :
87 Assume {
88 (* Goal *)
89 When: (0 < i) /\ (i <= 2).
90 (* Initializer *)
91 Init: (Init_buf_0[0]=true).
92 (* Initializer *)
93 Init: forall i_1 : Z. ((0 < i_1) -> ((i_1 <= 2) ->
94 (Init_buf_0[i_1]=true))).
95 }
96 Prove: (Init_buf_0[i]=true).
97
98 ------------------------------------------------------------
99 ------------------------------------------------------------
100 Function succ_full_from_2
101 ------------------------------------------------------------
102
103 Goal Instance of 'Pre-condition (file initialized_shift_array.i, line 2) in 'test'' in 'succ_full_from_2' at call 'test' (file initialized_shift_array.i, line 27)
104 :
105 Assume {
106 (* Goal *)
107 When: (2 <= i) /\ (i <= 2).
108 (* Initializer *)
109 Init: (Init_buf_0[0]=true).
110 (* Initializer *)
111 Init: forall i_1 : Z. ((0 < i_1) -> ((i_1 <= 2) ->
112 (Init_buf_0[i_1]=true))).
113 }
114 Prove: (Init_buf_0[2]=true).
115
116 ------------------------------------------------------------
117 ------------------------------------------------------------
118 Function succ_full_full
119 ------------------------------------------------------------
120
121 Goal Instance of 'Pre-condition (file initialized_shift_array.i, line 2) in 'test'' in 'succ_full_full' at call 'test' (file initialized_shift_array.i, line 14)
122 :
123 Assume {
124 (* Goal *)
125 When: (0 <= i) /\ (i <= 2).
126 (* Initializer *)
127 Init: (Init_buf_0[0]=true).
128 (* Initializer *)
129 Init: forall i_1 : Z. ((0 < i_1) -> ((i_1 <= 2) ->
130 (Init_buf_0[i_1]=true))).
131 }
132 Prove: (Init_buf_0[i]=true).
133
134 ------------------------------------------------------------