equal
deleted
inserted
replaced
5441 shows "continuous_on s f" |
5441 shows "continuous_on s f" |
5442 apply (simp add: continuous_on_iff, clarify) |
5442 apply (simp add: continuous_on_iff, clarify) |
5443 apply (rule ex_forward [OF assms [OF half_gt_zero]], auto) |
5443 apply (rule ex_forward [OF assms [OF half_gt_zero]], auto) |
5444 done |
5444 done |
5445 |
5445 |
5446 lemma uniformly_continuous_on_def: |
|
5447 fixes f :: "'a::metric_space \<Rightarrow> 'b::metric_space" |
|
5448 shows "uniformly_continuous_on s f \<longleftrightarrow> |
|
5449 (\<forall>e>0. \<exists>d>0. \<forall>x\<in>s. \<forall>x'\<in>s. dist x' x < d \<longrightarrow> dist (f x') (f x) < e)" |
|
5450 unfolding uniformly_continuous_on_uniformity |
|
5451 uniformity_dist filterlim_INF filterlim_principal eventually_inf_principal |
|
5452 by (force simp: Ball_def uniformity_dist[symmetric] eventually_uniformity_metric) |
|
5453 |
|
5454 text\<open>Some simple consequential lemmas.\<close> |
5446 text\<open>Some simple consequential lemmas.\<close> |
5455 |
5447 |
5456 lemma continuous_onE: |
5448 lemma continuous_onE: |
5457 assumes "continuous_on s f" "x\<in>s" "e>0" |
5449 assumes "continuous_on s f" "x\<in>s" "e>0" |
5458 obtains d where "d>0" "\<And>x'. \<lbrakk>x' \<in> s; dist x' x \<le> d\<rbrakk> \<Longrightarrow> dist (f x') (f x) < e" |
5450 obtains d where "d>0" "\<And>x'. \<lbrakk>x' \<in> s; dist x' x \<le> d\<rbrakk> \<Longrightarrow> dist (f x') (f x) < e" |