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.
IID Monte Carlo integration and error — Examples
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Areas of Elementary Plane Figures
- Binary Operations, Monoids, Groups and Subgroups
- Brownian Motion Construction and Continuity
- 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
- 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
- Darboux, L'Hôpital, and Taylor's Theorem
- Density Separability and Convolution in Lᵖ
- Detection and quantification limits
- Determinants of Matrices over a Commutative Ring
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- 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
- 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
- Lebesgue-Stieltjes Measures and Distribution Functions
- 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
- 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
- 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
- Strong Laws of Large Numbers
- Subspaces, Products, and Quotients
- Suprema and Infima
- 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 Exponential Function
- 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 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
Examples
Gaussian integrand: exact Monte Carlo moments and asymptotic error checks the finite-sample mean and variance formulas and the asymptotic normal error for a Gaussian integrand. Finite mean does not give a finite-variance Monte Carlo error exhibits a finite mean with an infinite second moment: the sample mean remains consistent, while there is no finite population standard error and the finite-variance CLT does not apply. For a finite real sample of size , the empirical sample standard deviation can still be computed, but it has no finite-variance guarantee in this example.
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
Gaussian integrand: exact Monte Carlo moments and asymptotic error
Example
Assume AC and let have law with . Use the identity integrand , whose target is , and take IID outputs with this law. Then and ; the estimated standard error is relatively consistent, and .
Facts & Assumptions
Given: AC, , and a real IID sequence with common law .
The Axiom of Choice: AC is the axiom that every family of nonempty sets has a choice function.
Location-scale normal laws have their stated mean and variance: Under AC, a real random variable with law for has mean and variance .
Unbiasedness and exact variance of the IID Monte Carlo mean: For integrable IID outputs, ; with a finite second moment, .
Consistency of the IID Monte Carlo sample variance: With finite second moment, almost surely, and for , almost surely.
Lindeberg–Lévy limit for the IID Monte Carlo mean: Under AC and , .
IID Monte Carlo sample mean, variance, and standard error: for under the finite-second-moment contract.
Verification
By [F1], each output has mean and variance , so its first absolute moment and second moment are finite. Applying [F2] gives and .
The finite-second-moment hypotheses of [F3] hold by [A1] and [F1]. Thus almost surely and, using the plug-in definition [F5], .
The sequence has positive finite variance and AC is assumed, so [F4] applies and gives .
Finite mean does not give a finite-variance Monte Carlo error
Example
Assume the Axiom of Countable Choice. Let for and for . The CDF-to-law theorem gives a probability law with CDF . Let be the identity random variable under this law, and let be any real IID sequence with this common law. Then but . Thus the sample mean is strongly and weakly consistent, while no finite population standard error is available. For a finite sample of real outputs the empirical quantity can still be computed, but this example supplies no finite-variance interpretation for it.
Facts & Assumptions
Given: Countable Choice, the displayed function , and a real IID sequence with the probability law constructed from .
The Axiom of Countable Choice (): Countable Choice says every countable family of nonempty sets has a choice function.
Continuity and derivatives of positive-base real powers: For rational , is continuous and differentiable on with derivative .
Monotonicity of and of : For positive rational , is strictly increasing on positive reals.
Probability laws correspond to distribution functions: Under Countable Choice, every nondecreasing right-continuous with limits and at the two infinities is the CDF of a unique Borel probability measure on .
Random elements and real random variables: A real random variable is a measurable map to ; the identity map on a Borel probability space is measurable.
Expectation of a nonnegative or integrable random variable: A nonnegative random variable may have extended expectation .
Layer-cake formulas for random variables: For nonnegative , , with infinity allowed.
For 0 < p < infinity, the layer-cake formula computes the integral of |f|^p from the distribution function: For measurable and , , with infinity allowed.
Truncated integrals of rational powers: For rational and , .
A nonnegative improper Riemann integral on a half-line agrees with the Lebesgue integral: Under Countable Choice, if a nonnegative function is Riemann integrable on compact intervals and its improper Riemann integral is finite, that value equals its Lebesgue integral on the half-line.
A bounded Riemann integrable function on a closed bounded interval is Lebesgue measurable and has the same integral: Under Countable Choice, a bounded Riemann-integrable function on a compact interval has the same Lebesgue and Riemann integrals.
Continuous functions on Euclidean spaces are Borel measurable: Under Countable Choice, continuous maps between Euclidean spaces are Borel measurable.
Arithmetic and lattice operations preserve measurability whenever they are defined: Products of measurable real functions are measurable.
Monotone convergence for the integral: Integrals of an increasing sequence of nonnegative measurable functions increase to the integral of their pointwise limit.
Strong and weak consistency of the IID Monte Carlo mean: For a real IID sequence with finite first absolute moment, its Monte Carlo sample mean converges in probability and almost surely to the common mean.
IID Monte Carlo sample mean, variance, and standard error: The empirical is a statistic for real samples; its interpretation as an estimate of a finite population standard error is under the finite-second-moment condition.
Change of variables for expectation: Expectations of measurable functions of a random variable are integrals against its law, including extended expectations for nonnegative functions.
A continuous function on is Riemann integrable, by Heine-Cantor and Riemann's criterion: A continuous real function on a compact interval is bounded and Riemann integrable there.
Verification
For , is strictly increasing by [F2], so its positive reciprocal is decreasing; it is continuous by [F1]. Thus the displayed is nondecreasing and right-continuous, including at where its two formulas agree. For , [F2] gives , hence . Since , as ; also as . By [A1] and [F3], defines a Borel probability law . Since , and hence . Restricting to gives a probability space on which the identity random variable is measurable by [F4], has CDF , and satisfies .
If , and hence . For , the CDF gives . By the nonnegative expectation definition [F5] and layer-cake formula [F6], . The function is nonnegative and continuous on every compact by [F1]. For , [F8] gives ; [F9] identifies this finite improper integral with its Lebesgue value. Therefore .
Since on the restricted space, . By the nonnegative expectation definition [F5] and [F7] with , . Extend from by for ; it is continuous at and on both pieces, so [F11] makes it Borel. Since is Borel, [F12] makes each measurable. For each integer , [F1] gives continuity of on , so [F17] makes it bounded and Riemann integrable there; [F8] and [F10] then give . These values diverge because the natural numbers are unbounded. The truncations increase pointwise to , so [F13] gives . Hence .
The given sequence has common law . By [F11], the functions and are Borel; applying [F16] to these nonnegative functions gives and . Thus is integrable, and [F16] applied to the identity gives .
By step 4.1, , so [F14] proves strong and weak consistency of . Step 4.1 shows , so the finite-second-moment condition in [F15] fails and no finite population standard error is available. For each realized sample of size , the empirical formula remains a statistic by [F15].