Lemma 1 (3): the gap of the VNMC bound is an expected KL divergence
ProvedVariationalBOED.vnmc_bound_gap_eq_expected_klLet be a model with finite, let be a valid VNMC proposal, and let . For each put
Then is finite if and only if . In that case
The gap of the VNMC bound is thus an expected KL divergence between the proposal's product law on and a mixture that places the true posterior in one coordinate.
Formalization Note The paper's identity is in extended reals. Here is assumed finite, and the case is stated as the equivalence between finiteness of the two sides.
import Mathlib import Definitions.Def_VariationalBOED_Basic open MeasureTheory ProbabilityTheory InformationTheory Filter Topology open scoped ENNReal
namespace VariationalBOED
theorem vnmc_bound_gap_eq_expected_kl {Th Y : Type*} [MeasurableSpace Th] [MeasurableSpace Y]
(nuT : Measure Th) (nuY : Measure Y) [SigmaFinite nuT] [SigmaFinite nuY]
(p : Th → ℝ) (lik : Th → Y → ℝ) (hM : IsModel nuT nuY p lik)
(qv : Y → Th → ℝ) (hq : IsValidVNMCProposal nuT p lik qv)
(hEIG : Integrable (eigIntegrand nuT p lik) (jointLaw nuT nuY p lik))
(L : ℕ) (hL : 1 ≤ L) :
(Integrable (vnmcIntegrand p lik qv L) (vnmcLaw nuT nuY p lik qv L) ↔
(∫⁻ y, klDiv (vnmcProposalProd nuT qv L y) (vnmcMixture nuT p lik qv L y)
∂marginalLaw nuT nuY p lik) ≠ ⊤) ∧
(Integrable (vnmcIntegrand p lik qv L) (vnmcLaw nuT nuY p lik qv L) →
vnmcBound nuT nuY p lik qv L - eig nuT nuY p lik =
(∫⁻ y, klDiv (vnmcProposalProd nuT qv L y) (vnmcMixture nuT p lik qv L y)
∂marginalLaw nuT nuY p lik).toReal) := by sorry
end VariationalBOEDRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. The statement involves the following objects:
- and are arbitrary measurable spaces, with -finite reference measures on and on .
- and (written ) are real-valued functions forming a model:
- is measurable, nonnegative, and .
- is jointly measurable and nonnegative.
- For every , .
- is a natural number with .
Derived quantities. Write
for the marginal. Since this is a Bochner integral, whenever the integrand is not integrable in .
The posterior is
with the convention , so wherever .
The measures used are:
- The joint law on , which has density with respect to .
- The marginal law on , which has density with respect to .
Throughout, the real logarithm follows the conventions and for .
The proposal . The function (written ) is assumed to be a valid VNMC proposal. This means:
- is jointly measurable and nonnegative, and for every .
- For every with and every , we have .
- For every with , there is a real such that for all . Here the ratio is wherever .
Integrability hypothesis. It is assumed that the function
is integrable with respect to . Its -integral is denoted .
The VNMC objects. Let .
The law on has density
with respect to .
The integrand is
and , with the Bochner convention that if is not integrable.
For each , two measures on are defined, both with respect to :
- has density .
- has density
Where , this density is , so is the zero measure.
KL divergence. is defined as follows:
- If and is -integrable, then
- Otherwise, .
For probability measures this is the usual KL divergence.
Set
This is a lower (extended nonnegative) integral, and the divergence is taken in the direction proposal-product mixture.
Conclusion. The theorem asserts both of the following:
- is integrable with respect to if and only if .
- If is integrable with respect to , then
where is read as a real number. Under this hypothesis is finite by part 1.
When is not integrable, no statement is made about .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.