fpvandoorn/carleson
Source indexedlemma ยท leanprover/lean4:v4.32.0
TileStructure.Forest.stackSize_remainder_ge_one_of_exists
Carleson.ForestOperator.Forests ยท Carleson/ForestOperator/Forests.lean:237 to 252
Mathematical statement
Exact Lean statement
lemma stackSize_remainder_ge_one_of_exists (t : Forest X n) (j : โ) (x : X)
(hx : โ ๐ฒ' โ (t.rowDecomp j).๐, x โ ๐ ๐ฒ') :
1 โค stackSize ((t \ โ i < j, t.rowDecomp i) โฉ t.rowDecomp j: Set _) xComplete declaration
Lean source
Full Lean sourceLean 4
lemma stackSize_remainder_ge_one_of_exists (t : Forest X n) (j : โ) (x : X) (hx : โ ๐ฒ' โ (t.rowDecomp j).๐, x โ ๐ ๐ฒ') : 1 โค stackSize ((t \ โ i < j, t.rowDecomp i) โฉ t.rowDecomp j: Set _) x := by classical obtain โจ๐ฒ', h๐ฒ'โฉ := hx calc 1 = stackSize {๐ฒ'} x := by rw [stackSize, Finset.sum_eq_single_of_mem] ยท exact (Set.indicator_of_mem h๐ฒ'.2 (1 : X โ โ)).symm ยท rw [Finset.mem_filter_univ] exact Set.mem_singleton_iff.mpr rfl ยท intro b hb hbp rw [Finset.mem_filter_univ, Set.mem_singleton_iff] at hb exact absurd hb hbp _ โค stackSize ((t \ โ i < j, t.rowDecomp i) โฉ t.rowDecomp j : Set _) x := stackSize_mono (Set.singleton_subset_iff.mpr โจt.rowDecomp_๐_subset j h๐ฒ'.1, h๐ฒ'.1โฉ)