equal
deleted
inserted
replaced
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 |