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.
Adaptive gradient algorithms and regret limits — Examples
1 · Prerequisites
- Adaptive gradient algorithms and regret limits
- Binary Operations, Monoids, Groups and Subgroups
- Compactness
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Convex and Semicontinuous Functions on Rⁿ
- Countability and Uncountability
- Filters and Ultrafilters
- Foundations of the Real Numbers for Analysis
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Metric Spaces
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Order, Zorn's Lemma, and the Axiom of Choice
- Partitions of Unity and Paracompactness
- 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
- Subspaces, Products, and Quotients
- Suprema and Infima
- The Cantor Set, Baire Category, and Measure Zero in ℝ
- The Topology of Euclidean Space
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Logical flowchart
3 · Definitions, theorems and proofs
None yet.
4 · Examples, counterexamples and false statements
A fixed denominator regularizer does not prevent Adam's periodic regret example
Example
Fix . On , run the uncorrected scalar Adam update with , , , , and denominator . Repeat the losses and for every integer , feeding their slopes as the algorithm's gradients. The best-comparator regret has limit inferior average at least .
Example references
Uncorrected Adam for online convex losses: fixes the scalar update, inside-root denominator, and clipping convention.
Intervals of : the nine order-convex forms, nondegeneracy, and length: is the closed interval used as the domain.
Adam can have nonzero average regret on a one-dimensional convex sequence: proves the positive-epsilon periodic construction and its average-regret lower bound.
Facts & Assumptions
Given: The fixed positive and periodic losses in the Example.
Uncorrected Adam for online convex losses: the second moment is , the denominator is , and the iterate is clipped to .
RMSProp, Adam, and AMSGrad moment updates are well-defined: for every finite admissible run, the moments are finite, the second moments are nonnegative, and every specified denominator is positive.
Adam can have nonzero average regret on a one-dimensional convex sequence: for every , the parameters , , , and the displayed period yield .
Convex and strictly convex functions on Euclidean convex sets and A convex subset of contains every line segment between two of its points: is convex and every displayed linear loss is convex on it.
The principle of mathematical induction and Ordered field: induction applies to the moment recurrences, and sums and products of nonnegative reals are nonnegative.
Verification
Given: and the stated scalar run.
Each gradient is finite and . Starting from , induction in the recurrence gives finite by [F1] and [F5]. Hence at every round, so its square root is positive; with and clipping to , the update defines an admissible run at every finite horizon. Thus [F2] applies after admissibility has been established. For and , every loss satisfies , so it is convex by [F4].
The positive-epsilon case of [F3] has exactly these parameters, initialization, denominator placement, clipping rule, and period of losses. Its conclusion gives the claimed limit inferior average regret.
AMSGrad retains an earlier second-moment maximum
Example
On the one-dimensional domain , run uncorrected AMSGrad from with positive step sizes , any first-moment weights in , , and losses , , using their gradients , . The raw second moment decreases from to , while the historical maximum remains .
Example references
Uncorrected AMSGrad with a coordinatewise historical maximum: defines the raw second-moment recurrence and its coordinatewise historical maximum.
Intervals of : the nine order-convex forms, nondegeneracy, and length: is the closed interval used as the domain.
RMSProp, Adam, and AMSGrad moment updates are well-defined: guarantees finite nonnegative moments and well-defined updates on the stated compact domain.
Facts & Assumptions
Given: , , , and gradients , .
RMSProp, Adam, and AMSGrad moment updates are well-defined: the recurrence and weighted minimizations are well-defined for finite gradients on the nonempty compact convex domain.
Convex and strictly convex functions on Euclidean convex sets and A convex subset of contains every line segment between two of its points: the interval is convex and the linear losses are convex.
Subgradients and the subdifferential of a convex function: when for all in the domain.
Ordered field and Sign rules for products and monotonicity of multiplication: nonnegative coefficients preserve the interval bounds under weighted sums.
For a nonempty subset of with , compactness, closedness and boundedness, pseudocompactness, and attainment of extrema by every continuous real-valued function are equivalent: a nonempty closed bounded subset of is compact.
Verification
Given: The initialization and two gradients in the Example.
The interval is nonempty, closed, and bounded, so [F6] makes it compact. For and , [F5] gives , so the interval is convex. For either displayed linear loss, ; moreover, if , its gradient satisfies , so it is a subgradient by [F4]. The first update gives and .
The second update gives , so ; nevertheless .
Constant first-moment weight is outside the proved square-root regret schedule
Example
Let , , , , , for every round, and . The hypotheses of the AMSGrad regret inequality hold, but the second, first-moment correction term in its displayed bound is at least for . This shows that the bound does not give an guarantee for this constant schedule; it gives no lower bound on the algorithm's actual regret.
Example references
AMSGrad has an online convex regret bound under decaying first-moment weights: gives the regret inequality and states the geometric and reciprocal first-moment schedules for its consequence.
Intervals of : the nine order-convex forms, nondegeneracy, and length: is the closed interval used as the feasible domain.
Uncorrected AMSGrad with a coordinatewise historical maximum: defines the raw moment recurrence used to calculate the correction term.
Facts & Assumptions
Given: The domain, losses, gradients, and parameters in the Example.
AMSGrad has an online convex regret bound under decaying first-moment weights: under its stated domain, loss, gradient, and parameter hypotheses, the second correction term is
Convex and strictly convex functions on Euclidean convex sets and A convex subset of contains every line segment between two of its points: convexity means on a convex set, for .
Absolute value in an ordered field, Basic properties of the absolute value, Continuity of a map between metric spaces, at a point and globally, in the - form, and The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded: continuity on is checked with the usual distance and the - criterion.
For a nonempty subset of with , compactness, closedness and boundedness, pseudocompactness, and attainment of extrema by every continuous real-valued function are equivalent: a nonempty closed bounded subset of is compact.
Subgradients and the subdifferential of a convex function: when for all in the domain.
Every complete ordered field is Archimedean: the positive integers are unbounded, so the growth estimates below are unbounded as increases.
Ordered field and Sign rules for products and monotonicity of multiplication: nonnegative coefficients preserve interval bounds under weighted sums.
Intervals of : the nine order-convex forms, nondegeneracy, and length: is the closed interval with endpoints and .
Verification
Given: The one-dimensional online run in the Example.
The interval is nonempty, closed, and bounded by [F9], hence compact by [F5]. For and , [F8] gives , so the domain is convex. Also , so each loss is convex by [F3]. Since , choosing in [F4] proves continuity for every tolerance . The gradient is a subgradient because by [F6], and . Thus the hypotheses for [F2] hold. Iterating [F1] gives , which is nondecreasing, so for every .
Here and . The second term in [F2] is therefore at least For , at least indices satisfy , so . The correction term is at least .
The constant schedule is neither with nor . Since the theorem's upper-bound expression contains this positive term, that expression cannot be for this schedule: dividing its lower bound by gives , which is unbounded by [F7]. The computation concerns the stated bound only and gives no lower bound on actual regret.