equal
deleted
inserted
replaced
231 moreover have "f a \<in> B" "g a \<in> B" |
231 moreover have "f a \<in> B" "g a \<in> B" |
232 using f g a by (auto simp: bij_betw_def) |
232 using f g a by (auto simp: bij_betw_def) |
233 ultimately show ?thesis |
233 ultimately show ?thesis |
234 by auto |
234 by auto |
235 qed |
235 qed |
236 |
|
237 lemma swap_image: |
|
238 "Fun.swap i j f ` A = (if i \<in> A then (if j \<in> A then f ` A else f ` ((A - {i}) \<union> {j})) |
|
239 else (if j \<in> A then f ` ((A - {j}) \<union> {i}) else f ` A))" |
|
240 by (auto simp: swap_def cong: image_cong_simp) |
|
241 |
236 |
242 lemmas swap_apply1 = swap_apply(1) |
237 lemmas swap_apply1 = swap_apply(1) |
243 lemmas swap_apply2 = swap_apply(2) |
238 lemmas swap_apply2 = swap_apply(2) |
244 |
239 |
245 lemma pointwise_minimal_pointwise_maximal: |
240 lemma pointwise_minimal_pointwise_maximal: |
2596 show "continuous_on S f" |
2591 show "continuous_on S f" |
2597 unfolding continuous_on_eq_continuous_at[OF \<open>open S\<close>] |
2592 unfolding continuous_on_eq_continuous_at[OF \<open>open S\<close>] |
2598 using derf has_derivative_continuous by blast |
2593 using derf has_derivative_continuous by blast |
2599 qed (use assms in auto) |
2594 qed (use assms in auto) |
2600 |
2595 |
2601 |
|
2602 end |
2596 end |