Skip to content

Commit 0be4ad7

Browse files
Fix to init definitions + further progress on metatheory changes from init scheme
1 parent a6124fc commit 0be4ad7

File tree

6 files changed

+379
-268
lines changed

6 files changed

+379
-268
lines changed

hol/metatheory/p4_e_progressScript.sml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2172,7 +2172,7 @@ srw_tac [boolSimps.DNF_ss][] >>
21722172
Cases_on `is_consts (MAP (λ(f_,e_,tau_,b_). (e_)) f_e_tau_b_list)` >| [
21732173
(* starting from the left disjuction
21742174
if all members are constsants then we know that
2175-
vl_of_el actually exsists *)
2175+
vl_of_el actually exists *)
21762176

21772177
DISJ2_TAC >>
21782178

@@ -2263,7 +2263,7 @@ srw_tac [boolSimps.DNF_ss][] >>
22632263
Cases_on `is_consts (MAP (λ(f_,e_,tau_,b_). (e_)) f_e_tau_b_list)` >| [
22642264
(* starting from the left disjuction
22652265
if all members are constsants then we know that
2266-
vl_of_el actually exsists *)
2266+
vl_of_el actually exists *)
22672267

22682268
DISJ2_TAC >>
22692269

hol/metatheory/p4_e_subject_reductionScript.sml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ QED
8383

8484

8585
(****** Subject Reduction for expression ******)
86-
(*t_scopes_consistent is with respect to the expression's global, not the passed, because at that point we are comparing with respect to the passed scope that is already exsists in the expression *)
86+
(*t_scopes_consistent is with respect to the expression's global, not the passed, because at that point we are comparing with respect to the passed scope that is already exists in the expression *)
8787

8888
val sr_exp_def = Define `
8989
sr_exp (e) (ty:'a itself) =
@@ -4108,7 +4108,7 @@ QED
41084108

41094109

41104110

4111-
Theorem lookup_lval_exsists:
4111+
Theorem lookup_lval_exists:
41124112
! ss v x s .
41134113
lookup_lval (ss) (lval_field x s) = SOME v ==>
41144114
? v' . lookup_lval (ss) x = SOME v'
@@ -4267,7 +4267,7 @@ gvs[] >| [
42674267
`t_sl` , `b`, `d`])) >>
42684268
gvs[] >>
42694269

4270-
IMP_RES_TAC lookup_lval_exsists >>
4270+
IMP_RES_TAC lookup_lval_exists >>
42714271
gvs[] >>
42724272

42734273
(*

hol/metatheory/p4_frames_progressScript.sml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ Cases_on ‘is_d_none_in h1’ >> gvs[] >| [
683683
IMP_RES_TAC v_types_ev >>
684684
FIRST_X_ASSUM (STRIP_ASSUME_TAC o (Q.SPECL [‘pre_passed_tslg’, ‘pre_tsl’, ‘T_e’])) >>
685685

686-
(* since the lval is typed, and also the value is typed, then there exsists a scope such that assign lval = v *)
686+
(* since the lval is typed, and also the value is typed, then there exists a scope such that assign lval = v *)
687687
ASSUME_TAC assignment_scope_exists >>
688688
FIRST_X_ASSUM (STRIP_ASSUME_TAC o (Q.SPECL [‘pre_local’,‘pre_gscope_passed’,‘pre_tsl’,‘pre_passed_tslg’,‘t’,‘F’,‘lval’,‘v’,‘T_e’])) >>
689689
gvs[] >>
@@ -1135,7 +1135,7 @@ Cases_on ‘notret status'’ >| [
11351135
CONV_TAC $ SWAP_EXISTS_CONV >>
11361136
Q.EXISTS_TAC ‘scopest'’ >> gvs[] >>
11371137

1138-
(* now we show that scopes to retrieve exsists & it's length is 2 *)
1138+
(* now we show that scopes to retrieve exists & it's length is 2 *)
11391139
subgoal ‘LENGTH gscope' = 2 ’ >- ( IMP_RES_TAC type_scopes_list_LENGTH >> gvs[WT_c_cases] ) >>
11401140

11411141
IMP_RES_TAC assign_star_length_2 >>

0 commit comments

Comments
 (0)