Skip to content

Commit a1c9659

Browse files
committed
Fix classes proofs
1 parent de7b12e commit a1c9659

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

thys/Classes.thy

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,13 @@ local_setup \<open>
9494
\<close>
9595

9696
lemma insert_bound[simp]: "|insert x A| <o |UNIV::'a::infinite set| \<longleftrightarrow> |A| <o |UNIV::'a set|"
97-
using card_of_Un_singl_ordLess_infinite infinite_UNIV by fastforce
97+
by (metis card_of_Un_singl_ordLess_infinite infinite_UNIV insert_is_Un)
9898

9999
lemmas SSupp_comp_bound_UNIV[simp, intro!] = SSupp_comp_bound[OF conjI[OF var_class.UNIV_cinfinite card_of_Card_order]]
100100

101101
lemma IImsupp_Inj_comp_bound1: "inj Inj \<Longrightarrow> |supp (f::'a::var \<Rightarrow> 'a)| <o |UNIV::'a set| \<Longrightarrow>
102102
(\<And>a. Vrs (Inj a) = {a}) \<Longrightarrow> |IImsupp Inj Vrs (Inj \<circ> f)| <o |UNIV::'a set|"
103-
apply (unfold IImsupp_def SSupp_Inj_comp comp_apply)
104-
apply (rule var_class.UN_bound)
105-
apply assumption
106-
by (simp add: infinite_UNIV)
103+
by (simp add: IImsupp_def UN_bound)
107104

108105
lemma IImsupp_Inj_comp_bound2: "(\<And>a. Vrs (Inj a) = {}) \<Longrightarrow> |IImsupp Inj Vrs (Inj \<circ> f)| <o |UNIV::'a set|"
109106
by (auto simp: IImsupp_def)

0 commit comments

Comments
 (0)