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.
Stochastic gradient descent and random-iterate guarantees
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- 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
- Discrete Time Martingales
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Estimators and Randomized Procedures
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- 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
- Loss, Risk and Decision Theory
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- 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
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Prediction problems, risks, and empirical minimization
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Proximal gradient and accelerated composite optimization
- 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
- Statistical Experiments, Models and Identifiability
- Stochastic approximation and stochastic gradient methods
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The Exponential Function
- 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: Definition and Integrability
- 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
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Logical flowchart
3 · Definitions, theorems and proofs
Finite-horizon SGD trajectories have integrable objectives
Statement
Let , let be a probability space, and let be continuously differentiable with an -Lipschitz gradient for some finite . Fix an integer , measurable maps , and finite real stepsizes . Suppose and for every , and define . Then every and for has finite second moment, and every has finite absolute expectation.
Facts & Assumptions
Given: The probability space, measurable finite-dimensional vector maps, continuously differentiable , finite-horizon update and finite second-moment assumptions in the Statement.
Descent inequality for a Lipschitz gradient: if is -Lipschitz, then for all .
The principle of mathematical induction: a property true at the first index and inherited by each successor holds at every natural index.
Expectation of a nonnegative or integrable random variable: expectations of nonnegative measurable functions are their extended integrals; an integrable real random variable has finite absolute integral.
Proof
By [F3] and , . Thus for every . The right side is finite whenever has finite second moment, using the expectation convention [F5].
The initial second moment is finite by the Statement, and step 1.1 carries finiteness from to . Finite induction using [F4] therefore gives for all .
The Lipschitz-gradient condition [F1] and [F3] give , so . Step 2.1 makes the right side integrable; hence every stated gradient has finite second moment.
Apply [F1] to and . The upper bound gives . The lower bound and the Lipschitz-gradient condition give . Thus [F3] and imply . The right side has finite expectation by step 2.1, so for every .
An independent finite random index has the weighted expectation formula
Statement
Let be a probability space, let , and let satisfy . There is a probability-space extension carrying an independent random index with . For any integrable real random variables on the original space, the lifted random variable is integrable on the extension and satisfies .
Facts & Assumptions
Given: A probability space, a positive integer , nonnegative weights of total mass one, and integrable real random variables .
Probability measures and probability spaces: a probability measure has total mass one.
Measures on sigma-algebras: a measure is countably additive on pairwise disjoint measurable sequences.
Random elements and real random variables: a random element is a measurable map into its stated measurable space.
Expectation of a nonnegative or integrable random variable: the expectation is the Lebesgue integral, extended for nonnegative functions and finite for integrable real functions.
The Lebesgue integral is linear on : the integral is linear on integrable functions.
Every nonnegative measurable function is the increasing limit of simple measurable functions: each nonnegative measurable function is the increasing limit of nonnegative simple functions.
Monotone convergence for the integral: the integrals of an increasing sequence of nonnegative measurable functions converge to the integral of its limit.
Proof
Define and let consist of the sets with every . Each such decomposition is unique, since . The empty set and whole space have this form; complements replace each by ; and countable unions replace each by the corresponding countable union in . Thus is a sigma-algebra.
For define . This is nonnegative and . If are pairwise disjoint, then for each fixed the sets are pairwise disjoint. Countable additivity of from [F2] gives . Because the sum over is finite, its limit commutes with this finite sum; rearranging each finite double sum gives . Hence is a probability measure.
Let . It is measurable because each inverse image is , and . For every , its lift satisfies , so is independent of all lifted original events.
First suppose each is a nonnegative simple function. Write it as a finite sum of nonnegative constants times indicators of measurable sets. On the th slice, the lifted indicator of is , whose integral is its probability by [F4] and step 2.1. Finite linearity [F5], followed by summing the finitely many slices, gives .
For arbitrary nonnegative measurable , choose increasing simple approximations by [F6]. Since there are finitely many , the lifted simple functions increase pointwise to . Apply [F7] on the extension and on the original space to the simple-function identity of step 3.2; the finite sum over commutes with the increasing limit. Therefore for all nonnegative measurable .
For integrable real , apply step 4.1 separately to and . Their weighted expectations are finite because . Subtracting the two nonnegative identities using [F5] proves both integrability of and the stated expectation formula. The extension and selector are explicitly finite-slice constructions, so this proof uses no choice axiom.
Stochastic gradient descent
Definition
Given , a continuously differentiable objective , a discrete filtered probability space , an initial iterate measurable with respect to , an integer horizon , deterministic finite stepsizes , and a stochastic-gradient oracle whose output at is a random vector measurable with respect to , the procedure returns the trajectory . For each iteration , query the oracle at and set No conditional mean, variance, or independence-across-iterations property is part of this procedure's definition.
Definition references
Stochastic-gradient oracle and unconstrained-update definition: fixes the coordinatewise oracle, conditional-moment, and update conventions.
Filtered probability-space definition: fixes the increasing sigma-algebra sequence used to describe information at each iteration.
Adapted-process definition: fixes time-indexed measurability and integrability conventions.
Random-element definition: a vector-valued oracle output is a measurable map into its stated measurable space.
Population and empirical-risk definition: distinguishes the fixed finite-sample objective from population risk.
Supervised prediction-problem definition: fixes the sample, predictor, and loss context for the learning interpretation.
Remarks
The oracle interface does not specify which risk is being optimized. For empirical risk, the objective is the fixed sample average and sampling is over its finite terms. For population risk, sampling is from the population law; identifying the expected sampled gradient with the population-risk gradient requires a separately justified differentiation-under-expectation step. This algorithm asserts neither mean identity.
Remarks references
Population and empirical-risk definition: gives the distinct finite-sample and population objectives.
Supervised prediction-problem definition: specifies the joint law and loss whose population risk is integrated.
Minibatch stochastic gradient descent
Definition
Given , a continuously differentiable objective , a discrete filtered probability space , an initial iterate measurable with respect to , an integer horizon , deterministic finite stepsizes , an integer batch size , and a batched oracle whose outputs at are random vectors , each measurable with respect to . For each iteration , query the batched oracle at the current iterate , receive the vectors, and form and set . Return the trajectory . The batch vectors are evaluated at the same current iterate; no independence, unbiasedness, or variance-reduction claim is part of this procedure's definition.
Definition references
Single-direction stochastic-gradient-descent procedure: the averaged direction is supplied to its unconstrained update.
Stochastic-gradient oracle and update definition: fixes the vector-update convention.
Filtered probability-space definition: fixes the information sequence for the batch outputs.
Adapted-process definition: fixes time-indexed measurability.
Random-element definition: each vector output is a measurable map into .
Euclidean inner-product and norm definition: fixes the finite-dimensional vector operations and norm convention.
Remarks
The procedure specifies how to average the returned vectors. The chosen batch law must separately justify any claim about the average's mean or variance; no such claim follows from the batch size alone.
Expected-average stationarity under aligned stochastic directions
Statement
Assume AC. Let , , and let be continuously differentiable with -Lipschitz gradient. On a discrete filtered probability space , start at a deterministic and run stochastic gradient descent with square-integrable directions , adapted iterates , and updates . For each , put and , with conditional expectations interpreted coordinatewise almost surely. Let the conditional variance of a vector be the sum of its coordinate conditional variances. Suppose there are constants , , , and such that, almost surely for every , Set .
If the stepsize is constant, with , then for every integer ,
If instead the deterministic stepsizes satisfy , , and , then, with , Conditional unbiasedness is the special case ; a uniform conditional-variance bound then gives and . No convexity or minimizer attainment is assumed.
Facts & Assumptions
Given: AC; the objective, filtered process, SGD updates, conditional direction moments, pathwise lower bound, and either stepsize regime in the Statement.
The Axiom of Choice: AC supplies the conditional-expectation classes used in this theorem.
The local alignment hypothesis is almost surely, with .
The local conditional-mean norm hypothesis is almost surely, with .
The local conditional-variance hypothesis is almost surely, with .
The objective lower bound is almost surely at each iterate.
Stochastic gradient descent: the algorithm uses and imposes no moment or unbiasedness conclusion by itself.
Filtration-adapted stochastic-gradient oracles and Robbins–Monro updates: oracle vectors are adapted; conditional means and vector conditional variances are coordinatewise; the second-moment identity is .
Adapted and integrable stochastic process: an adapted vector process is measurable at its stated time, and integrability is timewise.
Random elements and real random variables: a vector-valued random element is a measurable map into .
Conditional expectation as an ae class: under AC, conditional expectations are almost-sure classes and their equalities are almost-sure equalities.
Conditional variance and Conditional variance is well-defined and has the second-moment formula: conditional variance is the sum of coordinate variances and yields the vector second-moment identity in [F2].
Martingale difference sequence: an integrable adapted sequence with conditional mean zero at the preceding filtration time is a martingale-difference sequence.
Taking out what is known: an integrable product with a finite measurable factor may be taken outside conditional expectation when both products are integrable.
Basic algebra and order properties of conditional expectation: conditional expectation is linear, preserves order, and preserves ordinary expectation.
Tower property of conditional expectation: nested conditional expectations satisfy the tower identity.
The Euclidean inner product on : the inner product and norm are the coordinatewise Euclidean ones.
Cauchy-Schwarz with its equality case, the triangle inequality for , the parallelogram law and polarisation: and the Euclidean norm satisfies the triangle inequality.
Expectation of a nonnegative or integrable random variable: expectation is the Lebesgue integral, finite for integrable real random variables.
Finite-horizon SGD trajectories have integrable objectives: finite-horizon SGD iterates, their gradients, and objective values have the integrability needed for conditional expectations and telescoping.
Proof
Fix and write , , and . The filtration and adapted-process conventions [F3, F4], together with the random-element convention [F5], make the time-indexed measurability explicit. By [F16], the objective values, gradients, and oracle vectors used below are integrable. The vector is -measurable and has conditional mean zero given , so each coordinate, after shifting the filtration to , is a martingale difference by [F8]. The conditional variance identity [F2, F7] and [A3]–[A4] give .
Apply [F9] with and , condition on , and use [F10] to take the -measurable gradient factor outside. Each coordinate product is integrable because , with finite expectations by [F16] and the stated oracle moments. Conditional linearity and order [F11] give . All remaining terms are integrable by [F15]–[F16] and the second-moment bound in step 1.1.
For constant , . Take ordinary expectations in step 2.1, using [F11]–[F12], and sum from to . The objective terms telescope and [A5] gives . Divide by to obtain the stated constant-step average bound.
In the diminishing-step regime, implies : otherwise some would satisfy at infinitely many indices, forcing the square sum to diverge. Since , choose so that for every . Apply step 2.1 on this tail, take expectations, and telescope through ; then . The right side is bounded independently of by [F15], [F16], and square summability. The omitted finite prefix has finite weighted sum by [F16]. Thus stays bounded while . Their ratio tends to zero, which is the claimed expectation of the weighted average because each is deterministic.
Nonconvex SGD weighted random-iterate stationarity
Statement
Assume AC. Let , , , and let be continuously differentiable with -Lipschitz gradient and finite global infimum ; the infimum need not be attained. Start at a deterministic and, on a discrete filtered probability space , run stochastic gradient descent for an integer horizon with square-integrable oracle vectors , adapted iterates , and updates . Suppose, almost surely for , where the conditional variance of a vector is the sum of the coordinate conditional variances, and let . Put , , and , so . On an independent finite probability-space extension, choose with and output . Then and
If and , the constant choice gives If , the choice gives the bound . If , the choice gives . Thus the constant-step guarantee is for fixed , with the zero cases covered separately. No global-minimum or iterate-convergence conclusion is asserted.
Facts & Assumptions
Given: AC; the smooth objective, deterministic initial point, filtered SGD trajectory, square-integrable oracle, conditional unbiasedness and variance assumptions, and the stepsize range in the Statement.
The Axiom of Choice: AC supplies the conditional-expectation classes used in the oracle assumptions and proof.
The local conditional-unbiasedness hypothesis is almost surely.
The local conditional-variance hypothesis is almost surely.
The global lower-bound hypothesis is for every ; no minimizer is required.
Stochastic gradient descent: the update is .
Filtration-adapted stochastic-gradient oracles and Robbins–Monro updates: conditional oracle moments are coordinatewise, and the vector second moment is conditional squared mean plus conditional variance.
Filtration and filtered probability space and Adapted and integrable stochastic process: is -measurable and is -measurable.
Random elements and real random variables: vector iterates and oracle outputs are measurable maps into .
Conditional expectation as an ae class: conditional expectations are almost-sure classes under AC.
Conditional variance and Conditional variance is well-defined and has the second-moment formula: the coordinate variance formula gives the vector conditional second-moment identity.
Martingale difference sequence: each coordinate of , with the filtration shifted by one index, is a martingale difference.
Finite-horizon SGD trajectories have integrable objectives: finite-horizon iterates, gradients, and objective values are integrable.
Taking out what is known: an integrable measurable factor may be taken outside conditional expectation when the products are integrable.
Basic algebra and order properties of conditional expectation: conditional expectation is linear and order preserving and preserves ordinary expectation.
Tower property of conditional expectation: nested conditional expectations satisfy the tower identity.
An independent finite random index has the weighted expectation formula: a finite index with weights summing to one can be added independently, and for integrable .
The Euclidean inner product on and Cauchy-Schwarz with its equality case, the triangle inequality for , the parallelogram law and polarisation: norms and inner products use the Euclidean convention and satisfy Cauchy–Schwarz.
Expectation of a nonnegative or integrable random variable: expectation is integration and is finite for integrable real random variables.
Proof
Fix and put and . The filtration and adapted-process convention [F3] puts and at their stated time indices, and [F4] records their random-element measurability. Under AC [A1], the conditional-expectation classes used here are the almost-sure classes in [F5]. By [F8], the objective values, gradients, and directions used in the descent calculation are integrable. The residual has conditional mean zero given ; after shifting the filtration by one index, its coordinates form martingale differences by [F3, F7]. The conditional variance identity [F2, F6] and [A3] yield .
Apply the smoothness inequality [F9] to and condition on . The products are integrable because coordinatewise, with finite expectations by [F8]. Take the -measurable gradient factor outside conditional expectation by [F10], then use [A2], [F11], and step 1.1 to obtain .
Take ordinary expectations in step 2.1 using the tower property [F11, F12], and sum from to . The objective terms telescope; by [A4], . Therefore . Multiplying by gives .
Since , and is a probability vector. Apply [F13] to the integrable random variables ; it gives . Dividing step 3.1's bound by yields the claimed weighted estimate.
Suppose and set . If , then and , so the weighted bound is at most . If , the bound equals , and the clipping condition implies , giving at most . Thus it is bounded by the stated sum of the two terms. If , use in the formula to obtain . If , use ; then and the right side is . These cases prove the asserted constant-step rate and handle the zero boundaries.
Remarks
With constant , all weights are equal, so is uniform. The published uniform-index theorem covers this exact regime under its global lower-bound and square-integrable conditional-oracle hypotheses and gives . The weighted statement above retains the nonuniform stepsizes and the full interval .
Remarks references
Published constant-step uniform-random-iterate theorem: its exact oracle hypotheses and bound are the comparison interface stated above.
4 · Examples, counterexamples and false statements
None yet.
Sources
- Léon Bottou, Frank E. Curtis, and Jorge Nocedal, Optimization Methods for Large-Scale Machine Learning, §4.1
- MIT 6.7220/15.084 Nonlinear Optimization, Lecture 15: Stochastic Gradient Descent
- Saeed Ghadimi and Guanghui Lan, Stochastic First- and Zeroth-Order Methods for Nonconvex Stochastic Programming, §2.1
- Léon Bottou, Frank E. Curtis, and Jorge Nocedal, Optimization Methods for Large-Scale Machine Learning, Algorithm 4.1
- Léon Bottou, Frank E. Curtis, and Jorge Nocedal, Optimization Methods for Large-Scale Machine Learning, minibatch stochastic-gradient method
- Léon Bottou, Frank E. Curtis, and Jorge Nocedal, Optimization Methods for Large-Scale Machine Learning, Assumptions 4.1/4.3 and Theorems 4.8/4.10
- Saeed Ghadimi and Guanghui Lan, Stochastic First- and Zeroth-Order Methods for Nonconvex Stochastic Programming, §2.1, Theorem 2.1(a) and proof
- Léon Bottou, Frank E. Curtis, and Jorge Nocedal, Optimization Methods for Large-Scale Machine Learning, §4.3