The largest weights beat every fractional selection #
For real weights w on a finite type and a fractional selection 0 ≤ c ≤ 1 of total mass
∑ c = d, some set S of exactly d elements has ∑ w c ≤ ∑_{i ∈ S} w
(Finset.exists_card_eq_sum_mul_le). Take S maximizing ∑_S w among the d-sets: every weight
outside S is at most every weight inside, by exchange, and a threshold between them bounds the
difference. Equivalently, a linear function on the hypersimplex {c ∈ [0,1]ⁿ | ∑ c = d} attains its
maximum at a 0/1 vertex.
Main results #
Finset.exists_card_eq_sum_mul_le: thedlargest weights beat every fractional selection of massd.