author | nipkow |
Wed, 17 Jun 2015 22:06:56 +0200 | |
changeset 60507 | 16993a3f4967 |
parent 60506 | 83231b558ce4 |
child 60511 | 5e67a223a141 |
--- a/src/HOL/Library/Tree.thy Wed Jun 17 20:22:01 2015 +0200 +++ b/src/HOL/Library/Tree.thy Wed Jun 17 22:06:56 2015 +0200 @@ -24,7 +24,7 @@ "size1 \<langle>l, x, r\<rangle> = size1 l + size1 r" by (simp_all add: size1_def) -lemma size_0_iff_Leaf[simp]: "size t = 0 \<longleftrightarrow> t = Leaf" +lemma size_0_iff_Leaf: "size t = 0 \<longleftrightarrow> t = Leaf" by(cases t) auto lemma neq_Leaf_iff: "(t \<noteq> \<langle>\<rangle>) = (\<exists>l a r. t = \<langle>l, a, r\<rangle>)"