cfahlgren1/math / lean /OAI /Combinatorics /Progressions /Geometry /AllocatedChartIdealModelBound.lean
cfahlgren1's picture
download
raw
2.91 kB
import OAI.Combinatorics.Progressions.Estimates.AllocatedRecenteredIdealError
namespace OAI
section
namespace Erdos3.VectorPolynomial
open Module Submodule _root_.Set _root_.OAI.Set
open scoped BigOperators Classical NNReal
variable {m : ℕ} {G : Type*} [Fintype G]
variable {I : Fin m → Type*} [∀ j, Fintype (I j)] {n : Fin m → ℕ}
variable (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 {R σ : Fin m → ℝ} (S : LayerSamplerScale (G := G) B U b R σ)
variable {α : Type*} [Fintype α] [DecidableEq α]
variable (rowSets : Fin m → Finset (Finset α))
local notation "rowTypes" => (fun j : Fin m => {t : Finset α // t ∈ rowSets j})
local notation "rows" => (fun j => (Subtype.val : rowTypes j → Finset α))
local notation "grid" => allocatedGridAxis (I := I) U b S.value
local notation "split" => coefficientJetAxisSplit rowTypes I n grid
local notation "baseVolume" => (allocatedFullGridNaturalVolume B U b S rowSets *
coveredJetArrayScale (O := rowTypes) U * ∏ a, allocatedLongJetOutputScale B U b S (O := rowTypes) a)
variable {E : Fin m → Type*} [∀ j, Fintype (E j)]
variable (x : G → IntegerScalarCubeBox α S.value)
variable (y₀ : PrincipalIntegerTuples B (layerSamplerDegree I n) α (allocatedPrincipalSides B U b S))
variable (q d period : ℕ) [NeZero d] [NeZero period]
variable (r : ℝ≥0) (hr : 0 < r)
variable (hb : ∀ j, span ℤ (Set.range (b j)) = projectedIntegerLattice (euclideanSubspace (U j)))
variable (o : ∀ j, OrthonormalBasis (I j) ℝ (euclideanSubspace (U j)))
variable (bW : ∀ j, Basis (E j) ℤ (latticeSection (standardEuclideanLattice (J j)) (euclideanSubspace (U j))))
theorem allocatedProductChartIdealApproximation_norm_le {K : Type*} [Fintype K]
(a : K → ℂ) (f : K → Finset α → (LayerSamplerAxis I n → ℝ) → ℂ)
(hf : ∀ k s v, ‖f k s v‖ ≤ 1) (y : EuclideanJetLayers U rowTypes) :
‖allocatedProductChartIdealApproximation B U b S rowSets x y₀ q d period r hr hb o bW a f y‖ ≤
∑ label : Finset α → ((∀ j, Fin (n j) → ZMod period) × (∀ j, E j → ZMod period)), ∑ k,
‖allocatedProductMaskedIdealCoefficient B U b S rowSets x y₀ q d period a label k‖ := by
unfold allocatedProductChartIdealApproximation
apply (norm_sum_le _ _).trans
apply Finset.sum_le_sum
intro label _
apply (norm_sum_le _ _).trans
apply Finset.sum_le_sum
intro k _
rw [norm_mul, norm_prod]
apply (mul_le_mul_of_nonneg_left ?_ (norm_nonneg _)).trans_eq (mul_one _)
apply Finset.prod_le_one₀ (fun _ _ => norm_nonneg _)
intro s _
exact allocatedMaskedSiteChartFactor_norm B U b S o hb bW d r hr period (label s) (f k s) (hf k s) _
end Erdos3.VectorPolynomial
end
end OAI

Xet Storage Details

Size:
2.91 kB
·
Xet hash:
c8d2e8e6d02a308a7f14f33f9e46012693a87eedb18ffa32b996c5168084b3f7

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