lemmaweak_laplacian_no_positive_at_max_center {u : Space→ℝ} (hu : Continuous u)
{y : Space} {Sc : ℝ} (hS : 0 < S) (hc : 0 < c)
(hmax : ∀ x ∈ ball y S, u x ≤ u y)
(hw : ∀g : Space→ℝ, ContDiffℝ2 g →HasCompactSupport g →
tsupport g ⊆ ball y S→ (∀ x, 0≤ g x) →
c*(∫ x, g x) ≤∫ x, u x*Δ g x) : False:=by
proof · 18
lines
apply weak_laplacian_no_positive_at_max (u :=fun x => u (y+x))
(hu.comp (continuous_const.add continuous_id)) hS hc
· intro x hx
simpa only [add_zero] using hmax (y+x) (by
simpa only [mem_ball,dist_eq_norm,add_sub_cancel_left,sub_zero] using hx)
· intro g hg hcg hs hn
letG : Space→ℝ:=fun z => g (-y+z)
havehG : ContDiffℝ2G:= hg.comp (contDiff_const.add contDiff_id)
havehcG : HasCompactSupportG:= hcg.comp_homeomorph (Homeomorph.addLeft (-y))
havehsG : tsupport G⊆ ball y S:=by
intro z hz
have hh := hs (tsupport_translate_subset y hz)
simpa only [mem_ball,dist_eq_norm,sub_zero,neg_add_eq_sub] using hh
have hh := hw G hG hcG hsG (fun _ => hn _)
havehi : (∫ x, G x) = ∫ x, g x := integral_add_left_eq_self (μ := volume) g (-y)
rw [hi,tfLaplacian_translate g (-y)] at hh
have hj := integral_add_left_eq_self (μ := volume) (fun z => u z*Δ g (-y+z)) y
simpa only [neg_add_cancel_left] using hh.trans_eq hj.symm
theoremweak_laplacian_no_positive_at_max_local {u : Space→ℝ}
{y : Space} {Sc : ℝ} (hu : ContinuousOn u (closedBall y S))
(hS : 0 < S) (hc : 0 < c)
(hmax : ∀ x ∈ ball y S, u x ≤ u y)
(hw : ∀g : Space→ℝ, ContDiffℝ2 g →HasCompactSupport g →
tsupport g ⊆ ball y S→ (∀ x, 0≤ g x) →
c*(∫ x, g x) ≤∫ x, u x*Δ g x) : False:=by
proof · 16
lines
letf : C(closedBall y S,ℝ) := ⟨_,hu.domRestrict⟩
obtain ⟨v,hv⟩ := f.exists_restrict_eq isClosed_closedBall
have he (z : Space) (hz : z ∈ closedBall y S) : v z = u z :=
congrArg (funh : C(closedBall y S,ℝ) => h ⟨z,hz⟩) hv
apply weak_laplacian_no_positive_at_max_center v.continuous hS hc
· intro z hz
rw [he z (ball_subset_closedBall hz),he y (mem_closedBall_self hS.le)]
exact hmax z hz
· intro g hg hcg hs hn
convert hw g hg hcg hs hn using1
apply integral_congr_ae
exact Eventually.of_forall fun z =>byby_cases hz : Δ g z = 0
· simp only [hz,mul_zero]
· change v z * Δ g z = u z * Δ g z
rw [he z (ball_subset_closedBall (hs (tfLaplacian_support hg hz)))]