src/HOL/Tools/BNF/bnf_gfp_tactics.ML
changeset 82248 e8c96013ea8a
parent 75624 22d1c5f2b9f4
child 82630 2bb4a8d0111d
equal deleted inserted replaced
82245:fba16c509af0 82248:e8c96013ea8a
   336   EVERY' [rtac ctxt @{thm xt1(3)}, rtac ctxt lsbis_def, rtac ctxt @{thm SUP_upper2}, rtac ctxt CollectI,
   336   EVERY' [rtac ctxt @{thm xt1(3)}, rtac ctxt lsbis_def, rtac ctxt @{thm SUP_upper2}, rtac ctxt CollectI,
   337     REPEAT_DETERM_N n o rtac ctxt exI, rtac ctxt conjI, rtac ctxt refl, assume_tac ctxt,
   337     REPEAT_DETERM_N n o rtac ctxt exI, rtac ctxt conjI, rtac ctxt refl, assume_tac ctxt,
   338     rtac ctxt equalityD2, rtac ctxt (mk_nth_conv n i)] 1;
   338     rtac ctxt equalityD2, rtac ctxt (mk_nth_conv n i)] 1;
   339 
   339 
   340 fun mk_equiv_lsbis_tac ctxt sbis_lsbis lsbis_incl incl_lsbis bis_Id_on bis_converse bis_O =
   340 fun mk_equiv_lsbis_tac ctxt sbis_lsbis lsbis_incl incl_lsbis bis_Id_on bis_converse bis_O =
   341   EVERY' [rtac ctxt (@{thm equiv_def} RS iffD2),
   341   EVERY' [rtac ctxt @{thm equivI},
   342 
   342     rtac ctxt lsbis_incl,
   343     rtac ctxt conjI, rtac ctxt (@{thm refl_on_def} RS iffD2),
   343 
   344     rtac ctxt conjI, rtac ctxt lsbis_incl, rtac ctxt ballI, rtac ctxt set_mp,
   344     rtac ctxt @{thm refl_onI},
       
   345     rtac ctxt set_mp,
   345     rtac ctxt incl_lsbis, rtac ctxt bis_Id_on, assume_tac ctxt, etac ctxt @{thm Id_onI},
   346     rtac ctxt incl_lsbis, rtac ctxt bis_Id_on, assume_tac ctxt, etac ctxt @{thm Id_onI},
   346 
   347 
   347     rtac ctxt conjI, rtac ctxt (@{thm sym_def} RS iffD2),
   348     rtac ctxt @{thm symI},
   348     rtac ctxt allI, rtac ctxt allI, rtac ctxt impI, rtac ctxt set_mp,
   349     rtac ctxt set_mp,
   349     rtac ctxt incl_lsbis, rtac ctxt bis_converse, rtac ctxt sbis_lsbis, etac ctxt @{thm converseI},
   350     rtac ctxt incl_lsbis, rtac ctxt bis_converse, rtac ctxt sbis_lsbis, etac ctxt @{thm converseI},
   350 
   351 
   351     rtac ctxt (@{thm trans_def} RS iffD2),
   352     rtac ctxt @{thm transI},
   352     rtac ctxt allI, rtac ctxt allI, rtac ctxt allI, rtac ctxt impI, rtac ctxt impI, rtac ctxt set_mp,
   353     rtac ctxt set_mp,
   353     rtac ctxt incl_lsbis, rtac ctxt bis_O, rtac ctxt sbis_lsbis, rtac ctxt sbis_lsbis,
   354     rtac ctxt incl_lsbis, rtac ctxt bis_O, rtac ctxt sbis_lsbis, rtac ctxt sbis_lsbis,
   354     etac ctxt @{thm relcompI}, assume_tac ctxt] 1;
   355     etac ctxt @{thm relcompI}, assume_tac ctxt] 1;
   355 
   356 
   356 fun mk_coalgT_tac ctxt m defs strT_defs set_map0ss =
   357 fun mk_coalgT_tac ctxt m defs strT_defs set_map0ss =
   357   let
   358   let