cfahlgren1/math / lean /OAI /Combinatorics /Progressions /Probability /AnchoredCoefficientDensityMass.lean
cfahlgren1's picture
download
raw
3.55 kB
import Mathlib.MeasureTheory.Integral.Bochner.ContinuousLinearMap
import OAI.Combinatorics.Progressions.Estimates.AnchoredCoefficientHaarApproximation
import OAI.Combinatorics.Progressions.Lattices.SmoothResidueWindowMass
namespace OAI
section
namespace Erdos3.VectorPolynomial
open MeasureTheory
open scoped BigOperators Classical
theorem exists_anchored_affine_coefficient_density_mass (m : ℕ) :
∃ A : ℕ, 2 ≤ A ∧ ∀ {I K : Type*}
[Fintype I] [DecidableEq I] [Fintype K]
(origin : Option K → I → ℝ)
{J : Fin m → Type*} [∀ j, Fintype (J j)] {F : Type*} [Fintype F]
{P : ℝ} (_hP : 0 ≤ P) (_hn : (Fintype.card I : ℝ) ≤ P)
(_hd : (Fintype.card (Option K × I) : ℝ) ≤ P)
(U : ∀ j, Submodule ℝ (J j → ℝ))
[MeasurableSpace (CoefficientTorus (K := K) U)] [BorelSpace (CoefficientTorus (K := K) U)]
(μ : Measure (CoefficientTorus (K := K) U)) [μ.IsAddLeftInvariant] [IsProbabilityMeasure μ]
{C : ℝ} (_hC : 0 ≤ C) (_hCP : C ≤ Real.exp P)
(frequency : F → ∀ j, (K →₀ ℕ) → J j → ℤ)
(_hbound : ∀ a j d, d.degree ≤ j.val + 1 → ∀ t, |(frequency a j d t : ℝ)| ≤ C)
(c : F → ℂ) {B : ℝ} (_hB : 0 ≤ B) (_hBP : B ≤ Real.exp P)
(_hcoefficients : (∑ a, ‖c a‖) ≤ B)
(p : ∀ j, VectorPolynomial I ℝ (J j → ℝ))
(_hp : ∀ j, DegreeLE (1 : I → ℕ) (j.val + 1) (p j))
(_hm : ∀ j d, coefficients (p j) d ∈ U j)
(stride : I → ℕ) (_hs : ∀ k, 0 < stride k)
{R S ρ ε : ℝ} (_hS : 0 ≤ S) (_hSP : S ≤ Real.exp P) (_hρ : 0 < ρ) (_hε : 0 < ε)
(_hρP : 1 / ρ ≤ Real.exp P) (_hεP : 1 / ε ≤ Real.exp P)
(_hstride : ∀ k, (stride k : ℝ) ≤ S)
(H : I → ℝ) (_hsize : ∀ k, Real.exp ((P + A) ^ A) ≤ H k)
(_hrank : ∀ i, HasLayerSamplingRank (i.val + 1) H R (U i) (p i))
(_hR : Real.exp ((P + A) ^ A) ≤ R)
(G : Finset (ColumnResiduePattern (Option K) I stride)) (_hG : G.Nonempty)
(V : Option K × I → ℝ) (_hV : ∀ z, 0 < V z) (_hwidth : ∀ z, ρ * H z.2 ≤ V z)
(D : CoefficientTorus (K := K) U → ℝ) (_hD : Integrable D μ)
(_hDmass : (∫ x, D x ∂μ) = 1)
{η : ℝ} (_hη : 0 ≤ η)
(_happrox : ∀ x, ‖(D x : ℂ) - coefficientTorusFourierSum U frequency c x‖ ≤ η),
∃ _hZ : 0 < ∑' x, selectedResidueSmoothWeight stride G V x,
|selectedResidueDensityMass stride G V
(fun z => D (affineSampleCoefficientTorus U p _hm (origin + fun k j => (z (k, j) : ℝ)))) - 1| ≤
2 * η + ε := by
obtain ⟨A, hA, hcomparison⟩ := exists_anchored_affine_coefficient_haar_approximation m
refine ⟨A, hA, ?_⟩
intro I K _ _ _ origin J _ F _ P hP hn hd U _ _ μ _ _ C hC hCP frequency hbound c B hB hBP hcoefficients
p hp hm stride hs R S ρ ε hS hSP hρ hε hρP hεP hstride H hsize hrank hR G hG V hV hwidth D hD hDmass η hη happrox
obtain ⟨hZ, he⟩ := hcomparison origin hP hn hd U μ hC hCP frequency hbound c hB hBP hcoefficients
p hp hm stride hs hS hSP hρ hε hρP hεP hstride H hsize hrank hR G hG V hV hwidth
(fun x => (D x : ℂ)) hD.ofReal hη happrox
refine ⟨hZ, ?_⟩
rw [integral_complex_ofReal, hDmass, Complex.ofReal_one] at he
rw [← selectedResidueDensityMass_complex stride G V hV hZ
(fun z => D (affineSampleCoefficientTorus U p hm (origin + fun k j => (z (k, j) : ℝ)))),
← Complex.ofReal_one, ← Complex.ofReal_sub, Complex.norm_real, Real.norm_eq_abs] at he
exact he
end Erdos3.VectorPolynomial
end
end OAI

Xet Storage Details

Size:
3.55 kB
·
Xet hash:
4ebf862c120721f82760b36b79d67c2dd682c700ad08561ce55c26022e8a8cdb

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