equal
deleted
inserted
replaced
337 setmksimps (mksimps mksimps_pairs) |
337 setmksimps (mksimps mksimps_pairs) |
338 setmkcong mk_meta_cong; |
338 setmkcong mk_meta_cong; |
339 |
339 |
340 fun unfold_tac ss ths = |
340 fun unfold_tac ss ths = |
341 ALLGOALS (full_simp_tac |
341 ALLGOALS (full_simp_tac |
342 (Simplifier.inherit_bounds ss (Simplifier.clear_ss FOL_basic_ss) addsimps ths)); |
342 (Simplifier.inherit_context ss (Simplifier.clear_ss FOL_basic_ss) addsimps ths)); |
343 |
343 |
344 |
344 |
345 (*intuitionistic simprules only*) |
345 (*intuitionistic simprules only*) |
346 val IFOL_ss = FOL_basic_ss |
346 val IFOL_ss = FOL_basic_ss |
347 addsimps (meta_simps @ IFOL_simps @ int_ex_simps @ int_all_simps) |
347 addsimps (meta_simps @ IFOL_simps @ int_ex_simps @ int_all_simps) |
358 "(~P <-> ~Q) <-> (P<->Q)"]); |
358 "(~P <-> ~Q) <-> (P<->Q)"]); |
359 |
359 |
360 (*classical simprules too*) |
360 (*classical simprules too*) |
361 val FOL_ss = IFOL_ss addsimps (cla_simps @ cla_ex_simps @ cla_all_simps); |
361 val FOL_ss = IFOL_ss addsimps (cla_simps @ cla_ex_simps @ cla_all_simps); |
362 |
362 |
363 val simpsetup = [fn thy => (simpset_ref_of thy := FOL_ss; thy)]; |
363 val simpsetup = [fn thy => (change_simpset_of thy (fn _ => FOL_ss); thy)]; |
364 |
364 |
365 |
365 |
366 (*** integration of simplifier with classical reasoner ***) |
366 (*** integration of simplifier with classical reasoner ***) |
367 |
367 |
368 structure Clasimp = ClasimpFun |
368 structure Clasimp = ClasimpFun |