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 — 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
- 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
- Foundations of the Real Numbers for Analysis
- Hedge and online gradient descent
- 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
None yet.
4 · Examples, counterexamples and false statements
Hedge with two experts over two rounds
Example
Take two experts and two rounds, use learning rate , and fix the full-information loss vectors in advance as and . Hedge starts from , so ; after the first vector it has and . The expected sampled loss is . Each fixed expert has total loss , so the expected static regret is .
Example references
Hedge: the weight update and normalized sampling distribution.
Adversary and feedback models: full-information loss vectors fixed before learner randomization.
Static, dynamic, interval, and strongly adaptive regret: expected static regret against the best fixed expert.
The natural logarithm as the inverse of the exponential function: is the exponent whose exponential is .
Expectation of a nonnegative or integrable random variable: bounded measurable losses have finite expectations.
Facts & Assumptions
Given: The two fixed loss vectors and the Hedge learning rate in the Example.
Hedge: , , and .
Adversary and feedback models: the complete loss vector is revealed after the choice, and the sequence is fixed before randomization.
Static, dynamic, interval, and strongly adaptive regret: expected static regret is the expectation of sampled cumulative loss minus the best fixed expert's cumulative loss.
The expectation of an indicator is the probability of the event and Linearity, monotonicity, and the modulus bound for expectation: a finite categorical draw has expected loss equal to its probability-weighted sum, and finite sums commute with expectation.
Expectation of a nonnegative or integrable random variable: expectation is defined for nonnegative or integrable random variables.
Online decision protocol: the learner chooses using only its previous history and does not observe the current loss before its choice.
Verification
The learner chooses before round-one feedback by [F7]; the displayed loss vectors are fixed in advance by [F2]. Initially . By [F5], the round-one update multiplies expert 2's weight by and expert 1's by , giving and .
The mixed losses are and . By [F2], [F4], [F6], and the algorithm's measurable sampling in [F1], these are the expected sampled losses, so the expected cumulative loss is .
Expert 1's total loss is , and expert 2's is . Hence the best fixed expert has loss and [F3] gives expected static regret ; the finite losses are integrable by [F6].
A projected gradient step on an interval
Example
Assume Countable Choice for the nondegenerate projection step. For , let be the point in minimizing . Then for , for , and for . In one OGD round take , , , and with supplied subgradient . Then , the unprojected point is , and the projected point is . The number line places the trial point to the left of the thick segment and marks its nearest point at the left endpoint.
diagram failed to render:
\begin{tikzpicture}[x=2cm,y=1cm]
\draw[->] (-1.05,0) -- (1.35,0);
\draw[ultra thick] (0,0) -- (1,0);
\fill (-0.75,0) circle (1.5pt) node[above] {$y_2=-3/4$};
\fill (0,0) circle (1.5pt) node[below] {$x_2=P_K(y_2)=0$};
\fill (1,0) circle (1.5pt) node[below] {$1$};
\node[above] at (0.5,0.2) {$K=[0,1]$};
\end{tikzpicture}Example references
Projected online gradient descent: the step-size and projected update.
The Axiom of Countable Choice (): Countable Choice for the nondegenerate projection branch.
Intervals of : the nine order-convex forms, nondegeneracy, and length: the closed interval is nonempty when its endpoints are ordered.
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: closedness in the real Euclidean metric.
A convex subset of contains every line segment between two of its points: convexity of the decision set.
Subgradients and the subdifferential of a convex function: the supporting-inequality meaning of the supplied vector .
The Euclidean inner product on : the norm used for the diameter and gradient bounds.
Metric projection onto a closed convex set satisfies the variational inequality: the criterion used to verify the interval projection.
Facts & Assumptions
Given: , , , , and .
The Axiom of Countable Choice (): the nondegenerate OGD update uses Countable Choice through the metric-projection existence theorem.
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, and an open set contains a ball around each of its points.
A convex subset of contains every line segment between two of its points: a set is convex when it contains every convex combination of two of its points.
Metric projection onto a closed convex set satisfies the variational inequality: if and only if for every .
Subgradients and the subdifferential of a convex function: is a subgradient at if for every point of the convex domain.
Projected online gradient descent: when , and .
The Euclidean inner product on : on , .
Projection onto a nonempty closed convex set: under Countable Choice, the metric projection onto exists and is unique.
Verification
The interval is nonempty because . For and , , so [F3] makes convex. Its complement is . If , the ball of radius about lies in ; if , the ball of radius about lies in . Thus the complement is open by [F2], so is closed. Also for , with equality at the endpoints, so its diameter is .
By [A1] and [F8], the projection exists uniquely. If , then for every , , so [F4] and uniqueness give . If , then and its distance to itself is zero, so . If , then for every , and [F4] and uniqueness give . These cases prove the stated projection formula.
For every , , so [F5] makes a valid subgradient and [F7] gives . Hence [F6] gives and . By step 1.2, .
The projected OGD bound does not cover infeasible comparators
Statement refuted
Refuted claim: For integers , let be nonempty, closed, and convex with diameter at most a finite . Let each be differentiable and convex on an open convex neighborhood of , and suppose the projected online-gradient algorithm starts at , uses for finite , and has on every round. Assume Countable Choice for the metric projections. The refuted claim is that
holds for every comparator , including points outside .
Statement references
Projected online gradient descent has static regret at most three-halves of DG square-root T: its stated comparator belongs to .
Facts & Assumptions
Given: The projected OGD algorithm, , diameter bound , horizon , losses defined by for , initial point , gradient bound , and infeasible comparator .
The Axiom of Countable Choice (): Countable Choice is assumed for the nondegenerate projection updates.
Projected online gradient descent: and when .
The Euclidean inner product on : in , .
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.
The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case: the gradient of a scalar-valued differentiable function on is its ordinary derivative.
Metric projection onto a closed convex set satisfies the variational inequality: exactly when for every .
Convex and strictly convex functions on Euclidean convex sets: a function is convex when it lies below the chord between any two points of its convex domain.
Projection onto a nonempty closed convex set: under Countable Choice, the metric projection onto exists and is unique.
Counterexample
The interval is nonempty. For and , , so [F3] makes it convex. Its complement is . If , the ball of radius about lies in ; if , the ball of radius about lies in . Thus [F4] makes closed. Its diameter is because for and the endpoints attain distance .
For each and , , so the derivative is by [F5]; the affine identity and [F7] show convexity. Also .
By [A1] and [F8], both metric projections exist uniquely. Since , and . The first unprojected point is ; for every , , so [F6] gives . The next unprojected point is ; for every , , so [F6] gives .
The learner's two played losses sum to , whereas the infeasible comparator has . Its regret is therefore .
The proposed right-hand side is , since . Thus the regret inequality fails for .