Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1 (1) (as proved): the VNMC bound decreases in LLL to the EIG

Proved
VariationalBOED.vnmc_bound_monotone_tendsto_eig

by Xeroth · Nov 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

bayesian-experimental-designexpected-information-gainkl-divergencemonte-carlovariational-bounds

Let p(θ)p(y∣θ,d)p(\theta)p(y\mid\theta,d)p(θ)p(y∣θ,d) be a model and let qv(θ∣y,d)q_v(\theta\mid y,d)qv​(θ∣y,d) be a valid VNMC proposal. Valid means that qvq_vqv​ is a conditional density with the same support as the posterior and that, for every yyy with p(y∣d)>0p(y\mid d)>0p(y∣d)>0, the weight p(y,θ∣d)/qv(θ∣y,d)p(y,\theta\mid d)/q_v(\theta\mid y,d)p(y,θ∣d)/qv​(θ∣y,d) is bounded in θ\thetaθ. Suppose EIG(d)\mathrm{EIG}(d)EIG(d) and UVNMC(d,1)\mathcal U_{\mathrm{VNMC}}(d,1)UVNMC​(d,1) are finite. Then

EIG(d)=lim⁡L→∞UVNMC(d,L)≤UVNMC(d,L2)≤UVNMC(d,L1)for all L2≥L1≥1.\mathrm{EIG}(d)=\lim_{L\to\infty}\mathcal U_{\mathrm{VNMC}}(d,L)\le\mathcal U_{\mathrm{VNMC}}(d,L_2)\le\mathcal U_{\mathrm{VNMC}}(d,L_1)\qquad\text{for all }L_2\ge L_1\ge1.EIG(d)=L→∞lim​UVNMC​(d,L)≤UVNMC​(d,L2​)≤UVNMC​(d,L1​)for all L2​≥L1​≥1.

The VNMC bound is therefore an upper bound on the EIG that can be made arbitrarily tight by increasing LLL, even when the variational family does not contain the posterior. This is the property that makes μ^VNMC\hat\mu_{\mathrm{VNMC}}μ^​VNMC​ consistent.

Formalization Note The hypothesis that UVNMC(d,1)\mathcal U_{\mathrm{VNMC}}(d,1)UVNMC​(d,1) is finite does not appear in the printed lemma. The monotone-limit step of the proof in Appendix A.3 needs it, and without it the limit claim fails: there are valid proposals with EIG(d)=0\mathrm{EIG}(d)=0EIG(d)=0 and UVNMC(d,L)=+∞\mathcal U_{\mathrm{VNMC}}(d,L)=+\inftyUVNMC​(d,L)=+∞ for every LLL. Finiteness of EIG(d)\mathrm{EIG}(d)EIG(d) is assumed because the quantities are real numbers in Lean.

Preamble
import Mathlib
import Definitions.Def_VariationalBOED_Basic

open MeasureTheory ProbabilityTheory InformationTheory Filter Topology
open scoped ENNReal
Formal statement
namespace VariationalBOED

theorem vnmc_bound_monotone_tendsto_eig {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))
    (hU1 : Integrable (vnmcIntegrand p lik qv 1) (vnmcLaw nuT nuY p lik qv 1)) :
    Tendsto (fun L : ℕ => vnmcBound nuT nuY p lik qv L) atTop (𝓝 (eig nuT nuY p lik)) ∧
    (∀ L : ℕ, 1 ≤ L → eig nuT nuY p lik ≤ vnmcBound nuT nuY p lik qv L) ∧
    (∀ L₁ L₂ : ℕ, 1 ≤ L₁ → L₁ ≤ L₂ →
      vnmcBound nuT nuY p lik qv L₂ ≤ vnmcBound nuT nuY p lik qv L₁) := by sorry

end VariationalBOED
Source
Foster, Jankowiak, Bingham, Horsfall, Teh, Rainforth and Goodman, Variational Bayesian Optimal Experimental Design, arXiv:1903.05480v3 (NeurIPS 2019), Section 3, Lemma 1 (1), eq. (10), p. 4; proof in Appendix A.3, eqs. (28)-(38), pp. 13-14
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting. Let Θ\ThetaΘ (parameter space) and Y\mathcal YY (outcome space) be measurable spaces. They carry σ-finite reference measures νΘ\nu_\ThetaνΘ​ on Θ\ThetaΘ and νY\nu_YνY​ on Y\mathcal YY. The data are three real-valued functions: a prior p:Θ→Rp:\Theta\to\mathbb Rp:Θ→R, a likelihood ℓ(θ,y)\ell(\theta,y)ℓ(θ,y) for θ∈Θ\theta\in\Thetaθ∈Θ, y∈Yy\in\mathcal Yy∈Y, and a proposal qv(θ∣y)q_v(\theta\mid y)qv​(θ∣y) for y∈Yy\in\mathcal Yy∈Y, θ∈Θ\theta\in\Thetaθ∈Θ.

Throughout, the following conventions apply:

  • x/0=0x/0 = 0x/0=0.
  • log⁡0=0\log 0 = 0log0=0.
  • Every integral below is the Bochner integral. It is defined to be 000 whenever the integrand is not integrable.

Hypotheses.

  1. Model.

    • ppp is measurable, p≥0p\ge 0p≥0 everywhere, and ∫Θp dνΘ=1\int_\Theta p\,d\nu_\Theta = 1∫Θ​pdνΘ​=1.
    • (θ,y)↦ℓ(θ,y)(\theta,y)\mapsto \ell(\theta,y)(θ,y)↦ℓ(θ,y) is jointly measurable and ℓ≥0\ell\ge 0ℓ≥0 everywhere.
    • For every θ\thetaθ, ∫Yℓ(θ,y) dνY(y)=1\int_{\mathcal Y}\ell(\theta,y)\,d\nu_Y(y)=1∫Y​ℓ(θ,y)dνY​(y)=1.
  2. Derived quantities. Define the marginal and the posterior by

m(y)=∫Θp(θ) ℓ(θ,y) dνΘ(θ),π(θ∣y)=p(θ) ℓ(θ,y)m(y).m(y)=\int_\Theta p(\theta)\,\ell(\theta,y)\,d\nu_\Theta(\theta),\qquad \pi(\theta\mid y)=\frac{p(\theta)\,\ell(\theta,y)}{m(y)}.m(y)=∫Θ​p(θ)ℓ(θ,y)dνΘ​(θ),π(θ∣y)=m(y)p(θ)ℓ(θ,y)​.

The posterior is 000 wherever m(y)=0m(y)=0m(y)=0.

  1. Proposal qvq_vqv​.
    • (y,θ)↦qv(θ∣y)(y,\theta)\mapsto q_v(\theta\mid y)(y,θ)↦qv​(θ∣y) is jointly measurable and qv≥0q_v\ge 0qv​≥0 everywhere.
    • For every yyy (including those with m(y)=0m(y)=0m(y)=0), ∫Θqv(θ∣y) dνΘ(θ)=1\int_\Theta q_v(\theta\mid y)\,d\nu_\Theta(\theta)=1∫Θ​qv​(θ∣y)dνΘ​(θ)=1.
    • For every yyy with m(y)>0m(y)>0m(y)>0, both of the following hold:
      • Support match: for all θ\thetaθ, qv(θ∣y)>0  ⟺  π(θ∣y)>0q_v(\theta\mid y)>0 \iff \pi(\theta\mid y)>0qv​(θ∣y)>0⟺π(θ∣y)>0.
      • Bounded weights: there is a real ByB_yBy​ with
p(θ) ℓ(θ,y)qv(θ∣y)≤Byfor all θ.\frac{p(\theta)\,\ell(\theta,y)}{q_v(\theta\mid y)}\le B_y\quad\text{for all }\theta.qv​(θ∣y)p(θ)ℓ(θ,y)​≤By​for all θ.
 The ratio is read as $0$ where $q_v(\theta\mid y)=0$.

4. Integrability of the EIG integrand. Let PPP be the measure on Θ×Y\Theta\times\mathcal YΘ×Y with density p(θ) ℓ(θ,y)p(\theta)\,\ell(\theta,y)p(θ)ℓ(θ,y) with respect to νΘ⊗νY\nu_\Theta\otimes\nu_YνΘ​⊗νY​. The function

(θ,y)↦log⁡ℓ(θ,y)m(y)(\theta,y)\mapsto\log\frac{\ell(\theta,y)}{m(y)}(θ,y)↦logm(y)ℓ(θ,y)​

is PPP-integrable.

  1. Integrability at L=1L=1L=1 only. The VNMC integrand for L=1L=1L=1 (defined below) is integrable with respect to the L=1L=1L=1 sampling measure Q1Q_1Q1​. No integrability is assumed for any other LLL.

Defined objects. The expected information gain is

EIG=∫log⁡ℓ(θ,y)m(y) dP(θ,y).\mathrm{EIG}=\int \log\frac{\ell(\theta,y)}{m(y)}\,dP(\theta,y).EIG=∫logm(y)ℓ(θ,y)​dP(θ,y).

For L∈NL\in\mathbb NL∈N, let QLQ_LQL​ be the measure on (Θ×Y)×ΘL(\Theta\times\mathcal Y)\times\Theta^L(Θ×Y)×ΘL with density

p(θ0) ℓ(θ0,y)∏i=1Lqv(θi∣y)p(\theta_0)\,\ell(\theta_0,y)\prod_{i=1}^L q_v(\theta_i\mid y)p(θ0​)ℓ(θ0​,y)i=1∏L​qv​(θi​∣y)

with respect to (νΘ⊗νY)⊗νΘ⊗L(\nu_\Theta\otimes\nu_Y)\otimes\nu_\Theta^{\otimes L}(νΘ​⊗νY​)⊗νΘ⊗L​.

The VNMC bound is

U(L)=∫[log⁡ℓ(θ0,y)−log⁡(1L∑i=1Lp(θi) ℓ(θi,y)qv(θi∣y))] dQL(θ0,y,θ1:L).U(L)=\int\Big[\log \ell(\theta_0,y)-\log\Big(\tfrac1L\sum_{i=1}^L\frac{p(\theta_i)\,\ell(\theta_i,y)}{q_v(\theta_i\mid y)}\Big)\Big]\,dQ_L(\theta_0,y,\theta_{1:L}).U(L)=∫[logℓ(θ0​,y)−log(L1​i=1∑L​qv​(θi​∣y)p(θi​)ℓ(θi​,y)​)]dQL​(θ0​,y,θ1:L​).

For L=0L=0L=0: the factor 1L\tfrac1LL1​ equals 000, so the second logarithm is log⁡0=0\log 0=0log0=0. Hence U(0)=∫log⁡ℓ(θ0,y) dQ0U(0)=\int\log\ell(\theta_0,y)\,dQ_0U(0)=∫logℓ(θ0​,y)dQ0​. For any LLL at which the integrand is not QLQ_LQL​-integrable, U(L)U(L)U(L) is 000 by convention.

Conclusion. All three of the following hold:

  1. U(L)→EIGU(L)\to\mathrm{EIG}U(L)→EIG as L→∞L\to\inftyL→∞ through the natural numbers.
  2. For every natural L≥1L\ge 1L≥1, EIG≤U(L)\mathrm{EIG}\le U(L)EIG≤U(L).
  3. For all naturals L1,L2L_1, L_2L1​,L2​ with 1≤L1≤L21\le L_1\le L_21≤L1​≤L2​, U(L2)≤U(L1)U(L_2)\le U(L_1)U(L2​)≤U(L1​). That is, UUU is non-increasing on {1,2,… }\{1,2,\dots\}{1,2,…}.
Human review
  • Endorsed by Shuze Chen · Nov 25, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 25, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me