Marginal densities in finite products #
Coordinate events preserve their marginal density; events on distinct coordinates are independent. These reuse seed relabelling and the existing two-factor density identity.
theorem Cslib.Probability.dens_filter_fst_and_snd {ι : Type u_1} {κ : Type u_2} [Fintype ι] [Fintype κ] (p : ι → Prop) (q : κ → Prop) [DecidablePred p] [DecidablePred q] :
Independence of separate seeds: on the product of two seed spaces, an event about the first seed and an event about the second have probability equal to the product of their probabilities.
theorem Cslib.Probability.dens_filter_pi_eval {Role A : Type} [Fintype Role] [DecidableEq Role] [Fintype A] [Nonempty A] (role : Role) (E : A → Prop) [DecidablePred E] :
A coordinate of a uniform finite product has its original marginal density.
theorem Cslib.Probability.dens_filter_pi_eval_and_pi_eval {Role A : Type} [Fintype Role] [DecidableEq Role] [Fintype A] [Nonempty A] {i j : Role} (hij : j ≠ i) (E F : A → Prop) [DecidablePred E] [DecidablePred F] :
Distinct actual role coordinates are independent under uniform product density.