Let $(\Omega,\mathcal{F},\mathbb{P})$ be a probability space. For each $k \in \{1,\dots,K\}$, let $n_k \geq 1$ be an integer, and for each $j \in \{1,\dots,n_k\}$ let $X_{k,j} : (\Omega,\mathcal{F}) \to (D_k,\mathcal{D}_k)$ be a random vector with distribution $\operatorname{Unif}(D_k)$, meaning its law is the normalized [Lebesgue measure](/page/Lebesgue%20Measure) $\mathcal{L}^d(\cdot \cap D_k)/\mathcal{L}^d(D_k)$ on $(D_k,\mathcal{D}_k)$. Assume that the full finite family $\{X_{k,j} : 1 \leq k \leq K,\ 1 \leq j \leq n_k\}$ is independent. Let $g : (D,\mathcal{D}) \to (\mathbb{R},\mathcal{B}(\mathbb{R}))$ be measurable, where $\mathcal{D}$ is the restriction of the Lebesgue $\sigma$-algebra to $D$, and assume $g \circ X_{k,j} \in L^2(\Omega,\mathcal{F},\mathbb{P})$ for every $k,j$.