File size: 5,016 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | import OAI.Geometry.Perimeter.Regularity.EllipticContinuousComparison
namespace OAI
noncomputable section
open Set Filter MeasureTheory
open scoped Topology ENNReal ContDiff InnerProductSpace
namespace RPISingularHarnack
variable {n : β}
def WeakLinearEquation (A : Euc n β Euc n βL[β] Euc n) (f : Euc n β β)
(F : Euc n β Euc n) (U : Set (Euc n)) : Prop :=
β Ο : SmoothLocalTest U,
(β« x, inner β (A x (gradient f x)) (gradient Ο.val x)) =
β« x, inner β (F x) (gradient Ο.val x)
def linearResidual (A : Euc n β Euc n βL[β] Euc n) (f : Euc n β β)
(F : Euc n β Euc n) (Aβ : Euc n βL[β] Euc n) (Fβ q : Euc n) (x : Euc n) :=
(gradient f x-q) - A x (gradient f x) + F x + (Aβ q-Fβ)
theorem linearResidual_continuous {A : Euc n β Euc n βL[β] Euc n}
{f : Euc n β β} {F : Euc n β Euc n} (hA : Continuous A) (hf : ContDiff β 1 f)
(hF : Continuous F) (Aβ : Euc n βL[β] Euc n) (Fβ q : Euc n) :
Continuous (linearResidual A f F Aβ Fβ q) :=
((((gradient_continuous_C1 hf).sub continuous_const).sub
(hA.clm_apply (gradient_continuous_C1 hf))).add hF).add continuous_const
theorem linearResidual_pairing {A : Euc n β Euc n βL[β] Euc n}
{f : Euc n β β} {F : Euc n β Euc n} {U : Set (Euc n)}
(hA : Continuous A) (hf : ContDiff β 1 f) (hF : Continuous F)
(h : WeakLinearEquation A f F U) (Aβ : Euc n βL[β] Euc n) (Fβ q : Euc n)
(Ο : SmoothLocalTest U) :
(β« x, inner β (gradient (fun y β¦ f y-inner β q y) x) (gradient Ο.val x)) =
β« x, inner β (linearResidual A f F Aβ Fβ q x) (gradient Ο.val x) := by
have hg := inner_gradient_pairing_integrable (gradient_continuous_C1 hf) Ο
have hq := inner_gradient_pairing_integrable (continuous_const : Continuous (fun _ : Euc n β¦ q)) Ο
have hAf := inner_gradient_pairing_integrable (hA.clm_apply (gradient_continuous_C1 hf)) Ο
have hFi := inner_gradient_pairing_integrable hF Ο
have hc := inner_gradient_pairing_integrable
(continuous_const : Continuous (fun _ : Euc n β¦ Aβ q-Fβ)) Ο
simp_rw [gradient_sub_linear (hf.differentiable (by simp)),linearResidual,inner_add_left,inner_sub_left]
simp_rw [β inner_sub_left (Aβ q) Fβ]
erw [integral_add ((hg.sub hq).sub hAf |>.add hFi) hc,
integral_add ((hg.sub hq).sub hAf) hFi,integral_sub (hg.sub hq) hAf,
constant_gradient_pairing_zero Ο (Aβ q-Fβ),h Ο]
ring_nf
rfl
theorem linearResidual_bound {A : Euc n β Euc n βL[β] Euc n}
{f : Euc n β β} {F : Euc n β Euc n} (Aβ : Euc n βL[β] Euc n) (Fβ q x : Euc n)
{Ξ΄ Ξ± Ξ² : β} (hΞ΄ : βContinuousLinearMap.id β (Euc n)-A xββ€Ξ΄)
(hΞ± : βAβ-A xββ€Ξ±) (hΞ² : βF x-Fβββ€Ξ²) :
βlinearResidual A f F Aβ Fβ q xββ€Ξ΄*βgradient f x-qβ+Ξ±*βqβ+Ξ² := by
have he : linearResidual A f F Aβ Fβ q x =
(ContinuousLinearMap.id β (Euc n)-A x) (gradient f x-q)+(Aβ-A x) q+(F x-Fβ) := by
simp only [linearResidual,sub_apply,ContinuousLinearMap.id_apply,map_sub]
abel
rw [he]
have h1 := (ContinuousLinearMap.id β (Euc n)-A x).le_opNorm (gradient f x-q)
have h2 := (Aβ-A x).le_opNorm q
have hh := norm_add_le ((ContinuousLinearMap.id β (Euc n)-A x) (gradient f x-q)+(Aβ-A x) q) (F x-Fβ)
have hh' := norm_add_le ((ContinuousLinearMap.id β (Euc n)-A x) (gradient f x-q)) ((Aβ-A x) q)
have h1' := mul_le_mul_of_nonneg_right hΞ΄ (norm_nonneg (gradient f x-q))
have h2' := mul_le_mul_of_nonneg_right hΞ± (norm_nonneg q)
linarith
theorem continuous_residual_energy_bound {e W : Euc n β Euc n} (he : Continuous e)
(hW : Continuous W) {Ξ΄ b : β} (hΞ΄ : 0β€Ξ΄) (hb : 0β€b)
(h : β xβMetric.ball (0:Euc n) 1, βe xββ€Ξ΄*βW xβ+b) :
(β« x in Metric.ball (0:Euc n) 1, βe xβ^2) β€
2*Ξ΄^2*(β« x in Metric.ball (0:Euc n) 1, βW xβ^2)+2*b^2*volume.real (Metric.ball (0:Euc n) 1) := by
have hI (G : Euc n β Euc n) (hG : Continuous G) :
IntegrableOn (fun x β¦ βG xβ^2) (Metric.ball (0:Euc n) 1) volume :=
((hG.norm.pow 2).continuousOn.integrableOn_compact (isCompact_closedBall 0 1)).mono_set Metric.ball_subset_closedBall
have : IsFiniteMeasure (volume.restrict (Metric.ball (0:Euc n) 1)) := β¨by
rw [Measure.restrict_apply_univ]; exact measure_ball_lt_topβ©
calc
_ β€ β« x in Metric.ball (0:Euc n) 1, 2*Ξ΄^2*βW xβ^2+2*b^2 := by
apply integral_mono_ae (hI e he) (((hI W hW).const_mul _).add (integrable_const _))
filter_upwards [ae_restrict_mem measurableSet_ball] with x hx
have hsq := (sq_le_sqβ (norm_nonneg (e x))
(add_nonneg (mul_nonneg hΞ΄ (norm_nonneg (W x))) hb)).2 (h x hx)
change βe xβ^2β€2*Ξ΄^2*βW xβ^2+2*b^2
nlinarith [sq_nonneg (Ξ΄*βW xβ-b)]
_ = _ := by rw [integral_add ((hI W hW).const_mul _) (integrable_const _),integral_const_mul,integral_const]; simp [smul_eq_mul,mul_comm]
end RPISingularHarnack
end
end OAI
|