Common envelopes for finitely many row tables #
The zero-padded maximum of scaled absolute prefix envelopes dominates each prefix. Its fourth moment costs the sum of the scaled prefix fourth moments. Empty prefix sets give zero. The masks and all tables may share one finite environment.
Main definitions #
Cslib.finiteEnvelope: zero-padded maximum of scaled absolute prefix envelopes.
Main results #
Cslib.rowNormPow_finiteEnvelope_le: sum of scaled prefix moments pays the maximum.Cslib.rowNormPow_finiteEnvelope_le_card_mul: finite uniform allocation.
theorem Cslib.finiteEnvelope_nonneg {I : Type u_1} {V : Type u_2} (S : Finset I) (a : I → ℝ) (E : I → V → V → ℝ) (x y : V) :
0 ≤ finiteEnvelope S a E x y
Zero padding makes every common envelope nonnegative.
@[simp]
theorem Cslib.finiteEnvelope_empty {I : Type u_1} {V : Type u_2} (a : I → ℝ) (E : I → V → V → ℝ) (x y : V) :
No prefixes means zero, including at the zero horizon.
theorem Cslib.rowNormPow_finiteEnvelope_le {I : Type u_1} {Ω : Type u_2} {V : Type u_3} [Fintype Ω] [Fintype V] (S : Finset I) (a : I → ℝ) (E : I → V → V → ℝ) (X Y : Ω → V → Prop) [(σ : Ω) → (x : V) → Decidable (X σ x)] [(σ : Ω) → (y : V) → Decidable (Y σ y)] {N u : ℝ} (hNu : 0 ≤ N * u) :
(rowNormPow 4 N u X Y fun (x : Ω) => finiteEnvelope S a E) ≤ ∑ i ∈ S, rowNormPow 4 N u X Y fun (x : Ω) (x_1 y : V) => E i x_1 y / a i
Integrating a finite common envelope preserves every prefix's actual mask density.
theorem Cslib.rowNormPow_finiteEnvelope_le_card_mul {I : Type u_1} {Ω : Type u_2} {V : Type u_3} [Fintype Ω] [Fintype V] (S : Finset I) (a : I → ℝ) (E : I → V → V → ℝ) (X Y : Ω → V → Prop) [(σ : Ω) → (x : V) → Decidable (X σ x)] [(σ : Ω) → (y : V) → Decidable (Y σ y)] {N u budget : ℝ} (hNu : 0 ≤ N * u) (ha : ∀ i ∈ S, 1 ≤ a i) (hE : ∀ i ∈ S, (rowNormPow 4 N u X Y fun (x : Ω) => E i) ≤ budget) :
A finite uniform allocation suffices when every divisor is at least one. The explicit factor is the number of prefixes; no horizon-independent growth is claimed.