From 8d1b659977c7161a6836416b4f712c0c8099ebff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20van=20Br=C3=BCgge?= Date: Sun, 28 Sep 2025 15:01:58 +0100 Subject: [PATCH] Add infinite_UNIV to simp set --- thys/Classes.thy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/thys/Classes.thy b/thys/Classes.thy index 21033121..bad1139d 100644 --- a/thys/Classes.thy +++ b/thys/Classes.thy @@ -20,6 +20,8 @@ lemma Card_order_dir_image: "Card_order r \ type_definition Rep lemma (in infinite) Un_bound: "|A| |B| |A \ B| o |UNIV::'a set|" @@ -48,7 +50,7 @@ lemma list_countable: "|UNIV::('a::finite) list set| =o natLeq" instantiation list :: (finite) var begin instance apply standard - using Field_natLeq infinite_UNIV infinite_iff_card_of_nat apply auto[1] + apply (simp add: Cinfinite_ordLeq_natLeq cinfinite_iff_infinite) using list_countable natLeq_Cinfinite ordIso_symmetric regularCard_natLeq regularCard_ordIso by blast end