Skip to content

Commit

Permalink
Fix some repl proofs
Browse files Browse the repository at this point in the history
  • Loading branch information
HeikoBecker committed Oct 7, 2022
1 parent 9f02fb9 commit e63dc62
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions compiler/repl/evaluate_initScript.sml
Expand Up @@ -675,6 +675,11 @@ Proof
\\ ‘s with <| refs := s.refs; ffi := s.ffi |> = s’ suffices_by gs[]
\\ gs[state_component_equality])
\\ Cases_on ‘op = RealFromFP’ \\ gs[]
>- (
gvs[do_app_cases, v_ok_thm]
\\ ‘s with <| refs := s.refs; ffi := s.ffi |> = s’ suffices_by gs[]
\\ gs[state_component_equality])
\\ Cases_on ‘op = RealFromIntProd’ \\ gs[]
>- (
gvs[do_app_cases, v_ok_thm]
\\ ‘s with <| refs := s.refs; ffi := s.ffi |> = s’ suffices_by gs[]
Expand Down
7 changes: 7 additions & 0 deletions compiler/repl/evaluate_skipScript.sml
Expand Up @@ -1790,6 +1790,13 @@ Proof
\\ rpt (irule_at Any SUBMAP_REFL) \\ gs []
\\ first_assum (irule_at Any) \\ gs [])
\\ Cases_on ‘op = RealFromFP’ \\ gs[]
>- (
Cases_on ‘res’ \\ gvs [do_app_def, v_rel_def, OPTREL_def,
CaseEqs ["list", "v", "option", "prod", "lit",
"store_v", "v"]]
\\ rpt (irule_at Any SUBMAP_REFL) \\ gs []
\\ first_assum (irule_at Any) \\ gs [])
\\ Cases_on ‘op = RealFromIntProd’ \\ gs[]
>- (
Cases_on ‘res’ \\ gvs [do_app_def, v_rel_def, OPTREL_def,
CaseEqs ["list", "v", "option", "prod", "lit",
Expand Down

0 comments on commit e63dc62

Please sign in to comment.