theoremlower_comparison (c : Space d) (r : ℝ) (hr : 0<r)
{u Yv : Space d →ℝ} {V : Space d →Space d}
(hu : Continuous u) (hun : ∀x, 0≤u x)
(huc : ContDiffOnℝ∞ u {x | 0<u x}) (hul : ∀x, 0<u x → Δ u x=0)
(huG : H1Loc univ u (gradient u))
(hY : ContDiffOnℝ∞Y {x | 0<u x})
(hYp : ∀x, 0<u x →0<Y x) (hYlap : ∀x, 0<u x → Δ Y x≤0)
(hslope : ∀x, 0<u x →1≤‖gradient u x-(u x/Y x) • gradient Y x‖^2)
(hv : H1 (Metric.ball c r) v V)
(hvn : ∀ᵐ x ∂volume.restrict (Metric.ball c r), 0≤v x)
(hvu : ∀ᵐ x ∂volume.restrict (Metric.ball c r), v x≤u x)
(htrace : H10 (Metric.ball c r) (fun x=>v x-u x) (fun x=>V x-gradient u x)) :
energy (Metric.ball c r) u (gradient u)≤energy (Metric.ball c r) v V:=by
proof · 78
lines
letB:=Metric.ball c r
letA:= gradient u
letG:=fun x=>A x-V x
let w :=B.indicator (fun x=>min (max (u x-v x) 0) (u x))
havehB : IsOpenB:=Metric.isOpen_ball
havehw0 : ∀x, x∉B→ w x=0:=fun x hx=>by simp [w,hx]
havehwn : ∀x, 0≤w x :=by
intro x
by_cases hx:x∈B
· simp only [w,indicator_of_mem hx]
exact le_min (le_max_right _ _) (hun x)
· simp [w,hx]
havehwu : ∀x, w x≤u x :=by
intro x
by_cases hx:x∈B
· simp only [w,indicator_of_mem hx]
exact min_le_right _ _
· simpa [w,hx] using hun x
havehweq : w =ᵐ[volume.restrict B] (fun x=>u x-v x) :=by
filter_upwards [hvn,hvu,ae_restrict_mem hB.measurableSet] with x hx hy hz
simp [w,hz,max_eq_left (sub_nonneg.mpr hy),min_eq_left (bylinarith : u x-v x≤u x)]
havehw : H10B w G:=by
apply htrace.neg.congr
· filter_upwards [hweq] with x hx
simp [hx]
· exact ae_of_all _ fun x=>neg_sub (V x) (A x)
obtain ⟨hort,hL,hlower⟩ := lower_variation c r hr hu hun huc hul huG hY hYp hYlap hw hwn hwu hw0
letL:=fun x=>G x-(w x/Y x) • gradient Y x
have huB := huG c r hr (subset_univ _)
let : IsFiniteMeasure (volume.restrict B) := isFiniteMeasure_restrict.mpr measure_ball_lt_top.ne
have hU2 := huB.2.1.integrable_norm_pow (by norm_num)
have hV2 := hv.2.1.integrable_norm_pow (by norm_num)
havehG : MemLpG2 (volume.restrict B) := huB.2.1.sub hv.2.1have hG2 := hG.integrable_norm_pow (by norm_num)
have hL2 := hL.integrable_norm_pow (by norm_num)
have hUV := integrable_inner_of_memLp huB.2.1 hG
have hUE := hU2.add (integrable_phase huB.1.aestronglyMeasurable)
have hVE := hV2.add (integrable_phase hv.1.aestronglyMeasurable)
have hz :=SobolevCalculus.gradient_zero_on_zero_set hB hv
change Integrable (fun x=>‖A x‖^2) (volume.restrict B) at hU2
change Integrable (fun x=>‖L x‖^2) (volume.restrict B) at hL2
change Integrable (fun x=>inner ℝ (A x) (G x)) (volume.restrict B) at hUV
change Integrable (fun x=>‖A x‖^2+(if0<u x then (1:ℝ) else0)) (volume.restrict B) at hUE
change Integrable (fun x=>‖V x‖^2+(if0<v x then (1:ℝ) else0)) (volume.restrict B) at hVE
havehip : energy B u A≤ energy B v V + 2*(∫x inB, inner ℝ (A x) (G x))+
(∫x inB, ‖L x‖^2)-(∫x inB, ‖G x‖^2) :=byhave hint := integral_mono_ae hUE (((hVE.add (hUV.const_mul 2)).add hL2).sub hG2)
have he := integral_sub ((hVE.add (hUV.const_mul 2)).add hL2) hG2
have he1 := integral_add (hVE.add (hUV.const_mul 2)) hL2
have he2 := integral_add hVE (hUV.const_mul 2)
have he3 := integral_const_mul (μ:=volume.restrict B) 2 (fun x=>inner ℝ (A x) (G x))
sufficeshp : _ frombyhave ht := hint hp
dsimp only [Pi.add_apply,Pi.sub_apply] at ht he he1 he2 he3
change (∫x inB, ‖A x‖^2+(if0<u x then (1:ℝ) else0))≤_
change _≤(∫x inB, ‖V x‖^2+(if0<v x then (1:ℝ) else0))+_+_-_
linarith
clear he he1 he2 he3 hint
filter_upwards [hvn,hweq,hz] with x hxn hxw hxz
havehphase : (if0<u x then (1:ℝ) else0)-(if0<v x then (1:ℝ) else0)≤‖L x‖^2:=byby_cases hu0:0<u x
· by_cases hv0:0<v x
· simp [hu0,hv0]
· havehvz : v x=0:= le_antisymm (not_lt.mp hv0) hxn
havehLx : L x=A x-(u x/Y x) • gradient Y x :=by simp [L,G,hxw,hvz,hxz hvz]
simpa [hu0,hv0,hLx] using hslope x hu0
· by_cases hv0:0<v x
· simp only [hu0,hv0,ite_false,ite_true,zero_sub]
nlinarith [sq_nonneg ‖L x‖]
· simp [hu0,hv0]
havehid : ‖V x‖^2=‖A x‖^2+‖G x‖^2-2*inner ℝ (A x) (G x) :=by
simp only [G,inner_sub_right,real_inner_self_eq_norm_sq,norm_sub_sq_real]
ring
simp only [Pi.sub_apply,Pi.add_apply] at *
linarith
change (∫x inB, inner ℝ (A x) (G x))=0 at hort
change (∫x inB, ‖L x‖^2)≤(∫x inB, ‖G x‖^2) at hlower
linarith
theoremU_lower_comparison (c : Space7) (r : ℝ) (hr : 0<r)
{v : Space7→ℝ} {V : Space7→Space7}
(hv : H1 (Metric.ball c r) v V)
(hvn : ∀ᵐ x ∂volume.restrict (Metric.ball c r), 0≤v x)
(hvu : ∀ᵐ x ∂volume.restrict (Metric.ball c r), v x≤U x)
(htrace : H10 (Metric.ball c r) (fun x=>v x-U x) (fun x=>V x-gradient U x)) :
energy (Metric.ball c r) U (gradient U)≤energy (Metric.ball c r) v V:=by
proof · 6
lines
apply GroundState.lower_comparison c r hr U_continuousU_nonnegU_smooth_positive
(fun x hx=>(U_harmonic x hx).2.self_of_nhds) U_h1loc (Y:=YSub)
(fun x hx=>(YSub_contDiffAt ((U_pos_iff x).mp hx).1).contDiffWithinAt)
(fun x hx=>YSub_pos ((U_pos_iff x).mp hx).1)
(fun x hx=>YSub_superharmonic ((U_pos_iff x).mp hx).1)
(fun x hx=>lower_groundstate_slope hx) hv hvn hvu htrace