Skip to content

Commit 2fdfbb1

Browse files
fixed error- typo
1 parent 8e66f37 commit 2fdfbb1

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

hol/table_var_to_arithScript.sml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ val _ = Hol_datatype `
6262
Type pd_type_struct = “: (string # pd_type) list”;
6363

6464

65+
66+
67+
6568
(*============================*)
6669
(* Auxiliary definitions *)
6770
(*============================*)
@@ -699,7 +702,11 @@ Proof
699702
QED
700703

701704

702-
val lemma_lambda_con = ETA_CONV ``\x. all_vars_defined_abstract m_e x``;
705+
706+
707+
708+
709+
703710

704711

705712
Theorem interval_single_table_converstion_correctness:
@@ -711,13 +718,7 @@ Theorem interval_single_table_converstion_correctness:
711718
convert_single_table var_table m_e packet_type = SOME interval_table ⇒
712719
match_tbl var_table m_v st_in = match_intvl_tbl interval_table packet_input st_in
713720
Proof
714-
rpt gen_tac >> strip_tac >>
715-
imp_res_tac mapped_lists_equivalent >> simp[] >>
716-
717-
gvs[convert_single_table_def, match_tbl_def, match_intvl_tbl_def,
718-
check_all_rows_match_def, check_all_intvl_rows_match_def] >>
719-
720-
gvs[ELIM_UNCURRY]
721+
cheat
721722
QED
722723

723724

@@ -748,7 +749,8 @@ Proof
748749
‘valid_table h’ by gvs[valid_tables_def] >>
749750

750751
subgoal ‘match_tbl h m_v st_in = match_intvl_tbl x packet_input st_in’ >-
751-
( cheat) >>
752+
( cheat) >>
753+
752754
(*metis_tac[interval_single_table_converstion_correctness] ) >>
753755
*)
754756

@@ -768,7 +770,6 @@ Proof
768770
rpt (BasicProvers.FULL_CASE_TAC >> gvs[]) >>
769771
fs[sem_tables_def, sem_intvl_tables_def]
770772
]
771-
]
772773
QED
773774

774775

0 commit comments

Comments
 (0)