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.
Ordinary and self-normalized importance sampling
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Algebraic Closure, Embeddings, and Separability
- Algebraic Extensions, Extension Degree, and Finite Fields
- Areas of Elementary Plane Figures
- Binary Operations, Monoids, Groups and Subgroups
- Central Limit Theorems
- Characteristic Functions Inversion and Continuity
- Compactness
- Compactness in Metric Spaces
- Complete Metrizability, Čech-Completeness, and Baire Category
- Completeness, Completion, and Uniform Continuity
- Complex Lp Spaces and Test-Function Conventions
- Composition Series, the Jordan–Hölder Theorem and Solvable Groups
- Congruences, the Integers Modulo n and the Chinese Remainder Theorem
- Consistency and Limiting Distributions
- 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
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Countability Axioms and Cardinal Functions
- Cyclic Groups and Direct Products
- Darboux, L'Hôpital, and Taylor's Theorem
- Delta Method and Asymptotic Normality
- Density Separability and Convolution in Lᵖ
- Determinants of Matrices over a Commutative Ring
- Diagonalisation and the Minimal Polynomial
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Eigenvalues, Eigenvectors and the Characteristic Polynomial
- Equivalent Forms of Completeness
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability and the Probabilistic Method
- Finite Probability Spaces and Random Variables
- Foundations of the Real Numbers for Analysis
- Fourier Transform Convolution and Approximate Identities
- 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
- Group Homomorphisms and the Isomorphism Theorems
- Hausdorff via the Diagonal
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- IID Monte Carlo integration and error
- Improper and Parameter-Dependent Multiple Integrals
- Improper Integrals
- Independence Borel Cantelli and Zero One Laws
- Infinite Product Measures and Kolmogorov Extension
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- 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
- Matrix Differentiation and First-order Spectral Perturbation
- Matrix Norms, Condition Numbers and Numerical Stability
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Mixed Partials, Taylor Formulae, and Extrema
- Modes of Convergence Egorov and Lusin
- Modes of Convergence for Random Variables
- 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
- Partitions of Unity and Paracompactness
- Pointwise Extended-Real Function Products
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Primes, Euclid's Lemma and the Fundamental Theorem of Arithmetic
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Radon Measures and the Riesz Markov Kakutani Theorem
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Separation Axioms: the Hierarchy
- 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
- Splitting Fields
- Strong Laws of Large Numbers
- Subspaces, Products, and Quotients
- Suprema and Infima
- Sylow's Theorems, p-Groups and Nilpotent Groups
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The Cantor Set, Baire Category, and Measure Zero in ℝ
- The Complex Exponential and Euler's Formula
- The Derivative and the Mean Value Theorems
- The Determinant of a Linear Operator, Cofactors and Cramer's Rule
- The Exponential Function
- The Fundamental Theorem of Algebra
- The Fundamental Theorem of Finite Abelian Groups
- The Galois Correspondence
- 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 Maximal Function and Lebesgue Differentiation
- The Radon Nikodym Theorem and Lebesgue Decomposition
- The Riemann Integral in Rᵐ and Jordan Content
- The Riemann Integral: Definition and Integrability
- The Spectral Theorem, Positive Operators and Singular Value Decomposition
- The Topology of Euclidean Space
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Urysohn's Lemma and the Tietze Extension Theorem
- Vector Spaces, Linear Subspaces, Span and Direct Sums
- Weak Convergence Tightness and Representation
- Weak Laws and Series of Independent Random Variables
2 · Summary
Ordinary importance sampling changes measure with a known target normalizer. Its unbiasedness needs integrable weighted values, while finite variance and a normal limit need the corresponding weighted second moment; the CLT branch also states its Axiom of Choice use. Self-normalized importance sampling estimates an unknown normalizer by a ratio. Under target support -almost everywhere and the finite first moments and , it is strongly consistent. Finite second moments of and yield the ratio CLT under AC and plug-in Monte Carlo standard-error consistency without AC. The companion examples calculate finite-sample ratio bias and show that weight ESS diagnoses observed imbalance but does not certify target support coverage.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Ordinary importance sampling
Definition
Let be a measure space. An unnormalized target density is a measurable function with The target probability measure is . A proposal density is a measurable with ; write . The input integrand is measurable, and the input sample is IID with law , in the sense of Identical distribution and IID families. The normalizing constant is known for this algorithm.
Admissible conditions for an unbiased estimate: , -almost everywhere on , and the random variable is integrable under . The support condition makes the value on immaterial to the target integral.
Well-defined weights: The reciprocal map for and for is Borel. Its composition with , multiplied by the measurable inputs, makes the piecewise weight and weighted integrand measurable (Composition with a Borel measurable outer map preserves measurability, Arithmetic and lattice operations preserve measurability whenever they are defined).
Procedure and output: For each supplied draw , set when and set otherwise. Return Separate variance and central limit claims require the corresponding weighted second-moment hypothesis.
Ordinary importance sampling is unbiased
Statement
Let be a measure space, let and be measurable densities with and , and set and . Let be measurable with . Suppose -almost everywhere on and are IID with law . For the ordinary importance sampling estimator in Ordinary importance sampling,
Facts & Assumptions
Given: The densities, integrability, support, and IID sampling hypotheses in the Statement.
Ordinary importance sampling: With when and otherwise, the estimator is .
Change of variables for expectation: For a random element with law , a nonnegative measurable satisfies , possibly with value ; if is integrable, the same identity holds as a finite integral.
The Lebesgue integral is linear on : The Lebesgue integral is linear on integrable functions; in particular, the expectation of a finite average of integrable random variables is the average of their expectations.
Expectation of a nonnegative or integrable random variable: The expectation of an integrable real random variable is its finite Lebesgue integral.
Integrating against a density agrees with integrating the product: for a nonnegative measurable density and nonnegative measurable , , including infinite values. Integrable real and complex functions, and their integrals: an absolutely integrable real function has integral equal to the finite difference of the integrals of its positive and negative parts.
Proof
Given: Use the target expectation and the estimator specified in Ordinary importance sampling.
Use [F5] with density for integration against and with for integration against . For every , apply the nonnegative case of [F2] to . Since has law , Thus is -integrable. For any real measurable whose absolute integral is finite against , apply [F5] separately to and : both product integrals are finite because . Subtracting their finite identities yields , since for (with the density convention ). The integrable case of [F2] therefore gives The support condition makes -almost everywhere on ; hence this last integral equals .
By [F1], . Apply [F3] and step 1.1 to obtain .
Ordinary importance sampling has finite variance and a CLT under a weighted second moment
Statement
Use the hypotheses and notation of Ordinary importance sampling is unbiased. Define If , then has finite variance and This finite-sample conclusion is choice-free. For the central limit conclusion, let be an IID sequence with law , and apply the estimator to its first draws for each . If, in addition, AC holds, then No finite variance or normal-limit claim is made when the weighted second moment is infinite.
Facts & Assumptions
Given: The integrable ordinary importance sampling setup from Ordinary importance sampling is unbiased, plus . For the CLT conclusion, take an IID sequence with law and assume AC.
Ordinary importance sampling: The estimate is the sample average of the weighted values , with value when ; the algorithm also establishes that this piecewise weighted-integrand map is measurable.
Ordinary importance sampling is unbiased: Under its support and integrability hypotheses, .
Measurable coordinatewise functions preserve independence: Applying measurable coordinatewise maps to an independent family preserves independence.
Identical distribution and IID families: IID means a common law and mutual independence.
Variance adds for every finite pairwise-independent family: The variance of a finite sum of pairwise-independent square-integrable real variables is the sum of their variances. Variance and covariance identities for random variables: Covariance is bilinear on finite linear combinations, so and .
Change of variables for expectation: For a nonnegative measurable function of a random element with law , expectation equals its integral against .
Moments, variance, and covariance on a probability space: For square-integrable real , .
Lindeberg–Lévy limit for the IID Monte Carlo mean: Under AC, a real IID sample with positive finite variance satisfies .
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.
Standard normal and normal laws: is the Dirac law .
The Axiom of Choice: AC asserts that every family of nonempty sets has a choice function; it is assumed only for the central limit conclusion.
Integrating against a density agrees with integrating the product: for a nonnegative measurable density and nonnegative measurable , , including infinite values.
Proof
Given: The weighted values from the Statement and the finite second moment .
By [F1], each is obtained from by the same measurable weighted-integrand map and . Since the are IID, [F3] preserves independence and their common law under this map; [F4] therefore makes IID.
Applying [F2] to a sample of size one gives , and it also gives for the supplied sample. By step 1.1 every has the same finite second moment and variance , and the finite family is pairwise independent. Thus [F5] gives and .
Use [F11] with density for integration against . Applying [F6] to the nonnegative squared weighted integrand gives . By [F5] and step 2.1, , proving the displayed variance formula.
For the CLT, use the given IID sequence and assume AC as in [A1]. The measurable transformation in step 1.1 now makes IID. If , [F8] applies to the IID sequence from step 1.1 with mean from step 2.1 and yields the stated normal limit. If , [F7] gives , so [F9] implies -almost surely. By the common-law conclusion of step 1.1, each event is null; for each fixed , the union of the first such events is null. Thus almost surely for each , and the centered sample mean has law for every by [F10]. The variance argument in the preceding steps used no choice axiom.
Self-normalized importance sampling
Definition
Let be a measure space. The unnormalized target density is a measurable with and target . Let be a measurable proposal probability density against , let , and let be a measurable real-valued integrand. The input is an IID sample from in the sense of Identical distribution and IID families, with . For target interpretation require -almost everywhere. Write This is a nonnegative unnormalized importance weight; the value on is immaterial under and under the stated target support condition.
The reciprocal map that is for and for is Borel. Its composition with , multiplied by , makes measurable by Composition with a Borel measurable outer map preserves measurability and Arithmetic and lattice operations preserve measurability whenever they are defined.
Procedure and output: Compute . If , return the status no estimate: zero observed target weight. If , return For consistency require and . A ratio CLT and its Monte Carlo standard error require finite second moments of and .
Self-normalized importance sampling is strongly consistent under finite first moments
Statement
Let be a measure space, a measurable target density with , , and a measurable proposal probability density with . Assume -almost everywhere. Let be IID with law , put for and otherwise, and let be measurable. Suppose Then the self-normalized estimate in Self-normalized importance sampling satisfies On a finite prefix where all observed weights vanish, the algorithm's no-estimate status is interpreted as the value for this convergence statement; almost surely that fallback is eventually unnecessary.
Facts & Assumptions
Given: The target, proposal, support, integrability, and IID sampling assumptions in the Statement.
Self-normalized importance sampling: The estimate is when the denominator is positive, with a no-estimate status when all weights vanish.
Change of variables for expectation: For a random element with law , an integrable measurable function has expectation ; it also gives the same identity for nonnegative measurable .
Measurable coordinatewise functions preserve independence: Applying measurable coordinatewise maps to an independent family preserves independence.
Identical distribution and IID families: IID means mutual independence and a common law; no moment condition is included in the definition.
Strong and weak consistency of the IID Monte Carlo mean: For real IID with finite first absolute moment, their sample mean converges almost surely to .
Composition with a Borel measurable outer map preserves measurability and Arithmetic and lattice operations preserve measurability whenever they are defined: The reciprocal on , extended by on , its absolute value, and the resulting products with and are measurable.
A nonnegative integral over a null set vanishes: A nonnegative measurable function has integral zero over a measurable null set.
Integrating against a density agrees with integrating the product: for a nonnegative measurable density and nonnegative measurable , , including infinite values. Integrable real and complex functions, and their integrals: an absolutely integrable real function has integral equal to the finite difference of the integrals of its positive and negative parts.
Proof
Given: Use and from the Statement and Self-normalized importance sampling.
Use [F8] with density for integration against and with for integration against . By [F6], the functions on (with value on ) and are measurable. The support condition gives . For each , has law , so the given finite first moment applies to its weight and integrand. By [F2], The given finite moment therefore implies . Since , [F7] gives , and thus . Hence and is well-defined. For any real measurable whose absolute integral is finite against , apply [F8] separately to and : both product integrals are finite because . Subtracting their finite identities yields , since for (with the density convention ). The integrable case of [F2] now gives where the omitted signed integral is zero because its absolute integral over is zero. Likewise, the nonnegative case of [F2] gives , since . All these expectations agree across by the common law of the .
Applying [F3] separately to the measurable maps and shows that each family and is independent. Each family has a common law because every has law and the same map is applied to each draw. Thus both sequences are IID as in [F4], and [F5] gives and almost surely.
On the probability-one event from step 1.2, the denominator average is eventually greater than , so the ratio is eventually defined and . The numerical zero interpretation for any preceding finite prefix with zero denominator is the convention stated in this theorem; the algorithm itself returns the no-estimate status in [F1].
Self-normalized importance sampling ratio CLT and consistent Monte Carlo standard error
Statement
Let , , , , , , , and satisfy the hypotheses and definitions of Self-normalized importance sampling is strongly consistent under finite first moments. Assume also and assume AC for the central limit conclusion. For every , put and define the numerical extension when , and when . This replaces the algorithm's no-estimate status by for all convergence statements below. Set and This is finite under the stated second moments. Then this numerical extension of the estimate in Self-normalized importance sampling satisfies Define its plug-in variance estimate, when , by and set this quantity to if . Then, without using AC, Define to be the nonnegative square root of this plug-in variance. Then almost surely. No finite-sample unbiasedness assertion is made.
Facts & Assumptions
Given: The IID sampling and first-moment hypotheses of Self-normalized importance sampling is strongly consistent under finite first moments, the additional second moments, and AC for the CLT branch.
Self-normalized importance sampling: The algorithm defines a measurable weight and, for , returns ; when , it returns the status no estimate: zero observed target weight.
Change of variables for expectation: A nonnegative measurable function of an IID draw with law has expectation given by integration against , possibly with value ; the same identity holds as a finite integral for integrable functions.
Multivariate iid central limit theorem: Under AC, IID -valued variables with finite second moment and covariance have sample-mean limit ; singular is allowed.
First- and second-order delta method for random vectors: If and , then .
Self-normalized importance sampling is strongly consistent under finite first moments: Under its support and finite first-moment assumptions, the ratio estimate converges almost surely to , and its denominator is eventually positive almost surely. For the convergence statement, that theorem interprets the algorithm's no-estimate status as the numeric value on any finite prefix with zero observed target weight.
Kolmogorov iid l1 strong law: Every IID integrable real sequence has sample mean converging almost surely to its expectation.
Measurable coordinatewise functions preserve independence: Applying one measurable function to each member of an independent family preserves independence.
Identical distribution and IID families: A family is IID when it is mutually independent and has a common law.
Moments, variance, and covariance on a probability space: Covariance is the expectation of the product of centered square-integrable variables, and variance is the self-covariance.
Multivariate normal law, including singular covariance: Under AC, exactly when each linear projection is normal with variance ; singular covariance is allowed.
Holder's inequality for random variables: For conjugate exponents , square-integrable real random variables satisfy , so is integrable.
Arithmetic and lattice operations preserve measurability whenever they are defined: Finite products and sums, and absolute values, of measurable real functions remain measurable.
A nonnegative integral over a null set vanishes: A nonnegative measurable function has integral zero over a measurable null set.
The Axiom of Choice: AC asserts that every family of nonempty sets has a choice function; the CLT branch inherits it through [F3] and [F10], while the strong-law standard-error branch is choice-free.
Integrating against a density agrees with integrating the product: for a nonnegative measurable density and nonnegative measurable , , including infinite values. Integrable real and complex functions, and their integrals: an absolutely integrable real function has integral equal to the finite difference of the integrals of its positive and negative parts.
Proof
Given: Let , , and .
Use [F14] with density for integration against and with for integration against . By the support condition, . For each , has law , so the given finite first moment applies to . The integrable case of [F2] gives By [F13], , and hence . Thus . For any real measurable whose absolute integral is finite against , apply [F14] separately to and : both product integrals are finite because . Subtracting their finite identities yields , since for (with the density convention ). The integrable case of [F2] applied to yields because the omitted signed integral is zero by its absolute integrability on the -null set. The nonnegative case of [F2] also gives , since . The second-moment assumptions make square-integrable. The map is measurable by [F1] and [F12]. Applying [F7] to this map proves that the pairs are independent; their laws agree because each has law and the same map is applied, so they are IID by [F8]. Therefore [F3] and [A1] give , where .
Put , , and . Their measurability follows from [F12]. The stated second moments and give and ; [F11] gives . Each transformed sequence is IID by [F7] and [F8], so [F6] applies to all three. Also is IID and integrable, with mean by step 1.1; applying [F6] to this sequence gives almost surely. Separately, [F5] gives almost surely.
Define the Borel function for and for ; it is Borel because the ratio is continuous on the open set and the other branch is constant on its Borel complement. At , its derivative is : for small enough that , . Since , this is a valid first-order expansion. Since , equals the ratio when ; when , it equals the numerical value prescribed by the Statement. Thus for every , including the zero-weight branch where [F1] returns a status. Apply [F4] to step 1.1 to obtain the scalar limit , where .
By [F10], is centered normal with variance . The centered linear combination of defining this variance is , whose mean is zero by [F2]. Therefore , which proves the stated CLT.
On the probability-one event from step 2.1 the denominator is eventually positive, and expansion of the squared residual gives . The numerator tends to and the denominator tends to , so the limit is . Continuity of the nonnegative square-root map gives . This argument uses only the choice-free suppliers [F5], [F6], [F7], [F8], [F11], and [F12], not AC.
Weight-based effective sample size
Definition
For the nonnegative importance weights in Self-normalized importance sampling, with and at least one positive weight, define the weight-based effective sample size by It is a diagnostic of observed weight imbalance. It depends only on the weights, not on the integrand, proposal regions that were never sampled, or target mass outside the observed sample. It does not certify support coverage, finite variance, accuracy, or convergence.
5 · Examples, counterexamples and false statements
None yet.
Sources
- Quan Zhou, STAT 689 Unit 1: Introduction, Rejection and Importance Sampling, §1.3
- Thomas B. Schön and Fredrik Lindsten, Learning of dynamical systems: Particle filters and Markov chain methods, Chapter 4 §4.3
- Tuan Anh Le, Importance Sampling, §§Importance Sampling and Monte Carlo Estimator
- Data Science and Statistical Modelling, Chapter 5 §§5.3.1–5.3.3
- Quan Zhou, STAT 689 Unit 1: Introduction, Rejection and Importance Sampling, §1.3, Theorem 1.2
- Thomas B. Schön and Fredrik Lindsten, Learning of dynamical systems: Particle filters and Markov chain methods, Chapter 4 §§4.3.1, 4.3.3
- Data Science and Statistical Modelling, Chapter 5 §5.3.1, Theorem 5.3
- Tuan Anh Le, Importance Sampling, §Importance Sampling
- Monte Carlo Methods course notes, Chapter 6 §§6.1, 6.2
- Data Science and Statistical Modelling, Chapter 5 §5.3.1, Theorem 5.4
- Quan Zhou, STAT 689 Unit 1: Introduction, Rejection and Importance Sampling, §1.3, Theorem 1.3
- Tuan Anh Le, Importance Sampling, §Self-Normalized Importance Sampling
- Monte Carlo Methods course notes, Chapter 6 §6.2
- Thomas B. Schön and Fredrik Lindsten, Learning of dynamical systems: Particle filters and Markov chain methods, Chapter 4 §4.3.3
- Tuan Anh Le, Importance Sampling, §Consistency of The Estimator
- Thomas B. Schön and Fredrik Lindsten, Learning of dynamical systems: Particle filters and Markov chain methods, Chapter 4 §4.3.3, Theorem 1
- Tuan Anh Le, Importance Sampling, §Asymptotic Variance
- Monte Carlo Methods course notes, Chapter 6 §6.2, equations 6.41–6.43
- Data Science and Statistical Modelling, Chapter 5 §5.3.3