The composition-product of a measure and a kernel, in the reversed coordinate order #
Mathlib's μ ⊗ₘ κ records the joint law of "draw q from μ, then p from κ q" as a measure
on V × Ω, the base coordinate first. TauCeti.swapCompProd μ κ is that same joint law written
on Ω × V, the kernel coordinate first, which is the order some product semigroups come in.
Everything Mathlib proves about ⊗ₘ transports across the swap, and this file records the
transported statements that are awkward to reconstruct at each use: the mass of a measurable
rectangle, the integral of a general function, the second marginal of a Markov composition, and
— for a nonempty standard Borel kernel target — the converse, that every finite measure on
Ω × V is such a composition over its second marginal.
Main declarations #
TauCeti.swapCompProd: the measure(μ ⊗ₘ κ).map Prod.swaponΩ × V, withTauCeti.swapCompProd_prodandTauCeti.lintegral_swapCompProdevaluating it.TauCeti.exists_eq_swapCompProd: every finite measure whose first coordinate is nonempty standard Borel is aTauCeti.swapCompProdover its second marginal, by disintegration.
The measure on Ω × V assembled from a measure μ on V and a kernel κ from V to
Ω: draw the V coordinate from μ, then the Ω coordinate from κ, and swap the pair.
Equations
Instances For
The assembled measure is the swap-map of Mathlib's composition-product measure.
The mass an assembled measure gives to a measurable rectangle: integrate the kernel mass of the first-coordinate side over the second-coordinate side.
Integrating against an assembled measure means first integrating over the kernel fibre and then over the base measure.
The second marginal of an assembled measure is the measure it was assembled from.
Every finite measure on Ω × V is assembled from its second marginal and a Markov
kernel. The kernel is the conditional distribution of the first coordinate given the second,
which exists because Ω is a nonempty standard Borel space.