Buckets:
| import Mathlib | |
| namespace OAI | |
| section | |
| open MeasureTheory ProbabilityTheory Set Filter Asymptotics | |
| open scoped Topology NNReal ENNReal BigOperators Convex | |
| namespace SKValue | |
| theorem parametric_spatial_error | |
| {ฮฑ ๐ E F : Type*} [NontriviallyNormedField ๐] [IsRCLikeNormedField ๐] [NormedAddCommGroup E] | |
| [NormedSpace โ E] [NormedSpace ๐ E] [NormedAddCommGroup F] [NormedSpace ๐ F] | |
| {u : E} {v w : ฮฑ โ E} {l : Filter ฮฑ} (hv : Tendsto v l (๐ u)) (hw : Tendsto w l (๐ u)) | |
| (s : Set E := Set.univ) (seg : โแถ ฯ in l, [w ฯ -[โ] v ฯ] โ s := by simp) | |
| {f : ฮฑ โ E โ F} {f' : ฮฑ โ E โ E โL[๐] F} | |
| (df' : โแถ p in l รหข ๐[s] u, HasFDerivWithinAt (f p.1) (f' p.1 p.2) s p.2) | |
| {ฯ : E โL[๐] F} (cf' : Tendsto โฟf' (l รหข ๐[s] u) (๐ ฯ)) : | |
| (fun ฯ => f ฯ (v ฯ) - f ฯ (w ฯ) - ฯ (v ฯ - w ฯ)) =o[l] (fun ฯ => v ฯ - w ฯ) := by | |
| rw [isLittleO_iff] | |
| intro ฮต hฮต | |
| replace df' : โแถ ฯ in l, โ z โ [w ฯ -[โ] v ฯ], HasFDerivWithinAt (f ฯ) (f' ฯ z) s z := | |
| df'.segment_of_prod_nhdsWithin hw hv seg | |
| replace cf' : โแถ ฯ in l, โ z โ [w ฯ -[โ] v ฯ], โf' ฯ z - ฯโ < ฮต := by | |
| simp_rw [Metric.tendsto_nhds, dist_eq_norm_sub] at cf' | |
| exact (cf' ฮต hฮต).segment_of_prod_nhdsWithin hw hv seg | |
| filter_upwards [seg, df', cf'] with ฯ seg df' cf' | |
| exact Convex.norm_image_sub_le_of_norm_hasFDerivWithin_le' | |
| (fun z hz => (df' z hz).mono seg) (fun z hz => (cf' z hz).le) | |
| (convex_segment ..) (left_mem_segment ..) (right_mem_segment ..) | |
| lemma hasDerivAt_parametric_comp {f fx : โ โ โ โ โ} {ฯ : โ โ โ} {t a b : โ} | |
| (hd : HasDerivAt (fun s โฆ f s (ฯ t)) a t) (hฯ : HasDerivAt ฯ b t) | |
| (hx : โแถ p : โรโ in ๐ (t,ฯ t), HasDerivAt (f p.1) (fx p.1 p.2) p.2) | |
| (hc : ContinuousAt (fun p : โรโ โฆ fx p.1 p.2) (t,ฯ t)) : | |
| HasDerivAt (fun s โฆ f s (ฯ s)) (a+fx t (ฯ t)*b) t := by | |
| have hsp := parametric_spatial_error hฯ.continuousAt tendsto_const_nhds | |
| (s := Set.univ) (seg := by simp) (f := f) (f' := fun s x โฆ (1 : โ โL[โ] โ).smulRight (fx s x)) | |
| (ฯ := (1 : โ โL[โ] โ).smulRight (fx t (ฯ t))) | |
| (df' := by | |
| rw [nhdsWithin_univ,โnhds_prod_eq] | |
| exact hx.mono (fun p hp โฆ hp.hasFDerivAt.hasFDerivWithinAt)) | |
| (cf' := by | |
| rw [nhdsWithin_univ,โnhds_prod_eq] | |
| exact (ContinuousLinearMap.smulRightL โ โ โ 1).continuous.continuousAt.comp hc) | |
| have hsmall := (hsp.trans_isBigO hฯ.isBigO_sub).add | |
| (hd.isLittleO.add (hฯ.isLittleO.const_mul_left (fx t (ฯ t)))) | |
| apply HasDerivAt.of_isLittleO | |
| have heq : (fun s โฆ f s (ฯ s)-f s (ฯ t)- | |
| (1 : โ โL[โ] โ).smulRight (fx t (ฯ t)) (ฯ s-ฯ t) + | |
| ((f s (ฯ t)-f t (ฯ t)-(s-t) โข a)+fx t (ฯ t)*(ฯ s-ฯ t-(s-t) โข b))) = | |
| (fun s โฆ f s (ฯ s)-f t (ฯ t)-(s-t) โข (a+fx t (ฯ t)*b)) := by | |
| funext s | |
| simp only [ContinuousLinearMap.smulRight_apply,one_apply_eq_self,smul_eq_mul] | |
| ring | |
| rw [heq] at hsmall | |
| exact hsmall | |
| end SKValue | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 3.07 kB
- Xet hash:
- 1124c934319ebec431bd50fa432e2bb4e03c14645e6982d070945a7ad4f73618
ยท
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.