Alphabeta Math
Pipeline-generated
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.

Stochastic finite-armed bandits

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Centered 1-sub-Gaussian reward

Definition

Let X be an integrable real random variable on a probability space, and write μ=E[X]. The reward X is 1-sub-Gaussian if for every λ∈R,

E ⁣[exp⁡ ⁣(λ(X−μ))]≤exp⁡ ⁣(λ22).

The expectation in this condition is the nonnegative Lebesgue integral of the displayed exponential; the inequality requires it to be finite for every real λ.

Definition references

Random elements and real random variables: a real random variable is a measurable map into (R,B(R)).

Expectation of a nonnegative or integrable random variable: expectation is the Lebesgue integral against the underlying probability measure, finite for an integrable real random variable.

The real exponential function and the number e by a power series: exp⁡(x) is the real exponential function defined for every x∈R.

Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: Definition 5.2, PDF p. 86 / printed p. 77; centered-noise convention, PDF p. 88 / printed p. 79.

Sébastien Bubeck and Nicolò Cesa-Bianchi, Regret Analysis of Stochastic and Nonstochastic Multi-armed Bandit Problems: Equation (2.2), Chapter 2 §2.2, PDF p. 13 / printed p. 10.

LemmaStatement: AI-adaptedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

The zeta sums at 2 and 3 are finite

Statement

For p∈{2,3}, let ζp:=∑k=1∞k−p, where each positive integer in the summand is identified with its canonical real image. Both sums converge and satisfy ζp≥1.

Statement references

For a nonincreasing nonnegative sequence, ∑ak converges iff ∑2ka2k converges: convergence of a nonnegative nonincreasing series is equivalent to convergence of its condensed series.

For ∣r∣<1, ∑k≥0rk=1/(1−r), and for ∣r∣≥1 the series diverges: a geometric series with ratio of absolute value less than one converges.

Integer powers am: negative integer powers of a nonzero real are defined by reciprocals of natural powers.

The canonical natural ι(n)=n⋅1F of a field: positive natural indices are represented by their canonical real images.

Canonical naturals are positive and strictly increasing: canonical real images of positive naturals are positive.

Facts & Assumptions

Given: An integer p∈{2,3} and the sequence ak=k−p for positive integer k, with integer indices interpreted in R by the canonical embedding.

[F1]

If a nonnegative sequence (ak)k≥1 is nonincreasing, then ∑k≥1ak converges if and only if ∑r≥02ra2r converges (For a nonincreasing nonnegative sequence, ∑ak converges iff ∑2ka2k converges).

[F2]

A geometric series ∑r≥0qr converges whenever ∣q∣<1 (For ∣r∣<1, ∑k≥0rk=1/(1−r), and for ∣r∣≥1 the series diverges).

[F3]

For a positive integer k, its real image is positive, and its negative integer powers are reciprocals of its natural powers (Integer powers am, The canonical natural ι(n)=n⋅1F of a field, Canonical naturals are positive and strictly increasing).

Proof

1.1givenF3algebra

For p=2 or p=3, every ak=k−p is positive. If 1≤k≤ℓ, then ℓp≥kp>0: for p=2 this follows from ℓ2−k2=(ℓ−k)(ℓ+k)≥0, and for p=3 from ℓ3−k3=(ℓ−k)(ℓ2+ℓk+k2)≥0. Taking reciprocals reverses the inequality, so aℓ≤ak.

1.2givenF2F3inductionalgebra

For p=2, the condensed term is 2r/(2r)2=1/2r=(1/2)r. For p=3, it is 2r/(2r)3=1/(2r)2=(1/4)r. The final power identities follow by induction on r from the recursive definition of natural powers. Thus the condensed series is geometric with ratio 1/2 or 1/4, respectively; [F2] makes both series converge.

2.1givenF1step 1.1step 1.2algebra∎

The sequence is nonnegative and nonincreasing by step 1.1, and its condensed series converges by step 1.2. Apply [F1] to conclude that ζp converges. Its first term is 1 and all terms are positive, hence ζp≥1.

LemmaStatement: AI-adaptedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Expectation of a countably valued nonnegative random variable is its weighted series

Statement

Let (Ω,F,P) be a probability space. Let (Ej)j≥1 be a countable measurable partition of Ω, let cj∈[0,∞) be finite real numbers, and let Z:Ω→[0,∞) be measurable with Z=cj on Ej. Then, as an extended nonnegative value,

E[Z]=∑j=1∞cj P(Ej).

If this series is finite, then Z is integrable and its expectation is that finite sum.

Statement references

Probability measures and probability spaces: a probability measure has total mass one.

Expectation of a nonnegative or integrable random variable: expectation of a nonnegative measurable random variable is its Lebesgue integral.

Integrable real and complex functions, and their integrals: a real measurable function is integrable exactly when the integral of its absolute value is finite.

Linearity, monotonicity, and the modulus bound for expectation: expectation is linear on integrable real random variables.

The expectation of an indicator is the probability of the event: the expectation of an event indicator equals its probability.

Monotone convergence for the integral: integrals of increasing nonnegative measurable functions converge to the integral of their pointwise limit.

Series in the nonnegative extended real line: a nonnegative extended series is the supremum of its finite partial sums, including when the value is +∞.

Facts & Assumptions

Given: A probability space, a countable measurable partition (Ej)j≥1, finite constants cj≥0, and a measurable Z equal to cj on each Ej.

[F1]

If measurable nonnegative functions increase pointwise to Z, their integrals increase to ∫Z dP (Monotone convergence for the integral).

[F2]

On a probability space, expectation of a nonnegative measurable variable is its nonnegative Lebesgue integral; a real measurable variable is integrable when the integral of its absolute value is finite; a nonnegative extended series is the supremum of its partial sums (Probability measures and probability spaces, Expectation of a nonnegative or integrable random variable, Integrable real and complex functions, and their integrals, Series in the nonnegative extended real line).

[F3]

Event indicators have expectation equal to event probability, and expectation is linear on finite sums of integrable real variables (The expectation of an indicator is the probability of the event, Linearity, monotonicity, and the modulus bound for expectation).

Proof

1.1givenF2construct

For N≥1, define ZN:=∑j=1Ncj1Ej. This is a measurable nonnegative simple function. On Ej, ZN=0 for N<j and ZN=cj=Z for N≥j, so ZN↑Z. Each ZN is bounded by the finite maximum of c1,…,cN, hence is integrable on the probability space.

2.1step 1.1F3algebra

By linearity and the indicator identity in [F3], E[ZN]=∑j=1NcjP(Ej).

3.1step 1.1step 2.1F1F2

Apply monotone convergence [F1] to step 1.1 and then use step 2.1. The resulting supremum of finite partial sums is exactly the nonnegative extended sum ∑j=1∞cjP(Ej) by [F2], proving the extended-valued identity.

4.1givenF2step 3.1∎

If the series is finite, step 3.1 gives ∫Z dP<∞. Since Z≥0, ∣Z∣=Z, so [F2] shows Z is integrable and its ordinary expectation is the same finite sum.

LemmaStatement: AI-adaptedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

A deterministic-prefix envelope sum for the sharper UCB count bound

Statement

Let n≥5 be an integer, let a>0, and put L=log⁡n. For x≥0 define x+=max⁡{x,0} and f(x)=exp⁡(−(ax−2L)+22). Then ∑s=1n−1f(s)≤1+8La2. For n≥12 the stronger bound ∑s=1n−1f(s)≤8L/a2 holds. All integrals in the proof are proper Riemann integrals or their separately convergent improper limits.

Statement references

Lattimore and Szepesvári, Bandit Algorithms, Theorems 7.1–7.2: supplies the UCB proof context; this deterministic estimate is proved locally.

Facts & Assumptions

Given: The integer n, positive a, and L=log⁡n in the Statement.

[F1]

The Gaussian integral is ∫−∞∞e−x2 dx=π. The Gaussian integral ∫−∞∞e−x2 dx=π

[F2]

A monotone differentiable surjection between improper intervals preserves the integral, with absolute Jacobian, when its derivative is locally integrable and proper substitution holds on every compact truncation. Change of variable in an improper integral

[F3]
[F4]

For u>0, log⁡′(u)=1/u and log⁡u=∫1udt/t; logarithms are increasing and obey the product law. The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm

[F5]

Principal arctangent satisfies (arctan⁡x)′=1/(1+x2), arctan⁡x=∫0xdt/(1+t2), and arctan⁡1=π/4. Principal arctangent: derivative, integral, power series, and the Gregory–Leibniz series

[F8]

Convergent improper integrals can be split at a finite interior point and combined linearly. Improper convergence is independent of finite truncations and split points Linearity of convergent improper integrals

[F13]

The exponential tends to zero at negative infinity. The exponential tends to +∞ at +∞ and to 0 at −∞

[F16]

A continuous real function on a compact interval is Riemann integrable (A continuous function on [a,b] is Riemann integrable, by Heine-Cantor and Riemann's criterion).

Proof

1.1givenF6F8F9F14F15F16F17algebraF11

By [F9], for 0≤x<y the identity y−x=(y−x)(y+x) and y+x>0 imply x<y: indeed y>0, and y>0 follows because its square is y. Thus the nonnegative square-root map is increasing. It is continuous at every x0>0, since x+x0≥x0>0 and ∣x−x0∣=∣x−x0∣x+x0≤∣x−x0∣x0; given ε>0, ∣x−x0∣<εx0 makes this difference less than ε. At x0=0, for each ε>0, 0≤x<ε2 implies x<ε2=ε, so it is continuous there as well. The map u↦u+ is nondecreasing and continuous, since ∣u+−v+∣≤∣u−v∣ by its sign cases. Thus ax−2L and its positive part are continuous, and [F15] makes the final composition defining f continuous. The positive part is nonnegative and nondecreasing; for 0≤u≤v, v2−u2=(v−u)(v+u)≥0, so squaring preserves that order. Hence the exponent is nonincreasing, and [F14] makes f nonincreasing; its exponent is nonpositive, so positivity, monotonicity and exp⁡(0)=1 give 0<f≤1. The continuous function f is integrable on [0,n−1] by [F16], and repeated use of [F17] gives ∫0n−1f=∑s=1n−1∫s−1sf. For x∈[s−1,s], f(x)≥f(s); [F6] gives f(s)≤∫s−1sf(x) dx. Hence S:=∑s=1n−1f(s)≤∫0n−1f(x) dx. If ∫0∞f converges, nonnegativity of the tail and [F8] give ∫0n−1f≤∫0∞f. Also S≤n−1.

1.2F1F2F6F7F8F12F13given

Write b=2L>0. The integrands e−y2/2 and ye−y2/2 are continuous on every compact truncation of [0,∞). Evenness in [F1] and the scaling y=2x give ∫0∞e−y2/2 dy=π/2 by [F2], with convergence inherited from the Gaussian integral. The primitive −e−y2/2 gives ∫0∞ye−y2/2 dy=1 by [F6] and [F7]; the endpoint limit follows from [F13]. The substitutions are increasing smooth surjections on the half-lines, with continuous derivatives and continuous integrands on every compact truncation, so all hypotheses of [F2] hold and these two improper integrals converge separately.

1.3F5F6F12algebra

The integrand x4(1−x)4/(1+x2) is continuous on [0,1], since 1+x2>0 there. Polynomial division gives x4(1−x)41+x2=x6−4x5+5x4−4x2+4−41+x2. Integrating on [0,1] using [F5] and [F6] yields ∫01x4(1−x)41+x2 dx=17−23+1−43+4−π=227−π>0. The strict positivity follows because the integrand is nonnegative and on [1/4,3/4] is at least 1/(2⋅48)>0. Thus π<22/7.

2.1F2F3F8F9step 1.2algebra

On [0,b2/a2], f=1. On the remaining half-line use x=(y+b)2/a2, whose derivative 2(y+b)/a2 is positive and continuous and whose image is exactly [b2/a2,∞). Proper substitution applies on compact truncations by [F3], so [F2], [F8], and step 1.2 give ∫0∞f(x) dx=b2a2+2a2∫0∞(y+b)e−y2/2 dy=4L+2+8πLa2. This proves finiteness and justifies step 1.1.

2.2F3F4F6F12step 1.3algebra

Put z=(u−1)/(u+1) for u>1, so 0<z<1 and 1/(1−t2) is continuous on [0,z]. The increasing substitution t↦(1+t)/(1−t) on [0,z] has continuous derivative and takes that interval onto [1,u]. Hence [F3] and [F4] give log⁡u=2∫0zdt/(1−t2). For every integer q≥0, the finite geometric identity gives 1/(1−t2)≥∑j=0qt2j on this interval. Integrating this polynomial by [F6] proves log⁡u≥2∑j=0qz2j+12j+1. At u=2,q=1, u=3,q=2, and u=5,q=2, respectively, this yields log⁡2≥5681,log⁡3≥263240,log⁡5≥19241215>117>π2.

3.1F4step 2.2algebra

By [F4] and step 2.2, log⁡12=2log⁡2+log⁡3≥160616480>9940,log⁡11>log⁡10=log⁡2+log⁡5≥27641215>94. All comparisons follow by multiplying positive integer denominators; no decimal approximation is used.

4.1F6F9step 1.1step 2.1step 1.3step 3.1algebra

Define D(L)=2+8πL−4L. If n≥12, step 3.1 gives L>99/40. At L0=99/40, (4L0−2)2=6241100>82279940>8πL0, so D(L0)<0. For L2>L1≥L0>1, the difference of 4L−2−8πL at these two values equals (L2−L1)(4(L2+L1)−8π)>0, since π<22/7<8. Thus D(L)≤0 here. Steps 1.1 and 2.1 give S≤8L/a2, the asserted stronger bound.

4.2F4F6F9F10F12step 2.2step 3.1algebra

Suppose 5≤n≤11. Step 2.2 gives L>π/2, whence 8πL≤4L and D(L)≤2. For g(x)=4log⁡x−x+2, the derivative g′(x)=4/x−1 is continuous and negative on [5,11], so g is decreasing there. Step 3.1 gives g(11)>0, hence g(n)≥g(11)>0 and therefore n−2≤4L.

5.1givenstep 1.1step 2.1step 4.1step 4.2casesalgebra∎

If D(L)≤0, steps 1.1 and 2.1 already give S≤8L/a2. If D(L)>0 and a2≥D(L), those steps give S≤(8L+D(L))/a2≤8L/a2+1. If 0<a2<D(L)≤2, step 4.2 gives (n−2)a2≤(n−2)D(L)≤2(n−2)≤8L, so S≤n−1≤1+8L/a2. These cases exhaust 5≤n≤11 and prove the Statement together with step 4.1.

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Tail bounds for deterministic prefixes of independent sub-Gaussian rewards

Statement

Let q≥1 be an integer. Let Z1,…,Zq be mutually independent integrable real random variables on a common probability space, with means mj=E[Zj], and suppose each is 1-sub-Gaussian, meaning that E[exp⁡(λ(Zj−mj))]≤exp⁡(λ2/2) for every λ∈R. Then for every t≥0,

P ⁣(∑j=1q(Zj−mj)≥t)≤exp⁡ ⁣(−t22q),P ⁣(∑j=1q(Zj−mj)≤−t)≤exp⁡ ⁣(−t22q).

Statement references

Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: §5.3, Theorem 5.3 and Corollary 5.5, PDF pp. 86–87 / printed pp. 77–78; the independent-sum step is Exercise 5.7.

Sébastien Bubeck and Nicolò Cesa-Bianchi, Regret Analysis of Stochastic and Nonstochastic Multi-armed Bandit Problems: Chapter 2 §2.2, Equation (2.2) and fixed-sample MGF tail derivation, PDF pp. 13–14 / printed pp. 10–11.

Facts & Assumptions

Given: A finite family of mutually independent integrable real random variables Z1,…,Zq, their means mj, and the 1-sub-Gaussian MGF bounds in the statement.

[F1]

For each j and every real λ, E[exp⁡(λ(Zj−mj))]≤exp⁡(λ2/2) (Centered 1-sub-Gaussian reward).

[F2]

Independence means the generated sigma-algebras are independent (Independent random elements); therefore the joint law of the finite vector is the product of its marginal laws (Independent random elements have product joint law).

[F3]

Tonelli permits iterated integration of nonnegative product-measurable functions over sigma-finite product spaces (Tonelli's theorem for nonnegative measurable functions on a sigma-finite product); positive scalar factors may be taken outside nonnegative integrals (Monotonicity and nonnegative homogeneity of the nonnegative integral).

[F4]

Expectation of a nonnegative random variable is its Lebesgue integral (Expectation of a nonnegative or integrable random variable).

[F5]

For a nonnegative random variable W and a>0, P(W≥a)≤E[W]/a (Markov's inequality for random variables).

Proof

1.1F2F3F4F6

Put S=∑j=1q(Zj−mj). For q=1 the desired MGF bound is [F1]. For q≥2 and λ≥0, the product-law identity in [F2] and the exponential addition formula in [F6] give E[eλS]=∫Rq∏j=1qeλ(zj−mj) d ⁣(⨂j=1qPZj)(z1,…,zq). The integrand is nonnegative and measurable by [F6]. Repeated application of Tonelli in [F3], grouping the first q−1 factors and the last factor, factors this integral into the product of the q one-dimensional integrals.

2.1step 1.1F1F6algebra

Each factor is at most eλ2/2 by [F1], so E[eλS]≤eqλ2/2. The same argument with −λ gives E[e−λS]≤eqλ2/2.

3.1givenstep 2.1F5F6choosealgebra

If t>0 and λ>0, strict increase and positivity of the exponential in [F6] identify {S≥t}={eλS≥eλt}. Markov's inequality [F5] and step 2.1 yield P(S≥t)≤eqλ2/2−λt. Choosing λ=t/q gives P(S≥t)≤e−t2/(2q).

4.1givenstep 2.1F5F6algebra∎

Applying the same argument to −S gives P(S≤−t)≤e−t2/(2q). At t=0 both asserted bounds reduce to the probability bound 1≤1.

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

Finite stochastic bandit model, gaps, and regret

Definition

Fix positive integers n and k, write [k]={1,…,k}, and let (Ω,F,P) be a probability space. A finite-horizon k-armed stochastic bandit in reward-stack form consists of probability measures Pi on (R,B(R)) with finite first absolute moments, and an independent table of integrable real random variables (Xs,i)1≤s≤n, i∈[k] such that the table entries are mutually independent and each Xs,i has law Pi. Its mean for arm i is μi=∫Rx Pi(dx)=E[Xs,i], which does not depend on s. The learner may also use a random element U for private randomization, provided σ(U) is independent of the sigma-algebra generated by the entire table; a deterministic learner uses a constant U.

A non-anticipating policy chooses a measurable arm At∈[k] at each round t∈[n] using only U and the previously observed history (A1,Y1,…,At−1,Yt−1). Write Ht−1=σ(U,A1,Y1,…,At−1,Yt−1) for that history sigma-algebra. Define the pull count Ti(0)=0 and

Ti(t)=∑r=1t1{Ar=i},Yt=XTAt(t),At.

Thus each time arm i is selected the learner receives the next unused entry in arm i's reward stack. Set

μ∗=max⁡i∈[k]μi,Δi=μ∗−μi≥0,

define the pseudo-regret Rˉn=∑t=1n(μ∗−μAt), and define the realized reward regret Rnrew=nμ∗−∑t=1nYt and expected reward regret Rn=E[Rnrew].

Each Yt is integrable because it selects one entry of the finite table, so ∣Yt∣≤∑s=1n∑i=1k∣Xs,i∣ and the right-hand side is integrable. Hence Rnrew is integrable as well.

Definition references

Online decision protocol: the learner chooses before the current round's feedback and uses only earlier revealed history.

Adversary and feedback models: a stochastic finite-arm environment has a fixed probability law for each arm, finite first moments, and the stated conditional reward-law convention.

Static, dynamic, interval, and strongly adaptive regret: pseudo-regret is the sum of mean gaps along the action sequence; realized reward regret subtracts the observed rewards; expected regret integrates realized regret.

Random elements and real random variables: table entries and learner randomization are measurable random elements, with the table entries real-valued.

Law or distribution of a random element: the law of a random element is the pushforward probability measure on its measurable target space.

Change of variables for expectation: expectation of an integrable measurable function of a random element equals its integral against the law, in particular for the identity function on the real line.

Expectation of a nonnegative or integrable random variable: expectation of an integrable real random variable is its Lebesgue integral.

Linearity, monotonicity, and the modulus bound for expectation: finite linear combinations of integrable random variables are integrable and expectation is linear.

Independent random elements: the table entries are mutually independent as random elements, and learner randomization is independent of the table.

Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: §4.1, PDF p. 65 / printed p. 56; §§4.4–4.6, PDF pp. 69–74 / printed pp. 60–65.

Sébastien Bubeck and Nicolò Cesa-Bianchi, Regret Analysis of Stochastic and Nonstochastic Multi-armed Bandit Problems: Chapter 2, PDF pp. 11–12 / printed pp. 8–9.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Explore-then-commit for a finite stochastic bandit

Definition

Input integers k,n,m≥1 with mk≤n, and access to an n-round k-armed stochastic bandit. The output is the sequence of selected arms A1,…,An and the committed arm J.

  1. For rounds t=1,…,mk, choose arm At=1+((t−1) mod k) and observe its reward Yt. Thus each arm is explored exactly m times.
  2. For each i∈[k], form its exploration mean μ^i=1m∑r=1mY(r−1)k+i.
  3. Let J be the least index attaining max⁡i∈[k]μ^i.
  4. For every remaining round t=mk+1,…,n, choose At=J and observe its reward.

Definition references

Finite stochastic bandit model, gaps, and regret: the horizon, finite arm set, reward observations, and non-anticipating round order used by the procedure.

Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: Chapter 6 §6.1, Algorithm 1, PDF p. 101 / printed p. 92.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

Finite-horizon upper-confidence-bound bandit algorithm

Definition

Input integers k,n with 1≤k≤n, a confidence parameter δ∈(0,1), and access to an n-round k-armed stochastic bandit. Output the selected arms A1,…,An.

  1. Initialize by choosing each arm once: set At=t for t=1,…,k, and observe each reward.
  2. For each round t=k+1,…,n, compute Ti(t−1)=∑s=1t−11{As=i} for every arm i. If Ti(t−1)>0, first set μ^i(t−1)=(∑s=1t−11{As=i}Ys)/Ti(t−1) and then set Ui(t−1)=μ^i(t−1)+2log⁡(1/δ)/Ti(t−1). If Ti(t−1)=0, set Ui(t−1)=+∞.
  3. Choose the least index i attaining max⁡j∈[k]Uj(t−1) as At, then observe Yt.

Definition references

Finite stochastic bandit model, gaps, and regret: the finite arm set, horizon, pull counts, observed rewards, and round order.

The natural logarithm as the inverse of the exponential function: log⁡ is the inverse of the real exponential on positive reals.

Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: the natural logarithm is increasing and satisfies the product and quotient laws.

Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: Chapter 7 §7.1, Algorithm 3, PDF p. 112 / printed p. 103.

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

The independent reward-stack model has the prescribed conditional arm laws

Statement

In the finite reward-stack model, fix a round t∈[n], an arm i∈[k], an event B∈Ht−1 with B⊆{At=i}, and a Borel set C⊆R. Then

P(B∩{Yt∈C})=P(B)Pi(C),E[Yt1B]=μiP(B).

In particular, the reward stack satisfies the fixed conditional reward-law and conditional-mean interface for finite-arm stochastic environments.

Statement references

Finite stochastic bandit model, gaps, and regret: the table entries are mutually independent, a policy uses only the revealed history and independent learner randomness, and each pull reveals the next unused entry of the chosen arm's stack.

Adversary and feedback models: the fixed conditional arm-law and conditional-mean identities required by the sequential stochastic reward model.

Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: §4.6, PDF p. 74 / printed p. 65; Exercise 4.4.

Facts & Assumptions

Given: A finite reward-stack model, a non-anticipating policy, a round t∈[n], an arm i∈[k], and an event B∈Ht−1 contained in {At=i}.

[F1]

The policy uses only U and the previously revealed actions and rewards; on a fixed action history, the observed rewards are exactly the corresponding initial entries of the arm stacks (Finite stochastic bandit model, gaps, and regret).

[F2]

The learner randomization and all table entries form a finite independent family (Independent random elements), whose joint law is the finite product of its marginal laws (Independent random elements have product joint law).

[F3]

For each arm i, every table entry has law Pi and finite first absolute moment, with mean μi (Finite stochastic bandit model, gaps, and regret).

[F4]

Measurable functions of independent random elements remain independent (Measurable coordinatewise functions preserve independence).

[F5]

Expectations of finite products of mutually independent integrable real random variables factor (Expectation factors over a finite product of mutually independent random variables), and E[1E]=P(E) (The expectation of an indicator is the probability of the event).

[F6]

Expectation is the Lebesgue integral and is linear on integrable real random variables (Expectation of a nonnegative or integrable random variable, Linearity, monotonicity, and the modulus bound for expectation).

Proof

1.1givenF1construct

Partition B by the finitely many past action strings α=(a1,…,at−1)∈[k]t−1. Let cj(α) be the number of times arm j occurs in α, and write Bα=B∩{(A1,…,At−1)=α}. By the recursive non-anticipating policy rule, each Bα is measurable with respect to U and the table entries Xs,j with s≤cj(α): along that fixed action string, those and only those stack entries have been revealed.

2.1givenF1F2step 1.1

If Bα is nonempty then At=i on it, and the next reward is Yt=Xci(α)+1,i. This table entry is distinct from every coordinate determining Bα. By [F2] it is independent of the vector of those coordinates, so the event Bα is independent of {Xci(α)+1,i∈C} for every Borel C. Its law is Pi, hence P(Bα∩{Yt∈C})=P(Bα)Pi(C).

3.1givenstep 2.1algebra

The events Bα partition B. Summing the identity in step 2.1 over the finite set [k]t−1 gives P(B∩{Yt∈C})=P(B)Pi(C) for every Borel C.

4.1givenF1F2F3F4F5F6step 1.1step 2.1algebra∎

For each α, the indicator 1Bα is a measurable function of the exposed-coordinate vector. By [F2] and [F4], it is independent of Xci(α)+1,i. Both are integrable by [F3], so [F5] and [F6] give E[Yt1Bα]=μiP(Bα). Summing over the finite action strings yields E[Yt1B]=μiP(B).

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Expected pull count for a suboptimal UCB arm

Statement

Let n,k be integers with n≥max⁡{k,2}. In an n-round k-armed stochastic bandit, suppose every reward-stack entry is 1-sub-Gaussian. Run the upper-confidence-bound algorithm with δ=n−2. For every arm i with gap Δi>0, its number of pulls satisfies

E[Ti(n)]≤3+16log⁡nΔi2,

where log⁡ is the natural logarithm and the expectation is over the reward table and learner randomization.

Statement references

Centered 1-sub-Gaussian reward: each reward is mean-centred and satisfies the exact MGF bound for every real parameter.

Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: Theorem 7.1 proof, §7.1, PDF pp. 114–117 / printed pp. 105–108; fixed-prefix warning, PDF p. 112 / printed p. 103.

Sébastien Bubeck and Nicolò Cesa-Bianchi, Regret Analysis of Stochastic and Nonstochastic Multi-armed Bandit Problems: Theorem 2.1 proof, Chapter 2 §2.2, PDF pp. 14–15 / printed pp. 11–12.

Facts & Assumptions

Given: An n-round reward-stack model with n≥max⁡{k,2}, all reward entries 1-sub-Gaussian, a suboptimal arm i with Δi>0, and the UCB algorithm run with δ=n−2.

[F1]

Each arm has finite mean μi, gap Δi=μ∗−μi, and stack entries Xs,i are independent with law Pi (Finite stochastic bandit model, gaps, and regret).

[A1]

Every table entry is centered 1-sub-Gaussian in the exact MGF sense (Centered 1-sub-Gaussian reward).

[F2]

For every deterministic s∈[n], the prefix mean μ^i,s=s−1∑r=1sXr,i satisfies P(μ^i,s−μi≥x),P(μ^i,s−μi≤−x)≤e−sx2/2 for x≥0 (Tail bounds for deterministic prefixes of independent sub-Gaussian rewards).

[F3]

After initialization, the UCB index of arm i with s>0 observations is its observed-prefix mean plus 2log⁡(1/δ)/s; the least-index maximizer is selected (Finite-horizon upper-confidence-bound bandit algorithm).

Proof

1.1givenF1F3F4algebra

Fix a suboptimal arm i, let i∗ be the least index with μi∗=μ∗, write L=log⁡n>0, and put ui=⌈16L/Δi2⌉. For each deterministic prefix length s∈[n], set rs=4L/s; by [F4] this is the UCB bonus when δ=n−2. If ui≥n, then Ti(n)≤n≤ui≤16L/Δi2+1, which is stronger than the claim. Hence assume ui<n, so rui≤Δi/2.

2.1givenF1F3step 1.1

Define the good event Gi=(⋂s=1n{μ^i∗,s+rs≥μ∗})∩{μ^i,ui+rui<μ∗}. On Gi, arm i cannot be selected at any round when it already has ui pulls: its index is then below μ∗, whereas the good event makes the index of arm i∗ at least μ∗ for every possible deterministic prefix length s∈[n]. Since each pull increases Ti by one, Ti(n)≤ui on Gi.

3.1givenA1F2step 2.1algebra

The complement of the first event in Gi is contained in the union of the n deterministic-prefix events {μ^i∗,s−μ∗<−rs}. By [F2] under [A1] and the union bound, its probability is at most ∑s=1ne−srs2/2=ne−2L=1/n. This union is over fixed s, not the random pull count Ti∗(t).

3.2givenA1F2step 1.1step 2.1algebra

Since rui≤Δi/2, the other failure event in Gi is contained in {μ^i,ui−μi≥Δi/2}. By [F2] under [A1] its probability is at most e−uiΔi2/8≤e−2L=n−2. Therefore P(Gic)≤1/n+1/n2.

4.1givenstep 1.1step 2.1step 3.2algebra∎

Always Ti(n)≤n, while step 2.1 gives Ti(n)≤ui on Gi. Thus E[Ti(n)]≤ui+nP(Gic)≤16L/Δi2+1+1+1/n≤16log⁡n/Δi2+3, where n≥2 was used in the last inequality. This proves the claim.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Expected regret of explore-then-commit

Statement

Let k,n,m be positive integers with mk≤n. In an n-round k-armed stochastic bandit, suppose all reward-stack entries are 1-sub-Gaussian. Run explore-then-commit with exploration count m. Its expected reward regret satisfies

Rn≤m∑i=1kΔi+(n−mk)∑i=1kΔiexp⁡ ⁣(−mΔi24).

This is an expected-regret bound, not a high-probability guarantee.

Statement references

Finite stochastic bandit model, gaps, and regret: finite arm means, gaps, reward-stack model, and expected reward regret.

Centered 1-sub-Gaussian reward: each reward entry is centered at its finite mean and has MGF bounded by eλ2/2 for every real λ.

Explore-then-commit for a finite stochastic bandit: deterministic round-robin exploration followed by commitment to an empirical-mean maximizer.

Tail bounds for deterministic prefixes of independent sub-Gaussian rewards: two-sided tails for deterministic prefixes of independent sub-Gaussian rewards.

Finite-arm regret decomposes into expected action counts: expected reward regret equals the sum of arm gaps times expected pull counts under the conditional-mean hypothesis.

Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: Theorem 6.1 and proof, Chapter 6 §6.1, PDF pp. 101–102 / printed pp. 92–93.

Facts & Assumptions

Given: Integers k,n,m≥1 with mk≤n, the stochastic reward-stack model, 1-sub-Gaussian reward entries, and explore-then-commit with least-index tie-breaking.

[F1]

For each arm, μi is finite, Δi=μ∗−μi≥0, and expected reward regret is Rn=E[nμ∗−∑t=1nYt] (Finite stochastic bandit model, gaps, and regret).

[A1]

Every table entry satisfies the exact centered 1-sub-Gaussian MGF bound (Centered 1-sub-Gaussian reward).

[F2]

The observed reward at each pull has the arm's fixed conditional law and conditional mean, even under adaptive choices on the independent reward stacks (The independent reward-stack model has the prescribed conditional arm laws; Adversary and feedback models).

[F3]

Under the eventwise conditional-mean identity, expected regret decomposes as Rn=∑i=1kΔi E[Ti(n)] (Finite-arm regret decomposes into expected action counts).

[F4]

During exploration, the algorithm pulls each arm exactly m times and then commits to a least-index empirical-mean maximizer (Explore-then-commit for a finite stochastic bandit).

[F5]

For any fixed arm pair and deterministic prefix length, the centered sum of independent reward-table entries has the two-sided sub-Gaussian tail bound (Tail bounds for deterministic prefixes of independent sub-Gaussian rewards).

[F6]

Measurable functions applied coordinatewise to independent random elements remain independent (Measurable coordinatewise functions preserve independence).

Proof

1.1givenF1F2F3F4algebra

By [F2], the conditional-mean hypothesis of [F3] holds, so Rn=∑i=1kΔiE[Ti(n)]. Let J be the committed arm. The first mk rounds pull each arm exactly m times, and every later round pulls J; hence Ti(n)=m+(n−mk)1{J=i}. Taking expectations gives Rn=m∑i=1kΔi+(n−mk)∑i=1kΔiP(J=i).

2.1givenA1F1F4F5F6step 1.1algebra

Fix an optimal arm i∗ with μi∗=μ∗. If a suboptimal arm i is committed, its exploration mean is at least that of i∗, so {J=i}⊆{m−1∑s=1m(Xs,i−μi)−m−1∑s=1m(Xs,i∗−μ∗)≥Δi}. The displayed sum has 2m mutually independent terms: these are measurable transforms of distinct independent table entries by [F6]. The positive centered terms are 1-sub-Gaussian by [A1], and the negated centered terms satisfy the same MGF bound by applying [A1] at −λ. Apply [F5] to these deterministic reward-stack prefixes with threshold mΔi to obtain P(J=i)≤exp⁡(−mΔi2/4). For an optimal arm the theorem's summand has Δi=0, so no event bound is needed.

3.1givenstep 1.1step 2.1algebra∎

Substituting these bounds on P(J=i) for each suboptimal arm into step 1.1, and using Δi≥0 for every arm, gives Rn≤m∑i=1kΔi+(n−mk)∑i=1kΔiexp⁡(−mΔi2/4). The term with n−mk=0 is zero when exploration uses the whole horizon.

LemmaStatement: AI-adaptedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

A sharper expected suboptimal-arm pull count for the unchanged UCB rule

Statement

Let n≥max⁡{k,2} be integers. In the finite reward-stack bandit model, assume all entries are centered 1-sub-Gaussian and run the stated UCB algorithm with δ=n−2. Every arm i with gap Δi>0 satisfies E[Ti(n)]≤3+8log⁡nΔi2. This is a local sharpening of the coefficient-16 expected-pull bound; the algorithm and confidence radius are unchanged.

Statement references

Lattimore and Szepesvári, Bandit Algorithms, Theorem 7.1: proves the coefficient-16 count estimate; the smaller coefficient is proved here.

Facts & Assumptions

Given: The finite independent reward table, UCB rule, horizon and suboptimal arm in the Statement.

[F1]

An arm has fixed mean μi, gap Δi=μ∗−μi, and its s observations are the first s entries of its independent stack. Finite stochastic bandit model, gaps, and regret

[F2]

All reward entries satisfy the centered 1-sub-Gaussian MGF condition. Centered 1-sub-Gaussian reward

[F3]

UCB first plays every arm once, then selects an index maximizer with index μ^i,s+2log⁡(1/δ)/s at count s≥1. Finite-horizon upper-confidence-bound bandit algorithm

[F4]

For each fixed prefix of length s, both centered mean tails at threshold x≥0 are at most e−sx2/2. Tail bounds for deterministic prefixes of independent sub-Gaussian rewards

[F5]

Finite unions have probability at most the sum of their probabilities, and event probabilities are at most one. Basic identities for a probability measure

[F6]

Expectation is linear and monotone on integrable finite sums, and the expectation of an indicator is its probability. Linearity, monotonicity, and the modulus bound for expectation The expectation of an indicator is the probability of the event

[F7]

If n≥5, L=log⁡n and a>0, the sum of exp⁡(−((as−2L)+)2/2) for 1≤s<n is at most 1+8L/a2. A deterministic-prefix envelope sum for the sharper UCB count bound

Proof

1.1givenF1F2F3F4F5F8constructalgebra

Put L=log⁡n>0 and let i∗ be the least-index optimal arm. For a fixed prefix s∈[n], put rs=4L/s. By [F8], this is the index bonus at δ=n−2. Let G=⋂s=1n{μ^i∗,s+rs≥μ∗}. Every event in its complement is a fixed-prefix lower-tail event of probability at most e−srs2/2=n−2 by [F2] and [F4]. Hence P(Gc)≤1/n by [F5].

2.1F1F3step 1.1given

Fix the suboptimal arm i. It is played once during initialization. On G, any later play when its current count is s requires μ^i,s+rs≥μ∗: its selected index is at least the current index of i∗, which is at least μ∗. Each such count s∈{1,…,n−1} can be charged at most once, since a play increases the count by one. Always Ti(n)≤n. Thus pointwise Ti(n)≤1+∑s=1n−11{μ^i,s+rs≥μ∗}+n1Gc.

3.1givenF1F2F4F5step 1.1algebra

For a fixed s, the event inside the sum in step 2.1 is μ^i,s−μi≥Δi−rs. If this threshold is positive, [F4] bounds its probability by exp⁡(−s(Δi−rs)2/2). If it is nonpositive, use the bound 1 in [F5]. Consequently, in both cases its probability is at most exp⁡(−(Δis−2L)+22). These are tails at deterministic prefix counts, never a tail theorem evaluated at a random count.

4.1F6F7step 1.1step 2.1step 3.1algebra

Take expectations in step 2.1, using [F6]. The count and indicators are bounded and therefore integrable. Step 1.1 makes the last term at most 1, while step 3.1 bounds the finite sum. If n≥5, [F7] with a=Δi>0 therefore gives E[Ti(n)]≤2+∑s=1n−1exp⁡(−(Δis−2L)+22)≤3+8LΔi2.

5.1F1F3F6step 4.1givencasesalgebra∎

If 2≤n≤4, the existence of a suboptimal arm implies k≥2. Initialization plays every other arm at least once, so Ti(n)≤n−k+1≤3 pointwise. This proves the desired bound in the remaining horizons. If k=1 there is no suboptimal arm, so the assertion is vacuous. Together with step 4.1 this proves the Statement.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Gap-dependent expected regret of UCB

Statement

Let n,k be integers with n≥max⁡{k,2}. In an n-round k-armed stochastic bandit, suppose all reward-stack entries are 1-sub-Gaussian. Run the upper-confidence-bound algorithm with δ=n−2. Its expected reward regret satisfies

Rn≤3∑i=1kΔi+∑i:Δi>016log⁡nΔi,

where log⁡ is the natural logarithm. This is an expected-regret bound, not a high-probability guarantee.

Statement references

Finite stochastic bandit model, gaps, and regret: the finite reward-stack model, gaps, and expected reward regret.

Centered 1-sub-Gaussian reward: the exact mean-centred MGF condition for each reward entry.

Finite-horizon upper-confidence-bound bandit algorithm: the UCB index and the finite-horizon schedule used by the theorem.

Expected pull count for a suboptimal UCB arm: the deterministic-prefix expected-pull bound for each suboptimal arm.

Finite-arm regret decomposes into expected action counts: expected regret is the gap-weighted sum of expected pull counts under the fixed conditional-mean law.

Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: Theorem 7.1 and proof, Chapter 7 §7.1, PDF pp. 114–117 / printed pp. 105–108.

Sébastien Bubeck and Nicolò Cesa-Bianchi, Regret Analysis of Stochastic and Nonstochastic Multi-armed Bandit Problems: Theorem 2.1 and proof, Chapter 2 §2.2, PDF pp. 14–15 / printed pp. 11–12; its confidence schedule and constants differ.

Facts & Assumptions

Given: Integers n,k with n≥max⁡{k,2}, the finite reward-stack model with all entries 1-sub-Gaussian, and UCB run with δ=n−2.

[F1]

The gaps are Δi=μ∗−μi≥0 and expected reward regret is Rn=E[nμ∗−∑t=1nYt] (Finite stochastic bandit model, gaps, and regret).

[A1]

Each reward stack entry satisfies E[exp⁡(λ(Xs,i−μi))]≤exp⁡(λ2/2) for every real λ (Centered 1-sub-Gaussian reward).

[F2]

The reward-stack model satisfies the fixed conditional-mean identity required by the regret-decomposition result (The independent reward-stack model has the prescribed conditional arm laws).

[F3]

Under that identity, Rn=∑i=1kΔiE[Ti(n)] (Finite-arm regret decomposes into expected action counts).

[F4]

For every i with Δi>0, E[Ti(n)]≤3+16log⁡(n)/Δi2 (Expected pull count for a suboptimal UCB arm).

Proof

1.1givenF1F2F3

By [F2], the conditional-mean hypothesis of [F3] holds for the observed rewards of the UCB policy. Therefore Rn=∑i=1kΔiE[Ti(n)].

2.1givenA1F1F4F5step 1.1algebra∎

If Δi=0, its summand is zero. For every remaining arm, substitute [F4] into step 1.1 and distribute the nonnegative coefficient Δi to obtain Rn≤∑i:Δi>0(3Δi+16log⁡n/Δi)=3∑i=1kΔi+∑i:Δi>016log⁡n/Δi. This is the asserted expected-regret bound.

TheoremStatement: AI-adaptedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Gap-free expected regret of UCB

Statement

Let n,k be integers with n≥max⁡{k,2}. In an n-round k-armed stochastic bandit, suppose all reward-stack entries are 1-sub-Gaussian. Run the upper-confidence-bound algorithm with δ=n−2. Its expected reward regret satisfies

Rn≤8nklog⁡n+3∑i=1kΔi,

where log⁡ is the natural logarithm. This is an expected-regret bound, not a high-probability guarantee.

Statement references

Finite stochastic bandit model, gaps, and regret: the finite reward-stack model, gaps, and expected reward regret.

Centered 1-sub-Gaussian reward: the exact mean-centred MGF condition for each reward entry.

Finite-horizon upper-confidence-bound bandit algorithm: the UCB index and finite-horizon schedule.

A sharper expected suboptimal-arm pull count for the unchanged UCB rule: the local once-per-prefix argument gives the sharper expected-pull estimate used in the finite Cauchy–Schwarz proof.

Finite-arm regret decomposes into expected action counts: expected regret is the gap-weighted sum of expected pull counts under the fixed conditional-mean law.

Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: Theorem 7.2 and proof, Chapter 7 §7.1, PDF p. 117 / printed p. 108.

Facts & Assumptions

Given: The unchanged finite reward-stack bandit, horizon n≥max⁡{k,2}, centered 1-sub-Gaussian entries, and UCB with δ=n−2 in the Statement.

[F1]

The gaps are nonnegative and exactly one arm is pulled each round, so ∑iTi(n)=n. Finite stochastic bandit model, gaps, and regret

[F2]

Reward entries satisfy the exact centered MGF condition, and the algorithm uses the stated confidence schedule. Centered 1-sub-Gaussian reward Finite-horizon upper-confidence-bound bandit algorithm

[F3]

The reward-stack model supplies the eventwise conditional-mean hypothesis of the finite-arm regret decomposition. The independent reward-stack model has the prescribed conditional arm laws

[F4]

Under that hypothesis, expected reward regret equals ∑iΔiE[Ti(n)]. Finite-arm regret decomposes into expected action counts

[F5]

For every suboptimal arm, the unchanged UCB rule satisfies E[Ti(n)]≤3+8log⁡(n)/Δi2. A sharper expected suboptimal-arm pull count for the unchanged UCB rule

[F6]

For finite real lists, (∑iaibi)2≤(∑iai2)(∑ibi2), with the corresponding nonnegative square-root inequality. The Cauchy-Schwarz inequality for finite sums

[F8]

Expectation is linear for finite sums of integrable random variables. Linearity, monotonicity, and the modulus bound for expectation

Proof

1.1givenF1F3F4F8

By [F3], the actual reward table meets the conditional-mean premise of [F4], hence Rn=∑iΔiE[Ti(n)]. All counts are bounded, and [F1] gives ∑iE[Ti(n)]=n.

2.1F1F2F5F7step 1.1constructalgebra

Let I={i:Δi>0} and, for i∈I, put qi=(E[Ti(n)]−3)+. By [F5], Δi2qi≤8L. Also qi≤E[Ti(n)], so ∑i∈Iqi≤n by step 1.1. Therefore Rn≤3∑iΔi+∑i∈IΔiqi. Zero-gap arms contribute zero, and no reciprocal of a zero gap occurs.

3.1F6F7step 2.1casesalgebra∎

Apply [F6] to the finite nonnegative lists ai=Δiqi and bi=qi for i∈I. Step 2.1 yields ∑i∈IΔiqi≤(∑i∈IΔi2qi)(∑i∈Iqi)≤8∣I∣Ln≤8nklog⁡n. If I is empty both sums and the regret are zero; otherwise the same finite inequality applies. Substitution in step 2.1 proves the unchanged Statement.

4 · Examples, counterexamples and false statements

None yet.

Sources