src/FOL/simpdata.ML
changeset 56245 84fc7dfa3cd4
parent 54998 8601434fa334
child 58838 59203adfc33f
equal deleted inserted replaced
56244:3298b7a2795a 56245:84fc7dfa3cd4
    12   | _ $ (Const(@{const_name iff},_)$_$_) => th RS @{thm iff_reflection}
    12   | _ $ (Const(@{const_name iff},_)$_$_) => th RS @{thm iff_reflection}
    13   | _                           =>
    13   | _                           =>
    14   error("conclusion must be a =-equality or <->");;
    14   error("conclusion must be a =-equality or <->");;
    15 
    15 
    16 fun mk_eq th = case concl_of th of
    16 fun mk_eq th = case concl_of th of
    17     Const("==",_)$_$_           => th
    17     Const(@{const_name Pure.eq},_)$_$_ => th
    18   | _ $ (Const(@{const_name eq},_)$_$_)   => mk_meta_eq th
    18   | _ $ (Const(@{const_name eq},_)$_$_)   => mk_meta_eq th
    19   | _ $ (Const(@{const_name iff},_)$_$_) => mk_meta_eq th
    19   | _ $ (Const(@{const_name iff},_)$_$_) => mk_meta_eq th
    20   | _ $ (Const(@{const_name Not},_)$_)      => th RS @{thm iff_reflection_F}
    20   | _ $ (Const(@{const_name Not},_)$_)      => th RS @{thm iff_reflection_F}
    21   | _                           => th RS @{thm iff_reflection_T};
    21   | _                           => th RS @{thm iff_reflection_T};
    22 
    22