diff -r f640380aaf86 -r 34ecb540a079 src/HOL/Orderings.thy --- a/src/HOL/Orderings.thy Wed May 20 22:07:41 2020 +0200 +++ b/src/HOL/Orderings.thy Wed May 20 19:43:39 2020 +0000 @@ -58,6 +58,9 @@ "a \<^bold>< b \ b \<^bold>< c \ a \<^bold>< c" by (auto intro: strict_trans1 strict_implies_order) +lemma eq_iff: "a = b \ a \<^bold>\ b \ b \<^bold>\ a" + by (auto simp add: refl intro: antisym) + end text \Alternative introduction rule with bias towards strict order\ @@ -270,13 +273,13 @@ text \Asymmetry.\ lemma eq_iff: "x = y \ x \ y \ y \ x" -by (blast intro: antisym) + by (fact order.eq_iff) lemma antisym_conv: "y \ x \ x \ y \ x = y" -by (blast intro: antisym) + by (simp add: eq_iff) lemma less_imp_neq: "x < y \ x \ y" -by (fact order.strict_implies_not_eq) + by (fact order.strict_implies_not_eq) lemma antisym_conv1: "\ x < y \ x \ y \ x = y" by (simp add: local.le_less)