Download lean/OAI/MeasureTheory/FalconerCompletion/Estimates/OriginalCellTransform.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
theoremphysical_near_far_profile_boundND {N : ℕ} (hN : 0<N)
(ρ κ : Measure (EuclideanSpaceℝ (Fin (n+1)))) [IsFiniteMeasure ρ] [IsFiniteMeasure κ]
{a h : ℕ} (hah : a≤h) (XY : Fin (n+1) →ℤ)
(hX : ρ (ambientGridCell a X)≠0) (hY : κ (ambientGridCell a Y)≠0)
(v ma mb err : ℝ)
(hl₁ : ∀Q∈occupiedDescendantsND ρ a h X, ((2:ℝ)^N)^(-mb-err)≤(ρ (ambientGridCell h Q)).toReal)
(hl₂ : ∀Q∈occupiedDescendantsND κ a h Y, ((2:ℝ)^N)^(-mb-err)≤(κ (ambientGridCell h Q)).toReal)
(hu₁ : (ρ (ambientGridCell a X)).toReal≤((2:ℝ)^N)^(-ma+err))
(hu₂ : (κ (ambientGridCell a Y)).toReal≤((2:ℝ)^N)^(-ma+err))
(b c : EuclideanSpaceℝ (Fin (n+1)) →EuclideanSpaceℝ (Fin (n+1)) →ℂ)
(hb : Measurable (Function.uncurry b)) (hc : Measurable (Function.uncurry c))
{BC : ℝ} (hbd : ∀ x w, ‖w‖=1→ ‖b x w‖≤B) (hcd : ∀ x w, ‖w‖=1→ ‖c x w‖≤C)
{Ψ : ℝ→ℝ} (hmΨ : Measurable Ψ) (hΨ : Integrable (fun r => Ψ (r/(2:ℝ)^v)))
(hΨpos : ∀ r, 0≤Ψ r) :
letA:= occupiedDescendantsND ρ a h X
proof · 62
lines
letD:= occupiedDescendantsND κ a h YlethAD : (A.product D).Nonempty:= (original_occupied_nonemptyND ρ hah X hX).product
(original_occupied_nonemptyND κ hah Y hY)
let μ := canonicalSphereMeasureND (EuclideanSpaceℝ (Fin (n+1)))
letU:= originalCellTransformND ρ h (((2:ℝ)^N)^(-mb)) b
letW:= originalCellTransformND κ h (((2:ℝ)^N)^(-mb)) c
Attempt4Near.sourceAngularHND (n+1) μ a v Ψ
(originalCellTransformND ρ a (((2:ℝ)^N)^(-ma)) b X)
(originalCellTransformND κ a (((2:ℝ)^N)^(-ma)) c Y) ≤
(20*((n+1:ℕ)+1:ℝ)+5)^(2*(n+1))*
((2:ℝ)^N)^(-2*((mb-(n+1:ℝ)*(h:ℝ)/(2*N))-(ma-(n+1:ℝ)*(a:ℝ)/(2*N)))+4*err)*
Attempt4Near.graphChildMaxND (n+1) μ h v Ψ AD hAD UW +
Attempt4Near.farAngularEnergyND (n+1) μ a h v (((2:ℝ)^N)^(-(mb-ma)))
(((2:ℝ)^N)^(-(mb-ma))) Ψ ADUW:=by
classical
letA:= occupiedDescendantsND ρ a h XletD:= occupiedDescendantsND κ a h Ylet μ := canonicalSphereMeasureND (EuclideanSpaceℝ (Fin (n+1)))
letU:= originalCellTransformND ρ h (((2:ℝ)^N)^(-mb)) b
letW:= originalCellTransformND κ h (((2:ℝ)^N)^(-mb)) c
havehAD : (A.product D).Nonempty:= (original_occupied_nonemptyND ρ hah X hX).product
(original_occupied_nonemptyND κ hah Y hY)
havehUm : ∀Q∈A, Measurable (UQ) :=funQ _ => sourceAngularTransformND_measurable ρ _ _ hb
havehWm : ∀Q∈D, Measurable (WQ) :=funQ _ => sourceAngularTransformND_measurable κ _ _ hc
letBs:=funQ=> |(((2:ℝ)^N)^(-mb))⁻¹| *(ρ (ambientGridCell h Q)).toReal*BletCs:=funQ=> |(((2:ℝ)^N)^(-mb))⁻¹| *(κ (ambientGridCell h Q)).toReal*ChavehUb : ∀Q∈A, ∀ r, ∀ᵐ w ∂μ, ‖UQ (r,w)‖≤BsQ:=by
intro Q _ r
filter_upwards [canonicalSphereMeasureND_ae_norm] with w hw
exact sourceAngularTransformND_norm_le ρ _ _ b r w (fun x => hbd x w hw)
havehWb : ∀Q∈D, ∀ r, ∀ᵐ w ∂μ, ‖WQ (r,w)‖≤CsQ:=by
intro Q _ r
filter_upwards [canonicalSphereMeasureND_ae_norm] with w hw
exact sourceAngularTransformND_norm_le κ _ _ c r w (fun x => hcd x w hw)
havehnt : ((2:ℝ)^N)^(-mb)≠0:= ne_of_gt (by positivity)
havehpu : ∀ r, ∀ᵐ w ∂μ, originalCellTransformND ρ a (((2:ℝ)^N)^(-ma)) b X (r,w) =
(((2:ℝ)^N)^(-(mb-ma))) • ∑Q∈A, UQ (r,w) :=by
intro r
filter_upwards [canonicalSphereMeasureND_ae_norm] with w hw
exact (sourceAngularTransformND_parent_partition ρ hah X _ _ r hnt b hb w (fun x => hbd x w hw)).trans
(by rw [original_partition_multiplierND]; rfl)
havehpw : ∀ r, ∀ᵐ w ∂μ, originalCellTransformND κ a (((2:ℝ)^N)^(-ma)) c Y (r,w) =
(((2:ℝ)^N)^(-(mb-ma))) • ∑Q∈D, WQ (r,w) :=by
intro r
filter_upwards [canonicalSphereMeasureND_ae_norm] with w hw
exact (sourceAngularTransformND_parent_partition κ hah Y _ _ r hnt c hc w (fun x => hcd x w hw)).trans
(by rw [original_partition_multiplierND]; rfl)
havehin₁ : ∀Q∈A, Attempt4Near.ambientGridCell h Q⊆ambientGridCell a X:=by
intro Q hQ
exact ambientDescendantsND_subset hah (Finset.mem_filter.mp hQ).1havehin₂ : ∀Q∈D, Attempt4Near.ambientGridCell h Q⊆ambientGridCell a Y:=by
intro Q hQ
exact ambientDescendantsND_subset hah (Finset.mem_filter.mp hQ).1have hs :=Attempt4Near.sourceAngularHND_near_far_profile_bound (n+1) hN μ ρ κ a h v ma mb err
AD hAD (ambientGridCell a X) (ambientGridCell a Y) hin₁ hin₂ hl₁ hl₂ hu₁ hu₂
UW hUm hWm BsCs hUb hWb hmΨ hΨ hΨpos
have hp := sourceAngularHND_congr_ae μ a v Ψ
(originalCellTransformND ρ a (((2:ℝ)^N)^(-ma)) b X)
(fun p => (((2:ℝ)^N)^(-(mb-ma))) • ∑Q∈A, UQ p)
(originalCellTransformND κ a (((2:ℝ)^N)^(-ma)) c Y)
(fun p => (((2:ℝ)^N)^(-(mb-ma))) • ∑Q∈D, WQ p) hpu hpw
simpa only [Nat.cast_add,Nat.cast_one] using hp.le.trans hs