Uniform expectations of one coordinate #
A coordinate of a uniform finite product has the uniform marginal, including when conditioning on an event of that coordinate. All other coordinates remain spectators. The conditional identity includes empty events, whose finite expectation is zero.
theorem Finset.expect_pi_eval_filter {R : Type u_1} {A : Type u_2} [Fintype R] [DecidableEq R] [Fintype A] [Nonempty A] (j : R) (p : A → Prop) [DecidablePred p] (F : A → ℝ) :
A conditional coordinate average retains the actual event and all spectators. No nonemptiness premise is needed, and no independent copy of the product is introduced.