(measure_mono (fun z hz =>show z ∈ closedBall (0 : Space) (3*h) by
simpa only [mem_closedBall,dist_zero_right] using hz.2)).trans_lt ((isCompact_closedBall (0 : Space) (3*h)).measure_lt_top)
lemmapacket_on_inner_annulus {h : ℝ} (hh : 0 < h) {y z : Space}
(hy : ‖y‖ = 2*h) (hz : packetDensity y (h/4) z ≠0) :
z ∈ innerFieldTestAnnulus h :=by
proof · 5
lines
have hd := packetDensity_support y (show0 < h/4by positivity) hz
have h1 := norm_le_norm_sub_add y z
have h2 := norm_le_norm_sub_add z y
rw [norm_sub_rev y z] at h1
constructor <;> linarith only [hd,h1,h2,hy,hh]
packetDensityConstant/(h/4)^3*
(∫ z in innerFieldTestAnnulus h, max (normalizedCoreField Z lam psi z) 0)+lam+
16*packetPotentialConstant*(∫ a, ‖a‖⁻¹ ∂(actualParticleSource psi).restrict {a | h < ‖a‖})
let mu := actualInnerSource psi h
let nu := (actualParticleSource psi).restrict {a | h < ‖a‖}
let : IsFiniteMeasure (actualParticleSource psi) := actualParticleSource_finite hpsi
let : IsFiniteMeasure mu := actualInnerSource_finite hpsi h
havehs : ∀ᵐ a ∂mu, ‖a‖ ≤ h := actualInnerSource_support psi h
havehnu : ∀ᵐ a ∂nu, h < ‖a‖ :=
ae_restrict_mem (measurableSet_lt measurable_const continuous_norm.measurable)
havehball : closedBall y (h/2) ⊆ {z | h < ‖z‖} :=by
intro z hz
havehd : ‖z-y‖ ≤ h/2:= mem_closedBall.mp hz
have ht := norm_le_norm_sub_add y z
rw [norm_sub_rev y z] at ht
change h < ‖z‖
linarith only [hy,ht,hd,hh]
have hu := (sourceField_continuousOn Z mu hh.le hs).mono hball
havehmean : (∫ z, packetDensity y (h/4) z*sourceField Z mu z) = sourceField Z mu y :=
weak_harmonic_packet_mean_local hu (by positivity) (by linarith)
(fun g hg hcg hsg => sourceField_weak_harmonic Z mu hh.le hs hg hcg
(hsg.trans (ball_subset_closedBall.trans hball)))
havehleft : Integrable (fun z => packetDensity y (h/4) z*sourceField Z mu z) :=by
apply Integrable.congr (continuousOn_mul_integrable_support (isCompact_closedBall y (h/2)) hu
(packetDensity_continuous y (h/4)) (fun z hz => ?_))
· exact ae_of_all _ (fun z => mul_comm _ _)
· rw [mem_closedBall]
have hd := packetDensity_support y (show0 < h/4by positivity) hz
rw [dist_eq_norm]
linarith
obtain ⟨hpos,hposB⟩ := positiveCoreField_packet_le hpsi hZ hlam hh hy
have hout := packet_source_integrable nu y (show0 < h/4by positivity)
have houtB := packet_outer_source_bound nu hh hnu hy.le
have hconst := (packetDensity_integrable y (show0 < h/4by positivity)).mul_const lam
have hb (z : Space) : packetDensity y (h/4) z*sourceField Z mu z ≤
packetDensity y (h/4) z*max (normalizedCoreField Z lam psi z) 0+
packetDensity y (h/4) z*lam+packetDensity y (h/4) z*sourcePotential nu z :=byhave he := sourceField_inner_eq hpsi hm Z lam h z
change sourceField Z mu z = normalizedCoreField Z lam psi z+lam+sourcePotential nu z at he
rw [he,mul_add,mul_add]
have hh := mul_le_mul_of_nonneg_left
(le_max_left (normalizedCoreField Z lam psi z) 0) (packetDensity_nonneg y (h/4) z)
linarith only [hh]
have hb' := integral_mono hleft ((hpos.add hconst).add hout) hb
simp only [Pi.add_apply] at hb'
have hab := integral_add (hpos.add hconst) hout
have hac := integral_add hpos hconst
simp only [Pi.add_apply] at hab hac
rw [hmean,hab,hac,integral_mul_const,
packetDensity_mass y (show0 < h/4by positivity),one_mul] at hb'
unfold actualInnerBoundaryCap
change sourceField Z mu y ≤ _
linarith only [hb',hposB,houtB]