Buckets:
| import Mathlib.Analysis.Complex.Schwarz | |
| import Mathlib.Analysis.Calculus.ParametricIntervalIntegral | |
| import Mathlib.Analysis.Calculus.FDeriv.Measurable | |
| import Mathlib.Analysis.Calculus.ContDiff.FiniteDimension | |
| namespace OAI | |
| open Complex Set Metric Filter MeasureTheory | |
| open scoped Topology Interval | |
| namespace Mahler | |
| variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] | |
| /-- The complex Schwarz estimate gives a local bound on the full derivative, | |
| from first-order holomorphicity alone. -/ | |
| lemma locally_bounded_fderiv {f : E → ℂ} {U : Set E} {x : E} | |
| (hU : IsOpen U) (hx : x ∈ U) (hf : DifferentiableOn ℂ f U) : | |
| ∃ r > 0, ∃ C ≥ 0, ball x r ⊆ U ∧ | |
| ∀ y ∈ ball x r, ‖fderiv ℂ f y‖ ≤ C := by | |
| have hc := (hf x hx).differentiableAt (hU.mem_nhds hx) |>.continuousAt | |
| have hn : U ∩ f ⁻¹' ball (f x) 1 ∈ 𝓝 x := | |
| inter_mem (hU.mem_nhds hx) (hc.preimage_mem_nhds (ball_mem_nhds _ zero_lt_one)) | |
| obtain ⟨r, hr, hsub⟩ := Metric.mem_nhds_iff.mp hn | |
| refine ⟨r / 2, by positivity, 2 / (r / 2), by positivity, ?_, ?_⟩ | |
| · intro y hy | |
| exact (hsub (ball_subset_ball (by linarith) hy)).1 | |
| · intro y hy | |
| have hball : ball y (r / 2) ⊆ ball x r := by | |
| intro z hz | |
| have := dist_triangle z y x | |
| rw [mem_ball] at hy hz ⊢ | |
| linarith | |
| apply Complex.norm_fderiv_le_div_of_mapsTo_ball | |
| (hf.mono (hball.trans (fun z hz => (hsub hz).1))) ?_ (by positivity) | |
| intro z hz | |
| have hzy := (hsub (hball hz)).2 | |
| have hyx := (hsub (ball_subset_ball (by linarith) hy)).2 | |
| rw [mem_closedBall] | |
| have := dist_triangle (f z) (f x) (f y) | |
| change dist (f z) (f x) < 1 at hzy | |
| change dist (f y) (f x) < 1 at hyx | |
| rw [dist_comm (f x) (f y)] at this | |
| linarith | |
| variable [FiniteDimensional ℂ E] | |
| /-- Differentiability of a Cauchy integral in an ambient finite-dimensional | |
| complex parameter. The derivative bound is obtained locally by Schwarz. -/ | |
| lemma differentiable_cauchy_parameter {f : E → ℂ} {U : Set E} {x v : E} | |
| {R C r : ℝ} (hU : IsOpen U) (hf : DifferentiableOn ℂ f U) | |
| (hR : 0 < R) (hr : 0 < r) (hv : r * ‖v‖ < R / 2) | |
| (hsub : ball x R ⊆ U) | |
| (hb : ∀ y ∈ ball x R, ‖fderiv ℂ f y‖ ≤ C) : | |
| DifferentiableAt ℂ | |
| (fun y => ∮ z in C(0, r), (1 / z ^ 2) • f (y + z • v)) x := by | |
| let : MeasurableSpace E := borel E | |
| let : BorelSpace E := ⟨rfl⟩ | |
| let c : ℝ → ℂ := circleMap 0 r | |
| let k : ℝ → ℂ := fun t => (c t * I) * (1 / c t ^ 2) | |
| have hc : Continuous c := continuous_circleMap _ _ | |
| have hcn (t : ℝ) : ‖c t‖ = r := by simp [c, abs_of_pos hr] | |
| have hcz (t : ℝ) : c t ≠ 0 := by | |
| intro h | |
| have := hcn t | |
| rw [h, norm_zero] at this | |
| linarith | |
| have hk : Continuous k := (hc.mul continuous_const).mul | |
| (continuous_const.div (hc.pow 2) (fun t => pow_ne_zero _ (hcz t))) | |
| have hkn (t : ℝ) : ‖k t‖ = 1 / r := by | |
| simp [k, norm_pow, hcn, norm_I] | |
| field_simp | |
| have hshift {y : E} (hy : y ∈ ball x (R / 2)) (t : ℝ) : | |
| y + c t • v ∈ ball x R := by | |
| rw [mem_ball, dist_eq_norm] at hy ⊢ | |
| have htri := norm_add_le (y - x) (c t • v) | |
| have he : y + c t • v - x = (y - x) + c t • v := by abel | |
| rw [he] | |
| rw [norm_smul, hcn] at htri | |
| linarith | |
| have hcont {y : E} (hy : y ∈ ball x (R / 2)) : | |
| Continuous (fun t => k t * f (y + c t • v)) := by | |
| apply hk.mul | |
| exact hf.continuousOn.comp_continuous (by fun_prop) (fun t => hsub (hshift hy t)) | |
| let F' : E → ℝ → E →L[ℂ] ℂ := fun y t => k t • fderiv ℂ f (y + c t • v) | |
| have hd {y : E} (hy : y ∈ ball x (R / 2)) (t : ℝ) : | |
| HasFDerivAt (fun y => k t * f (y + c t • v)) (F' y t) y := by | |
| have hf' := ((hf _ (hsub (hshift hy t))).differentiableAt | |
| (hU.mem_nhds (hsub (hshift hy t)))).hasFDerivAt | |
| simpa only [F', Function.comp_apply, id_eq, ContinuousLinearMap.comp_id] using | |
| (hf'.comp y ((hasFDerivAt_id y).add_const (c t • v))).const_mul (k t) | |
| have hm : AEStronglyMeasurable (F' x) := by | |
| apply Measurable.aestronglyMeasurable | |
| exact hk.measurable.smul ((measurable_fderiv ℂ f).comp | |
| (show Continuous (fun t => x + c t • v) by fun_prop).measurable) | |
| have hint := intervalIntegral.hasFDerivAt_integral_of_dominated_of_fderiv_le | |
| (𝕜 := ℂ) (μ := volume) (a := 0) (b := 2 * Real.pi) | |
| (F := fun y t => k t * f (y + c t • v)) (F' := F') | |
| (bound := fun _ => (1 / r) * C) (ball_mem_nhds x (by positivity : 0 < R / 2)) | |
| (by filter_upwards [ball_mem_nhds x (by positivity : 0 < R / 2)] with y hy | |
| exact (hcont hy).aestronglyMeasurable) | |
| ((hcont (mem_ball_self (by positivity))).intervalIntegrable _ _) | |
| hm.restrict | |
| (by filter_upwards [] with t ht y hy | |
| simp only [F', norm_smul, hkn] | |
| exact mul_le_mul_of_nonneg_left (hb _ (hshift hy t)) (by positivity)) | |
| (intervalIntegrable_const) | |
| (by filter_upwards [] with t ht y hy; exact hd hy t) | |
| have he : (fun y => ∮ z in C(0, r), (1 / z ^ 2) • f (y + z • v)) = | |
| (fun y => ∫ t in (0 : ℝ)..2 * Real.pi, k t * f (y + c t • v)) := by | |
| funext y | |
| simp only [circleIntegral, deriv_circleMap, smul_eq_mul, c, k, mul_assoc] | |
| rw [he] | |
| exact hint.differentiableAt | |
| /-- A directional component of the ambient first derivative is holomorphic. | |
| Only first-order holomorphicity on the open domain is assumed. -/ | |
| theorem differentiableAt_fderiv_apply_of_open {f : E → ℂ} {U : Set E} {x v : E} | |
| (hU : IsOpen U) (hx : x ∈ U) (hf : DifferentiableOn ℂ f U) : | |
| DifferentiableAt ℂ (fun y => fderiv ℂ f y v) x := by | |
| obtain ⟨R, hR, C, hC, hsub, hb⟩ := locally_bounded_fderiv hU hx hf | |
| let r := (R / 2) / (‖v‖ + 1) | |
| have hr : 0 < r := by dsimp [r]; positivity | |
| have hv : r * ‖v‖ < R / 2 := by | |
| dsimp [r] | |
| rw [div_mul_eq_mul_div, div_lt_iff₀ (by positivity : 0 < ‖v‖ + 1)] | |
| nlinarith | |
| have hshift {y : E} (hy : y ∈ ball x (R / 2)) {z : ℂ} | |
| (hz : z ∈ closedBall 0 r) : y + z • v ∈ U := by | |
| apply hsub | |
| rw [mem_ball, dist_eq_norm] at hy ⊢ | |
| have hzn : ‖z‖ ≤ r := by simpa [mem_closedBall, dist_eq_norm] using hz | |
| have htri := norm_add_le (y - x) (z • v) | |
| have he : y + z • v - x = (y - x) + z • v := by abel | |
| rw [he] | |
| rw [norm_smul] at htri | |
| have hmul := mul_le_mul_of_nonneg_right hzn (norm_nonneg v) | |
| linarith | |
| have he : (fun y => fderiv ℂ f y v) =ᶠ[𝓝 x] | |
| (fun y => (2 * Real.pi * I : ℂ)⁻¹ * | |
| ∮ z in C(0, r), (1 / z ^ 2) • f (y + z • v)) := by | |
| filter_upwards [ball_mem_nhds x (by positivity : 0 < R / 2)] with y hy | |
| have hl : Differentiable ℂ (fun z : ℂ => y + z • v) := by fun_prop | |
| have hline : DifferentiableOn ℂ (fun z : ℂ => f (y + z • v)) (closedBall 0 r) := | |
| hf.comp hl.differentiableOn (fun z hz => hshift hy hz) | |
| have hcauchy := hline.deriv_eq_smul_circleIntegral hr | |
| have hfy : DifferentiableAt ℂ f y := | |
| (hf y (by simpa using hshift hy (mem_closedBall_self hr.le))).differentiableAt | |
| (hU.mem_nhds (by simpa using hshift hy (mem_closedBall_self hr.le))) | |
| have hl' : HasDerivAt (fun z : ℂ => y + z • v) v 0 := by | |
| simpa using ((hasDerivAt_id (0 : ℂ)).smul_const v).const_add y | |
| have hfy' : HasFDerivAt f (fderiv ℂ f y) (y + (0 : ℂ) • v) := by | |
| simpa using hfy.hasFDerivAt | |
| have hder := hfy'.comp_hasDerivAt 0 hl' | |
| change HasDerivAt (fun z : ℂ => f (y + z • v)) (fderiv ℂ f y v) 0 at hder | |
| rw [hder.deriv] at hcauchy | |
| simp only [sub_zero, smul_eq_mul] at hcauchy ⊢ | |
| rw [hcauchy, ← mul_assoc, inv_mul_cancel₀ Complex.two_pi_I_ne_zero, one_mul] | |
| exact ((differentiable_cauchy_parameter hU hf hR hr hv hsub hb).const_mul | |
| (2 * Real.pi * I : ℂ)⁻¹).congr_of_eventuallyEq he | |
| /-- Holomorphic functions on open finite-dimensional complex domains are C^k | |
| for every finite k. Smoothness is derived, not added to the hypotheses. -/ | |
| theorem contDiffOn_nat_of_differentiableOn_open {U : Set E} (hU : IsOpen U) | |
| (k : ℕ) {f : E → ℂ} (hf : DifferentiableOn ℂ f U) : | |
| ContDiffOn ℂ k f U := by | |
| induction k generalizing f with | |
| | zero => exact contDiffOn_zero.mpr hf.continuousOn | |
| | succ k ih => | |
| rw [Nat.cast_add, Nat.cast_one] | |
| apply contDiffOn_succ_of_fderiv_apply hf (by simp) | |
| intro v | |
| have hd : DifferentiableOn ℂ (fun y => fderiv ℂ f y v) U := | |
| fun y hy => (differentiableAt_fderiv_apply_of_open hU hy hf).differentiableWithinAt | |
| apply (ih hd).congr | |
| intro y hy | |
| rw [fderivWithin_of_isOpen hU hy] | |
| end Mahler | |
| end OAI | |
Xet Storage Details
- Size:
- 8.56 kB
- Xet hash:
- 1145693f7d256f8b8b01b8e28459b2fcbadfb59e194fe32fbd344c36b1c804d7
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.