Download data/lean/OAI/MeasureTheory/Falconer/Angular/AngularBinKernel.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.04 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MeasureTheory/Falconer/Angular/AngularBinKernel.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/MeasureTheory/Falconer/Angular/AngularBinKernel.lean
-
curl -L -o AngularBinKernel.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MeasureTheory/Falconer/Angular/AngularBinKernel.lean
3.04 kB
| import OAI.MeasureTheory.Falconer.Fourier.SymbolProductBounds | |
| import Mathlib.Analysis.SpecialFunctions.SmoothTransition | |
| import Mathlib.Algebra.Order.Floor.Ring | |
| namespace OAI | |
| namespace PlanarFalconer | |
| open Set | |
| open scoped ContDiff Topology | |
| noncomputable def angularBinKernel (t : β) : β := | |
| Real.smoothTransition (t+1) - Real.smoothTransition t | |
| theorem angularBinKernel_contDiff : ContDiff β β angularBinKernel := | |
| (Real.smoothTransition.contDiff.comp (contDiff_id.add contDiff_const)).sub | |
| Real.smoothTransition.contDiff | |
| theorem angularBinKernel_nonneg (t : β) : 0 β€ angularBinKernel t := | |
| sub_nonneg.mpr (Real.smoothTransition.monotone (by linarith)) | |
| theorem angularBinKernel_le_one (t : β) : angularBinKernel t β€ 1 := | |
| sub_le_iff_le_add.mpr (by linarith [Real.smoothTransition.le_one (t+1), | |
| Real.smoothTransition.nonneg t]) | |
| theorem angularBinKernel_zero_left {t : β} (ht : t β€ -1) : angularBinKernel t = 0 := by | |
| unfold angularBinKernel | |
| rw [Real.smoothTransition.zero_of_nonpos (by linarith), | |
| Real.smoothTransition.zero_of_nonpos (by linarith), sub_self] | |
| theorem angularBinKernel_zero_right {t : β} (ht : 1 β€ t) : angularBinKernel t = 0 := by | |
| unfold angularBinKernel | |
| rw [Real.smoothTransition.one_of_one_le (by linarith), | |
| Real.smoothTransition.one_of_one_le ht, sub_self] | |
| theorem angularBinKernel_tsupport : tsupport angularBinKernel β Icc (-1 : β) 1 := by | |
| apply closure_minimal _ isClosed_Icc | |
| intro t ht | |
| constructor | |
| Β· by_contra h | |
| exact ht (angularBinKernel_zero_left (le_of_not_ge h)) | |
| Β· by_contra h | |
| exact ht (angularBinKernel_zero_right (le_of_not_ge h)) | |
| theorem angularBinKernel_compact : HasCompactSupport angularBinKernel := | |
| isCompact_Icc.of_isClosed_subset isClosed_closure angularBinKernel_tsupport | |
| theorem angularBinKernel_two_terms {t : β} (h0 : 0 β€ t) (h1 : t β€ 1) : | |
| angularBinKernel t + angularBinKernel (t-1) = 1 := by | |
| unfold angularBinKernel | |
| rw [Real.smoothTransition.one_of_one_le (show 1 β€ t+1 by linarith), | |
| Real.smoothTransition.zero_of_nonpos (show t-1 β€ 0 by linarith), | |
| sub_add_cancel] | |
| ring | |
| theorem angularBinKernel_translate_zero (t : β) (k : β€) | |
| (hk : k β βtβ β§ k β βtβ+1) : angularBinKernel (t-k) = 0 := by | |
| have hlow := Int.floor_le t | |
| have hhigh := Int.lt_floor_add_one t | |
| by_cases h : k β€ βtβ-1 | |
| Β· apply angularBinKernel_zero_right | |
| have hh : (k : β) β€ (βtβ : β)-1 := by exact_mod_cast h | |
| linarith | |
| Β· apply angularBinKernel_zero_left | |
| have hh : βtβ+2 β€ k := by omega | |
| have hh : (βtβ : β)+2 β€ (k : β) := by exact_mod_cast hh | |
| linarith | |
| theorem angularBinKernel_floor_partition (t : β) : | |
| angularBinKernel (t-(βtβ : β€)) + angularBinKernel (t-(βtβ+1 : β€)) = 1 := by | |
| have h := angularBinKernel_two_terms (sub_nonneg.mpr (Int.floor_le t)) | |
| (show t-(βtβ : β€) β€ 1 by linarith [Int.lt_floor_add_one t]) | |
| simpa only [Int.cast_add, Int.cast_one, sub_add_eq_sub_sub] using h | |
| end PlanarFalconer | |
| end OAI | |