cfahlgren1/math / lean /OAI /Analysis /LipschitzHilbert /Phase /SourceAngularLongCellMask.lean
cfahlgren1's picture
download
raw
4.9 kB
import OAI.Analysis.LipschitzHilbert.Trees.SourceLongCellMask
namespace OAI
/-! The same parent-witness density masks at an independent angular
width. Spatial strip volumes remain determined by `P.width`. -/
noncomputable section
open Set MeasureTheory
open scoped ENNReal
namespace LipschitzHilbert.SourceLabeledLattice
open SourceWhitney
variable {N : ℕ} {κ : Type} {Label : Fin N → Type} {Item : ∀ j, Label j → Type}
[Fintype κ] [∀ j l, Fintype (Item j l)]
variable (P : SourceLabeledLattice N κ Label Item)
theorem exists_angular_long_cell_mask
(b w : ℝ) (cell : ∀ j, P.labels j → ℤ) (grid k j : ℤ) (tau : ℝ)
(htime : P.topLength≤tau)
(hWhitney : Whitney (Finset.univ : Finset P.PacketIndex)
(fun a => P.actualX a.1 a.2.1 a.2.2) (fun a => P.length a.1) k j)
(hY : ∀ a : P.PacketIndex, |P.actualZ a.1 a.2.1 a.2.2-b|≤P.width/2)
(hreference : ∀ a : P.PacketIndex, 0∈
scaledAngularCell (w/P.topLength) grid a.1.val (cell a.1 a.2.1))
(hlong : ∃ a : P.PacketIndex, 32*DyadicLineGrid.scale k<P.length a.1)
(E : Set (ℝ×ℝ)) (hE : MeasurableSet E) (u : ℝ×ℝ → ℝ) (hu : Measurable u)
(eta : ℝ) (heta : 0≤eta)
(hdensity : ∀ a, P.ordinaryDensity 0 cell grid w tau E u a≤eta) :
∃ Omega : Set ℝ, MeasurableSet Omega ∧
(∀ a : P.PacketIndex, 32*DyadicLineGrid.scale k<P.length a.1 →
scaledAngularCell (w/P.topLength) grid a.1.val (cell a.1 a.2.1)⊆Omega) ∧
(∀ n : ℤ, (volume.prod volume).real
(partitionCell b P.width ((k,j),n)∩(E∩u ⁻¹' Omega))≤
32*(2:ℝ)^203*eta*(1+|(n:ℝ)|)^203*DyadicLineGrid.scale k*P.width) := by
obtain ⟨a,test,_hx,_hy,_ht,_hl,_hu,hcontains,hmass⟩ :=
P.source_whitney_cell_density 0 b cell grid k j w tau htime hWhitney hY
hreference hlong E hE u hu eta heta hdensity
let Omega := scaledAngularCell (w/P.topLength) grid test.level test.cell
refine ⟨Omega,scaledAngularCell_measurable _ _ _ _,hcontains,?_⟩
intro n
have hm := hmass n
dsimp only at hm
have hfin : (volume.prod volume)
(E∩u ⁻¹' Omega∩treeCell 0 b P.width k j n)≠∞ := by
have h := (integrableOn_const_iff (C:=(1:ℝ))).mp hm.1
simpa only [enorm_one,one_ne_zero,false_or,lt_top_iff_ne_top] using h
apply (measureReal_mono _ hfin).trans hm.2
intro z hz
exact ⟨hz.2,partitionCell_subset_treeCell b P.width ((k,j),n) hz.1⟩
/-- Choose the density masks on the entire actual Whitney partition.
Cells without long packets receive the empty mask. -/
theorem exists_angular_whitney_masks
(b w : ℝ) (cell : ∀ j, P.labels j → ℤ) (grid : ℤ) (tau : ℝ)
(htime : P.topLength≤tau)
(hY : ∀ a : P.PacketIndex, |P.actualZ a.1 a.2.1 a.2.2-b|≤P.width/2)
(hreference : ∀ a : P.PacketIndex, 0∈
scaledAngularCell (w/P.topLength) grid a.1.val (cell a.1 a.2.1))
(E : Set (ℝ×ℝ)) (hE : MeasurableSet E) (u : ℝ×ℝ → ℝ) (hu : Measurable u)
(eta : ℝ) (heta : 0≤eta)
(hdensity : ∀ a, P.ordinaryDensity 0 cell grid w tau E u a≤eta) :
∃ Omega : P.DensityWhitneyCell → Set ℝ,
(∀ i, MeasurableSet (Omega i)) ∧
(∀ i, ¬P.HasLongPacket i → Omega i=∅) ∧
(∀ i (a : P.PacketIndex), 32*DyadicLineGrid.scale i.val.1<P.length a.1 →
scaledAngularCell (w/P.topLength) grid a.1.val (cell a.1 a.2.1)⊆Omega i) ∧
(∀ i n, (volume.prod volume).real
(partitionCell b P.width (i.val,n)∩(E∩u ⁻¹' Omega i))≤
32*(2:ℝ)^203*eta*(1+|(n:ℝ)|)^203*DyadicLineGrid.scale i.val.1*P.width) := by
classical
let Long := {i : P.DensityWhitneyCell // P.HasLongPacket i}
have hex (i : Long) := P.exists_angular_long_cell_mask b w cell grid i.val.val.1 i.val.val.2 tau
htime i.val.property hY hreference i.property E hE u hu eta heta hdensity
choose O hO hcontains hmass using hex
let Omega := fun i : P.DensityWhitneyCell => if hi : P.HasLongPacket i then O ⟨i,hi⟩ else ∅
refine ⟨Omega,?_,?_,?_,?_⟩
· intro i
by_cases hi : P.HasLongPacket i
· simpa only [Omega,dite_eq_left hi] using hO ⟨i,hi⟩
· simp only [Omega,dite_eq_right hi,MeasurableSet.empty]
· intro i hi
exact dite_eq_right hi
· intro i a ha
have hi : P.HasLongPacket i := ⟨a,ha⟩
simpa only [Omega,dite_eq_left hi] using hcontains ⟨i,hi⟩ a ha
· intro i n
by_cases hi : P.HasLongPacket i
· simpa only [Omega,dite_eq_left hi] using hmass ⟨i,hi⟩ n
· have hzero : Omega i=∅ := dite_eq_right hi
rw [hzero,preimage_empty,inter_empty,inter_empty,measureReal_empty]
exact mul_nonneg (mul_nonneg (mul_nonneg
(mul_nonneg (mul_nonneg (by norm_num) (pow_nonneg (by norm_num) 203)) heta) (by positivity)) (DyadicLineGrid.scale_pos _).le)
P.width_pos.le
end LipschitzHilbert.SourceLabeledLattice
end
end OAI

Xet Storage Details

Size:
4.9 kB
·
Xet hash:
a9cd34732d0d9786a5e280dc42232f818c22450ecd57a4bffd53293df2f3ce59

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