Theorem (integral_uniformOn_injective_le_integral_pi). Hoeffding's comparison: a population sum sampled without replacement is dominated in convex order by the same sum sampled with replacement. For a population \mathbf{a} : n \to E in a real Banach space, \lvert k \rvert \le \lvert n \rvert, and f convex and continuous on a closed set s holding every with-replacement sum \sum_j \mathbf{a}_{J(j)}, \mathbb{E}_{\iota} f\Bigl(\sum_j \mathbf{a}_{\iota(j)}\Bigr) \le \mathbb{E}_{J} f\Bigl(\sum_j \mathbf{a}_{J(j)}\Bigr) \,, \iota : k \to n a uniform injection, J a vector of \lvert k \rvert i.i.d. uniform indices. [Hoeffding1963, Theorem 4] (there scalar, f continuous and convex); [GrossNesme2010, Section D] (there a finite set in a vector space and f convex on its convex hull, applied to matrices). Here any real Banach space and any f convex and continuous on a closed convex s; the hypothesis \lvert k \rvert \le \lvert n \rvert is needed since otherwise the left side is 0 and a convex f may be negative. The proof uses the pattern kernel and two permutation averages.
Headline General form: sizes are index types
Lean statement and details
NLAlib.integral_uniformOn_injective_le_integral_pi.{u_3, u_4, u_5} {E : Type u_3}
[NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] {s : Set E} {f : E → ℝ} {k : Type u_4}
{n : Type u_5} [Fintype k] [Fintype n] [MeasurableSpace n] [MeasurableSingletonClass n]
(hf : ConvexOn ℝ s f) (hfc : ContinuousOn f s) (hs : IsClosed s)
(hk : Fintype.card k ≤ Fintype.card n) (A : n → E) (hA : ∀ (J : k → n), ∑ j, A (J j) ∈ s) :
∫ (ι : k → n), f (∑ j, A (ι j)) ∂uniformOn {ι | Function.Injective ι} ≤
∫ (J : k → n), f (∑ j, A (J j)) ∂Measure.pi fun x ↦ uniformOn Set.univ