cfahlgren1's picture
download
raw
25.8 kB
import OAI.Analysis.NodalLength.RieszMeasure
namespace OAI
noncomputable section
open scoped ContDiff Bundle ENNReal
open Bundle Manifold MeasureTheory
open scoped ContDiff ENNReal Topology
open MeasureTheory Filter Set
open scoped Topology ENNReal
open MeasureTheory Filter Set
open scoped Topology ENNReal ContDiff
open MeasureTheory Filter Set
open scoped Topology ENNReal ContDiff
open MeasureTheory Filter Set
open scoped Topology ENNReal ContDiff
open MeasureTheory Filter Set
open scoped Topology ContDiff
open Filter Set
open scoped Topology ContDiff
open Filter Set
open scoped Topology ENNReal
open Filter Set MeasureTheory TopologicalSpace
open scoped Topology ContDiff
open Filter Set
open scoped Topology ENNReal
open Filter Set MeasureTheory TopologicalSpace
open scoped Topology ENNReal ContDiff
open Filter Set MeasureTheory TopologicalSpace
open scoped Topology ENNReal ContDiff
open Filter Set MeasureTheory
open scoped Topology ENNReal ContDiff
open Filter Set MeasureTheory
open scoped Topology ENNReal ContDiff
open Filter Set MeasureTheory
open scoped Topology ENNReal ContDiff
open Filter Set MeasureTheory
open scoped Topology ENNReal ContDiff
open Filter Set MeasureTheory Laplacian
open scoped Topology ENNReal ContDiff ComplexConjugate
open Filter Set MeasureTheory Laplacian
open scoped Topology ENNReal ContDiff ComplexConjugate
open Filter Set MeasureTheory Laplacian
open scoped Topology ENNReal NNReal
open Filter Set MeasureTheory
open scoped Topology ENNReal ContDiff
open Filter Set MeasureTheory
open scoped Topology ENNReal ContDiff
open Filter Set MeasureTheory
open scoped Topology ENNReal
open Set MeasureTheory Filter
open scoped Topology ENNReal
open Filter Set MeasureTheory
open scoped Topology ENNReal
open Filter Set MeasureTheory
open scoped Topology ENNReal
open Filter Set MeasureTheory
open scoped Topology ContDiff
open Filter Set MeasureTheory
open scoped Topology ContDiff Laplacian
open Filter Set MeasureTheory InnerProductSpace
open scoped Topology ContDiff
open Filter Set MeasureTheory
open scoped Topology ENNReal
open Filter Set MeasureTheory
open scoped Topology ENNReal ContDiff
open Filter Set MeasureTheory
open scoped Topology ENNReal ContDiff
open Filter Set MeasureTheory
open scoped Topology ENNReal ContDiff
open Filter Set MeasureTheory
open scoped Topology ENNReal ContDiff
open Filter Set MeasureTheory
open scoped Topology ENNReal ContDiff CompactlySupported
open Set MeasureTheory
open scoped Topology ENNReal ContDiff CompactlySupported
open Set MeasureTheory
open scoped Topology ENNReal ContDiff CompactlySupported
open Set MeasureTheory
open scoped Topology ContDiff
open Filter Set MeasureTheory
namespace SharpNodal.Profiles
open Carleman
def regularizedLog (ε : ℝ) (x : Plane) : ℝ := Real.log (‖x‖^2+ε^2)/2
def logDenom (ε : ℝ) (x : Plane) : ℝ := ‖x‖^2+ε^2
lemma logDenom_pos {ε : ℝ} (hε : 0<ε) (x : Plane) : 0<logDenom ε x := by
dsimp [logDenom]
positivity
lemma smooth_logDenom (ε : ℝ) : Smooth (logDenom ε) := by
exact (contDiff_id.norm_sq (𝕜:=ℝ)).add contDiff_const
lemma partial_logDenom (ε : ℝ) (i : Fin 2) (x : Plane) :
coordPartial (logDenom ε) i x=2*x i := by
have hd := ((hasFDerivAt_id (𝕜:=ℝ) x).norm_sq).add_const (ε^2)
dsimp only [id_eq] at hd
change (fderiv ℝ (fun y : Plane => ‖y‖^2+ε^2) x) (EuclideanSpace.single i 1)=_
rw [hd.fderiv]
simp [EuclideanSpace.inner_single_right]
lemma smooth_regularizedLog {ε : ℝ} (hε : 0<ε) : Smooth (regularizedLog ε) := by
exact ((smooth_logDenom ε).log (fun x => (logDenom_pos hε x).ne')).div_const 2
lemma partial_regularizedLog {ε : ℝ} (hε : 0<ε) (i : Fin 2) (x : Plane) :
coordPartial (regularizedLog ε) i x=x i/(logDenom ε x) := by
have hd := (((smooth_logDenom ε).differentiable (by simp)).differentiableAt.hasFDerivAt.log
(logDenom_pos hε x).ne').const_mul (1/2:ℝ)
have he : regularizedLog ε=(fun y => (1/2:ℝ)*Real.log (logDenom ε y)) := by
funext y; simp [regularizedLog,logDenom,div_eq_mul_inv,mul_comm]
rw [he,coordPartial,hd.fderiv]
simp only [smul_apply,smul_eq_mul]
change (1/2:ℝ)*((logDenom ε x)⁻¹*coordPartial (logDenom ε) i x)=_
rw [partial_logDenom]
ring
lemma partial2_regularizedLog {ε : ℝ} (hε : 0<ε) (i : Fin 2) (x : Plane) :
coordPartial (coordPartial (regularizedLog ε) i) i x=
(logDenom ε x)⁻¹-2*(x i)^2/(logDenom ε x)^2 := by
have hD := ((smooth_logDenom ε).differentiable (by simp)).differentiableAt.hasFDerivAt (x:=x)
have hinv := (hasDerivAt_inv (logDenom_pos hε x).ne').comp_hasFDerivAt x hD
have hmul := (EuclideanSpace.proj i).hasFDerivAt.mul hinv
rw [show coordPartial (regularizedLog ε) i=(fun y => y i*(logDenom ε y)⁻¹) from by
funext y; rw [partial_regularizedLog hε]; rfl]
change (fderiv ℝ _ x) (EuclideanSpace.single i 1)=_
change HasFDerivAt (fun y : Plane => y i*(logDenom ε y)⁻¹) _ x at hmul
rw [hmul.fderiv]
change x i*(-((logDenom ε x)^2)⁻¹*coordPartial (logDenom ε) i x)+
(logDenom ε x)⁻¹*(EuclideanSpace.single i 1) i=_
rw [show (EuclideanSpace.single i (1:ℝ)) i=1 by simp,mul_one]
rw [partial_logDenom]
ring
lemma laplacian_regularizedLog {ε : ℝ} (hε : 0<ε) (x : Plane) :
euclideanLaplacian (regularizedLog ε) x=2*ε^2/(‖x‖^2+ε^2)^2 := by
simp only [euclideanLaplacian,partial2_regularizedLog hε,Fin.sum_univ_two]
have hn : ‖x‖^2=(x 0)^2+(x 1)^2 := by
simpa only [Fin.sum_univ_two,Real.norm_eq_abs,sq_abs] using PiLp.norm_sq_eq_of_L2 (fun _ : Fin 2 => ℝ) x
dsimp [logDenom]
have hd : ‖x‖^2+ε^2≠0 := (logDenom_pos hε x).ne'
field_simp
nlinarith
lemma integral_mul_laplacian {f g : Plane → ℝ} (hf : Smooth f) (hg : Smooth g)
(hc : HasCompactSupport g) :
(∫x,f x*euclideanLaplacian g x)=(∫x,euclideanLaplacian f x*g x) := by
simp only [euclideanLaplacian,Finset.mul_sum,Finset.sum_mul]
rw [integral_finsetSum,integral_finsetSum]
· apply Finset.sum_congr rfl
intro i _
rw [integral_mul_partial hf (smooth_partial hg i) (compact_partial hc i),
integral_mul_partial (smooth_partial hf i) hg hc,neg_neg]
· intro i _
exact integrable_mul_compact_right (smooth_partial (smooth_partial hf i) i) hg hc
· intro i _
exact integrable_mul_compact_right hf (smooth_partial (smooth_partial hg i) i)
(compact_partial (compact_partial hc i) i)
lemma regularizedLog_distribution {ε : ℝ} (hε : 0<ε) {ψ : Plane → ℝ}
(hψ : Smooth ψ) (hcψ : HasCompactSupport ψ) :
(∫x,regularizedLog ε x*euclideanLaplacian ψ x)=
∫x,(2*ε^2/(‖x‖^2+ε^2)^2)*ψ x := by
rw [integral_mul_laplacian (smooth_regularizedLog hε) hψ hcψ]
simp only [laplacian_regularizedLog hε]
end SharpNodal.Profiles
noncomputable section
open scoped Topology ContDiff
open Filter Set MeasureTheory
namespace SharpNodal.Profiles
open Carleman
lemma plane_radial_ball_integral (f : ℝ → ℝ) (R : ℝ) :
(∫x in Metric.ball (0:Plane) R,f ‖x‖)=2*Real.pi*∫r in Ioo 0 R,r*f r := by
have he : (Metric.ball (0:Plane) R).indicator (fun x => f ‖x‖)=
(fun x => (Iio R).indicator f ‖x‖) := by
funext x
simp [indicator,Metric.mem_ball,dist_zero_right]
rw [← integral_indicator measurableSet_ball,he,integral_fun_norm_addHaar]
simp only [finrank_euclideanSpace_fin, Nat.reduceSub, pow_one,smul_eq_mul,
nsmul_eq_mul]
have hv : (volume : Measure Plane).real (Metric.ball 0 1)=Real.pi := by
rw [measureReal_def,EuclideanSpace.volume_ball_fin_two]
norm_num
exact Real.pi_pos.le
rw [hv]
have he' : (fun r : ℝ => r*(Iio R).indicator f r)=
(Iio R).indicator (fun r => r*f r) := by
funext r
by_cases hr : r<R <;> simp [hr]
rw [he',integral_indicator measurableSet_Iio]
have hs : Iio R∩Ioi (0:ℝ)=Ioo 0 R := by ext r; exact and_comm
rw [Measure.restrict_restrict measurableSet_Iio,hs]
ring
lemma log_norm_integrableOn_ball (R : ℝ) :
IntegrableOn (fun x : Plane => Real.log ‖x‖) (Metric.ball 0 R) := by
rw [integrableOn_fun_norm_addHaar]
simp only [finrank_euclideanSpace_fin,Nat.reduceSub,pow_one,smul_eq_mul]
by_cases hR : 0≤R
· have hi : IntervalIntegrable (fun r : ℝ => r*Real.log r) volume 0 R :=
intervalIntegral.intervalIntegrable_log'.continuousOn_mul continuous_id.continuousOn
exact ((intervalIntegrable_iff_integrableOn_Ioc_of_le hR).mp hi).mono_set Ioo_subset_Ioc_self
· have he : Ioo (0:ℝ) R=∅ := Ioo_eq_empty_of_le (le_of_not_ge hR)
simp [he]
lemma regularizedLog_radial_mass {ε R : ℝ} (hε : 0<ε) (hR : 0≤R) :
(∫x in Metric.ball (0:Plane) R,2*ε^2/(‖x‖^2+ε^2)^2)=
2*Real.pi*(R^2/(R^2+ε^2)) := by
rw [plane_radial_ball_integral (fun r => 2*ε^2/(r^2+ε^2)^2) R]
congr 1
have hd : ∀r : ℝ,HasDerivAt (fun r : ℝ => r^2/(r^2+ε^2))
(r*(2*ε^2/(r^2+ε^2)^2)) r := by
intro r
have hden : r^2+ε^2≠0 := ne_of_gt (by positivity)
convert! ((hasDerivAt_id r).pow 2).div (((hasDerivAt_id r).pow 2).add_const (ε^2)) hden using 1
simp only [Pi.pow_apply,id_eq,Nat.cast_ofNat,mul_one]
field_simp
ring
have hc : Continuous (fun r : ℝ => r*(2*ε^2/(r^2+ε^2)^2)) := by
fun_prop (disch := intro r; positivity)
rw [← integral_Ioc_eq_integral_Ioo,← intervalIntegral.integral_of_le hR,
intervalIntegral.integral_eq_sub_of_hasDerivAt (fun r _ => hd r) (hc.intervalIntegrable 0 R)]
simp
end SharpNodal.Profiles
noncomputable section
open scoped Topology ContDiff
open Filter Set MeasureTheory
namespace SharpNodal.Profiles
open Carleman
def logKernel (ε : ℝ) (x : Plane) : ℝ := ε^2/(Real.pi*(‖x‖^2+ε^2)^2)
lemma logKernel_nonneg (ε : ℝ) (x : Plane) : 0≤logKernel ε x := by
unfold logKernel
positivity
lemma logKernel_eq (ε : ℝ) (x : Plane) :
logKernel ε x=(2*Real.pi)⁻¹*(2*ε^2/(‖x‖^2+ε^2)^2) := by
unfold logKernel
simp only [div_eq_mul_inv,mul_inv_rev]
ring
lemma continuous_logKernel {ε : ℝ} (hε : 0<ε) : Continuous (logKernel ε) := by
unfold logKernel
fun_prop (disch := intro x; positivity)
lemma logKernel_uniform_away (u : Set Plane) (hu : IsOpen u) (h0 : (0:Plane)∈u) :
TendstoUniformlyOn logKernel 0 (𝓝[>]0) (univ\u) := by
obtain ⟨δ,hδ,hδu⟩ := Metric.mem_nhds_iff.mp (hu.mem_nhds h0)
have hb (ε : ℝ) (x : Plane) (hx : x∈univ\u) :
logKernel ε x≤ε^2/(Real.pi*δ^4) := by
have hxδ : δ≤‖x‖ := le_of_not_gt (fun hh => hx.2 (hδu (by simpa [Metric.mem_ball,dist_zero_right] using hh)))
unfold logKernel
apply div_le_div_of_nonneg_left (sq_nonneg ε) (by positivity)
have hs : δ^2≤‖x‖^2+ε^2 := by nlinarith [sq_nonneg ε]
have hs' : δ^4≤(‖x‖^2+ε^2)^2 := by nlinarith [sq_nonneg (‖x‖^2+ε^2-δ^2)]
exact mul_le_mul_of_nonneg_left hs' Real.pi_pos.le
have ht : Tendsto (fun ε : ℝ => ε^2/(Real.pi*δ^4)) (𝓝[>]0) (𝓝 0) := by
have hh : Tendsto (fun ε : ℝ => ε^2/(Real.pi*δ^4)) (𝓝 0) (𝓝 (0^2/(Real.pi*δ^4))) :=
(tendsto_id.pow 2).div_const _
simpa using hh.mono_left nhdsWithin_le_nhds
rw [Metric.tendstoUniformlyOn_iff]
intro η hη
filter_upwards [(tendsto_order.mp ht).2 η hη] with ε hε
intro x hx
simpa only [Pi.zero_apply,dist_zero_left,Real.norm_of_nonneg (logKernel_nonneg ε x)] using (hb ε x hx).trans_lt hε
lemma logKernel_mass_tendsto :
Tendsto (fun ε : ℝ => ∫x in Metric.ball (0:Plane) 1,logKernel ε x) (𝓝[>]0) (𝓝 1) := by
have he : (fun ε : ℝ => ∫x in Metric.ball (0:Plane) 1,logKernel ε x)=ᶠ[𝓝[>]0]
(fun ε => (1+ε^2)⁻¹) := by
filter_upwards [self_mem_nhdsWithin] with ε hε
simp only [logKernel_eq,integral_const_mul,regularizedLog_radial_mass hε (by norm_num : (0:ℝ)≤1),one_pow]
field_simp
apply Tendsto.congr' he.symm
have hh : Tendsto (fun ε : ℝ => (1+ε^2)⁻¹) (𝓝 0) (𝓝 ((1+0^2)⁻¹)) := by
apply Tendsto.inv₀
· exact tendsto_const_nhds.add (tendsto_id.pow 2)
· norm_num
simpa using hh.mono_left nhdsWithin_le_nhds
lemma logKernel_test_tendsto {ψ : Plane → ℝ} (hψ : Continuous ψ) (hiψ : Integrable ψ) :
Tendsto (fun ε : ℝ => ∫x,logKernel ε x*ψ x) (𝓝[>]0) (𝓝 (ψ 0)) := by
have ht := tendsto_setIntegral_peak_smul_of_integrableOn_of_tendsto (μ:=(volume:Measure Plane)) (g:=ψ) (φ:=logKernel)
(x₀:=(0:Plane)) (s:=univ) (t:=Metric.ball (0:Plane) 1)
MeasurableSet.univ measurableSet_ball (subset_univ _) (by simpa using Metric.ball_mem_nhds (0:Plane) (by norm_num : (0:ℝ)<1))
(measure_ball_lt_top.ne) (Eventually.of_forall (fun _ _ _ => logKernel_nonneg _ _))
logKernel_uniform_away logKernel_mass_tendsto
(by filter_upwards [self_mem_nhdsWithin] with ε hε using (continuous_logKernel hε).aestronglyMeasurable)
(by simpa using hiψ) (by rw [nhdsWithin_univ]; convert! hψ.continuousAt (x:=(0:Plane)))
simpa only [Measure.restrict_univ,smul_eq_mul] using ht
end SharpNodal.Profiles
noncomputable section
open scoped Topology ContDiff
open Filter Set MeasureTheory
namespace SharpNodal.Profiles
open Carleman
lemma regularizedLog_bound {ε R : ℝ} (hε : 0<ε) (hε1 : ε≤1) (hR : 0<R)
{x : Plane} (hx : x∈Metric.ball 0 R) (hx0 : x≠0) :
‖regularizedLog ε x‖≤‖Real.log ‖x‖‖+‖Real.log (R^2+1)/2‖ := by
have hxnorm : 0<‖x‖ := norm_pos_iff.mpr hx0
have hxR : ‖x‖<R := by simpa [Metric.mem_ball,dist_zero_right] using hx
have hlo : Real.log ‖x‖≤regularizedLog ε x := by
have hh := Real.log_le_log (sq_pos_of_pos hxnorm) (le_add_of_nonneg_right (sq_nonneg ε))
rw [Real.log_pow] at hh
norm_num only [Nat.cast_ofNat] at hh
dsimp [regularizedLog]
linarith
have hhi : regularizedLog ε x≤Real.log (R^2+1)/2 := by
have hh : ‖x‖^2+ε^2≤R^2+1 := by nlinarith [norm_nonneg x]
exact div_le_div_of_nonneg_right (Real.log_le_log (logDenom_pos hε x) hh) (by norm_num)
simp only [Real.norm_eq_abs]
apply abs_le.mpr
constructor
· linarith [neg_abs_le (Real.log ‖x‖),abs_nonneg (Real.log (R^2+1)/2)]
· linarith [le_abs_self (Real.log (R^2+1)/2),abs_nonneg (Real.log ‖x‖)]
lemma regularizedLog_tendsto {x : Plane} (hx : x≠0) :
Tendsto (fun ε : ℝ => regularizedLog ε x) (𝓝[>]0) (𝓝 (Real.log ‖x‖)) := by
have hn : ‖x‖^2≠0 := pow_ne_zero _ (norm_ne_zero_iff.mpr hx)
have hh : Tendsto (fun ε : ℝ => Real.log (‖x‖^2+ε^2)/2) (𝓝 0)
(𝓝 (Real.log (‖x‖^2+0^2)/2)) := by
apply Tendsto.div_const
apply Real.continuousAt_log (by simpa using hn) |>.tendsto.comp
exact tendsto_const_nhds.add (tendsto_id.pow 2)
simpa only [regularizedLog,zero_pow (by decide : (2:ℕ)≠0),add_zero,Real.log_pow,Nat.cast_ofNat,mul_div_cancel_left₀ _ (by norm_num : (2:ℝ)≠0)] using hh.mono_left nhdsWithin_le_nhds
lemma regularizedLog_test_limit {g : Plane → ℝ} (hg : Continuous g) (hc : HasCompactSupport g) :
Tendsto (fun ε : ℝ => ∫x,regularizedLog ε x*g x) (𝓝[>]0)
(𝓝 (∫x,Real.log ‖x‖*g x)) := by
obtain ⟨R,hR,hzero⟩ := hc.exists_pos_le_norm
obtain ⟨M,hM⟩ := hg.norm.bddAbove_range_of_hasCompactSupport hc.norm
have hgM (x : Plane) : ‖g x‖≤M := hM (mem_range_self x)
let B := fun x : Plane => (‖Real.log ‖x‖‖+‖Real.log (R^2+1)/2‖)*M
let : IsFiniteMeasure (volume.restrict (Metric.ball (0:Plane) R)) :=
⟨by simpa only [Measure.restrict_apply_univ] using (measure_ball_lt_top (μ:=volume) (x:=(0:Plane)) (r:=R))⟩
have hiB : IntegrableOn B (Metric.ball 0 R) :=
((log_norm_integrableOn_ball R).norm.add (integrable_const _)).mul_const M
have hne : ∀ᵐx : Plane,x≠0 := by simp [ae_iff]
have hbound : ∀ᶠε : ℝ in 𝓝[>]0,∀ᵐx ∂volume.restrict (Metric.ball (0:Plane) R),
‖regularizedLog ε x*g x‖≤B x := by
filter_upwards [self_mem_nhdsWithin,(eventually_lt_nhds (by norm_num : (0:ℝ)<1)).filter_mono nhdsWithin_le_nhds] with ε hε hε1
filter_upwards [self_mem_ae_restrict measurableSet_ball,ae_restrict_of_ae hne] with x hx hx0
rw [norm_mul]
exact mul_le_mul (regularizedLog_bound hε hε1.le hR hx hx0) (hgM x) (norm_nonneg _) (by positivity)
have ht := tendsto_integral_filter_of_dominated_convergence B
(F:=fun ε x => regularizedLog ε x*g x) (f:=fun x => Real.log ‖x‖*g x)
(by filter_upwards [self_mem_nhdsWithin] with ε hε using
((smooth_regularizedLog hε).continuous.mul hg).aestronglyMeasurable)
hbound hiB
(by filter_upwards [ae_restrict_of_ae hne] with x hx using (regularizedLog_tendsto hx).mul_const (g x))
have he (f : Plane → ℝ) : (∫x in Metric.ball (0:Plane) R,f x*g x)=(∫x,f x*g x) := by
rw [← integral_indicator measurableSet_ball]
apply integral_congr_ae
filter_upwards [] with x
by_cases hx : x∈Metric.ball (0:Plane) R
· simp [hx]
· have hz : g x=0 := hzero x (by simpa [Metric.mem_ball,dist_zero_right,not_lt] using hx)
simp [hx,hz]
simpa only [he] using ht
lemma logarithmic_fundamental_solution {ψ : Plane → ℝ} (hψ : Smooth ψ) (hcψ : HasCompactSupport ψ) :
(∫x,Real.log ‖x‖*euclideanLaplacian ψ x)=2*Real.pi*ψ 0 := by
have hl := regularizedLog_test_limit (smooth_laplacian hψ).continuous (compact_laplacian hcψ)
have hr := (logKernel_test_tendsto hψ.continuous (hψ.continuous.integrable_of_hasCompactSupport hcψ)).const_mul (2*Real.pi)
have he : (fun ε : ℝ => ∫x,regularizedLog ε x*euclideanLaplacian ψ x)=ᶠ[𝓝[>]0]
(fun ε => (2*Real.pi)*(∫x,logKernel ε x*ψ x)) := by
filter_upwards [self_mem_nhdsWithin] with ε hε
rw [regularizedLog_distribution hε hψ hcψ,← integral_const_mul]
apply integral_congr_ae
filter_upwards [] with x
rw [logKernel_eq]
have hp : 2*Real.pi≠0 := by positivity
field_simp
exact tendsto_nhds_unique hl (hr.congr' he.symm)
end SharpNodal.Profiles
noncomputable section
open scoped Topology ContDiff
open Filter Set MeasureTheory
namespace SharpNodal.Profiles
open Carleman
lemma log_translate_local {R S : ℝ} {z : Plane} (hz : ‖z‖<S) :
IntegrableOn (fun x : Plane => Real.log ‖x-z‖) (Metric.ball 0 R) ∧
(∫x in Metric.ball (0:Plane) R,‖Real.log ‖x-z‖‖) ≤
∫x in Metric.ball (0:Plane) (R+S),‖Real.log ‖x‖‖ := by
let F := (Metric.ball (0:Plane) (R+S)).indicator (fun x => Real.log ‖x‖)
have hiF : Integrable F := (log_norm_integrableOn_ball (R+S)).integrable_indicator measurableSet_ball
have hit : Integrable (fun x : Plane => F (x-z)) :=
(measurePreserving_sub_right volume z).integrable_comp hiF.aestronglyMeasurable |>.mpr hiF
have he : ∀x∈Metric.ball (0:Plane) R,Real.log ‖x-z‖=F (x-z) := by
intro x hx
have hxR : ‖x‖<R := by simpa only [Metric.mem_ball,dist_zero_right] using hx
have hnorm : ‖x-z‖<R+S := (norm_sub_le x z).trans_lt (add_lt_add hxR hz)
simp only [F,indicator_of_mem (show x-z∈Metric.ball (0:Plane) (R+S) by simpa only [Metric.mem_ball,dist_zero_right] using hnorm)]
refine ⟨hit.integrableOn.congr_fun (fun x hx => (he x hx).symm) measurableSet_ball,?_⟩
calc
_ = ∫x in Metric.ball (0:Plane) R,‖F (x-z)‖ := setIntegral_congr_fun measurableSet_ball (fun x hx => congrArg norm (he x hx))
_ ≤ ∫x,‖F (x-z)‖ := integral_mono_measure Measure.restrict_le_self (Eventually.of_forall (fun x => norm_nonneg _)) hit.norm
_ = ∫x,‖F x‖ := integral_sub_right_eq_self (fun x => ‖F x‖) z
_ = _ := by
simp only [F,norm_indicator_eq_indicator_norm,integral_indicator measurableSet_ball]
def aeLogPotential (ν : Measure Plane) (x : Plane) : ℝ := ∫z,Real.log ‖x-z‖ ∂ν
lemma logPotential_prod_integrable (ν : Measure Plane) [IsFiniteMeasure ν] {S : ℝ}
(hs : ∀ᵐz ∂ν,‖z‖<S) (R : ℝ) :
Integrable (fun p : Plane×Plane => Real.log ‖p.1-p.2‖)
((volume.restrict (Metric.ball 0 R)).prod ν) := by
have hm : Measurable (fun p : Plane×Plane => Real.log ‖p.1-p.2‖) :=
Real.measurable_log.comp ((measurable_fst.sub measurable_snd).norm)
apply (integrable_prod_iff' hm.aestronglyMeasurable).mpr
refine ⟨?_,?_⟩
· filter_upwards [hs] with z hz using (log_translate_local (R:=R) hz).1
· apply (integrable_const (∫x in Metric.ball (0:Plane) (R+S),‖Real.log ‖x‖‖)).mono'
hm.stronglyMeasurable.norm.integral_prod_left'.aestronglyMeasurable
filter_upwards [hs] with z hz
rw [Real.norm_of_nonneg (integral_nonneg (fun x => norm_nonneg _))]
exact (log_translate_local (R:=R) hz).2
lemma aeLogPotential_integrableOn (ν : Measure Plane) [IsFiniteMeasure ν] {S : ℝ}
(hs : ∀ᵐz ∂ν,‖z‖<S) (R : ℝ) : IntegrableOn (aeLogPotential ν) (Metric.ball 0 R) :=
(logPotential_prod_integrable ν hs R).integral_prod_left
lemma partial_translate {f : Plane → ℝ} (hf : Smooth f) (z x : Plane) (i : Fin 2) :
coordPartial (fun y => f (y+z)) i x=coordPartial f i (x+z) := by
have hh := (hf.differentiable (by simp)).differentiableAt.hasFDerivAt.comp x
((hasFDerivAt_id (𝕜:=ℝ) x).add_const z)
change (fderiv ℝ (fun y => f (y+z)) x) _ = _
have he : fderiv ℝ (fun y => f (y+z)) x=fderiv ℝ f (x+z) := by
convert! hh.fderiv using 1
rw [he]
rfl
lemma laplacian_translate {f : Plane → ℝ} (hf : Smooth f) (z x : Plane) :
euclideanLaplacian (fun y => f (y+z)) x=euclideanLaplacian f (x+z) := by
unfold euclideanLaplacian
apply Finset.sum_congr rfl
intro i _
rw [show coordPartial (fun y => f (y+z)) i=(fun y => coordPartial f i (y+z)) from funext (fun y => partial_translate hf z y i)]
exact partial_translate (smooth_partial hf i) z x i
lemma logarithmic_fundamental_solution_translate {ψ : Plane → ℝ} (hψ : Smooth ψ)
(hcψ : HasCompactSupport ψ) (z : Plane) :
(∫x,Real.log ‖x-z‖*euclideanLaplacian ψ x)=2*Real.pi*ψ z := by
rw [← integral_add_right_eq_self (fun x => Real.log ‖x-z‖*euclideanLaplacian ψ x) z]
simp only [add_sub_cancel_right]
have hs : Smooth (fun x => ψ (x+z)) := hψ.comp (contDiff_id.add contDiff_const)
have hc : HasCompactSupport (fun x => ψ (x+z)) := hcψ.comp_homeomorph (Homeomorph.addRight z)
simpa only [laplacian_translate hψ,zero_add] using logarithmic_fundamental_solution hs hc
end SharpNodal.Profiles
noncomputable section
open scoped Topology ContDiff
open Filter Set MeasureTheory
namespace SharpNodal.Profiles
open Carleman
lemma aeLogPotential_norm_bound (ν : Measure Plane) [IsFiniteMeasure ν] {S : ℝ}
(hs : ∀ᵐz ∂ν,‖z‖<S) (R : ℝ) :
(∫x in Metric.ball (0:Plane) R,‖aeLogPotential ν x‖) ≤
ν.real univ*(∫x in Metric.ball (0:Plane) (R+S),‖Real.log ‖x‖‖) := by
have hp := logPotential_prod_integrable ν hs R
calc
_ ≤ ∫x in Metric.ball (0:Plane) R,∫z,‖Real.log ‖x-z‖‖ ∂ν :=
integral_mono_ae hp.integral_prod_left.norm hp.integral_norm_prod_left
(Eventually.of_forall (fun x => norm_integral_le_integral_norm _))
_ = ∫z,(∫x in Metric.ball (0:Plane) R,‖Real.log ‖x-z‖‖) ∂ν := integral_integral_swap hp.norm
_ ≤ ∫_z,(∫x in Metric.ball (0:Plane) (R+S),‖Real.log ‖x‖‖) ∂ν := by
apply integral_mono_ae hp.integral_norm_prod_right (integrable_const _)
filter_upwards [hs] with z hz using (log_translate_local (R:=R) hz).2
_ = _ := by simp only [integral_const,smul_eq_mul]
lemma aeLogPotential_test_swap (ν : Measure Plane) [IsFiniteMeasure ν] {S : ℝ}
(hs : ∀ᵐz ∂ν,‖z‖<S) {g : Plane → ℝ} (hg : Continuous g) (hc : HasCompactSupport g) :
(∫x,aeLogPotential ν x*g x) = ∫z,(∫x,Real.log ‖x-z‖*g x) ∂ν := by
obtain ⟨R,hR,hzero⟩ := hc.exists_pos_le_norm
obtain ⟨M,hM⟩ := hg.norm.bddAbove_range_of_hasCompactSupport hc.norm
have he (f : Plane → ℝ) : (∫x in Metric.ball (0:Plane) R,f x*g x)=(∫x,f x*g x) := by
rw [← integral_indicator measurableSet_ball]
apply integral_congr_ae
filter_upwards [] with x
by_cases hx : x∈Metric.ball (0:Plane) R
· simp [hx]
· have hz : g x=0 := hzero x (by simpa only [Metric.mem_ball,dist_zero_right,not_lt] using hx)
simp [hx,hz]
have hp := logPotential_prod_integrable ν hs R
have hint : Integrable (fun p : Plane×Plane => Real.log ‖p.1-p.2‖*g p.1)
((volume.restrict (Metric.ball 0 R)).prod ν) := by
apply (hp.norm.mul_const M).mono'
(((Real.measurable_log.comp ((measurable_fst.sub measurable_snd).norm)).mul (hg.measurable.comp measurable_fst)).aestronglyMeasurable)
filter_upwards [] with p
change ‖Real.log ‖p.1-p.2‖*g p.1‖≤‖Real.log ‖p.1-p.2‖‖*M
rw [norm_mul]
exact mul_le_mul_of_nonneg_left (hM (mem_range_self p.1)) (norm_nonneg _)
rw [← he (aeLogPotential ν)]
calc
_ = ∫x in Metric.ball (0:Plane) R,∫z,Real.log ‖x-z‖*g x ∂ν := by
apply setIntegral_congr_fun measurableSet_ball
intro x _
simp only [integral_mul_const,aeLogPotential]
_ = ∫z,(∫x in Metric.ball (0:Plane) R,Real.log ‖x-z‖*g x) ∂ν := integral_integral_swap hint
_ = _ := by simp only [he]
lemma aeLogPotential_distribution (ν : Measure Plane) [IsFiniteMeasure ν] {S : ℝ}
(hs : ∀ᵐz ∂ν,‖z‖<S) {ψ : Plane → ℝ} (hψ : Smooth ψ) (hcψ : HasCompactSupport ψ) :
(∫x,aeLogPotential ν x*euclideanLaplacian ψ x)=2*Real.pi*(∫z,ψ z ∂ν) := by
rw [aeLogPotential_test_swap ν hs (smooth_laplacian hψ).continuous (compact_laplacian hcψ)]
simp only [logarithmic_fundamental_solution_translate hψ hcψ,integral_const_mul]
end SharpNodal.Profiles
end
end
end
end
end
end
end OAI

Xet Storage Details

Size:
25.8 kB
·
Xet hash:
5e9ade3d99978484dd42d969528f12998a2ed291671495b2bab9cf9149298b33

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.