tuned
authornipkow
Thu, 26 Jun 2025 17:30:16 +0200
changeset 82771 40e4e955c846
parent 82768 8f866fd6fae1
child 82772 59b937edcff8
tuned
src/HOL/List.thy
--- a/src/HOL/List.thy	Wed Jun 25 16:35:25 2025 +0200
+++ b/src/HOL/List.thy	Thu Jun 26 17:30:16 2025 +0200
@@ -3417,7 +3417,7 @@
     "\<And>w x y z. f w x = f y z \<longleftrightarrow> w = y \<and> x = z" and
     "\<And>x y. f x y \<noteq> a" and
     "\<And>x y. f x y \<noteq> b"
-  shows "foldr f xs a = foldr f ys b \<longleftrightarrow> a = b \<and> xs = ys"
+  shows "foldr f xs a = foldr f ys b \<longleftrightarrow> xs = ys \<and> a = b"
 by (induction xs ys rule: list_induct2') (use assms(2,3,1) in auto)