Line | |
---|
1 | include "common/Animation.ma". |
---|
2 | include "Clight/test/castremoval.c.ma". |
---|
3 | |
---|
4 | example exec: finishes_with (repr I32 1) ? (exec_up_to clight_fullexec myprog 1000 [EVint I32 (repr I32 0)]). |
---|
5 | normalize (* you can examine the result here *) |
---|
6 | @refl |
---|
7 | qed. |
---|
8 | |
---|
9 | include "Clight/SimplifyCasts.ma". |
---|
10 | |
---|
11 | example simplified: result ? (simplify_program myprog). |
---|
12 | normalize |
---|
13 | % |
---|
14 | qed. |
---|
15 | |
---|
16 | example exec_s: finishes_with (repr I32 1) ? (exec_up_to clight_fullexec (simplify_program myprog) 1000 [EVint I32 (repr I32 0)]). |
---|
17 | normalize (* you can examine the result here *) |
---|
18 | @refl |
---|
19 | qed. |
---|
20 | |
---|
Note: See
TracBrowser
for help on using the repository browser.