Buckets:
| import OAI.Analysis.LipschitzHilbert.Fourier.DyadicLineNesting | |
| namespace OAI | |
| /-! A literal three-grid covering lemma for the nested alternating | |
| one-third grids. It supplies the interval comparison in the maximal | |
| kernel estimate. -/ | |
| noncomputable section | |
| open Set | |
| namespace LipschitzHilbert.DyadicLineGrid | |
| theorem shift_signed_third (k : ℤ) : shift (k.negOnePow:ℤ) k=1/3 := by | |
| simp only [shift,←Units.val_mul,Int.units_mul_self,Units.val_one,Int.cast_one] | |
| theorem signed_third_in_range (k : ℤ) : (k.negOnePow:ℤ)∈Finset.Icc (-1) 1 := by | |
| rw [Finset.mem_Icc] | |
| exact abs_le.mp (le_of_eq (Int.abs_negOnePow k)) | |
| /-- A closed interval of radius less than one sixth of a grid cell | |
| fits in a cell of one of the three fixed nested grids. -/ | |
| theorem exists_three_grid_cover (k : ℤ) (c r : ℝ) (_hr : 0≤r) | |
| (hsmall : 6*r<scale k) : | |
| ∃ q∈Finset.Icc (-1) 1, ∃ j : ℤ, Icc (c-r) (c+r)⊆cell q k j := by | |
| let m := index 0 k c | |
| let a := left 0 k m | |
| have hc := mem_index_cell 0 k c | |
| have hright : left 0 k (m+1)=a+scale k := by | |
| dsimp [a,left,shift] | |
| push_cast | |
| ring | |
| change a≤c ∧ c<left 0 k (m+1) at hc | |
| rw [hright] at hc | |
| by_cases hleft : a≤c-r | |
| · by_cases hend : c+r<a+scale k | |
| · refine ⟨0,by simp, m,?_⟩ | |
| intro x hx | |
| exact ⟨hleft.trans hx.1,hx.2.trans_lt (by simpa only [hright] using hend)⟩ | |
| · refine ⟨(k.negOnePow:ℤ),signed_third_in_range k,m,?_⟩ | |
| intro x hx | |
| change left (k.negOnePow:ℤ) k m≤x ∧ x<left (k.negOnePow:ℤ) k (m+1) | |
| have hl : left (k.negOnePow:ℤ) k m=a+scale k/3 := by | |
| simp only [left,shift_signed_third] | |
| dsimp [a,left,shift] | |
| push_cast | |
| ring | |
| have hu : left (k.negOnePow:ℤ) k (m+1)=a+4*scale k/3 := by | |
| simp only [left,shift_signed_third] | |
| dsimp [a,left,shift] | |
| push_cast | |
| ring | |
| rw [hl,hu] | |
| constructor <;> linarith [hx.1,hx.2] | |
| · refine ⟨(k.negOnePow:ℤ),signed_third_in_range k,m-1,?_⟩ | |
| intro x hx | |
| change left (k.negOnePow:ℤ) k (m-1)≤x ∧ | |
| x<left (k.negOnePow:ℤ) k (m-1+1) | |
| have hl : left (k.negOnePow:ℤ) k (m-1)=a-2*scale k/3 := by | |
| simp only [left,shift_signed_third] | |
| dsimp [a,left,shift] | |
| push_cast | |
| ring | |
| have hu : left (k.negOnePow:ℤ) k (m-1+1)=a+scale k/3 := by | |
| simp only [left,shift_signed_third] | |
| dsimp [a,left,shift] | |
| push_cast | |
| ring | |
| rw [hl,hu] | |
| constructor <;> linarith [hx.1,hx.2] | |
| /-- The covering cell has length at most six times the interval length. -/ | |
| theorem exists_comparable_three_grid_cover (c r : ℝ) (hr : 0<r) : | |
| ∃ q∈Finset.Icc (-1) 1, ∃ k j : ℤ, | |
| Icc (c-r) (c+r)⊆cell q k j ∧ scale k≤12*r := by | |
| obtain ⟨k,hlo,hhi⟩ := exists_mem_Ico_zpow | |
| (show 0<12*r by positivity) (by norm_num : (1:ℝ)<2) | |
| change scale k≤12*r at hlo | |
| change 12*r<scale (k+1) at hhi | |
| rw [scale_succ] at hhi | |
| obtain ⟨q,hq,j,hcell⟩ := exists_three_grid_cover k c r hr.le (by linarith) | |
| exact ⟨q,hq,k,j,hcell,hlo⟩ | |
| end LipschitzHilbert.DyadicLineGrid | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 3.09 kB
- Xet hash:
- c8ba6eb824c6180c09326a6117819414ce1e936a9efff911f0179d2e4439bf2b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.