cfahlgren1/math / lean /OAI /Analysis /LipschitzHilbert /Phase /AngularBoundaryLocality.lean
cfahlgren1's picture
download
raw
6.49 kB
import OAI.Analysis.LipschitzHilbert.Phase.AngularBoundary
namespace OAI
/-! Locality of every top entering a boundary mass, including boundaries
whose block ancestor starts before the current path cell. The estimate uses
the immediate child-neighbor relation and therefore does not depend on that
ancestor's width. -/
noncomputable section
open scoped BigOperators
namespace LipschitzHilbert.AngularGrid
attribute [local instance] Classical.propDecidable
variable {ι : Type*}
theorem width_antitone (g : AngularGrid) : Antitone g.width := by
intro h i hhi
have hG : (1:ℝ) ≤ g.branching := by
exact_mod_cast (show 1 ≤ g.branching by have := g.branching_ge_two; omega)
unfold width
exact div_le_div_of_nonneg_left g.rootWidth_pos.le (by positivity)
(pow_le_pow_right₀ hG hhi)
/-- Neighboring children control all slopes in those children. -/
theorem slopes_close_of_neighbors (g : AngularGrid) (level : ℕ) (gap s t : ℝ)
(hnear : g.neighbors level gap (g.index level s) (g.index level t)) :
|s-t| ≤ gap + 2*g.width level := by
have hs := g.slope_dist_center_le level s
have ht := g.slope_dist_center_le level t
have hc : |g.center level (g.index level s)-g.center level (g.index level t)| <
gap+g.width level := hnear
have htriangle : |s-t| ≤ |s-g.center level (g.index level s)| +
|g.center level (g.index level s)-g.center level (g.index level t)| +
|g.center level (g.index level t)-t| := by
calc
_ = |(s-g.center level (g.index level s)) +
(g.center level (g.index level s)-g.center level (g.index level t)) +
(g.center level (g.index level t)-t)| := by congr 1; ring
_ ≤ |(s-g.center level (g.index level s)) +
(g.center level (g.index level s)-g.center level (g.index level t))| +
|g.center level (g.index level t)-t| := abs_add_le _ _
_ ≤ _ := add_le_add
(abs_add_le (s-g.center level (g.index level s))
(g.center level (g.index level s)-g.center level (g.index level t))) le_rfl
rw [abs_sub_comm (g.center level (g.index level t)) t] at htriangle
linarith
/-- The immediate-child neighborhood gives locality even when `base < h`.
All such tops are also eligible at the current path level `h`. -/
theorem boundaryTop_locality (g : AngularGrid) (tops : Finset ι)
(slope precision : ι → ℝ) (cutoff : ℝ) (hp : ∀ t ∈ tops, 0 ≤ precision t)
(base h i : ℕ) (hhi : h ≤ i) (gap : ℝ) (hgap : 0 ≤ gap)
(s sR : ℝ) (hs : g.index h s = g.index h sR) {t : ι}
(ht : t ∈ g.boundaryTops tops slope precision cutoff base i gap s) :
t ∈ tops ∧ g.eligible cutoff (precision t) h ∧
|slope t-sR| ≤ 3*g.width h+gap := by
have hwidth := g.width_pos h
rcases Finset.mem_union.mp ht with hparent | hnear
· obtain ⟨htt,hcell,he⟩ := (g.mem_cellTops _ _ _ _ _ _ _).mp hparent
have hcellh : g.index h (slope t) = g.index h sR :=
(g.index_eq_of_le hhi hcell).trans hs
refine ⟨htt,g.eligible_of_le (hp t htt) hhi he,?_⟩
have hd := g.same_cell_diameter h hcellh
linarith
· obtain ⟨hbase,he,hneighbors,_⟩ := Finset.mem_filter.mp hnear
have htt := ((g.mem_cellTops _ _ _ _ _ _ _).mp hbase).1
have hd := g.slopes_close_of_neighbors (i+1) gap s (slope t) hneighbors
have hsR := g.same_cell_diameter h hs
have hw := g.width_antitone (hhi.trans (Nat.le_succ i))
refine ⟨htt,g.eligible_of_le (hp t htt) (hhi.trans (Nat.le_succ i)) he,?_⟩
have htriangle : |slope t-sR| ≤ |slope t-s|+|s-sR| := by
simpa only [sub_add_sub_cancel] using abs_add_le (slope t-s) (s-sR)
rw [abs_sub_comm (slope t) s] at htriangle
linarith
/-- Precision is bounded at the current path level, independently of
where another shift's block ancestor begins. -/
theorem boundaryTop_precision_le (g : AngularGrid) (tops : Finset ι)
(slope precision : ι → ℝ) (cutoff : ℝ) (hp : ∀ t ∈ tops, 0 ≤ precision t)
(base h i : ℕ) (hhi : h ≤ i) (gap : ℝ) (hgap : 0 ≤ gap)
(s sR : ℝ) (hs : g.index h s = g.index h sR) {t : ι}
(ht : t ∈ g.boundaryTops tops slope precision cutoff base i gap s) :
precision t ≤ cutoff/(g.branching:ℝ)^h :=
(g.eligible_iff_precision_le cutoff (precision t) h).mp
(g.boundaryTop_locality tops slope precision cutoff hp base h i hhi gap hgap s sR hs ht).2.1
/-- Every nonempty submass, including a complementary top set, inherits
its logarithmic line-motion bound from the concrete boundary locality. -/
theorem boundary_submass_log_line_motion (g : AngularGrid) (tops : Finset ι)
(T : ι → SlopeBox) (w W cutoff K D : ℝ) (hw : 0 < w) (hW : 0 < W)
(hK : 0 < K) (hD : 0 ≤ D) (hwidth : ∀ t ∈ tops, W ≤ (T t).width)
(base h i : ℕ) (hhi : h ≤ i) (gap : ℝ) (hgap : 0 ≤ gap)
(s sR : ℝ) (hs : g.index h s = g.index h sR)
(A : Finset ι) (hA : A.Nonempty)
(hsub : A ⊆ g.boundaryTops tops (fun t => (T t).slope)
(fun t => w/(T t).length) cutoff base i gap s)
(a : ℝ) (z : ℝ × ℝ) :
|Real.log (∑ t ∈ A, (T t).weight K D (SlopeBox.lineShift sR a z)) -
Real.log (∑ t ∈ A, (T t).weight K D z)| ≤
((D/K) * (cutoff/((g.branching:ℝ)^h*w) + (3*g.width h+gap)/W)) * |a| := by
have hp (t : ι) (_ht : t ∈ tops) : 0 ≤ w/(T t).length :=
(div_pos hw (T t).length_pos).le
apply top_mass_log_line_motion T A hA hK hD sR a z
intro t ht
have hlocal := g.boundaryTop_locality tops (fun t => (T t).slope)
(fun t => w/(T t).length) cutoff hp base h i hhi gap hgap s sR hs (hsub ht)
have hprec := (g.eligible_iff_precision_le cutoff (w/(T t).length) h).mp hlocal.2.1
have hlength : 1/(T t).length ≤ cutoff/((g.branching:ℝ)^h*w) := by
calc
1/(T t).length = (w/(T t).length)/w := by
field_simp [hw.ne', (T t).length_pos.ne']
_ ≤ (cutoff/(g.branching:ℝ)^h)/w := div_le_div_of_nonneg_right hprec hw.le
_ = _ := div_div _ _ _
have hR : 0 ≤ 3*g.width h+gap := by have := g.width_pos h; positivity
have hslope : |sR-(T t).slope|/(T t).width ≤ (3*g.width h+gap)/W := by
calc
_ ≤ (3*g.width h+gap)/(T t).width :=
div_le_div_of_nonneg_right (by simpa only [abs_sub_comm] using hlocal.2.2)
(T t).width_pos.le
_ ≤ _ := div_le_div_of_nonneg_left hR hW (hwidth t hlocal.1)
exact mul_le_mul_of_nonneg_left (add_le_add hlength hslope) (div_nonneg hD hK.le)
end LipschitzHilbert.AngularGrid
end
end OAI

Xet Storage Details

Size:
6.49 kB
·
Xet hash:
27ee7d0fb17c09a929fb0241256517d375855d4e5d0bcb8dee2d11cda49ad8e1

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