Buckets:
cfahlgren1/math / lean /OAI /Combinatorics /Progressions /Probability /AllocatedJointAmbientDensity.lean
| import OAI.Combinatorics.Progressions.Estimates.SigmaProductPeriodization | |
| import OAI.Combinatorics.Progressions.Linear.AllocatedJointAmbientKernel | |
| namespace OAI | |
| section | |
| namespace Erdos3.VectorPolynomial | |
| open Module Submodule | |
| open scoped BigOperators NNReal | |
| variable {K : Type*} [Fintype K] {m : ℕ} {J : Fin m → Type*} [∀ j, Fintype (J j)] | |
| variable (U : ∀ j, Submodule ℝ (J j → ℝ)) | |
| variable {I : Fin m → Type*} [∀ j, Fintype (I j)] {n : Fin m → ℕ} | |
| variable (b : ∀ j, Basis (Fin (n j)) ℝ (euclideanSubspace (U j))ᗮ) | |
| variable (o : ∀ j, OrthonormalBasis (I j) ℝ (euclideanSubspace (U j))) | |
| variable (c w : ∀ j : Fin m, I j → BoundedCoefficientExponent K (j.val + 1) → ℝ) | |
| variable (f : ∀ j : Fin m, Fin (n j) → BoundedCoefficientExponent K (j.val + 1) → ℝ → ℝ) | |
| theorem coefficientJointAmbientKernel_periodization | |
| (x : CoefficientAmbientIndex K J → UnitAddCircle) : | |
| smallBoxTorusKernel (coefficientJointAmbientKernel U b o c w f) x = | |
| coefficientAmbientDensity U b o c w f x := by | |
| exact smallBoxTorusKernel_sigmaProductKernel | |
| (fun s : CoefficientSlot K m => canonicalAmbientKernel (euclideanSubspace (U s.1)) | |
| (b s.1) (o s.1) (fun i => c s.1 i s.2) (fun i => w s.1 i s.2) | |
| (fun i => f s.1 i s.2)) | |
| (fun s => canonicalAmbientKernel_support _ _ _ _ _ _) x | |
| variable (hb : ∀ j, span ℤ (Set.range (b j)) = projectedIntegerLattice (euclideanSubspace (U j))) | |
| variable (p : ∀ j : Fin m, Fin (n j) → BoundedCoefficientExponent K (j.val + 1) → PMF ℤ) | |
| theorem coefficientJointAmbientKernel_canonical | |
| (hf : ∀ j i d (k : ℤ), f j i d ((k : ℝ) / basisAxisScale (b j) i) = | |
| basisAxisScale (b j) i * (p j i d k).toReal) | |
| (hs : ∀ j d x, mixedCoefficientDensity (fun i => c j i d) (fun i => w j i d) | |
| (fun i => p j i d) x ≠ 0 → ∀ a, | |
| |normalizedLatticePoint (euclideanSubspace (U j)) (b j) (orthonormalMixedChart (o j) x) a| ≤ 1/4) | |
| (x : CoefficientTorus (K := K) U) : | |
| smallBoxTorusKernel (coefficientJointAmbientKernel U b o c w f) | |
| (coefficientAmbientTorus U x) = canonicalCoefficientDensity U b hb o c w p x := by | |
| rw [coefficientJointAmbientKernel_periodization] | |
| exact coefficientAmbientDensity_eq U b hb o c w f p hf hs x | |
| end Erdos3.VectorPolynomial | |
| end | |
| section | |
| namespace Erdos3.VectorPolynomial | |
| open Module Submodule | |
| variable {m : ℕ} {G : Type*} [Fintype G] {I : Fin m → Type*} [∀ j, Fintype (I j)] | |
| variable {n : Fin m → ℕ} (B : LayerSamplerAxis I n → Type*) [∀ a, Fintype (B a)] | |
| variable {J : Fin m → Type*} [∀ j, Fintype (J j)] (U : ∀ j, Submodule ℝ (J j → ℝ)) | |
| variable (b : ∀ j, Basis (Fin (n j)) ℝ (euclideanSubspace (U j))ᗮ) | |
| variable (hb : ∀ j, span ℤ (Set.range (b j)) = projectedIntegerLattice (euclideanSubspace (U j))) | |
| variable (o : ∀ j, OrthonormalBasis (I j) ℝ (euclideanSubspace (U j))) | |
| variable {R σ : Fin m → ℝ} (S : LayerSamplerScale (G := G) B U b R σ) | |
| theorem allocatedCoefficientJointAmbientKernel_density | |
| (hR : ∀ j, 0 < R j) (hσ : ∀ j, 0 < σ j) | |
| (hσ1 : ∀ j, σ j ≤ 1) (C : Fin m → ℝ) (hC : ∀ j, 0 ≤ C j) | |
| (hchart : ∀ j v, ‖(normalizedOrthogonalChart (euclideanSubspace (U j)) (b j)).symm v‖ ≤ C j * ‖v‖) | |
| (hsmall : ∀ j, C j * ((Fintype.card (I j) : ℝ) + 1) * R j ≤ 1/4) | |
| (x : CoefficientTorus (K := LayerSamplerVariables G I n B) U) : | |
| smallBoxTorusKernel (allocatedCoefficientJointAmbientKernel B U b S o) | |
| (coefficientAmbientTorus U x) = allocatedCoefficientDensity B U b hb o hR hσ S x := by | |
| change smallBoxTorusKernel (coefficientJointAmbientKernel U b o _ _ _) | |
| (coefficientAmbientTorus U x) = _ | |
| rw [coefficientJointAmbientKernel_periodization] | |
| exact allocatedCoefficientAmbientDensity_eq B U b hb o S hR hσ hσ1 C hC hchart hsmall x | |
| end Erdos3.VectorPolynomial | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 3.87 kB
- Xet hash:
- 582a8d9d6e3fd5bd79c6f3ef127013308e0677f345528cf82e149f0319a28a61
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.