src/ZF/arith_data.ML
changeset 17956 369e2af8ee45
parent 17877 67d5ab1cb0d8
child 18328 841261f303a1
equal deleted inserted replaced
17955:3b34516662c6 17956:369e2af8ee45
    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) =