src/HOL/Tools/lin_arith.ML
changeset 35232 f588e1169c8b
parent 35230 be006fbcfb96
child 35275 3745987488b2
equal deleted inserted replaced
35231:98e52f522357 35232:f588e1169c8b
   857     empty_ss setmkeqTrue mk_eq_True
   857     empty_ss setmkeqTrue mk_eq_True
   858     setmksimps (mksimps mksimps_pairs)
   858     setmksimps (mksimps mksimps_pairs)
   859     addsimps [@{thm imp_conv_disj}, @{thm iff_conv_conj_imp}, @{thm de_Morgan_disj},
   859     addsimps [@{thm imp_conv_disj}, @{thm iff_conv_conj_imp}, @{thm de_Morgan_disj},
   860       @{thm de_Morgan_conj}, @{thm not_all}, @{thm not_ex}, @{thm not_not}];
   860       @{thm de_Morgan_conj}, @{thm not_all}, @{thm not_ex}, @{thm not_not}];
   861   fun prem_nnf_tac i st =
   861   fun prem_nnf_tac i st =
   862     full_simp_tac (Simplifier.theory_context (Thm.theory_of_thm st) nnf_simpset) i st;
   862     full_simp_tac (Simplifier.global_context (Thm.theory_of_thm st) nnf_simpset) i st;
   863 in
   863 in
   864 fun refute_tac test prep_tac ref_tac =
   864 fun refute_tac test prep_tac ref_tac =
   865   let val refute_prems_tac =
   865   let val refute_prems_tac =
   866         REPEAT_DETERM
   866         REPEAT_DETERM
   867               (eresolve_tac [@{thm conjE}, @{thm exE}] 1 ORELSE
   867               (eresolve_tac [@{thm conjE}, @{thm exE}] 1 ORELSE