How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Variational inference and the evidence lower bound
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Areas of Elementary Plane Figures
- Binary Operations, Monoids, Groups and Subgroups
- Brownian Motion Construction and Continuity
- Compactness
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Computational foundations: factorization, KL, and optimization
- Conditional Distributions and Regular Conditional Probability
- Conditional Expectation
- Conjugate families and Gaussian conditioning
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Convexity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Darboux, L'Hôpital, and Taylor's Theorem
- Detection and quantification limits
- Determinants of Matrices over a Commutative Ring
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Domination and Likelihood Ratios
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability and the Probabilistic Method
- Foundations of the Real Numbers for Analysis
- Fubini and Change of Variables
- Fundamental Trigonometric Identities
- Gaussian Elimination, Elementary Matrices and Reduced Row Echelon Form
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Improper and Parameter-Dependent Multiple Integrals
- Improper Integrals
- Lebesgue Measure on Euclidean Space
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Minimax Lower Bounds
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Outer Measure and the Caratheodory Extension Theorem
- Pointwise Extended-Real Function Products
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Signed and Complex Measures Hahn and Jordan
- Simple Field Extensions and the Construction of the Complex Numbers
- Sine, Cosine, and the Definition of Pi
- Statistical Experiments, Models and Identifiability
- Subspaces, Products, and Quotients
- Suprema and Infima
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Integral Logarithm and the Equivalence of Its Characterisations
- The Inverse and Implicit Function Theorems
- The Lebesgue and Riemann Integrals Compared
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Lᵖ Spaces Holder Minkowski and Riesz Fischer
- The Radon Nikodym Theorem and Lebesgue Decomposition
- The Riemann Integral in Rᵐ and Jordan Content
- The Riemann Integral: Definition and Integrability
- The Topology of Euclidean Space
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
- Weak Convergence Tightness and Representation
2 · Summary
Fixing a measurable nonnegative target density with finite positive normalizer gives the normalized target and the ELBO for admissible densities . The exact identity is under AC, with the reverse-KL direction shown explicitly. Mean-field densities factor over a finite product reference space. A coordinate formula is used only when its conditional log expectation, normalizer, and resulting density are all well-defined; an attained exact update does not decrease the ELBO. The finite-sweep procedure makes at most coordinate-update calls; this count does not bound the work inside a call. Mean-field independence assumptions limit expressiveness and can exacerbate local optima (Blei et al. (2017, §5.4)); exact coordinate monotonicity does not certify a global optimum. This page makes no convergence, posterior-calibration, or generic downstream-error claim. Under AC, the correlated Gaussian counterexample shows the variance loss possible under a restricted mean-field family.
For an admissible product with the stated measurable expected-log version, the coordinate exponential has a finite positive normalizer. Updated-product admissibility remains a separate check; finite evidence and pointwise finite expected logs alone do not replace it.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Variational family and evidence lower bound
Definition
Let be a measure space. Let be measurable and suppose Define the normalized target density . Then . For a measurable probability density (that is, ), write to mean -almost everywhere on . This is a support condition on the two densities. It ensures that the induced probability measures and have .
The normalization follows from positive-scalar homogeneity of the nonnegative integral: The induced density set functions are measures by The indefinite integral of a nonnegative measurable function is a measure. Their total masses are one: by the probability-density hypothesis on , and by the preceding calculation. To verify the absolute-continuity claim, let satisfy . Then , so the zero-integral criterion gives -almost everywhere on . The support condition then gives -almost everywhere on , and hence . The homogeneity and zero-integral criteria used here are Monotonicity and nonnegative homogeneity of the nonnegative integral and A nonnegative measurable function has integral exactly when it vanishes almost everywhere.
Call admissible when and Use the extended logarithm , agreeing with The natural logarithm as the inverse of the exponential function on positive inputs. Since and , both functions are finite -almost everywhere: for either or , for every . Interpret the weighted logarithmic terms on this measurable conull set and set them equal to zero on its measurable null complement, so the resulting functions remain measurable. In particular, set , , , and equal to zero on . On the set where , admissibility implies -almost everywhere. Define the finite real number A variational family is a nonempty set of admissible densities. A maximizing member need not exist.
For a finite integer , let , let each be sigma-finite, and let . A mean-field density is a product of probability densities ; it belongs to the admissible mean-field family only when the product satisfies the support and integrability conditions above. Tonelli gives . The product form alone does not guarantee support or finite ELBO.
In a dominated Bayesian model, a posterior interpretation is available only with the model hypotheses and on fibers with finite positive evidence, as in Bayes formula for dominated kernels and Conditional density formula. In particular, Likelihood densities supplies separate likelihood versions but does not assert joint measurability in parameter and data. Supply the single jointly measurable density explicitly before using Tonelli or a posterior-kernel formula. No quotient is formed at zero or infinite normalizer.
Evidence lower bound is log evidence minus reverse KL
Statement
Let satisfy Variational family and evidence lower bound, and put and . The choice-free density-ratio identity holds, with the ratio integrand set to zero where . Under AC, the final integral is the library reverse divergence and is nonnegative. Consequently
Facts & Assumptions
Given: A measure space , measurable with , , an admissible density , and AC for the library KL clause.
Variational family and evidence lower bound: for densities, means -almost everywhere on .
Variational family and evidence lower bound: admissibility requires .
A nonnegative measurable function has integral exactly when it vanishes almost everywhere: a nonnegative measurable function has integral zero exactly when it vanishes almost everywhere.
Kullback–Leibler divergence: for probability measures , under AC the directional divergence is ; its first argument is the measure absolutely continuous with respect to the second.
Kullback–Leibler divergence is nonnegative: under the published directional convention and AC, for probability measures .
The indefinite integral of a nonnegative measurable function is a measure: integrating a nonnegative measurable density over measurable sets defines a measure.
The Axiom of Choice: AC states that every family of nonempty sets has a choice function. It is invoked here only through [F5] and [F6].
Proof
Given: The hypotheses in the Statement.
Define and . These are probability measures by [F1] and [F7]. If , [F4] applied to gives -almost everywhere on . Then [F1] gives almost everywhere on , so and . Define on and on . For every measurable , , so .
On , and . The assumed absolute integrability and make all terms integrable. Hence . This algebraic identity uses the explicit density ratio and no choice axiom.
By [A1] and [F5], the integral is under the library convention. Rearranging step 2.1 gives .
The measures and are probabilities, so [F6] gives . Step 3.1 then yields .
Coordinate-ascent variational inference
Definition
Inputs: A finite number of sigma-finite factor reference spaces , their product reference measure , a measurable target with finite positive normalizer, an admissible initial mean-field density , and a finite sweep count .
Output: The current admissible product density after at most full sweeps, together with a status indicating whether the requested sweeps completed or a coordinate update was unavailable.
For each sweep , visit coordinates in the fixed order . At coordinate , keep fixed; for , the empty product reference space is a singleton with unit measure and its density is . Form the conditional log expectation Use this signed integral only when it is defined without an ambiguity and has a measurable extended-real version; require it to be finite for current -almost every . Set If and the normalized density makes an admissible member of the mean-field family, replace by . Otherwise stop and return the current density with status “coordinate update unavailable.”
The algorithm performs only the requested finite sweeps. It makes no convergence, stationary-point, global-optimum, calibration, or approximation-error claim. A separate theorem on this page proves exact coordinate monotonicity under these conditions.
An admissible product has a finite coordinate normalizer
Statement
Use the admissible mean-field product on the finite product of sigma-finite reference spaces in Variational family and evidence lower bound. Fix a coordinate and put , with the singleton unit-measure convention when . Suppose has a measurable extended-real version defined without an ambiguity, finite for -almost every . Products with a zero density are zero. Then is a finite real number and This establishes normalization only; the resulting product must still satisfy the separate support and absolute-log-integrability conditions before it is an admissible coordinate replacement. No convergence or global-optimum conclusion is asserted.
Facts & Assumptions
Given: The admissible product, finite positive evidence, coordinate and measurable expected-log version in the Statement.
Variational family and evidence lower bound: the product factors are probability densities and admissibility includes and .
Tonelli's theorem for nonnegative measurable functions on a sigma-finite product: nonnegative measurable product integrals equal their iterated integrals.
Integrating against a density agrees with integrating the product: integrating a nonnegative function against a density measure equals integrating its product with that density.
Jensen's integral inequality for a probability measure: for an integrable real function on a probability space and a convex function whose composition is integrable, its value at the mean is at most the mean of its values.
The two-point convexity inequality for the exponential function: the exponential function is convex on the real line.
Monotone convergence for the integral: integrals of increasing nonnegative functions converge to the integral of their limit.
Dominated convergence: a pointwise convergent sequence dominated in absolute value by an integrable function has convergent integrals.
Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: logarithms of positive finite products add, and the logarithm and exponential are inverse functions.
A nonnegative measurable function has integral exactly when it vanishes almost everywhere: a nonnegative measurable function has integral zero exactly when it is zero almost everywhere.
Proof
Given: The admissible product and expected-log hypotheses in the Statement.
Put and . They are probabilities and the law with density is their product by [F1]–[F3]. A density is positive and finite almost surely under its own probability, since its zero set has mass zero and its infinite set has reference measure zero. Thus and are finite almost surely, and [F8] gives almost surely. Choose a finite integer for which ; such a exists because those events increase to a full-measure set. On that event , so product integration [F2]–[F3] yields . Interchanging and and choosing an analogous positive-probability bounded event proves . Hence is finite, including for the unit complementary factor.
By [F2] and , the marginal is finite for -almost every . Fix such an . Under , define on ; arbitrary values on its -null complement do not matter. Then by [F3]. In particular is finite almost surely. Write , allowing at . Its positive part is integrable since , and the defined expected-log convention and integrability of give in the extended sense; in particular cannot equal .
Let . Its negative part is bounded and its positive part is integrable by step 2.1, so is integrable. Also is integrable. Apply [F4] with the convex exponential [F5] to obtain . The negative parts increase to , so [F6] gives , possibly . By [F7], the right side tends to , with domination ; continuity of the exponential and therefore give .
The inequality in step 3.1 holds for -almost every . Multiply it by and integrate using [F2] to obtain . Since is finite -almost surely, on an -full measurable set. If , [F9] would make this set -null, hence -null by [F3], contradicting . Thus . This does not prove admissibility of the normalized replacement, which remains a separate requirement.
Source notes
The proof is a local consequence of the displayed admissibility assumptions and proved library Jensen and product-integration interfaces. No new full-text reading or general coordinate-convergence theorem is claimed. It explains why the earlier example's promise of a divergent normalizer despite admissibility was impossible.
Exact coordinate updates are monotone and finite sweeps have a call bound
Statement
Assume AC and the hypotheses of Coordinate-ascent variational inference. At a coordinate , suppose the conditional expectation has the stated finite-valued version, , and is admissible. Then attains the maximum of over all admissible coordinate replacements . In particular, replacing the current factor by does not decrease the ELBO. This is a single-update claim; it gives no convergence or global-optimum conclusion.
For the finite-sweep procedure with finite inputs and , count one call whenever a coordinate-update block is entered, treating evaluation of its integrals and admissibility decision as part of that call. If each entered call returns either an update or the unavailable status, the procedure halts after at most calls, hence has update-call complexity in this model. This is not a bound on the work required to evaluate an integral or decide admissibility.
Facts & Assumptions
Given: A finite product of sigma-finite reference spaces, a measurable with finite positive normalizer, an admissible mean-field product, a coordinate , and the normalizer and admissibility conditions in the Statement. Assume AC for the library KL clause.
For the call-count claim, each entered coordinate-update block returns either an accepted update or the unavailable status, and one such block is the unit of cost; its internal integral calculations are not separately costed.
Variational family and evidence lower bound: admissibility requires -a.e. on and .
Coordinate-ascent variational inference: , , and the update is made only when the normalizer and resulting-admissibility checks pass.
For sigma-finite factors, the product measure exists, has the rectangle formula, is sigma-finite, and is unique: the finite product reference measure exists, has the rectangle formula, and is unique.
Tonelli's theorem for nonnegative measurable functions on a sigma-finite product: nonnegative product-measurable functions have measurable section integrals and equal iterated integrals.
Integrating against a density agrees with integrating the product: integrating a nonnegative function against a density measure equals integrating its product with against .
Fubini's theorem for L^1 functions on a sigma-finite product: for an absolutely integrable function on the sigma-finite product, almost-everywhere section integrals exist and the iterated integrals agree.
Kullback–Leibler divergence: for probability measures , under AC, in this direction.
Kullback–Leibler divergence is nonnegative: for probability measures under AC, .
The Axiom of Choice: every family of nonempty sets has a choice function. AC is used only through [F8] and [F9].
Proof
Given: The hypotheses in the Statement.
Fix any admissible replacement and form . Tonelli [F5] gives , and the product rectangle formula [F4] gives is the product probability. Each coordinate density is positive and finite almost surely under its factor law; put and . By [F1], . Fix and put , which is finite almost surely under the product of the other factor laws. Since increases to a full-measure set, choose an integer for which . Product integration from [F5] and [F6] then gives , using on that event. Thus every factor log is integrable; the same argument applies to the current factor and to because their products are admissible.
For each admissible replacement , [F1] makes absolutely integrable. Fubini [F7] applies also to , so and exchanging the and integrals gives . By step 1.1, all factor log terms are integrable, so almost surely and . The final term is constant over coordinate replacements.
Write . If , then almost everywhere on that set. For any admissible , step 2.1 makes , hence almost everywhere there. Thus . On the ratio is measurable, and for every measurable , , so it is the Radon–Nikodym density.
By [A1] and [F8], . All terms are finite by step 1.1 and step 2.1. Also . Subtracting the ELBO expressions in step 2.1 therefore gives by [F9]. Hence is an attained exact coordinate maximizer.
The current factor is itself an admissible replacement. Taking in step 3.2 proves that the update does not decrease ELBO.
By [F3], the procedure has at most sweeps and at most coordinate-update blocks in each sweep. An unavailable result returns immediately, so every run is either a prefix ending at that branch or a run through all sweeps. Since and are finite, under [A2] it returns after at most calls. The call-count complexity is therefore ; no cost for evaluating an individual call is asserted.
A high ELBO alone does not certify posterior calibration
Remark
The numerical value of an ELBO depends on the scale of the unnormalized target. It alone is not a bound on posterior discrepancy, calibration, or downstream error. Here a calibration guarantee means a separately proved property of repeated-sampling coverage or posterior-probability calibration; it is not defined by the ELBO. Under AC, the library KL identity controls the gap through the reverse divergence, when that gap is known.
Facts & Assumptions
Given: A measurable with and an admissible for which differs from . The rescaling argument is choice-free; assume AC only for the library KL interpretation in the final step.
Variational family and evidence lower bound: admissibility requires support on and finite .
Variational family and evidence lower bound: for an admissible .
Evidence lower bound is log evidence minus reverse KL: under its hypotheses and AC, .
Monotonicity and nonnegative homogeneity of the nonnegative integral: multiplying a nonnegative measurable function by a positive finite scalar multiplies its integral by the same scalar.
Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: is onto and satisfies for positive .
The Axiom of Choice: AC is assumed for the library KL interpretation only.
Verification
Given: The hypotheses in the Statement.
Fix any . By the onto clause of [F5], choose with . Define . Homogeneity [F4] gives , so and both and remain unchanged. Since , the support condition in [F1] is unchanged. On the q-support, , so the logarithmic integrability condition remains finite.
On the q-support the logarithm product law [F5] gives . Using [F2], . Since is arbitrary, the absolute ELBO can be made arbitrarily large while , , and any fixed discrepancy between them stay unchanged.
Under [A1], the decomposition [F3] gives . Without control of , a separate calibration theorem, or another posterior-discrepancy bound, the absolute ELBO alone supplies no calibration guarantee.
5 · Examples, counterexamples and false statements
None yet.
Sources
- David M. Blei, Alp Kucukelbir, and Jon D. McAuliffe, Variational Inference: A Review for Statisticians (2017)
- Michael I. Jordan, Zoubin Ghahramani, Tommi S. Jaakkola, and Lawrence K. Saul, An Introduction to Variational Methods for Graphical Models (1999)
- Ronghuo Zheng, Zhiting Hu, and Yuntian Deng, 10-708 Probabilistic Graphical Models, Lecture 13: Variational Inference II (2015)