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.
Contextual expert bandits — Examples
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Adversarial bandits and importance-weighted feedback
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Conditional Expectation
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Contextual expert bandits
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Discrete Time Martingales
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Hedge and online gradient descent
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- 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
- Online protocols and regret benchmarks
- Order, Zorn's Lemma, and the Axiom of Choice
- Outward rounded interval and ball arithmetic
- 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
- 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 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 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 finite two-expert Exp4 instance
Example
Consider one round with two actions, two experts, reward vector , and deterministic advice rows and . For any learning rate , Exp4 starts with equal expert weights and samples each action with probability . The expected learner reward is , the best fixed expert reward is , and the expected regret is , independently of . For the theorem-bound clause, use the tuned learning rate ; the general Exp4 theorem then gives .
Example references
Contextual bandit protocol: the finite expert advice and expected-regret conventions used in the calculation.
Exp4 initialization and action mixture: the uniform initial expert weights and mixture action distribution used here.
Expected-regret theorem: the stated general bound specialized to this one-round instance.
Facts & Assumptions
Given: One round, actions , experts , reward vector , advice rows and , and Exp4 with for the theorem-bound clause.
Contextual bandit protocol with finite expert advice: an expert's round reward is the dot product of its advice row with the reward vector.
Exp4 expected regret against the best fixed expert: for , , and , the expected regret is at most .
Verification
The uniform initial weights give . Hence and . The realized reward equals one with probability and zero with probability , so its expectation is .
The two experts' expected rewards are and . Thus the best fixed expert reward is one and the expected regret is .
Substituting , , and into [F3] gives the stated bound .
Duplicated experts change Exp4's uniform prior mass
Example
Take , , and at every round let and . Exp4's uniform initial expert distribution gives first-round action distribution ; deleting one of the duplicated experts instead gives . The two duplicated experts receive identical estimated rewards and remain equal-weighted after every update. For any integer horizon and any fixed oblivious reward sequence , with learning rate , the expected-regret theorem gives the bound for the three-expert list.
Example references
Expert advice rows and oblivious instance: the deterministic advice rows and reward sequence meet this protocol.
Exp4 initialization, mixture, and update: the example uses uniform initial expert weights and the common exponential update.
Expected-regret theorem: the three-expert regret bound follows by specializing the theorem to and .
Facts & Assumptions
Given: , , identical first and second advice rows , third row , a fixed oblivious reward sequence , and Exp4 with learning rate for a fixed horizon .
Contextual bandit protocol with finite expert advice: each row is a probability vector and each fixed expert's advice is admissible in an oblivious instance.
Exp4 with unbiased estimated rewards: , , and is proportional to .
Exp4 expected regret against the best fixed expert: for any fixed oblivious instance with , , and horizon , at the stated learning rate.
Verification
Since , the mixture formula gives and . If one copy of is removed, the two remaining experts start with mass each, giving the alternative distribution .
At every round the first two advice rows are equal, so their estimated rewards are equal. Their initial weights are equal; multiplying both by the same exponential factor and dividing by the common normalizer preserves equality. In particular, writing and gives , so their combined mass is .
Substituting and into [F3] gives .
A context-specific expert class with no shared policy structure
Example
Let be an integer, let be a nonempty finite context set of size , and let be an integer number of actions. Fix a context sequence and reward vectors for , all before learner randomization. Take as experts every function , with advice row . There are such experts and no constraint links the action assigned to one context to the action assigned to another. With learning rate , Exp4's expected regret against this class is at most .
Example references
Contextual bandit protocol: expert advice rows and fixed oblivious context/reward sequences use this protocol.
Exp4 algorithm: each deterministic policy map supplies one advice row at the observed context.
Expected-regret theorem: the general finite-expert bound applies to the policy maps.
Facts & Assumptions
Given: , a finite nonempty context set with , a fixed oblivious context sequence, fixed oblivious reward vectors for , , and the expert class of all maps .
Contextual bandit protocol with finite expert advice: the theorem applies to deterministic advice matrices fixed before learner randomization, with each expert row a probability vector.
Exp4 expected regret against the best fixed expert: with experts, horizon , , and its tuned learning rate, .
Verification
For each map and each round , exactly one indicator equals one, so its advice row is a probability vector. A map chooses one of actions independently at each of the contexts; therefore there are exactly experts. The fixed context sequence makes the resulting advice sequence oblivious.
Since and , , so [F2] applies and gives . Repeated use of [F3] gives , hence . This is a finite-sequence regret bound; it asserts no stochastic contextual generalization.