Download data/lean/OAI/MeasureTheory/Falconer/Angular/AngularDyadicSum.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.7 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MeasureTheory/Falconer/Angular/AngularDyadicSum.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/MeasureTheory/Falconer/Angular/AngularDyadicSum.lean
-
curl -L -o AngularDyadicSum.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MeasureTheory/Falconer/Angular/AngularDyadicSum.lean
3.7 kB
Lean 4 Β· 2
declarations statementsfull
theorem parallel_inverse_distance_sum (Q : DyadicSquare) (hQ : Q.side = 1)
(Ο : Measure Plane) {g p : β} (hgp : g β€ p) {P : CellPath} (hP : P.length = p) :
β c β (parallelTestCells Q Ο g p P).erase P,
1/dist (Q.descendant c).center (Q.descendant P).center β€
((parallelTestCells Q Ο g p P).card:β)*(2:β)^g +
β j β Finset.range (p-g),
((occupiedCenterCells Q Ο p (Q.descendant P).center (1/(2:β)^(g+j))).card:β)*
(2:β)^(g+j+1) := by proof Β· 25 lines
classical
let S := (parallelTestCells Q Ο g p P).erase P
let d := fun c => dist (Q.descendant c).center (Q.descendant P).center
have hside : 0 < Q.side := by rw [hQ]; norm_num
have hsep (c : CellPath) (hc : c β S) : 1/(2:β)^p β€ d c := by
have hc' := Finset.mem_of_mem_erase hc
have hl := (mem_dyadicPaths p c).mp (Finset.mem_filter.mp hc').1
simpa only [hQ] using dyadic_centers_separated Q hside hl hP (Finset.ne_of_mem_erase hc)
have hd (c : CellPath) (hc : c β S) : 0 < d c :=
lt_of_lt_of_le (by positivity : 0 < 1/(2:β)^p) (hsep c hc)
have hh := sum_inverse_distance_dyadic S d g (p-g) hd (fun c hc => by
simpa only [Nat.add_sub_of_le hgp] using hsep c hc)
apply hh.trans
apply add_le_add
Β· apply mul_le_mul_of_nonneg_right _ (by positivity)
exact_mod_cast Finset.card_le_card (Finset.erase_subset P (parallelTestCells Q Ο g p P))
Β· apply Finset.sum_le_sum
intro j _
apply mul_le_mul_of_nonneg_right _ (by positivity)
apply Nat.cast_le.mpr
apply Finset.card_le_card
intro c hc
obtain β¨hc,hdcβ© := Finset.mem_filter.mp hc
have hc' := Finset.mem_filter.mp (Finset.mem_of_mem_erase hc)
exact Finset.mem_filter.mpr β¨hc'.1,hc'.2.1,hdcβ©theorem parallel_inverse_distance_profile (Q : DyadicSquare) (hQ : Q.side = 1)
(Ο : Measure Plane) (m : β β β) (N : β) (lam : β)
(hpack : β g p : β, g β€ p β p β€ N β β x : Plane, β Cβ : β, 0 β€ Cβ β
((occupiedCenterCells Q Ο p x (Cβ/(2:β)^g)).card:β) β€
(4*(Cβ+1)^2)*((2:β)^N)^(m p-m g+6*lam))
{g p : β} (hgp : g β€ p) (hpN : p β€ N) {P : CellPath} (hP : P.length = p) :
β c β (parallelTestCells Q Ο g p P).erase P,
1/dist (Q.descendant c).center (Q.descendant P).center β€
484*(((2:β)^N)^(m p-m g+6*lam)*(2:β)^g +
β j β Finset.range (p-g),
((2:β)^N)^(m p-m (g+j)+6*lam)*(2:β)^(g+j+1)) := by proof Β· 21 lines
classical
apply (parallel_inverse_distance_sum Q hQ Ο hgp hP).trans
rw [mul_add,Finset.mul_sum]
apply add_le_add
Β· have hh := hpack g p hgp hpN (Q.descendant P).center 10 (by norm_num)
change ((parallelTestCells Q Ο g p P).card:β) β€ _ at hh
norm_num at hh
simpa only [mul_assoc] using
mul_le_mul_of_nonneg_right hh (by positivity : 0 β€ (2:β)^g)
Β· apply Finset.sum_le_sum
intro j hj
have hj' := Finset.mem_range.mp hj
have hh := hpack (g+j) p (by omega) hpN (Q.descendant P).center 1 (by norm_num)
norm_num at hh
have hpos : 0 β€ ((2:β)^N)^(m p-m (g+j)+6*lam) := by positivity
have hh' : ((occupiedCenterCells Q Ο p (Q.descendant P).center (1/(2:β)^(g+j))).card:β) β€
484*((2:β)^N)^(m p-m (g+j)+6*lam) := by
simp only [one_div]
linarith
simpa only [mul_assoc] using
mul_le_mul_of_nonneg_right hh' (by positivity : 0 β€ (2:β)^(g+j+1))Outline