equal
deleted
inserted
replaced
1135 then show ?case |
1135 then show ?case |
1136 proof (cases "a = b") |
1136 proof (cases "a = b") |
1137 case True with insert show ?thesis by simp |
1137 case True with insert show ?thesis by simp |
1138 next |
1138 next |
1139 case False with insert have "a \<in> B" by simp |
1139 case False with insert have "a \<in> B" by simp |
1140 def C \<equiv> "B - {a}" |
1140 define C where "C = B - {a}" |
1141 with \<open>finite B\<close> \<open>a \<in> B\<close> |
1141 with \<open>finite B\<close> \<open>a \<in> B\<close> |
1142 have *: "B = insert a C" "finite C" "a \<notin> C" by auto |
1142 have *: "B = insert a C" "finite C" "a \<notin> C" by auto |
1143 with insert show ?thesis by (auto simp add: insert_commute ac_simps) |
1143 with insert show ?thesis by (auto simp add: insert_commute ac_simps) |
1144 qed |
1144 qed |
1145 qed |
1145 qed |