Finite weights over a commutative semiring #
Finite sums, coordinate products, pushforwards, and independence of disjoint coordinate blocks share the same algebra for real and complex weights. These lemmas require neither positivity nor additive inverses. The original real and complex APIs specialize this common toolkit while retaining their existing weight definitions.
Pushforward sums a finite weight over each fibre of a map.
Instances For
The product of the weights of a Boolean coordinate configuration.
Equations
- TriangleInflation.FiniteWeights.prodLaw w x = ∏ i : ι, w i (x i)
Instances For
A sum over all configurations of a dependent product factorizes.
The indicator of an equality of configurations is a product of coordinate indicators.
A dependent product weight pushed forward along a coordinatewise map.
A normalized independent family has its original weight at each selected coordinate.
Integrating against a pushforward is integrating the pullback.
Postcomposing the read map with a bijection transports the pushforward.
Pushing forward a finite mixture.
Marginals of a product law along an injective selection #
The marginal of a product weight on an injectively selected set of coordinates is the product weight of the selected coordinates.
Independence of functions of disjoint coordinate blocks, dependent fibres #
The product weight of independent coordinates with dependent alphabets.
Equations
- TriangleInflation.FiniteWeights.dprod w x = ∏ i : ι, w i (x i)
Instances For
A product of normalized coordinate weights has total mass one.
dmix I x y takes its I-coordinates from x and the others from y.
Instances For
Mixing retains the first configuration on a selected coordinate.
Mixing retains the second configuration outside the selected coordinates.
Swapping selected coordinates between two configurations preserves their combined weight.
Functions of disjoint coordinate blocks are uncorrelated under a product weight.
Functions of pairwise disjoint coordinate blocks have a product expectation.
Successive pushforwards equal the pushforward along the composite map.