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.
Hedge and online gradient descent
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
- Constrained Variational Problems and Variational Inequalities
- 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
- Convex and Semicontinuous Functions on Rⁿ
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- 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
- Finite Probability and the Probabilistic Method
- Foundations of the Real Numbers for Analysis
- Hilbert Space Geometry and Riesz Representation
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- 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
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Normed and Banach Spaces
- Norming and Separation under Hahn–Banach
- Online protocols and regret benchmarks
- 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
- 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
- Simple Field Extensions and the Construction of the Complex Numbers
- Suprema and Infima
- The Analytic Hahn Banach Theorem
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Riemann Integral: Definition and Integrability
- 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
Hedge
Definition
Let be integers, let be the expert set, and let . At each round , a finite loss vector is revealed after the learner's choice. Initialize for every . At round , set Let be the pre-round history sigma-algebra generated by the previously played choices and all previously revealed loss vectors (any random loss vector is assumed measurable on the protocol's probability space). The weights and are -measurable. Draw a measurable expert choice with conditional distribution and play . After observing the whole vector , update The output is the distributions , the sampled choices , and the final weights. The protocol assumes a probability space carrying the stated measurable draws; no probability-space construction is claimed.
Definition references
Online decision protocol: the learner chooses before current-round feedback and its randomized choices are measurable.
Adversary and feedback models: full-information feedback reveals the entire expert-loss vector after the learner's choice.
Random elements and real random variables: each sampled expert is a measurable finite-valued random element.
The real exponential function and the number by a power series: the update uses the real exponential function.
Hedge's second-order and static-regret bounds ↗: proof step 2.1 establishes positive finite weights and normalizers by induction for every finite nonnegative loss sequence, independently of the fixed-loss assumption used later for expected regret.
Projected online gradient descent
Definition
Let be integers, let be nonempty, closed, and convex, and let be finite real bounds such that for all and . Supply an initial point . At each round , the learner plays and then receives the full loss function or the prescribed vector . The smooth branch takes differentiable and convex on an open convex set , with . The nonsmooth branch takes a convex function on a convex set and a supplied , where consists of vectors satisfying for every ; require explicitly that this inequality holds for every .
If or , set at every round. If , assume the Axiom of Countable Choice for the metric projection. Set , put , and set , the unique point of minimizing Euclidean distance to . Return the decisions . Equip with its Euclidean Borel -algebra and with the relative Borel -algebra. For random inputs, require to be a measurable -valued random element and each , whether supplied directly or computed as in the smooth branch, to be a measurable -valued random element on the protocol's probability space. The vector update is continuous, and the nonexpansive projection is continuous, so each projected update remains measurable.
Definition references
Online decision protocol: the learner plays before receiving current-round feedback.
Adversary and feedback models: full-information feedback reveals the current loss function after the choice.
Random elements and real random variables: randomized decisions and gradient inputs are measurable random elements.
The Euclidean inner product on : the inner product and norm on are the standard Euclidean ones.
The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement: open neighborhoods and closed decision sets are taken in the Euclidean metric topology.
A convex subset of contains every line segment between two of its points: a convex decision set contains the segment between any two of its points.
Convex and strictly convex functions on Euclidean convex sets: convexity of a loss on its domain.
Differentiable convex functions are characterized by the gradient inequality: on an open convex domain, differentiable convex losses satisfy the gradient inequality.
The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case: is the vector of scalar partial derivatives in the standard Euclidean coordinates.
Subgradients and the subdifferential of a convex function: the nonsmooth subgradient is a vector satisfying the stated supporting inequality on the function's domain.
The Axiom of Countable Choice (): Countable Choice is assumed only in the nondegenerate branch that invokes projection existence.
Hilbert space: a real Hilbert space is a complete real inner-product space.
and for with the Euclidean metric are complete, componentwise from the Cauchy criterion in : with its Euclidean metric is complete for .
Projection onto a nonempty closed convex set: under Countable Choice, each point of a real Hilbert space has a unique nearest point in a nonempty closed convex set.
The metric projection onto a closed convex set is nonexpansive: the metric projection is nonexpansive and therefore continuous.
Hedge's second-order and static-regret bounds
Statement
Let be integers and let . Let be a finite real loss for every and . Run Hedge with , , measurable draws satisfying , and updates . Assume the entire loss-vector sequence is fixed before the learner's random choices. For every fixed expert , writing , one has
where is the natural logarithm.
If every loss lies in and , choosing gives expected static regret at most :
For , the expected static regret is .
Statement references
Hedge: the initial weights, normalized expert probabilities, sampled actions, and exponential update.
Online decision protocol: the learner chooses before current-round feedback.
Adversary and feedback models: full-information feedback and an oblivious loss sequence.
Static, dynamic, interval, and strongly adaptive regret: realized and expected static regret against a fixed comparator.
Expectation of a nonnegative or integrable random variable: expectation as a Lebesgue integral for bounded sampled losses.
The natural logarithm as the inverse of the exponential function: the natural logarithm is the inverse of the real exponential.
Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: the natural logarithm is strictly increasing and .
Facts & Assumptions
Given: Positive integers , a learning rate , nonnegative finite expert losses, and the Hedge updates in the Statement.
Adversary and feedback models: an oblivious adversary fixes the whole loss sequence before learner randomization; full-information feedback reveals the entire expert-loss vector after the choice.
Hedge: , , and .
for every real , hence : for every real .
The exponential is positive and satisfies : and for every real .
The exponential addition formula : for all real .
The exponential function is strictly increasing: the real exponential is strictly increasing.
Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: is strictly increasing and .
The expectation of an indicator is the probability of the event: for each measurable event , .
Linearity, monotonicity, and the modulus bound for expectation: expectation is linear on integrable random variables.
Static, dynamic, interval, and strongly adaptive regret: static regret is loss minus the finite-horizon loss minimum, and expected regret is the expectation of the realized regret when it is measurable and integrable.
Online decision protocol: the learner chooses using only its previous history and does not observe the current loss before its choice.
Expectation of a nonnegative or integrable random variable: expectation is defined for nonnegative or integrable random variables.
Proof
For every , [F2] gives , so [F3] gives . Since and , one also has . Thus for all .
Put , , and . By [F3], every factor is a positive finite real. Starting with , [F1] therefore gives positive finite weights through round by induction, so is finite and is a probability vector. This induction is pointwise and does not require the loss sequence to be fixed before randomization. Applying step 1.1 to and summing with weights gives , where the last inequality is [F2].
Dividing the positive ratios from step 2.1 by and multiplying over , then using [F4] and , gives . For any fixed , [F1] also gives . Since by [F6], combining the bounds and applying [F5] yields .
Rearranging step 3.1 and dividing by gives , which is the first assertion.
For losses in , . Since is finite and nonempty, fix attaining . If , then and [F7] gives , so is positive; step 4.1 now gives the deterministic mixed-loss regret bound . If , the only sampled expert is the only comparator, so the static regret is zero.
For each , . By [A1], the entire loss sequence is fixed before randomization; [F11] gives the choice-before-feedback order, and [F1] makes every deterministic from the fixed losses and previous updates. Thus [F8]–[F9] give and . The bounded losses are measurable by the algorithm's protocol and integrable by [F12]. Subtracting the deterministic best-expert loss proves the expected static-regret assertion from step 5.1 using [F10].
Projected online gradient descent has static regret at most three-halves of DG square-root T
Statement
Let be integers, let be nonempty, closed, and convex, and let be finite bounds such that for all and for every round. Supply . On each round, either is differentiable and convex on an open convex neighborhood of and , or is convex on a convex set and a vector is supplied with explicitly required for every ; here is the set of vectors satisfying that supporting inequality for every point of . Run projected online gradient descent with when , and with the no-op branch if or . Assume the Axiom of Countable Choice only when . For every realization satisfying these hypotheses and every , If or , this sum is nonpositive. Whenever the finite-horizon loss sum attains a finite minimum on , the static regret, defined as , is therefore at most .
Statement references
Projected online gradient descent: the projected update and its degenerate branches.
Static, dynamic, interval, and strongly adaptive regret: static regret uses a finite attained minimum.
The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement: open neighborhoods and closed subsets are understood in the Euclidean metric topology.
A convex subset of contains every line segment between two of its points: convex sets contain the segment between any two points.
Convex and strictly convex functions on Euclidean convex sets: convexity of a real-valued function on its domain.
The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case: the gradient is the vector of scalar partial derivatives in Euclidean coordinates.
Subgradients and the subdifferential of a convex function: the subdifferential consists of vectors satisfying the supporting inequality on the function's domain.
The Axiom of Countable Choice (): Countable Choice is used only for projection existence in the nondegenerate branch.
Projection onto a nonempty closed convex set: a nonempty closed convex subset of a real Hilbert space has a unique nearest point under Countable Choice.
Metric projection onto a closed convex set satisfies the variational inequality: the metric projection satisfies the Euclidean variational inequality.
The metric projection onto a closed convex set is nonexpansive: the metric projection is continuous.
Differentiable convex functions are characterized by the gradient inequality: the smooth branch satisfies the comparator inequality.
Facts & Assumptions
Given: The dimensions, horizon, decision set, diameter and gradient bounds in the Statement; the initial point and one of the stated smooth or subgradient branches on each round.
The Axiom of Countable Choice (): for , Countable Choice is assumed for the existence theorem for nearest points.
The Euclidean inner product on , and for with the Euclidean metric are complete, componentwise from the Cauchy criterion in , and Hilbert space: with the standard dot product and induced norm, is a real Hilbert space for .
Projection onto a nonempty closed convex set: under Countable Choice, for each there is a unique minimizing over .
Metric projection onto a closed convex set satisfies the variational inequality: if , then for every .
The metric projection onto a closed convex set is nonexpansive: , so is continuous.
Differentiable convex functions are characterized by the gradient inequality: for a differentiable convex function on an open convex domain, .
Subgradients and the subdifferential of a convex function: gives the supporting inequality on the convex domain, and the Statement explicitly requires it for every .
Static, dynamic, interval, and strongly adaptive regret: static regret uses the finite-horizon minimum only when it is finite and attained.
The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement: a set is closed when its complement is open; open sets contain a ball around each of their points.
A convex subset of contains every line segment between two of its points and Convex and strictly convex functions on Euclidean convex sets: and the stated loss domains are convex.
The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case: denotes the standard vector of partial derivatives.
Projected online gradient descent: for random inputs, and have their Euclidean and relative Borel -algebras, and and every direction , whether supplied or computed as a smooth gradient, are measurable random elements of those spaces.
Proof
If , the diameter condition and nonemptiness make a singleton, so and every loss difference is zero. If , then by the positive-definite Euclidean norm in [F1], and [F5] or [F6] gives on each round; the sum is nonpositive. These branches use no projection and no choice axiom. Hence assume .
By [A1], [F1], [F2], and the closedness of in the metric topology [F8], the nondegenerate algorithm has a unique projection at every update. For random inputs, [F11] gives and their relative and Euclidean Borel -algebras; the inclusion and vector update are continuous, and [F4] makes continuous. Therefore their composition preserves measurability of each iterate.
Fix , put , , and . By [F3], , whence . Expanding therefore gives .
The stated domains are convex by [F9], and [F10] identifies the smooth-branch vector with the gradient in Euclidean coordinates. Thus in the smooth branch [F5] gives ; in the nonsmooth branch the same inequality is an explicit hypothesis in the Statement and follows from [F6]. Rearranging step 2.1 and using yields .
Since , the diameter hypothesis gives for every , while . Also is nondecreasing because . Summing step 3.1 gives . The exact telescoping identity is . Every coefficient is nonnegative, so and bound this by .
With , the first term in step 4.1 is . For every integer , because ; summing telescopically gives . Thus the second term is at most , proving the pointwise comparator bound.
If the finite-horizon loss sum attains a finite minimum at , substitute into the bound just proved. The left side becomes the static regret of [F7], giving the stated static-regret consequence.
4 · Examples, counterexamples and false statements
None yet.