src/Sequents/simpdata.ML
changeset 26928 ca87aff1ad2d
parent 22896 1c2abcabea61
child 27149 123377499a8e
equal deleted inserted replaced
26927:8684b5240f11 26928:ca87aff1ad2d
   124                       (Const("equal",_)$_$_)   => th RS @{thm eq_reflection}
   124                       (Const("equal",_)$_$_)   => th RS @{thm eq_reflection}
   125                     | (Const("iff",_)$_$_) => th RS @{thm iff_reflection}
   125                     | (Const("iff",_)$_$_) => th RS @{thm iff_reflection}
   126                     | (Const("Not",_)$_)      => th RS iff_reflection_F
   126                     | (Const("Not",_)$_)      => th RS iff_reflection_F
   127                     | _                       => th RS iff_reflection_T)
   127                     | _                       => th RS iff_reflection_T)
   128            | _ => error ("addsimps: unable to use theorem\n" ^
   128            | _ => error ("addsimps: unable to use theorem\n" ^
   129                          string_of_thm th));
   129                          Display.string_of_thm th));
   130 
   130 
   131 (*Replace premises x=y, X<->Y by X==Y*)
   131 (*Replace premises x=y, X<->Y by X==Y*)
   132 val mk_meta_prems =
   132 val mk_meta_prems =
   133     rule_by_tactic
   133     rule_by_tactic
   134       (REPEAT_FIRST (resolve_tac [@{thm meta_eq_to_obj_eq}, @{thm def_imp_iff}]));
   134       (REPEAT_FIRST (resolve_tac [@{thm meta_eq_to_obj_eq}, @{thm def_imp_iff}]));