fpvandoorn/carleson
Source indexedlemma Β· leanprover/lean4:v4.32.0
TileStructure.Forest.local_dens1_tree_bound
Carleson.ForestOperator.QuantativeEstimate Β· Carleson/ForestOperator/QuantativeEstimate.lean:89 to 175
Source documentation
Lemma 7.3.2.
Exact Lean statement
lemma local_dens1_tree_bound (hu : u β t) (hL : L β π (t u)) :
volume (L β© G β© β p β t u, E p) β€ C7_3_2 a * densβ (t u) * volume (L : Set X)Complete declaration
Lean source
Full Lean sourceLean 4
lemma local_dens1_tree_bound (hu : u β t) (hL : L β π (t u)) : volume (L β© G β© β p β t u, E p) β€ C7_3_2 a * densβ (t u) * volume (L : Set X) := by by_cases hq : (L : Set X) β© β p β t u, E p = β
Β· rw [inter_comm (L : Set X), inter_assoc, hq, inter_empty, measure_empty]; exact zero_le rw [β disjoint_iff_inter_eq_empty, disjoint_iUnionβ_right] at hq; push Not at hq by_cases! hpβ : β p β t u, Β¬Disjoint (L : Set X) (E p) β§ π° p β€ s L Β· exact local_dens1_tree_bound_exists hu hL hpβ obtain β¨p, mp, hpβ© := hq; have sLp := hpβ p mp hp have lip : L < π p := by refine Grid.lt_def.mpr β¨(le_of_mem_π hL mp ?_).1, sLpβ© contrapose! hp; exact (hp.mono_left E_subset_π).symm obtain β¨L', lL', sL'β© := Grid.exists_scale_succ sLp replace lL' : L < L' := Grid.lt_def.mpr β¨lL'.1, by liaβ© obtain β¨p'', mp'', lp''β© : β p'' β t u, π p'' β€ L' := by have L'nm : L' β πβ (t u) := by by_contra h simp_rw [π, mem_setOf, maximal_iff] at hL exact lL'.ne (hL.2 h lL'.le) rw [πβ, mem_setOf, not_or, not_and_or] at L'nm; push Not at L'nm have nfa : Β¬β p β t u, Β¬L' β€ π p := by push Not; refine β¨p, mp, Grid.le_dyadic ?_ lL'.le lip.leβ©; change s L' β€ π° p; lia simp_rw [nfa, false_or] at L'nm; exact L'nm.2 suffices β p' β lowerCubes (t u), π p' = L' β§ dist_(p') (π¬ p') (π¬ u) < 4 β§ smul 9 p'' β€ smul 9 p' by obtain β¨p', mp', ip', dp', sp'β© := this calc _ β€ volume (Eβ 9 p') := by refine measure_mono fun x β¨β¨mxL, mxGβ©, mxUβ© β¦ ?_ have mxp' : x β L' := lL'.le.1 mxL rw [β ip'] at mxp'; refine β¨β¨mxp', mxGβ©, ?_β© rw [mem_iUnionβ] at mxU; obtain β¨q, mq, hqβ© := mxU; rw [smul_snd, mem_preimage] have p'lq : π p' β€ π q := by refine le_of_mem_of_mem ?_ mxp' (E_subset_π hq) change s (π p') β€ π° q; rw [ip']; suffices s L < π° q by lia exact hpβ q mq (not_disjoint_iff.mpr β¨x, mxL, hqβ©) apply (@mem_ball' ..).mpr calc _ β€ dist_(p') (π¬ p') (π¬ u) + dist_(p') (π¬ u) (π¬ q) + dist_(p') (π¬ q) (Q x) := dist_triangle4 .. _ β€ dist_(p') (π¬ p') (π¬ u) + dist_(q) (π¬ u) (π¬ q) + dist_(q) (π¬ q) (Q x) := by gcongr <;> exact Grid.dist_mono p'lq _ < 4 + 4 + 1 := by gcongr Β· exact t.dist_lt_four' hu mq Β· rw [β mem_ball']; exact subset_cball hq.2.1 _ = _ := by norm_num _ β€ 9 ^ a * densβ (t u) * volume (L' : Set X) := by rw [β ip'] exact volume_Eβ_le_densβ_mul_volume mp' mp'' (by norm_num) sp' _ β€ 2 ^ (4 * a) * 2 ^ (π * a ^ 3 + 5 * a) * densβ (t u) * volume (L : Set X) := by rw [show 2 ^ (4 * a) * _ * densβ (t u) * volume (L : Set X) = 2 ^ (4 * a) * densβ (t u) * (2 ^ (π * a ^ 3 + 5 * a) * volume (L : Set X)) by ring] gcongr ?_ * _ * ?_ Β· norm_cast; rw [pow_mul]; exact pow_le_pow_left' (by norm_num) a Β· exact volume_bound_of_Grid_lt lL'.le sL' _ β€ _ := by gcongr; rw [C7_3_2]; norm_cast; rw [β pow_add]; apply Nat.pow_le_pow_right zero_lt_two rw [β add_assoc, β add_rotate, β add_mul, show 4 + 5 = 9 by norm_num] calc _ β€ 4 * 4 * a + π * a ^ 3 := by gcongr; norm_num _ β€ a * a * a + π * a ^ 3 := by gcongr <;> exact four_le_a X _ = _ := by ring obtain lp'' | lp'' := lp''.eq_or_lt Β· use p'', subset_lowerCubes mp'', lp'', t.dist_lt_four hu mp'' have mβ := biUnion_Ξ© (i := L') (range_π¬ (mem_range_self u)) rw [mem_iUnionβ] at mβ; obtain β¨p', mp', hp'β© := mβ rw [mem_preimage, mem_singleton_iff] at mp'; change π p' = L' at mp' have ip'lp : π p' β€ π p := by rw [mp']; refine Grid.le_dyadic ?_ lL'.le lip.le; change s L' β€ π° p; lia use p', mem_lowerCubes.mp β¨p, mp, ip'lpβ©, mp'; constructor Β· rw [β mem_ball']; exact mem_of_mem_of_subset (subset_cball hp') (ball_subset_ball (by norm_num)) Β· rw [β mp'] at lp'' refine β¨lp''.le, fun x mx β¦ ?_β© calc _ β€ dist_(p'') x (π¬ p') + dist_(p'') (π¬ p') (π¬ u) + dist_(p'') (π¬ u) (π¬ p'') := dist_triangle4 .. _ β€ C2_1_2 a * (dist_(p') x (π¬ p') + dist_(p') (π¬ p') (π¬ u)) + dist_(p'') (π¬ u) (π¬ p'') := by rw [mul_add]; gcongr <;> exact Grid.dist_strictMono lp'' _ < C2_1_2 a * (9 + 1) + 4 := by gcongr Β· unfold C2_1_2; positivity Β· exact mx Β· rw [β mem_ball']; exact subset_cball hp' Β· exact t.dist_lt_four' hu mp'' _ β€ 1 / 256 * 10 + 4 := by rw [show (9 : β) + 1 = 10 by norm_num]; gcongr; exact C2_1_2_le_inv_256 X _ < _ := by norm_num