Skip to content

Commit 0978a59

Browse files
committed
Fix some proofs
1 parent 9330c85 commit 0978a59

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

compiler/bootstrap/translation/decodeProgScript.sml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ Proof
227227
\\ rpt gen_tac \\ strip_tac
228228
\\ rpt var_eq_tac
229229
\\ gen_tac \\ disch_then (assume_tac o SYM)
230+
\\ rename1 ‘SUC x6’
230231
\\ Cases_on ‘x6 = 0’ \\ asm_rewrite_tac [] THEN1 (gvs [ADD1])
231232
\\ ‘n ≠ 1 ∧ n ≠ 0’ by decide_tac
232233
\\ Cases_on ‘x6 = 1’ \\ asm_rewrite_tac [] THEN1 (gvs [ADD1])

compiler/bootstrap/translation/sexp_parserProgScript.sml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ val decode_control_side = Q.prove(
201201
rw[Once(theorem"decode_control_side_def")] \\ rfs[] \\
202202
rw[num_from_hex_string_alt_length_2] \\
203203
rfs [num_from_hex_string_alt_intro] \\
204+
rename1 `decode_control_side x1` \\
204205
Cases_on`x1` \\ fs[] \\
205206
rw[Once(theorem"decode_control_side_def")] \\
206207
rw[Once(theorem"decode_control_side_def")])

0 commit comments

Comments
 (0)