The setting
Let and be finite sets, each partitioned independently and uniformly at random into three ordered parts with prescribed cardinalities. When a real-valued observable is formed as the sum of three functions, with the -th function depending only on the -th parts of the two partitions, the three summands are coupled by the disjointness and size constraints on each partition. The problem is to bound the variance of this sum by a constant multiple of the sum of the variances of its three summands.
Partitions and uniform variance
For a finite set , a map , and an index , the -th row of is the subset (1)✦ Given a triple of nonnegative integers , a three-part partition of with row sizes is a map whose rows (1) satisfy for every .✦ Write for the finite set of all three-part partitions of with row sizes .
For two finite sets and with prescribed row sizes and in , the state space of partition pairs is the Cartesian product (2)✦ whose elements are pairs with and .
For any function on the product space (2), its uniform expectation is (3)✦ with the convention that when is empty. The corresponding uniform variance is (4)✦ likewise taken to be when is empty.
The claim
Lemma 3.1. Let and be finite sets, and let and be triples of nonnegative integers such that the state space is nonempty. Let be three functions assigning a real number to each pair of subsets and . For each , define by . Then (5)✦
What is checked
The Lean library states Lemma 3.1 as inequality (5) for any two finite sets and , any triples of nonnegative integers and with nonempty state space of fixed-size three-part partition pairs, and any three real-valued functions on pairs of subsets of and , using the uniform expectation (3) and variance (4).