math / data /lean /OAI /Probability /InvariantIsing /Spectral /CompactSpectralQuantizers.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
2.03 kB
import OAI.Probability.InvariantIsing.Spectral.SpectralBallQuantizer
import OAI.Probability.InvariantIsing.Spectral.SpectralQuantizationWeak
namespace OAI
/-! Concrete finite quantizations of a compactly supported spectral law. -/
noncomputable section
open MeasureTheory ProbabilityTheory Filter Set Metric
open scoped Topology
namespace InvariantIsing
theorem exists_compact_spectral_quantizers
(ΞΌ : ProbabilityMeasure ℝ) (K : Set ℝ) (hK : IsCompact K)
(hΞΌ : βˆ€α΅ x βˆ‚(ΞΌ : Measure ℝ), x∈K) (a : ℝ) (ha : a∈K) :
βˆƒ n : β„• β†’ β„•, βˆƒ c r : (k : β„•) β†’ Fin (n k) β†’ ℝ,
(βˆ€ k i, c k i∈K) ∧
(βˆ€ k i, 0 < r k i ∧ r k i < (1 : ℝ)/(k+1)) ∧
(βˆ€ k i, (ΞΌ : Measure ℝ) (frontier (ball (c k i) (r k i)))=0) ∧
(βˆ€ k, K βŠ† ⋃ i, ball (c k i) (r k i)) ∧
(βˆ€ k, βˆ€α΅ x βˆ‚(ΞΌ : Measure ℝ),
dist (spectralBallQuantizer (c k) (r k) a x) x ≀ (1 : ℝ)/(k+1)) ∧
(βˆ€ k x, spectralBallQuantizer (c k) (r k) a x∈K) ∧
Tendsto (fun k => ΞΌ.map (spectralBallQuantizer (c k) (r k) a)) atTop (𝓝 ΞΌ) := by
have hex (k : β„•) := spectral_null_boundary_cover (ΞΌ : Measure ℝ) K hK ((1 : ℝ)/(k+1)) (by positivity)
choose n c r hc hr hn hb using hex
have hclose (k : β„•) : βˆ€α΅ x βˆ‚(ΞΌ : Measure ℝ),
dist (spectralBallQuantizer (c k) (r k) a x) x ≀ (1 : ℝ)/(k+1) := by
filter_upwards [hΞΌ] with x hx
exact spectralBallQuantizer_close (c k) (r k) a _ x (fun i => (hr k i).2.le) (hb k hx)
refine ⟨n,c,r,hc,?_,hn,hb,hclose,?_,?_⟩
Β· intro k i
exact ⟨lt_trans (by positivity : (0:ℝ) < ((1:ℝ)/(k+1))/2) (hr k i).1,(hr k i).2⟩
Β· intro k x
exact spectralBallQuantizer_mem (c k) (r k) a K (hc k) ha x
Β· exact spectral_quantization_weak ΞΌ (fun k => spectralBallQuantizer (c k) (r k) a)
(fun k => measurable_spectralBallQuantizer _ _ _)
(fun k => (1:ℝ)/(k+1)) (tendsto_one_div_add_atTop_nhds_zero_nat (π•œ := ℝ)) hclose
end InvariantIsing
end
end OAI