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.
Online protocols and regret benchmarks
1 · Prerequisites
- Binary Operations, Monoids, Groups and Subgroups
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- limsup, liminf, and Subsequential Limits
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- 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
- Probability Spaces Random Variables and Expectation
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sigma Algebras and Borel Sets
- Simple Field Extensions and the Construction of the Complex Numbers
- Suprema and Infima
- The Lebesgue Integral and the Convergence Theorems
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
2 · Logical flowchart
3 · Definitions, theorems and proofs
Online decision protocol
Definition
Fix a positive integer horizon , a nonempty action set , and, when choices or the environment are randomized, a probability space . An online decision protocol has rounds . Before round , the learner has the history consisting of its earlier choices and all feedback and loss information revealed in earlier rounds. It chooses using only and any learner-private randomization available by that time. In a randomized protocol, is a measurable random element of , meaning a measurable map from into equipped with its declared measurable structure. The environment supplies a real-valued loss function ; it may have fixed before the choice or choose it after the choice, as specified by the environment model, but the learner does not observe before choosing . The learner incurs loss and then receives feedback about round according to the feedback model. The history adds , the feedback received, and any part of explicitly revealed in round . No convexity, boundedness, or regret guarantee is part of this protocol definition.
Definition references
Random elements and real random variables: a random element is a measurable map from a probability space into a measurable space.
Elad Hazan, Introduction to Online Convex Optimization, second edition: §1.1, PDF pp. 23–24.
Tengyu Ma, Lecture Notes for Machine Learning Theory: §§11.1.1–11.2, PDF pp. 148–149.
Adversary and feedback models
Definition
In an online decision protocol with horizon , the environment and feedback model specifies how each loss function is chosen and what the learner observes after choosing . Full-information feedback reveals the entire function (or, for experts, the full vector of their losses) after the round- choice. Bandit feedback reveals only the played loss after that choice. An oblivious adversary fixes the whole sequence before the learner's random choices are realized; it may know the learner's rule but not its realized private randomization. A non-anticipating adaptive adversary chooses from the history available before is chosen, so may depend on earlier choices and feedback but not on the current choice or the learner's current private randomization. A reactive adversary may choose after observing , so its round- loss may depend on that current choice. These adversary classes have different timing and are not interchangeable; a guarantee established for one class is not asserted for another. For the stochastic reward model, let be the smallest collection of subsets of that contains every open interval and is closed under complements and countable unions; its members are the Borel sets. A stochastic finite-arm reward environment has arms, a fixed probability measure on for each arm , and finite first moments with means . At each round the learner chooses a measurable arm with values in equipped with its full power set, before the reward is drawn. The fixed-law condition means that, for every , every event determined by the history before the reward and the chosen arm with , and every , . The model also states explicitly the conditional-mean identity used below: for every such . Here is an integrable real random variable, is the indicator of event , and the history-and-arm events are measurable in the common probability space. This stochastic reward model is distinct from adversarial loss models and supplies no regret guarantee by itself.
Definition references
Online decision protocol: the learner chooses before the current round's loss is observed; the horizon and action set are fixed.
Random elements and real random variables: rewards are measurable real-valued random variables and finite-arm choices are measurable maps into the discrete arm set.
Probability measures and probability spaces: each arm law is a probability measure of total mass one, and events belong to its measurable space.
Expectation of a nonnegative or integrable random variable: an integrable reward's mean is its Lebesgue integral on the common probability space.
Elad Hazan, Introduction to Online Convex Optimization, second edition: §1.1, PDF pp. 23–24; §1.2.1, PDF pp. 24–25.
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: §4.1, PDF p. 64 / printed p. 56.
Tengyu Ma, Lecture Notes for Machine Learning Theory: §§11.1–11.2.1, PDF pp. 147–150.
Static, dynamic, interval, and strongly adaptive regret
Definition
Let a finite-horizon online protocol have horizon , action set , round losses , and learner choices . Whenever a minimum below is used, assume it is finite and attained. For a fixed comparator , the realized regret is
The static regret is
For randomized learners or environments, expected regret is the expectation of the specified regret random variable over their joint randomness, when that random variable is measurable and integrable. In a stochastic finite-arm reward model with means , let . The pseudo-regret is the random variable
whereas the realized reward regret is
For dynamic comparators, suppose for a positive integer and fix a norm , meaning exactly when , for every , and . Given a comparator sequence , the dynamic regret and its path length are
For a nonempty contiguous integer interval with , its interval regret is
and the adaptive regret is . For an algorithm producing the choices , write for its interval regret on . The algorithm is strongly adaptive relative to a specified loss, feedback, adversary, and comparator class precisely when there are a stated base algorithm , constants and , and a specified bound on 's static regret at horizon in that same class, such that, uniformly over every positive horizon and every environment in that class, for every nonempty contiguous interval ,
where is the natural logarithm and ; , , , and are fixed independently of , , and the environment. The displayed criterion is pathwise, including for randomized protocols. Strong adaptivity in expectation instead requires to satisfy the displayed bound for every deterministic interval , with measurable, integrable interval regrets and with an expected static-regret bound in the same class. Almost-sure or high-probability versions must be explicitly qualified: for each horizon, all interval inequalities must hold simultaneously with probability one or at least the stated , respectively, and the base bound must use the same probability mode with any dependence on specified. Strong adaptivity is a regret property relative to intervals; it does not imply anytime statistical validity.
Definition references
Online decision protocol: the horizon, action set, round losses, and learner choices used in the regret formulas.
Adversary and feedback models: the stochastic finite-arm model and the distinction between its reward means and adversarial losses.
Expectation of a nonnegative or integrable random variable: expected regret is an integral on the underlying probability space when the regret is measurable and integrable.
Elad Hazan, Introduction to Online Convex Optimization, second edition: §1.1, PDF pp. 23–24; §§10.1–10.2.1, PDF pp. 190–194.
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: §4.4, PDF pp. 68–69.
Tengyu Ma, Lecture Notes for Machine Learning Theory: §11.1.1, PDF pp. 148–149.
Amit Daniely, Alon Gonen, and Shai Shalev-Shwartz, Strongly Adaptive Online Learning: §1.1, PDF p. 2; expectation is the randomized convention there, while the modes above are distinguished explicitly.
Finite-arm regret decomposes into expected action counts
Statement
Let be integers, let be a probability space, and let be measurable arm choices and integrable rewards for . Let be finite arm means and assume the conditional-mean identity
Set , define the pseudo-regret , the realized reward regret , and the number of pulls of arm by . Then
Statement references
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: §§4.4–4.5, PDF pp. 68–71.
Elad Hazan, Introduction to Online Convex Optimization, second edition: §1.1, PDF pp. 23–24.
Facts & Assumptions
Given: The finite stochastic-arm model in the statement, integrable rewards , measurable choices , and finite means satisfying the stated conditional-mean identity.
Expectation of an integrable real random variable is its Lebesgue integral on the probability space (Expectation of a nonnegative or integrable random variable).
Expectation is linear for finite linear combinations of integrable random variables (Linearity, monotonicity, and the modulus bound for expectation).
For every measurable event , (The expectation of an indicator is the probability of the event).
In the fixed-law finite-arm model, for any round , arm , and event determined by the pre-reward history and chosen arm with , (Adversary and feedback models). In particular, this holds for .
Proof
For each fixed , the events , , are a measurable partition of , because takes exactly one value in . The conditional-mean hypothesis gives . Since pointwise and the sum is finite, linearity of expectation gives .
Pointwise, and . Thus . Linearity of expectation and yield .
Linearity of expectation and give . Substituting step 1.1 and rearranging the finite sums gives , which equals the expression in step 1.2.
Since , linearity of expectation and the indicator expectation identity give . Summing these equalities over the finite set of arms with coefficients identifies the result from step 1.2 with and proves the claimed identity.
4 · Examples, counterexamples and false statements
None yet.