cfahlgren1/math / lean /OAI /Analysis /IrrationalRotation /Sampling /ScalarSamplingSeparated.lean
cfahlgren1's picture
download
raw
1.71 kB
import OAI.Analysis.IrrationalRotation.Analysis.ScalarBVDiscrepancy
import OAI.Analysis.IrrationalRotation.Sampling.ScalarSamplingEstimates
namespace OAI
noncomputable section
open MeasureTheory Set
namespace Invariant233.ScalarRectangles
private theorem power_error_eq (m : ℕ) :
29 / (m : ℝ)^80 = 29 * (m : ℝ)^(-(80 : ℝ)) := by
have hm0 : 0 ≤ (m : ℝ) := Nat.cast_nonneg m
rw [Real.rpow_neg hm0]
norm_num [Real.rpow_ofNat, div_eq_mul_inv]
theorem specified_separated_estimates : ScalarSampling.AllSeparatedEstimates := by
refine ⟨29, by norm_num, 200, le_rfl, ?_⟩
intro m hm N₀ N n n' hp
have hsep : ∀ i j : ℤ, |i| ≤ (m ^ 300 : ℕ) → |j| ≤ (m ^ 300 : ℕ) →
(i, j) ≠ (0, 0) →
N * (m : ℝ)^1000 < |(i : ℝ) * n + (j : ℝ) * n'| := by
intro i j hi hj hij
apply hp.separated i j hi hj
by_contra h
push Not at h
exact hij (by simp [h.1, h.2])
constructor
· intro a b c d ha hab hb hc hcd hd
have h := scalar_rectangles_ae m hm N₀ N hp.N₀_pos hp.N₀_le hp.N_le n n'
hp.first_range.1 hp.second_range.1 hsep a b c d ha hab hb hc hcd hd
(Ico a b) (Ico c d) Ico_ae_eq_Icc Ico_ae_eq_Icc
rw [power_error_eq m] at h
exact h
· intro f g hf hg
have h := scalar_bv_discrepancy m hm N₀ N hp.N₀_pos hp.N₀_le hp.N_le n n'
hp.first_range.1 hp.second_range.1 hsep f g hf hg
rw [power_error_eq m] at h
exact h
theorem full_scalar_estimates : ScalarSampling.ScalarSamplingEstimates where
kernel := ScalarSampling.all_kernel_estimates
marginal := ScalarSampling.all_marginal_estimates
separated := specified_separated_estimates
end Invariant233.ScalarRectangles
end
end OAI

Xet Storage Details

Size:
1.71 kB
·
Xet hash:
4de7eb48f33745eceb9b15be9d97d1113f2d760e2a059f4b92fb4bfbe601102a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.