Relabelling the coordinates of a finite product #
Relabelling the coordinates of an independent product along an equivalence of the index types
gives the independent product of the relabelled factors. In particular an independent product
indexed by a product type ι × κ is a product of independent blocks indexed by ι, each an
independent product indexed by κ, and a sample of q * m independent points splits into q
independent blocks of m points along finProdFinEquiv.
Main results #
Cslib.Probability.PMF.pi_map_piCongrLeft_symm: relabelling the coordinates of a product.Cslib.Probability.PMF.pi_map_curry: a product indexed byι × κis a product of independent blocks.Cslib.Probability.PMF.pi_map_finProdFinEquiv: a sample ofq * mpoints is a sample ofqindependent blocks ofmpoints.
theorem Cslib.Probability.PMF.pi_map_piCongrLeft_symm {ι : Type u_1} {κ : Type u_2} [Fintype ι] [Fintype κ] {α : ι → Type u_3} [∀ (i : ι), Finite (α i)] (p : (i : ι) → PMF (α i)) (e : κ ≃ ι) :
Relabelling the coordinates of an independent product along an equivalence e of the index
types gives the product of the relabelled factors.
theorem Cslib.Probability.PMF.pi_map_finProdFinEquiv {γ : Type u_3} [Finite γ] (p : PMF γ) (q m : ℕ) :
An independent sample of q * m points is a sample of q independent blocks of m points,
the block j consisting of the points finProdFinEquiv (j, k).