Marginal integrals of products #
For a product measure ∏ i, μ i on ∀ i, X i and a finite set s of coordinates, the marginal
integral ∫⋯∫⁻_s, f ∂μ of Mathlib is the integral of f over the coordinates in s, which is a
function of the other coordinates. Three rules are proved here, by which the densities of the
forward passes of the paper are integrated:
- a factor which does not depend on the coordinates in
scomes out of the marginal integral overs(lmarginal_mul_left); - the marginal integral over
sof a product of factors, each of which depends on a single coordinate insand on the coordinates outsides, is the product of the marginal integrals of the factors over their coordinates (lmarginal_prod); - the integral over the coordinates outside
sof the marginal integral overs, with the coordinates outsidesinserted by a mapg, is the integral over all the coordinates (lintegral_lmarginal_comp). For the forward passes, these coordinates are those of the reference trajectory.
Dependence on a set of coordinates is expressed by Mathlib's DependsOn.
If f depends only on the coordinates in u, its marginal integral over s depends only on
the coordinates in u \ s.
A factor which does not depend on the coordinates in s comes out of the marginal integral
over s.
The marginal integral over s of a product of factors g i, i ∈ s, each of which depends
only on the coordinate i and on the coordinates outside s, is the product of the marginal
integrals of the factors g i over the coordinate i.
Let g insert a point of ∀ j, X (e j) at the coordinates e j, which are the coordinates
outside s. The integral over these coordinates of the marginal integral over s, evaluated at the
point inserted by g, is the integral over all the coordinates.