Download data/lean/OAI/MeasureTheory/Falconer/Geometry/CommonNormalizedProjections.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.16 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MeasureTheory/Falconer/Geometry/CommonNormalizedProjections.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/MeasureTheory/Falconer/Geometry/CommonNormalizedProjections.lean
-
curl -L -o CommonNormalizedProjections.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MeasureTheory/Falconer/Geometry/CommonNormalizedProjections.lean
4.16 kB
| import OAI.MeasureTheory.Falconer.Geometry.CommonRatioProjections | |
| import OAI.MeasureTheory.Falconer.Geometry.ScalarProjectionDoubling | |
| namespace OAI | |
| /-! Normalized common-set projection estimates in the balanced Cartesian | |
| case, including the doubling needed for coefficient arithmetic. -/ | |
| namespace Falconer | |
| open scoped Pointwise | |
| theorem normalize_ratio_product_bound {D C K Ο N A : β} | |
| (hC : 0 β€ C) (hΟ : 0 < Ο) (hN : 0 < N) | |
| (hA : Ο*N β€ A) | |
| (hbound : D*Ο^12*N*N^2 β€ C*(K*N)^4) : | |
| D β€ (C*K^4/Ο^13)*A := by | |
| have hd : D β€ C*K^4/Ο^12*N := by | |
| calc | |
| _ β€ C*(K*N)^4/(Ο^12*N*N^2) := | |
| (le_div_iffβ (by positivity : 0 < Ο^12*N*N^2)).2 | |
| (by simpa only [mul_assoc] using hbound) | |
| _ = _ := by field_simp | |
| have hstep := mul_le_mul_of_nonneg_left hA (by positivity : 0 β€ C*K^4/Ο^13) | |
| calc | |
| _ β€ C*K^4/Ο^12*N := hd | |
| _ = (C*K^4/Ο^13)*(Ο*N) := by field_simp | |
| _ β€ _ := hstep | |
| theorem common_normalized_ratio_projections {Ξ± : Type*} {Ξ΄ Ο K : β} | |
| (hΞ΄ : 0 < Ξ΄) (hΟ : 0 < Ο) (hK : 0 β€ K) | |
| (I : Finset Ξ±) (X Y : Finset β) (A B : Ξ± β Finset β) (c : Ξ± β β) | |
| (hI : I.Nonempty) (hX : X.Nonempty) (hY : Y.Nonempty) (hXY : X.card = Y.card) | |
| (hXsep : β x β X, β y β X, x β y β Ξ΄ β€ |x-y|) | |
| (hYsep : β x β Y, β y β Y, x β y β Ξ΄ β€ |x-y|) | |
| (hA : β i β I, A i β X) (hB : β i β I, B i β Y) | |
| (hsizeA : β i β I, Ο*(X.card : β) β€ ((A i).card : β)) | |
| (hsizeB : β i β I, Ο*(Y.card : β) β€ ((B i).card : β)) | |
| (M : β) (hc : β i β I, c i β 0 β§ |c i| β€ M β§ |(c i)β»ΒΉ| β€ M) | |
| (hproj : β i β I, ((scalarCells Ξ΄ (A i+(B i).image (fun y => c i*y))).card : β) β€ | |
| K*(X.card : β)) : | |
| β iβ β I, β J β I, | |
| Ο^4*(I.card : β) β€ 2*(J.card : β) β§ (A iβ).Nonempty β§ | |
| ((scalarCells Ξ΄ (A iβ+A iβ)).card : β) β€ | |
| (1024*(2*M+3)^2*K^4/Ο^6)*(scalarCells Ξ΄ (A iβ)).card β§ | |
| β j β J, | |
| ((scalarCells Ξ΄ (A iβ-(A iβ).image (fun x => (c j/c iβ)*x))).card : β) β€ | |
| (4096*(2*(M*M)+3)*(2*M+3)^2*K^4/Ο^13)*(scalarCells Ξ΄ (A iβ)).card := by | |
| classical | |
| obtain β¨iβ,hiβ,J,hJI,hJ,hrawβ© := common_small_ratio_projections hΞ΄ hΟ | |
| (by positivity : 0 β€ K*(X.card : β)) I X Y A B c hI hX hY hXsep hYsep | |
| hA hB hsizeA hsizeB M hc hproj | |
| have hN : 0 < (X.card : β) := Nat.cast_pos.mpr (Finset.card_pos.mpr hX) | |
| have hAi0 : 0 < ((A iβ).card : β) := (mul_pos hΟ hN).trans_le (hsizeA iβ hiβ) | |
| have hAi : (A iβ).Nonempty := Finset.card_pos.mp (Nat.cast_pos.mp hAi0) | |
| have hAc : (scalarCells Ξ΄ (A iβ)).card = (A iβ).card := | |
| Finset.card_image_of_injOn (scalarCells_injective hΞ΄ | |
| (fun x hx y hy hxy => hXsep x (hA iβ hiβ hx) y (hA iβ hiβ hy) hxy)) | |
| have hNY : (Y.card : β) = (X.card : β) := by exact_mod_cast hXY.symm | |
| have hbase : ((scalarCells Ξ΄ (A iβ+(B iβ).image (fun y => c iβ*y))).card : β) β€ | |
| (K/Ο)*(scalarCells Ξ΄ (A iβ)).card := by | |
| apply (hproj iβ hiβ).trans | |
| rw [hAc] | |
| have hh := mul_le_mul_of_nonneg_left (hsizeA iβ hiβ) (div_nonneg hK hΟ.le) | |
| calc | |
| _ = (K/Ο)*(Ο*(X.card : β)) := by field_simp | |
| _ β€ _ := hh | |
| have hBsize : Ο*((scalarCells Ξ΄ (A iβ)).card : β) β€ ((B iβ).card : β) := by | |
| rw [hAc] | |
| calc | |
| _ β€ Ο*(X.card : β) := mul_le_mul_of_nonneg_left | |
| (Nat.cast_le.mpr (Finset.card_le_card (hA iβ hiβ))) hΟ.le | |
| _ = Ο*(Y.card : β) := by rw [hNY] | |
| _ β€ _ := hsizeB iβ hiβ | |
| have hd := scalar_doubling_from_projection hΞ΄ (hc iβ hiβ).1 hΟ (A iβ) (B iβ) | |
| hAi M (hc iβ hiβ).2.2 | |
| (fun x hx y hy hxy => hYsep x (hB iβ hiβ hx) y (hB iβ hiβ hy) hxy) hBsize hbase | |
| refine β¨iβ,hiβ,J,hJI,hJ,hAi,?_,?_β© | |
| Β· convert hd using 1 | |
| field_simp | |
| Β· intro j hj | |
| have hb := hraw j hj | |
| rw [hNY] at hb | |
| have hh := normalize_ratio_product_bound | |
| (by positivity : 0 β€ (4096 : β)*(2*(M*M)+3)*(2*M+3)^2) | |
| hΟ hN (hsizeA iβ hiβ) hb | |
| rw [hAc] | |
| exact hh | |
| end Falconer | |
| end OAI | |