| 1 |
# frama-c -wp [...] |
| 2 |
[kernel] Parsing unit_compare.i (no preprocessing) |
| 3 |
[wp] Running WP plugin... |
| 4 |
[wp] Warning: Missing RTE guards |
| 5 |
------------------------------------------------------------ |
| 6 |
Function main |
| 7 |
------------------------------------------------------------ |
| 8 |
|
| 9 |
Goal Pre-condition 'LE_X_Y' in 'main': |
| 10 |
Assume { Type: is_sint32(x) /\ is_sint32(y). } |
| 11 |
Prove: x <= y. |
| 12 |
|
| 13 |
------------------------------------------------------------ |
| 14 |
|
| 15 |
Goal Pre-condition 'LE_X1_Y' in 'main': |
| 16 |
Assume { Type: is_sint32(x) /\ is_sint32(y). } |
| 17 |
Prove: x < y. |
| 18 |
|
| 19 |
------------------------------------------------------------ |
| 20 |
|
| 21 |
Goal Pre-condition 'LE_X_Y1' in 'main': |
| 22 |
Assume { Type: is_sint32(x) /\ is_sint32(y). } |
| 23 |
Prove: x <= (1 + y). |
| 24 |
|
| 25 |
------------------------------------------------------------ |
| 26 |
|
| 27 |
Goal Pre-condition 'LE_X1_Y1' in 'main': |
| 28 |
Assume { Type: is_sint32(x) /\ is_sint32(y). } |
| 29 |
Prove: x <= y. |
| 30 |
|
| 31 |
------------------------------------------------------------ |
| 32 |
|
| 33 |
Goal Pre-condition 'LE_Xm1_Y' in 'main': |
| 34 |
Assume { Type: is_sint32(x) /\ is_sint32(y). } |
| 35 |
Prove: x <= (1 + y). |
| 36 |
|
| 37 |
------------------------------------------------------------ |
| 38 |
|
| 39 |
Goal Pre-condition 'LE_X_Ym1' in 'main': |
| 40 |
Assume { Type: is_sint32(x) /\ is_sint32(y). } |
| 41 |
Prove: x < y. |
| 42 |
|
| 43 |
------------------------------------------------------------ |
| 44 |
|
| 45 |
Goal Pre-condition 'LE_Xm1_Ym1' in 'main': |
| 46 |
Assume { Type: is_sint32(x) /\ is_sint32(y). } |
| 47 |
Prove: x <= y. |
| 48 |
|
| 49 |
------------------------------------------------------------ |
| 50 |
|
| 51 |
Goal Pre-condition 'LE_X1_Ym1' in 'main': |
| 52 |
Assume { Type: is_sint32(x) /\ is_sint32(y). } |
| 53 |
Prove: (2 + x) <= y. |
| 54 |
|
| 55 |
------------------------------------------------------------ |
| 56 |
|
| 57 |
Goal Pre-condition 'LE_Xm1_Y1' in 'main': |
| 58 |
Assume { Type: is_sint32(x) /\ is_sint32(y). } |
| 59 |
Prove: x <= (2 + y). |
| 60 |
|
| 61 |
------------------------------------------------------------ |
| 62 |
|
| 63 |
Goal Pre-condition 'LT_X_Y' in 'main': |
| 64 |
Assume { Type: is_sint32(x) /\ is_sint32(y). } |
| 65 |
Prove: x < y. |
| 66 |
|
| 67 |
------------------------------------------------------------ |
| 68 |
|
| 69 |
Goal Pre-condition 'LT_X1_Y' in 'main': |
| 70 |
Assume { Type: is_sint32(x) /\ is_sint32(y). } |
| 71 |
Prove: (2 + x) <= y. |
| 72 |
|
| 73 |
------------------------------------------------------------ |
| 74 |
|
| 75 |
Goal Pre-condition 'LT_X_Y1' in 'main': |
| 76 |
Assume { Type: is_sint32(x) /\ is_sint32(y). } |
| 77 |
Prove: x <= y. |
| 78 |
|
| 79 |
------------------------------------------------------------ |
| 80 |
|
| 81 |
Goal Pre-condition 'LT_X1_Y1' in 'main': |
| 82 |
Assume { Type: is_sint32(x) /\ is_sint32(y). } |
| 83 |
Prove: x < y. |
| 84 |
|
| 85 |
------------------------------------------------------------ |
| 86 |
|
| 87 |
Goal Pre-condition 'LT_Xm1_Y' in 'main': |
| 88 |
Assume { Type: is_sint32(x) /\ is_sint32(y). } |
| 89 |
Prove: x <= y. |
| 90 |
|
| 91 |
------------------------------------------------------------ |
| 92 |
|
| 93 |
Goal Pre-condition 'LT_X_Ym1' in 'main': |
| 94 |
Assume { Type: is_sint32(x) /\ is_sint32(y). } |
| 95 |
Prove: (2 + x) <= y. |
| 96 |
|
| 97 |
------------------------------------------------------------ |
| 98 |
|
| 99 |
Goal Pre-condition 'LT_Xm1_Ym1' in 'main': |
| 100 |
Assume { Type: is_sint32(x) /\ is_sint32(y). } |
| 101 |
Prove: x < y. |
| 102 |
|
| 103 |
------------------------------------------------------------ |
| 104 |
|
| 105 |
Goal Pre-condition 'LT_X1_Ym1' in 'main': |
| 106 |
Assume { Type: is_sint32(x) /\ is_sint32(y). } |
| 107 |
Prove: (3 + x) <= y. |
| 108 |
|
| 109 |
------------------------------------------------------------ |
| 110 |
|
| 111 |
Goal Pre-condition 'LT_Xm1_Y1' in 'main': |
| 112 |
Assume { Type: is_sint32(x) /\ is_sint32(y). } |
| 113 |
Prove: x <= (1 + y). |
| 114 |
|
| 115 |
------------------------------------------------------------ |