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.
Variance reduced finite sum and adaptive gradient optimization — Examples
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Binary Operations, Monoids, Groups and Subgroups
- Bounded Linear Operators and Quotient Spaces
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Complex Norms and Realification
- Complexification, Realification and Real Structures
- 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
- Control variates, antithetics, and stratification
- Convergence: Nets and Filters
- Convex and Semicontinuous Functions on Rⁿ
- 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
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- 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
- Independence Borel Cantelli and Zero One Laws
- 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
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Normed and Banach Spaces
- Order, Zorn's Lemma, and the Axiom of Choice
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Probability Spaces Random Variables and Expectation
- 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
- Stochastic approximation and stochastic gradient methods
- Subspaces, Products, and Quotients
- Suprema and Infima
- The Analytic Hahn Banach Theorem
- The Derivative and the Mean Value Theorems
- The Direct Method and Euler--Lagrange Equations
- 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
- Variance reduced finite sum and adaptive gradient optimization
- Vector Spaces, Linear Subspaces, Span and Direct Sums
- Weak and Weak Star Topologies
- Weak Laws and Series of Independent Random Variables
2 · Summary
The balanced 14-example logistic fit has a unique minimizer at zero and meets the smooth, strongly convex hypotheses for the exact SVRG epoch bound. The work ledger compares equal 2000-step SVRG and SAGA blocks, including SAGA's table initialization. The final example instantiates the periodic bounded-gradient Adam divergence calculation and its explicit positive cycle drift.
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
A regularized logistic finite sum with an exact minimizer
Statement
Consider one-dimensional examples, seven with feature and label , and seven with and . With unit regularization, define
Here denotes the natural logarithm.
Then each component is convex with -Lipschitz gradient, is -strongly convex, and its unique minimizer is . An SVRG epoch from snapshot with and therefore satisfies
Facts & Assumptions
Given: The finite data set and objective in the Statement.
Finite-sum SVRG: SVRG returns an independent uniform inner iterate and uses a full gradient plus two component gradients per inner update.
Expected linear contraction of an SVRG epoch: if all components are convex, continuously differentiable and -smooth, the average is -strongly convex with a stationary point , , , and , then from a deterministic snapshot with the theorem's independent uniform component draws and output index the expected gap relative to contracts by its stated .
Gradient of a finite sum is the finite sum of gradients: the gradient of the finite average is the average of component gradients.
Strong convexity for an extended-real objective: -strong convexity is the strong-Jensen inequality with decrement .
Lipschitz map, -Hölder map for rational , and contraction: an -Lipschitz gradient obeys in one dimension.
The chain rule for total derivatives: : the derivative of a composition is the derivative of the outer function applied to the derivative of the inner function.
Sums and scalar multiples of totally differentiable maps are totally differentiable with the expected derivatives: sums and scalar multiples differentiate termwise.
The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with : a differentiable scalar function's difference over an interval equals its derivative at an intermediate point times the interval length.
Multivariable Taylor formula with a Lagrange remainder along a line segment: a scalar function on a segment has a second-order Taylor formula with Hessian remainder at an intermediate point.
The Euclidean inner product on : in one dimension the Euclidean norm is absolute value.
The real exponential function and the number by a power series: is the real exponential and .
Finite sums and finite products, by recursion: is the finite average of its fourteen component losses.
The natural logarithm as the inverse of the exponential function: for , is the unique real with .
Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: is strictly increasing on and for .
Convex and strictly convex functions on Euclidean convex sets: convexity is the segment inequality for function values.
Sign rules for products and monotonicity of multiplication: multiplication by a positive denominator preserves order. Squares of nonzero elements are positive makes a nonzero real square positive, and Multiplication by zero: gives square zero in the zero case; thus every real square is nonnegative.
Laws of finite sums and finite products: finite sums are additive and obey scaling.
The Axiom of Choice: assume AC for the conditional-expectation interfaces inherited from the SVRG theorem [F2].
Proof
Given: The data, loss, and regularizer in the Statement.
Write by [F13] and [F17]. By [F6]–[F9], , , and . Since by [F19], for every component and .
Apply [F10] to and [F12]; step 1.1 gives , so every component is -smooth. For any , [F11] gives . For , put , apply this inequality from to , weight by , and add; the gradient terms cancel and . Hence . Since the subtracted term is nonnegative, this gives ordinary convexity by [F18] and verifies the strong Jensen inequality in [F4]. Averaging these inequalities with [F20] proves that F is convex and 1-strongly convex.
At , the two component derivatives in step 1.1 are and , so [F3], [F14] and [F20] give . Averaging the lower Taylor inequality from step 2.1 gives , so is the unique minimizer. Substitution gives . The product law [F16] and from [F13], with from [F17], give . Since , , and , [F1] and [F2] give the claimed SVRG guarantee with .
SVRG and SAGA gradient-work and storage ledger
Statement
Let a finite sum have components and dimension, and let an SVRG epoch and SAGA block each have inner updates. Count component-gradient evaluations separately from scalar coordinate arithmetic, and do not cache SVRG snapshot gradients. SVRG uses component-gradient evaluations per epoch, arithmetic to assemble its full gradient, arithmetic per inner update, and working storage. SAGA uses component-gradient evaluations during its initialized block and new evaluations in each later equally long block; initializing its mean takes arithmetic, each later update takes arithmetic, and its table plus auxiliary vectors use storage. The cost of evaluating a component gradient is not bounded here. For , , and , the gradient counts are 5000 SVRG evaluations per epoch, 3000 SAGA evaluations in the initial block, and 2000 in a later block; the SAGA table has 20,000 scalar coordinates.
Facts & Assumptions
Given: The component count, dimension, horizon, and algorithms in the Statement.
Finite-sum SVRG: the procedure computes the full finite-sum gradient, evaluates both displayed component gradients at every inner update without caching snapshot values, and uses a fixed number of vector additions, scalings, and temporaries per update.
Finite-sum SAGA: initialization evaluates one component gradient for each table entry and forms their running mean; each later update evaluates one sampled component gradient once and reuses it for the estimator and replacement, with a fixed number of vector operations and temporary -vectors.
Finite sums and finite products, by recursion: the finite objective contains exactly component functions.
Proof
Given: , an epoch and blocks of length , and the displayed finite-sum algorithms. The numerical instance is , , and .
By [F1] and [F3], one full gradient evaluates each of the component gradients once, and each of the inner updates evaluates two component gradients, so SVRG uses evaluations. By [F2], SAGA initializes all table entries and evaluates one sampled component per update, so its initialized block uses evaluations and a later block uses . Substitution of and gives 5000, 3000, and 2000, respectively.
A full gradient sums and scales vectors with coordinates, using coordinate operations; each update in [F1] has a fixed number of vector operations and therefore costs . SAGA's initialization forms the table mean from vectors for coordinate operations, and each update in [F2] uses a fixed number of vector operations for .
For SVRG, sample the independent uniform output index before the epoch and save when that index is reached, including if . The inner updates do not use , so independence gives the same joint law of and the trajectory, and hence the same returned-snapshot law as sampling after the updates. This implementation needs one saved -vector in addition to the fixed update buffers in [F1], uses no extra gradient evaluations, and therefore has working storage. By [F2], SAGA stores table vectors and a constant number of additional -vectors, giving scalars because . At the numerical instance the table itself contains coordinates. The accounting excludes arithmetic within each component-gradient evaluation and makes no total-runtime claim.
A bounded periodic gradient sequence with divergent Adam iterates
Statement
For Adam with , , , and , feed the repeated affine losses from . Every gradient has magnitude at most , but the terminal subsequence tends to ; for every , its cycle drift is at least .
Facts & Assumptions
Given: The update and loss sequence in the Statement.
Bias-corrected Adam update: Adam's bias-corrected moments and coordinate update are defined for the fixed parameters in the Statement.
Adam diverges on a periodic bounded-gradient loss sequence: this exact loss sequence and parameter choice give cycle drift at least for every cycle and hence an unbounded terminal subsequence.
Convex and strictly convex functions on Euclidean convex sets: affine losses satisfy the convex segment inequality.
Every complete ordered field is Archimedean: for every real there is a natural integer with .
Sign rules for products and monotonicity of multiplication: multiplication by a positive real preserves strict order.
Proof
Given: The finite-prefix online loss sequence in the Statement.
Each loss is affine, so direct substitution in [F3] verifies convexity. Its derivative is respectively , all of magnitude at most ; the updates are the bias-corrected Adam updates [F1].
The gradients and parameters in step 1.1 are the specified inputs of [F2]. Let ; its cycle calculation gives for every . With , induction gives for every natural . For any real , [F4] supplies a natural with . Since , [F5] gives , and then every satisfies . This is exactly convergence of the terminal subsequence to , after its first two cycles.
Sources
- Rie Johnson and Tong Zhang, Accelerating Stochastic Gradient Descent using Predictive Variance Reduction, NeurIPS 2013
- Sébastien Bubeck, Convex Optimization: Algorithms and Complexity, complete monograph
- John Lebl, Basic Analysis I, Section 8.3
- Aaron Defazio, Francis Bach, and Simon Lacoste-Julien, SAGA: A Fast Incremental Gradient Method With Support for Non-Strongly Convex Composite Objectives, NeurIPS 2014
- Sashank J. Reddi, Satyen Kale, and Sanjiv Kumar, On the Convergence of Adam and Beyond, ICLR 2018, full arXiv text
- Diederik P. Kingma and Jimmy Ba, Adam: A Method for Stochastic Optimization, ICLR 2015