The joint law as an erased detailed law #
At each depth, the joint law is the detailed law StepTraces.exactMeasure with each trace
reduced to its general-affinity draws (exact_eq_detailed).
Equations
Instances For
The kernel to which a sample site binds its fiber is measurable: it is the erased law of
the measurable detailed kernel StepTraces.exactKernel, extended by the recorded draw.
The joint law is a finite measure #
Every fiber is a subprobability measure (reduce_sample_mass_le_one), so by induction on the
number of reduction depths the joint law has mass at most one. The induction needs the kernel
of each sample site to be measurable (measurable_traceAndOutputLawAt_continuation): along a
map that is not almost everywhere measurable, Mathlib's pushforward, and so its bind, is
unspecified.
Through any number of reduction depths, the joint law has mass at most one: a real value contributes a Dirac mass at depth zero and nothing later, another value contributes nothing, and a reducible expression passes the bound of its successors through the fiber.
The joint law of trace and output is a finite measure, as Mathlib's disintegration
Measure.condKernel requires of it (Theorems.lean).