Products of uniform averages #
A product of uniform averages is the uniform average of the products over the whole (dependent)
function space (Fintype.prod_expect), the counterpart for 𝔼 of Fintype.prod_sum: the
coordinates of a uniformly random function ∀ j, α j are independent and uniform. Its special
case for a function of a single coordinate is Finset.expect_pi_eval
(CslibFrontier.Foundations.Probability.CoordinateExpectation).
Main results #
Fintype.prod_expect:∏ j, 𝔼 a, g j a = 𝔼 y : ∀ j, α j, ∏ j, g j (y j).
theorem Fintype.prod_expect {κ : Type u_1} {𝕜 : Type u_2} {α : κ → Type u_3} [Fintype κ] [DecidableEq κ] [(j : κ) → Fintype (α j)] [Semifield 𝕜] [CharZero 𝕜] (g : (j : κ) → α j → 𝕜) :
(∏ j : κ, Finset.univ.expect fun (a : α j) => g j a) = Finset.univ.expect fun (y : (j : κ) → α j) => ∏ j : κ, g j (y j)
Independence of the coordinates of a uniform function: a product of uniform averages is
the uniform average of the products over the dependent function space, the counterpart for 𝔼 of
Fintype.prod_sum.