src/HOL/Lattices.thy
changeset 22168 627e7aee1b82
parent 22139 539a63b98f76
child 22384 33a46e6c7f04
     1.1 --- a/src/HOL/Lattices.thy	Mon Jan 22 18:17:04 2007 +0100
     1.2 +++ b/src/HOL/Lattices.thy	Mon Jan 22 19:00:29 2007 +0100
     1.3 @@ -58,12 +58,7 @@
     1.4  by blast
     1.5  
     1.6  lemma le_iff_inf: "(x \<sqsubseteq> y) = (x \<sqinter> y = x)"
     1.7 -apply rule
     1.8 - apply(simp add: antisym)
     1.9 -apply(subgoal_tac "x \<sqinter> y \<sqsubseteq> y")
    1.10 - apply(simp)
    1.11 -apply(simp (no_asm))
    1.12 -done
    1.13 +by(blast dest:eq_iff[THEN iffD1])
    1.14  
    1.15  end
    1.16  
    1.17 @@ -96,12 +91,7 @@
    1.18  by blast
    1.19  
    1.20  lemma le_iff_sup: "(x \<sqsubseteq> y) = (x \<squnion> y = y)"
    1.21 -apply rule
    1.22 - apply(simp add: antisym)
    1.23 -apply(subgoal_tac "x \<sqsubseteq> x \<squnion> y")
    1.24 -apply(simp)
    1.25 - apply(simp (no_asm))
    1.26 -done
    1.27 +by(blast dest:eq_iff[THEN iffD1])
    1.28  
    1.29  end
    1.30