source: src/Clight/test/switcher.test.ma @ 1876

Last change on this file since 1876 was 1876, checked in by campbell, 9 years ago

Update Cexec soundness proof.
Change finishes_with predicate to inductive form so that qed no longer
spends huge amounts of time typechecking.

File size: 869 bytes
Line 
1include "Clight/test/switcher.c.ma".
2
3
4example exec0: finishes_with (repr I32 16) ? (exec_up_to clight_fullexec myprog 1000 [EVint I32 (repr ? 0)]).
5normalize  (* you can examine the result here *)
6% qed.
7
8example exec1: finishes_with (repr I32 0) ? (exec_up_to clight_fullexec myprog 1000 [EVint I32 (repr ? 1)]).
9normalize  (* you can examine the result here *)
10% qed.
11
12example exec3: finishes_with (repr I32 1) ? (exec_up_to clight_fullexec myprog 1000 [EVint I32 (repr ? 3)]).
13normalize  (* you can examine the result here *)
14% qed.
15
16example exec5: finishes_with (repr I32 5) ? (exec_up_to clight_fullexec myprog 1000 [EVint I32 (repr ? 5)]).
17normalize  (* you can examine the result here *)
18% qed.
19
20example exec7: finishes_with (repr I32 3) ? (exec_up_to clight_fullexec myprog 1000 [EVint I32 (repr ? 7)]).
21normalize  (* you can examine the result here *)
22% qed.
Note: See TracBrowser for help on using the repository browser.