Skip to content

Commit

Permalink
Fix a couple of proofs broken by recent HOL changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mn200 committed Jul 4, 2022
1 parent 187e699 commit cbf165f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/parsing/fromSexpScript.sml
Expand Up @@ -380,7 +380,7 @@ QED
Theorem strip_sxcons_FAIL_sexplist_FAIL:
∀s. (strip_sxcons s = NONE) ⇒ (sexplist p s = NONE)
Proof
Induct >> simp[Once strip_sxcons_def, Once sexplist_def] >>
Induct >> simp[Once sexplist_def] >>
metis_tac[TypeBase.nchotomy_of ``:α option``]
QED

Expand All @@ -405,7 +405,7 @@ Theorem strip_sxcons_thm[simp]:
strip_sxcons (SX_STR str) = NONE
strip_sxcons (SX_SYM s) = if s = "nil" then SOME [] else NONE
Proof
rpt strip_tac >> simp[Once strip_sxcons_def]
rpt strip_tac >> simp[]
QED

Theorem sexplist_CONG[defncong]:
Expand Down

0 comments on commit cbf165f

Please sign in to comment.