Marginals of a joint pushed through a parallel composition #
Pushing a product measure through η ∥ₖ η' pushes each factor through its kernel. Pushing a
joint measure on α × β through Kernel.id ∥ₖ η keeps the first marginal and composes the
second with η. The joint is disintegrated as ρ.fst ⊗ₘ ρ.condKernel. Conditioning a joint
μ ⊗ₘ κ on an event and keeping the first coordinate reweights μ by the mass each row of κ
gives the event's section, and normalizes. On finite types, a
composition, a composition-product and a joint pushed through Kernel.id ∥ₖ η are computed at
atoms; an atom is charged by a composition exactly when some charged atom of the input emits it,
and each row of a kernel charged by the input measure is absolutely continuous with respect to the
output marginal. The powers of a Markov kernel, in mathlib's monoid of kernels under composition,
are Markov kernels.
[UPSTREAM] candidate for Mathlib/Probability/Kernel/Composition/Lemmas.lean.
Atoms #
Conditioning on an event #
Conditioning a joint on an event and keeping the first coordinate reweights the first marginal by the mass each row gives the event's section, and normalizes.
The powers of a Markov kernel are Markov kernels.