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 autoencoders and pathwise training
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Computational foundations: factorization, KL, and optimization
- Conditional Distributions and Regular Conditional Probability
- Conditional Expectation
- 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
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Domination and Likelihood Ratios
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability Spaces and Random Variables
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- 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
- 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
- Simulation gradient estimation and simultaneous perturbation
- Statistical Experiments, Models and Identifiability
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Integral Logarithm and the Equivalence of Its Characterisations
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Radon Nikodym Theorem and Lebesgue Decomposition
- The Riemann Integral: Definition and Integrability
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Variational inference and the evidence lower bound
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Logical flowchart
3 · Definitions, theorems and proofs
Variational autoencoder model, encoder, and ELBO
Definition
Let and be sigma-finite measure spaces; that is, each has a countable measurable cover by sets of finite measure. Let and be parameter sets of finite dimension. A latent-variable model with parameter consists of a measurable prior density on and a decoder density on for each , with The decoder is jointly measurable in , and the joint model density is relative to . The decoder is also called the generative model: after drawing from the prior, it assigns a conditional density to the observation .
For a fixed observation , the evidence density and posterior density are Use this posterior only when . A variational encoder is a jointly measurable family of functions on , parameterized by and normalized by for every ; the same parameter is used for each observation. For an admissible triple require and Terms multiplied by are defined to be zero. The evidence lower bound is
A pathwise representation of the encoder at is a probability space whose law is independent of and , together with a measurable map such that the law of for is the measure with density relative to . This representation defines how to generate encoder samples; it does not by itself assert that differentiation may pass through an expectation.
Definition references
The generic admissibility conditions and ELBO convention.
The posterior-kernel formula on positive finite evidence fibres.
Kingma and Welling, Auto-Encoding Variational Bayes, arXiv v1.
Blei, Kucukelbir, and McAuliffe, Variational Inference: A Review for Statisticians.
Zheng, Hu, and Deng, 10-708 Lecture 13: Variational Inference II.
The VAE evidence equals the ELBO plus reverse KL
Statement
Fix an observation in a VAE with latent reference measure . Let be its nonnegative measurable joint-density slice, let , and let . Let be a measurable probability density satisfying -almost everywhere on and Then the choice-free density-ratio identity is where the ratio integrand is zero when . Under the Axiom of Choice, the final integral is the library reverse-KL divergence and is nonnegative; hence .
Statement references
Facts & Assumptions
Given: A fixed observation , the VAE joint-density slice, its positive finite evidence, an admissible encoder density, and AC for the library KL branch.
Variational autoencoder model, encoder, and ELBO: at each admissible fixed , is nonnegative measurable, , , and is a probability density with the stated support and absolute log-integrability conditions.
Evidence lower bound is log evidence minus reverse KL: for a sigma-finite reference measure and such , the density-ratio identity holds without choice; under AC the integral is .
The Axiom of Choice: every family of nonempty sets has a choice function; AC is invoked only for the library KL identification and nonnegativity in [F2].
Proof
By [F1], satisfies the sigma-finiteness, positive finite normalizer, support, and absolute log-integrability hypotheses of the generic decomposition. Its ELBO integral is exactly by definition.
Apply [F2] to these objects. Its choice-free branch gives the displayed density-ratio identity. Under [A1], its second branch identifies the ratio integral as the nonnegative reverse-KL divergence, and rearranging yields the stated lower bound.
Dominated pathwise differentiation for VAE training
Statement
Let be a fixed nonempty finite data set, let be an open subset of a finite-dimensional Euclidean parameter space for , and fix . For each , assume the VAE at is admissible and has a pathwise representation under one parameter-independent probability law . Assume there is one -null set, common to every and , outside which and ; define the payoff below to be zero on that null set. Define with terms on a common -null set defined to be zero. Assume each is jointly measurable and integrable for every . Outside one -null set, each is continuously differentiable on with continuous gradient, and is measurable for every . For every compact neighborhood of , assume one nonnegative satisfies for every outside one common null set, and assume .
Let be uniform on and independent of . Then the finite-average objective is differentiable at , and its one-example pathwise gradient estimate satisfies and has finite coordinate variances. A parameter-independent Gaussian base law alone does not imply the differentiability, envelope, or second-moment hypotheses.
Statement references
The VAE ELBO and fixed-law encoder representation.
The published pathwise simulation-gradient theorem with a common integrable derivative envelope.
Dominated convergence used in the difference-quotient proof.
Kingma and Welling, Auto-Encoding Variational Bayes, arXiv v1.
Blei, Kucukelbir, and McAuliffe, Variational Inference: A Review for Statisticians.
Zheng, Hu, and Deng, 10-708 Lecture 13: Variational Inference II.
Facts & Assumptions
Given: A finite nonempty data set, the admissible VAE densities and fixed-law pathwise representations at each data point, the stated local sample-path regularity and common integrable derivative envelopes, and square-integrable pathwise gradients at .
Variational autoencoder model, encoder, and ELBO: the ELBO is the -expectation of , and the law of under has density relative to .
Simulation objectives and unbiased payoff oracles: a simulation payoff is jointly measurable and integrable at every parameter, and its objective is its expectation under the fixed probability law.
Pathwise and reparameterized simulation-gradient estimators: for a fixed random input, the pathwise estimator is the pointwise derivative of the simulated payoff; this definition alone does not imply unbiasedness.
A dominated pathwise simulation gradient is unbiased: for an integrable simulation payoff with almost-sure C1 sample paths, continuous measurable gradients, one common integrable gradient envelope on a neighborhood, and a square-integrable gradient at the base parameter, the objective is differentiable there and its gradient is the expectation of the pathwise gradient; each coordinate then has finite variance.
The chain rule for total derivatives: : along a parameter segment, the assumed differentiability of the full payoff gives . No separate differentiability of the sampler or log-density factors is assumed.
Dominated convergence: almost-everywhere convergence under one integrable majorant permits passage of the limit through the integral.
Proof
Fix . By [F3], is the fixed-noise pathwise estimator. The pushforward condition in [F1] gives for every . The absolute log-integrability in the VAE definition makes integrable; its joint measurability and integrability therefore meet the payoff conditions in [F2].
Since is open, choose a closed ball centered at with and nonempty interior. The common envelope assumed on is an integrable majorant on an open neighborhood of ; the C1, continuity, measurability and square-integrability hypotheses are exactly those of [F4]. The full proof of [F4] applies the chain rule along parameter segments and then [F6] to the first-order difference quotients under this majorant. It gives and finite coordinate variances.
The finite sum defining is differentiable at with gradient the average of these gradients. Independence and uniformity of give , which is that average gradient. The finite mixture of the stated square-integrable gradients has finite second moment in each coordinate and therefore finite coordinate variance.
Reparameterized variational training
Definition
Inputs are a fixed nonempty finite data set ; a VAE model and admissible encoder from the preceding definition; a parameter-independent base law and pathwise map for every ; an initial parameter ; a finite positive integer ; and positive learning rates . Require the hypotheses of the dominated pathwise-gradient theorem at every parameter value reached by the procedure, and require each update below to remain in its open admissible parameter domain. Let be the union of the theorem's common null set for finite positive log values and its null set on which the sample-path condition may fail; thus is a common -null set for all data indices and parameter values.
Set . For each :
- Draw uniformly from and draw from , with and independent and the pair independent of all earlier random draws.
- If , set . Otherwise set and evaluate
- If , set . Otherwise, holding and fixed, compute the Euclidean gradient
- Update .
Return and . This finite procedure specifies stochastic ascent on the finite-average ELBO; it makes no claim that the iterates converge or reach a global maximum.
Definition references
Remarks
At a fixed current parameter satisfying the gradient theorem's hypotheses, a fresh independent draw has the unbiased pathwise-gradient and finite-coordinate-variance guarantees proved there. In round , this is a conditional guarantee given the preceding draws, which fix ; no unconditional finite-variance claim over the random trajectory is made. The Axiom of Choice identifies this ELBO as a lower bound on log evidence under the corollary's hypotheses.
If the prior and encoder are Gaussian and the expectation of their log-density difference is available analytically, that term can be evaluated exactly instead of sampled. This removes Monte Carlo variation from that term only; the decoder log-likelihood may still be sampled, and no universal variance or training guarantee follows.
The fixed-horizon reparameterized variational-training procedure terminates
Statement
Under the full input and admissible-domain hypotheses of reparameterized variational training, let be its finite integer horizon. For every sequence of its prescribed draws satisfying the stated update-domain requirement, all recorded payoffs , gradient vectors , and parameter vectors are finite. The mathematical procedure completes exactly rounds and returns the full trajectories and , including when one or more noise draws lie in its common null set.
Termination here counts the prescribed draws, branch decisions, pointwise evaluations and vector updates as the operations of the stated mathematical procedure. It asserts neither an implementation or cost bound for arbitrary supplied functions and samplers nor convergence or optimality of the returned parameters.
Statement references
Facts & Assumptions
Given: All inputs and admissibility hypotheses of the algorithm, its finite positive integer , and a sequence of its draws for which every required update remains in the open admissible parameter domain.
The algorithm has a fixed nonempty finite data set, finite-dimensional initial parameter , positive finite real learning rates, and exactly the rounds . Each round records one payoff and gradient, makes one update , and has no additional iterative search. Reparameterized variational training
Outside its common null set for finite positive log values, both densities evaluated along each data point's encoder path are strictly positive finite real numbers. The payoff is their finite log difference. Outside the additional common null set for sample-path regularity, that payoff is a real function of the finite-dimensional parameter, hence its Euclidean gradient exists and has finite real coordinates. The algorithm uses the union of these two null sets, common to all data indices and parameters. Dominated pathwise differentiation for VAE training, Reparameterized variational training
If , the algorithm sets both and and does not evaluate either logarithm or gradient there. Every update is required to remain in the open admissible parameter domain. Reparameterized variational training
A VAE's admissibility includes positive finite evidence, encoder support compatibility and absolute log-integrability; these hypotheses are retained in the algorithm and its pathwise theorem. Variational autoencoder model, encoder, and ELBO
Induction propagates a base assertion preserved by each successor through every index of a finite natural-number interval. The natural numbers (von Neumann), The principle of mathematical induction
Proof
At , the initial parameter is the supplied finite-dimensional real vector in the admissible domain by [F1] and the algorithm's hypotheses. No payoff or gradient has yet been recorded. Thus the procedure has a well-defined finite state before its first round.
Suppose and the state before round has been obtained with finite parameters and records for all earlier rounds. The next supplied draw has an index in the finite data set. If , [F3] defines both records to be zero, so they are finite and no undefined density or derivative is evaluated. If , [F2] makes the two density values strictly positive and finite, so is a finite real number; the sample-path property gives a finite gradient vector at the current admissible parameter. This constructs finite records in both branches.
The scalar and all coordinates of are finite, so the finite-dimensional vector sum has finite coordinates. The stated update-domain requirement [F3] puts this parameter in the same admissible domain where the next round's hypotheses apply. Each branch in step 1.2 and this update uses only finitely many of the procedure's prescribed operations, with no recursive loop within a round. Thus a completed round produces the next finite admissible state.
By [F5], steps 1.1–2.1 give a completed state after each . After round the prescribed loop ends; there is no further stopping test or unbounded search. The finite records comprise exactly and , which [F1] instructs the procedure to return. Hence it terminates after exactly rounds with every stated finite output, for every admissible draw sequence including the null-set branches.
4 · Examples, counterexamples and false statements
None yet.
Sources
- Diederik P. Kingma and Max Welling, Auto-Encoding Variational Bayes, arXiv:1312.6114v1
- David M. Blei, Alp Kucukelbir, and Jon D. McAuliffe, Variational Inference: A Review for Statisticians
- Ronghuo Zheng, Zhiting Hu, and Yuntian Deng, 10-708 Probabilistic Graphical Models, Lecture 13: Variational Inference II
- Kingma and Welling, Auto-Encoding Variational Bayes, §2.4 Algorithm 1 (procedure background)