@@ -62,6 +62,9 @@ val _ = Hol_datatype `
6262Type pd_type_struct = “: (string # pd_type) list”;
6363
6464
65+
66+
67+
6568(* ============================*)
6669(* Auxiliary definitions *)
6770(* ============================*)
@@ -699,7 +702,11 @@ Proof
699702QED
700703
701704
702- val lemma_lambda_con = ETA_CONV ``\x. all_vars_defined_abstract m_e x``;
705+
706+
707+
708+
709+
703710
704711
705712Theorem 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
713720Proof
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
721722QED
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- ]
772773QED
773774
774775
0 commit comments