equal
deleted
inserted
replaced
72 if t aconv u then NONE |
72 if t aconv u then NONE |
73 else |
73 else |
74 let val hyps' = List.filter (not o is_eq_thm) hyps |
74 let val hyps' = List.filter (not o is_eq_thm) hyps |
75 val goal = Logic.list_implies (map (#prop o Thm.rep_thm) hyps', |
75 val goal = Logic.list_implies (map (#prop o Thm.rep_thm) hyps', |
76 FOLogic.mk_Trueprop (mk_eq_iff (t, u))); |
76 FOLogic.mk_Trueprop (mk_eq_iff (t, u))); |
77 in SOME (hyps' MRS Tactic.prove sg xs [] goal (K (EVERY tacs))) |
77 in SOME (hyps' MRS Goal.prove sg xs [] goal (K (EVERY tacs))) |
78 handle ERROR_MESSAGE msg => |
78 handle ERROR_MESSAGE msg => |
79 (warning (msg ^ "\nCancellation failed: no typing information? (" ^ name ^ ")"); NONE) |
79 (warning (msg ^ "\nCancellation failed: no typing information? (" ^ name ^ ")"); NONE) |
80 end; |
80 end; |
81 |
81 |
82 fun prep_simproc (name, pats, proc) = |
82 fun prep_simproc (name, pats, proc) = |