src/HOL/List.thy
changeset 34917 51829fe604a7
parent 34886 873c31d9f10d
parent 34910 b23bd3ee4813
child 34933 0652d00305be
--- a/src/HOL/List.thy	Fri Jan 15 08:27:21 2010 +0100
+++ b/src/HOL/List.thy	Fri Jan 15 14:43:00 2010 +0100
@@ -578,13 +578,13 @@
 apply fastsimp
 done
 
-lemma same_append_eq [iff]: "(xs @ ys = xs @ zs) = (ys = zs)"
+lemma same_append_eq [iff, induct_simp]: "(xs @ ys = xs @ zs) = (ys = zs)"
 by simp
 
 lemma append1_eq_conv [iff]: "(xs @ [x] = ys @ [y]) = (xs = ys \<and> x = y)"
 by simp
 
-lemma append_same_eq [iff]: "(ys @ xs = zs @ xs) = (ys = zs)"
+lemma append_same_eq [iff, induct_simp]: "(ys @ xs = zs @ xs) = (ys = zs)"
 by simp
 
 lemma append_self_conv2 [iff]: "(xs @ ys = ys) = (xs = [])"