Precomposing a uniform embedding with a uniform permutation of its domain #
Precomposing a uniformly chosen embedding T ↪ α with an independent uniform permutation
σ : Equiv.Perm T of its domain leaves the distribution of a two-stage experiment unchanged
(uniformOfFintype_embedding_bind_perm_trans).
Main results #
Cslib.Probability.PMF.uniformOfFintype_embedding_bind_perm_trans: binding a uniform embeddingT ↪ αequals binding after precomposing with an independent uniform permutation ofT.
theorem Cslib.Probability.PMF.uniformOfFintype_embedding_bind_perm_trans {T : Type u_1} {α : Type u_2} {β : Type u_3} [Fintype (T ↪ α)] [Nonempty (T ↪ α)] [Fintype (Equiv.Perm T)] (f : (T ↪ α) → PMF β) :
(uniformOfFintype (T ↪ α)).bind f = (uniformOfFintype (T ↪ α)).bind fun (j : T ↪ α) =>
(uniformOfFintype (Equiv.Perm T)).bind fun (σ : Equiv.Perm T) => f ((Equiv.toEmbedding σ).trans j)
Binding a uniform embedding T ↪ α equals binding after precomposing with an independent
uniform permutation of T.