add lemma lub_eq
authorhuffman
Mon, 01 Mar 2010 19:18:08 -0800
changeset 35492 5d200f2d7a4f
parent 35491 92e0028a46f2
child 35493 89b945fa0a31
add lemma lub_eq
src/HOLCF/Pcpo.thy
--- a/src/HOLCF/Pcpo.thy	Mon Mar 01 17:32:23 2010 -0800
+++ b/src/HOLCF/Pcpo.thy	Mon Mar 01 19:18:08 2010 -0800
@@ -91,6 +91,10 @@
     \<Longrightarrow> (\<Squnion>i. X i) = (\<Squnion>i. Y i)"
   by (simp only: expand_fun_eq [symmetric])
 
+lemma lub_eq:
+  "(\<And>i. X i = Y i) \<Longrightarrow> (\<Squnion>i. X i) = (\<Squnion>i. Y i)"
+  by simp
+
 text {* more results about mono and = of lubs of chains *}
 
 lemma lub_mono2: