Buckets:
| import Mathlib | |
| namespace OAI | |
| noncomputable section | |
| namespace Problem340.Prediction | |
| variable {π E F : Type*} [NontriviallyNormedField π] | |
| [NormedAddCommGroup E] [NormedSpace π E] | |
| [NormedAddCommGroup F] [NormedSpace π F] | |
| theorem norm_fderiv_iterate_le {G : E β E} {B : β} | |
| (hG : Differentiable π G) (hB : 0 β€ B) | |
| (hbound : β x, βfderiv π G xβ β€ B) (m : β) (x : E) : | |
| βfderiv π (G^[m]) xβ β€ B ^ m := by | |
| induction m generalizing x with | |
| | zero => | |
| simpa using ContinuousLinearMap.norm_id_le (π := π) (E := E) | |
| | succ m hm => | |
| rw [Function.iterate_succ, fderiv_comp x (hG.iterate m (G x)) (hG x)] | |
| calc | |
| β(fderiv π (G^[m]) (G x)).comp (fderiv π G x)β | |
| β€ βfderiv π (G^[m]) (G x)β * βfderiv π G xβ := | |
| ContinuousLinearMap.opNorm_comp_le _ _ | |
| _ β€ B ^ m * B := mul_le_mul (hm (G x)) (hbound x) | |
| (norm_nonneg _) (pow_nonneg hB _) | |
| _ = B ^ (m + 1) := (pow_succ B m).symm | |
| theorem differentiableAt_iterate_and_norm_le_on {G : E β E} {B : β} {s : Set E} | |
| (hG : β x β s, DifferentiableAt π G x) (hmap : Set.MapsTo G s s) | |
| (hB : 0 β€ B) (hbound : β x β s, βfderiv π G xβ β€ B) | |
| (m : β) (x : E) (hx : x β s) : | |
| DifferentiableAt π (G^[m]) x β§ βfderiv π (G^[m]) xβ β€ B ^ m := by | |
| induction m generalizing x with | |
| | zero => | |
| constructor | |
| Β· exact differentiableAt_id | |
| Β· simpa using ContinuousLinearMap.norm_id_le (π := π) (E := E) | |
| | succ m hm => | |
| obtain β¨hd, hnβ© := hm (G x) (hmap hx) | |
| rw [Function.iterate_succ] | |
| refine β¨hd.comp x (hG x hx), ?_β© | |
| rw [fderiv_comp x hd (hG x hx)] | |
| calc | |
| β(fderiv π (G^[m]) (G x)).comp (fderiv π G x)β | |
| β€ βfderiv π (G^[m]) (G x)β * βfderiv π G xβ := | |
| ContinuousLinearMap.opNorm_comp_le _ _ | |
| _ β€ B ^ m * B := mul_le_mul hn (hbound x hx) | |
| (norm_nonneg _) (pow_nonneg hB _) | |
| _ = B ^ (m + 1) := (pow_succ B m).symm | |
| theorem norm_fderiv_projection_iterate_le {G : E β E} {B : β} | |
| (hG : Differentiable π G) (hB : 0 β€ B) | |
| (hbound : β x, βfderiv π G xβ β€ B) (p : E βL[π] F) (hp : βpβ β€ 1) | |
| (m : β) (x : E) : | |
| βfderiv π (p β G^[m]) xβ β€ B ^ m := by | |
| rw [fderiv_comp x p.differentiableAt (hG.iterate m x), p.fderiv] | |
| calc | |
| βp.comp (fderiv π (G^[m]) x)β β€ βpβ * βfderiv π (G^[m]) xβ := | |
| ContinuousLinearMap.opNorm_comp_le _ _ | |
| _ β€ 1 * B ^ m := mul_le_mul hp (norm_fderiv_iterate_le hG hB hbound m x) | |
| (norm_nonneg _) (by norm_num) | |
| _ = B ^ m := one_mul _ | |
| theorem exists_iterate_fderiv_bound_of_compact {G : E β E} {s : Set E} | |
| (hG : ContDiff π 1 G) (hs : IsCompact s) (hmap : Set.MapsTo G s s) : | |
| β B : β, 1 β€ B β§ β m : β, β x β s, βfderiv π (G^[m]) xβ β€ B ^ m := by | |
| obtain β¨C, hCβ© := hs.exists_bound_of_continuousOn | |
| (hG.continuous_fderiv (by norm_num)).continuousOn | |
| refine β¨max 1 C, le_max_left _ _, ?_β© | |
| intro m x hx | |
| exact (differentiableAt_iterate_and_norm_le_on | |
| (fun y _ => hG.differentiable (by norm_num) y) hmap | |
| (le_trans (by norm_num) (le_max_left _ _)) | |
| (fun y hy => (hC y hy).trans (le_max_right _ _)) m x hx).2 | |
| theorem norm_fderiv_projection_iterate_le_on {G : E β E} {B : β} {s : Set E} | |
| (hG : β x β s, DifferentiableAt π G x) (hmap : Set.MapsTo G s s) | |
| (hB : 0 β€ B) (hbound : β x β s, βfderiv π G xβ β€ B) | |
| (p : E βL[π] F) (hp : βpβ β€ 1) (m : β) (x : E) (hx : x β s) : | |
| βfderiv π (p β G^[m]) xβ β€ B ^ m := by | |
| obtain β¨hd, hnβ© := differentiableAt_iterate_and_norm_le_on hG hmap hB hbound m x hx | |
| rw [fderiv_comp x p.differentiableAt hd, p.fderiv] | |
| calc | |
| βp.comp (fderiv π (G^[m]) x)β β€ βpβ * βfderiv π (G^[m]) xβ := | |
| ContinuousLinearMap.opNorm_comp_le _ _ | |
| _ β€ 1 * B ^ m := mul_le_mul hp hn (norm_nonneg _) (by norm_num) | |
| _ = B ^ m := one_mul _ | |
| end Problem340.Prediction | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 4.13 kB
- Xet hash:
- 4ca3de522c3cece815c2977d739855643d9280df486fd06830d819d3b9c54343
Β·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.