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

✓ 8 results · all verified · 0 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 8 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Optimistic exploration and PAC-MDP sample complexity

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

Finite discounted MDP with bounded real rewards

Definition

Let S be a nonempty finite set, let A(s) be a nonempty finite set for each s∈S, and let D={(s,a):s∈S, a∈A(s)}. Here finite means bijective with a natural number. Put S0=∣S∣ and A0=max⁡s∈S∣A(s)∣. Fix a discount 0≤γ<1. Give S and D their discrete sigma-algebras and give [0,1] its Borel sigma-algebra. A bounded-reward finite discounted Markov decision process is a probability kernel K from D to S×[0,1]. At pair (s,a), K(⋅∣s,a) is the joint law of the next state and the reward; these two coordinates need not be independent. Define the state-transition probabilities and expected rewards by

P(s′∣s,a)=K({s′}×[0,1]∣s,a),r(s,a)=∫S×[0,1]ρ K(ds′,dρ∣s,a).

A history-dependent behavior is a sequence of probability kernels from observed-history spaces Ht to the finite action alphabet A=⋃s∈SA(s), assigning probability zero to actions outside A(st) at every history ending in state st. Here Ht consists of histories (s0,a0,R1,s1,…,at−1,Rt,st), with discrete sigma-algebras on finite state/action coordinates and the Borel sigma-algebra on each reward coordinate; it has the resulting finite-product sigma-algebra. A stationary Markov policy assigns one distribution on A(s) to each state, independently of earlier history. During interaction, after choosing at in state st, the next pair (st+1,Rt+1) is drawn from K(⋅∣st,at).

Definition references

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Well-defined discounted values and optimal Bellman fixed points

Statement

Assume the Axiom of Choice. In every bounded-reward finite discounted Markov decision process with nonempty finite state set S, nonempty finite action sets A(s), and 0≤γ<1, the trajectory law of every history-dependent behavior from every starting state exists. Its discounted return is measurable, integrable, and between 0 and 1/(1−γ). For each stationary policy π, its value Vπ satisfies its Bellman equation. The optimality operator

T∗V(s)=max⁡a∈A(s)[r(s,a)+γ∑s′∈SP(s′∣s,a)V(s′)]

is a γ contraction in the supremum norm, meaning ∥T∗V−T∗W∥∞≤γ∥V−W∥∞ for all V,W:S→R, where ∥V∥∞=max⁡s∈S∣V(s)∣, and has a unique fixed point V∗. This fixed point is the supremum of the values of all history-dependent behaviors and is attained by a deterministic stationary greedy policy. The optimal action value is

Q∗(s,a)=r(s,a)+γ∑s′∈SP(s′∣s,a)V∗(s′),

and V∗(s)=max⁡a∈A(s)Q∗(s,a) with Q∗(s,a)≥0.

Facts & Assumptions

Given: A nonempty finite state set S, nonempty finite action sets A(s), a probability kernel K on S×[0,1] for each admissible pair, and a discount 0≤γ<1.

[F1]

Finite discounted MDP with bounded real rewards supplies 0≤Rt+1≤1, state-transition probabilities P(⋅∣s,a) summing to one, expected rewards r(s,a)∈[0,1], and measurable history-dependent behavior kernels.

[A1]

The Axiom of Choice is assumed for the infinite path-law existence theorem; the Bellman fixed-point and finite maximization arguments below use no arbitrary-index choice.

[F2]

Ionescu-Tulcea construction of a Markov chain: under AC, a starting law and a sequence of history-dependent probability kernels determine a probability law with the specified finite-prefix laws.

[F3]

Sequential suprema, infima, limsup, liminf, and pointwise limits of measurable functions are measurable: a pointwise limit of measurable real functions is measurable. Expectation of a nonnegative or integrable random variable defines expectation as the corresponding Lebesgue integral.

[F4]

For ∣r∣<1, ∑k≥0rk=1/(1−r), and for ∣r∣≥1 the series diverges: for 0≤γ<1, ∑j=0n−1γj≤1/(1−γ) and ∑j=n∞γj=γn/(1−γ).

[F5]

Monotone convergence for the integral: an increasing sequence of nonnegative measurable functions has integrals increasing to the integral of its pointwise limit.

[F6]

Every nonempty finite set of reals has a maximum and a minimum: every nonempty finite set of real action values has an attained maximum.

[F7]

Laws of finite sums and finite products and Triangle inequality for finite sums: finite sums preserve termwise inequalities and scaling and satisfy the triangle inequality.

[F8]

The reals are complete: every Cauchy sequence of real numbers has a real limit.

[F9]

Finite, countably infinite, countable, uncountable defines a finite set as one bijective with a natural number, and Every natural-number-indexed list of nonempty sets has a choice function on its family of values constructs a choice function for any natural-number-indexed finite family of nonempty sets without AC.

[F10]

The Lebesgue integral is linear on L1(μ), Change of variables for expectation, Expectation agrees with the published finite weighted sum, and Monotonicity and nonnegative homogeneity of the nonnegative integral: for every admissible pair and every real vector v:S→R, the bounded terms are integrable, inequalities between nonnegative integrands pass through the integral, and ∫S×[0,1](ρ+γv(s′)) K(ds′,dρ∣s,a)=r(s,a)+γ∑s′∈SP(s′∣s,a)v(s′). The integral splits by linearity; the second term is the expectation of the finite-valued next-state function, evaluated using its marginal law P(⋅∣s,a) and the finite weighted-sum formula. The same formula evaluates a probability distribution on any finite action set.

Proof

1.1givenF1F2A1construct

Fix a starting state and a history-dependent behavior, and write D={(s,a):a∈A(s)} as in [F1]. For a history ht ending at state s and a measurable set E⊆D×S×[0,1], define Λt(ht,E)=∑a∈A(s)πt(a∣ht)∫1E((s,a),s′,ρ)K(ds′,dρ∣s,a). For each fixed a, the integrand section is measurable by the product sigma-algebra, and the finite weighted sum is measurable in ht because πt is a probability kernel; its total mass is ∑aπt(a∣ht)=1. Thus Λt is a probability kernel from histories to the fixed space D×S×[0,1]. Applying [F2] to this sequence of history kernels and the initial point mass gives the full interaction path law.

1.2givenF1F7algebra

For a stationary policy π, define Tπv(s)=∑a∈A(s)π(a∣s)[r(s,a)+γ∑s′P(s′∣s,a)v(s′)]. This is a real vector by the finite sums. For any v,w:S→R, the absolute difference of each bracketed backup is at most γ∑s′P(s′∣s,a)∣v(s′)−w(s′)∣≤γ∥v−w∥∞. Averaging over π(a∣s) preserves this bound, so ∥Tπv−Tπw∥∞≤γ∥v−w∥∞.

1.3F1F6F7algebra

For finite real lists (xa) and (ya), if m=max⁡a∣xa−ya∣, then xa≤ya+m and ya≤xa+m for every a, whence ∣max⁡axa−max⁡aya∣≤m. Applying this and [F7] to the definition of T∗ gives ∥T∗v−T∗w∥∞≤γ∥v−w∥∞. The operator maps [0,1/(1−γ)]S into itself because rewards are in [0,1] and transition probabilities sum to one.

2.1step 1.1F3F4F5

Each reward coordinate on the product path space is measurable and lies in [0,1]. The finite partial discounted sums are measurable, increase pointwise, and are bounded above by ∑j<nγj≤1/(1−γ) by [F4]. Their pointwise limit is measurable by [F3] and has the same bound. By [F5] its expectation is the limit of the finite partial expectations and is finite; thus every behavior value is well-defined and lies in the stated interval.

2.2givenF1F2step 1.1step 1.2F7F10

For a stationary policy π, let vnπ(s) be the expected sum of its first n discounted rewards from s, with v0π=0. The finite-prefix law from step 1.1 and conditioning on the first action and joint reward/next-state outcome give vn+1π(s)=∑aπ(a∣s)∫[ρ+γvnπ(s′)]K(ds′,dρ∣s,a). Apply [F10] to each integral to obtain vn+1π(s)=∑aπ(a∣s)[r(s,a)+γ∑s′P(s′∣s,a)vnπ(s′)]=Tπvnπ(s); the finite action distribution is evaluated by the same finite weighted-sum formula in [F10]. The joint law allows dependence between reward and next state; the integral identity does not assume independence.

2.3step 1.3F4F8inductionalgebra

Start with v0=0 and set vn+1=T∗vn. Since 0≤v1≤1 and T∗ is a γ contraction, induction gives ∥vn+1−vn∥∞≤γn. Thus for m>n, ∥vm−vn∥∞≤∑j=nm−1γj≤γn/(1−γ); every coordinate is Cauchy and converges by [F8], uniformly because S is finite. Its limit v∗ is a fixed point by the finite-sum/max formula and the contraction estimate. If w∗ were another fixed point, step 1.3 would give ∥v∗−w∗∥∞≤γ∥v∗−w∗∥∞, so v∗=w∗.

3.1step 2.1step 2.2step 1.2F4F7

The finite-horizon stationary-policy values converge to Vπ by step 2.1 and the geometric tail bound [F4]. Passing their finite recursions from step 2.2 to the limit is valid because each sum is finite and the maximum statewise error tends to zero; hence TπVπ=Vπ. If two fixed points existed, step 1.2 would give their distance at most γ times itself, forcing equality.

3.2givenF1F6F7F10step 2.3induction

We prove by induction on n that, from every starting history ending at state s, every history-dependent continuation has n-reward expected discounted return at most vn(s) from step 2.3. The base v0=0 is the empty-horizon return. For the successor step, condition on the first chosen action and the joint next-state/reward outcome (s′,ρ). The induction hypothesis applies to the extended history ending at s′, so its continuation return is pointwise at most vn(s′), even when its action rule used the observed reward ρ. For each first action, monotonicity of integration and [F10] bound the conditional expected total by r(s,a)+γ∑s′P(s′∣s,a)vn(s′). Averaging over the randomized first action by the finite weighted-sum formula in [F10] is at most its finite maximum, namely T∗vn(s)=vn+1(s). Thus the claimed upper bound holds uniformly over histories and behaviors.

3.3step 2.1step 2.3F4F5algebra

For any behavior, its omitted tail after n rewards is at most γn/(1−γ) by [F4]. Therefore its infinite-horizon value is at most vn(s)+γn/(1−γ). Letting n→∞ and using step 2.3 proves that every behavior value is at most v∗(s).

4.1step 1.1step 2.3step 3.1step 3.3F1F6F9algebra∎

For each s, let Bs be the nonempty finite set of actions attaining the maximum in T∗v∗(s). By [F9] and the finiteness of S, choose one member of each Bs without AC; these choices define a deterministic stationary policy π∗. It satisfies Tπ∗v∗=T∗v∗=v∗, so step 3.1 and uniqueness imply Vπ∗=v∗. Together with step 3.3 this proves v∗=V∗ and attainment. After forcing a first action a and then following π∗, the expected return is r(s,a)+γ∑s′P(s′∣s,a)V∗(s′). Any other continuation after that first action is bounded by V∗(s′) at each next state by step 3.3, so this is the maximal value with first action fixed to a, namely Q∗(s,a). Its maximum over a is V∗(s), and it is nonnegative by [F1]. AC is used only for the path law in step 1.1.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Concentration for adaptively sampled MDP observations

Statement

Assume AC and fix a bounded-reward finite discounted MDP with state set S. For each admissible pair (s,a), let (Si′,Ri)i≥1 be an independent potential stream with common joint law K(⋅∣s,a); an interaction reveals the next unused sample from that pair's stream only when the pair is visited. This construction has the same finite-trajectory law as interaction with the MDP under any history-dependent behavior. For a fixed pair and m≥1, its reward samples satisfy P ⁣(∣1m∑i=1mRi−r(s,a)∣>x)≤2e−2mx2(x>0). If P^m is the empirical distribution of S1′,…,Sm′ and P(⋅∣s,a) is the true next-state marginal, then E∥P^m−P(⋅∣s,a)∥1≤∣S∣m,P ⁣(∥P^m−P(⋅∣s,a)∥1>∣S∣m+2ln⁡(1/δ)m)≤δ(0<δ<1), where ∥q∥1=∑s′∈S∣q(s′)∣ and ln⁡ is the natural logarithm. More generally, for a filtration (Fi)i=0m, if Yi is Fi-measurable, 0≤Yi≤B, and μi=E[Yi∣Fi−1], then P ⁣(∣∑i=1m(Yi−μi)∣≥mx)≤2e−2mx2/B2(B>0, x>0). No independence between reward and next state within a single transition is assumed. The confidence bounds are for a fixed deterministic sample size or a fixed-size batch; this item makes no uniform confidence claim at a data-dependent sample count. At a finite history-dependent visit count, the next fixed number of unused potential outcomes still has its conditional iid law.

Facts & Assumptions

Given: AC; a bounded-reward finite discounted MDP; a fixed state-action pair for the empirical estimates; and, in the final clause, a filtration and predictable bounded target sequence.

[F1]

Finite discounted MDP with bounded real rewards: the pair's joint next-state/reward law is K(⋅∣s,a), rewards lie in [0,1], and the next-state marginal is a probability distribution on the finite set S.

[F2]

The Axiom of Choice: every family of nonempty sets has a choice function; AC is assumed here for the countable product law and the conditional-expectation classes.

[F3]

Finite, countably infinite, countable, uncountable and Ionescu-Tulcea construction of a Markov chain: the finite pair set can be enumerated, and a countable sequence of probability kernels admits the specified product law with the prescribed finite-prefix laws under AC.

[F4]

Basic algebra and order properties of conditional expectation: conditional expectation preserves order and constants, so 0≤E[Yi∣Fi−1]≤B for 0≤Yi≤B.

[F5]

Conditional Hoeffding bound for bounded martingale differences: if D∈L1, E[D∣G]=0, and finite G-measurable endpoints A≤D≤C have deterministic width at most b, then E[eλD∣G]≤eλ2b2/8.

[F6]

Tower property of conditional expectation and Taking out what is known: conditional expectations iterate through a filtration, and a finite measurable factor can be taken outside when the products are integrable.

[F7]

Markov's inequality for random variables: for nonnegative Z and c>0, P(Z≥c)≤E[Z]/c.

[F8]

Azuma-Hoeffding inequality: if a martingale has predictable increment endpoints of widths ci, each one-sided tail is bounded by exp⁡(−2t2/∑ici2).

[F10]

Filtration and filtered probability space and Martingale difference sequence: the visit/sample history is an increasing filtration, and a centered integrable adapted increment is a martingale difference relative to it.

[F11]

The finite union bound: the probability of a finite union of events is at most the sum of their probabilities.

Proof

1.1givenF1F2F3construct

Enumerate the finite pair set D. For each d∈D and i≥1, prescribe the same probability kernel K(⋅∣d) on S×[0,1]; applying [F3] to the resulting countable sequence gives an array of independent potential outcomes. Generate behavior actions by their history kernels and reveal outcome (d,i) on the ith visit to pair d. Conditional on the interaction history, the selected unused coordinate still has law K(⋅∣d), so each finite interaction prefix has the same iterated-kernel law as the MDP under the behavior. Equality of these prefixes proves the coupling claim.

1.2givenF4F5F10

For the predictable-target clause, put Di=Yi−μi and use Fi−1 as the conditioning sigma-algebra. By [F4], 0≤μi≤B, so the finite endpoints −μi and B−μi are Fi−1-measurable, contain Di, and have width B. Also E[Di∣Fi−1]=0. Thus [F5] gives E[eλDi∣Fi−1]≤eλ2B2/8 for every real λ.

1.3F1F3F9F10algebra

For each s′∈S, let Ii(s′) be one when Si′=s′ and zero otherwise, and put ps′=P(s′∣s,a). Independence across the potential stream gives E[(m−1∑iIi(s′)−ps′)2]=ps′(1−ps′)/m≤ps′/m. By [F9], E∣m−1∑iIi(s′)−ps′∣≤ps′/m. Summing over s′ and using ∑s′ps′=1 and [F9] gives E∥P^m−P∥1≤∣S∣/m.

1.4F3F6F8F10construct

Let f(Z1,…,Zm)=∥P^m−P∥1 and Mi=E[f∣Fi], where Fi=σ(Z1,…,Zi) for the state coordinates of the potential stream. Replacing one state coordinate changes P^m in L1 by at most 2/m, so, by independence of the remaining coordinates, the conditional range of Mi given Fi−1 has width at most 2/m. The finite state alphabet makes its conditional minimum and maximum measurable functions of the prefix, so (Mi) is a martingale with finite predictable increment endpoints of that width.

2.1givenF2F3step 1.1construct

Fix a pair and write its independent potential stream as (Zi)i≥1. Let N be a finite visit count determined by the observed interaction history before the next sample, and let A be an event observable at that history. For each integer n, the event A∩{N=n} depends only on the first n coordinates of this pair's stream and on other revealed or behavior randomness, all independent of Zn+1,…,Zn+m. The product finite-prefix laws from [F3] therefore give, for every measurable block event B, P(A,N=n,(Zn+1,…,Zn+m)∈B)=P(A,N=n)K⊗m(B). Summing over n proves that the next fixed-size block has conditionally the iid law at the history-dependent visit count.

2.2step 1.2F6F7algebra

For λ>0, set Sk=∑i=1kDi. The factor eλSk−1 is bounded and Fk−1-measurable; [F6] and step 1.2 give E[eλSk]≤eλ2B2/8E[eλSk−1]. Iterating from S0=0 yields E[eλSm]≤emλ2B2/8. Apply [F7] to eλSm and optimize −λmx+mλ2B2/8 at λ=4x/B2 to get P(Sm≥mx)≤e−2mx2/B2. Applying the same argument to −Di gives the lower tail, and addition gives the stated two-sided inequality.

2.3step 1.3step 1.4F8algebra

Apply the upper-tail half of [F8] with ci=2/m and t=2ln⁡(1/δ)/m; since ∑ici2=4/m, the probability that f−Ef>t is at most e−mt2/2=δ. Combining this with step 1.3 gives the stated empirical transition bound.

3.1F1F3step 2.2

For a fixed pair's potential stream, set Fi=σ((Sj′,Rj):j≤i). Independence of the stream makes Ri independent of Fi−1, so E[Ri∣Fi−1]=E[Ri]=∫ρ K(ds′,dρ∣s,a)=r(s,a) almost surely. Since 0≤Ri≤1, apply step 2.2 with B=1, Yi=Ri, and this conditional mean to obtain the displayed reward bound.

4.1step 2.1step 2.2step 3.1step 2.3F3F11∎

At any finite history-dependent batch start, step 2.1 gives the next fixed-size block its conditional iid law. Applying steps 2.2, 3.1, and 2.3 conditionally at that start therefore supplies their stated concentration bounds for that batch; [F11] combines a finite set of such events when failure probabilities are allocated. This does not assert a uniform bound for a sample size chosen after observing its own samples.

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

PAC-MDP sample complexity of exploration

Definition

Assume AC, fix a bounded-reward finite discounted MDP, an initial state, and a learning algorithm whose behavior is a history-dependent policy. At time t≥1, let ht be the observed history ending at state st. The continuation behavior At is the tail of the algorithm's action kernels after ht, and VAt(ht) is the expected discounted return of the continuation process generated from that fixed history by those tail kernels. Set S=∣S∣ and A=max⁡s∈S∣A(s)∣. For ϵ≥0, the ϵ-bad-step count is Nϵ=#{t≥1:VAt(ht)<V∗(st)−ϵ}, where the count may be infinite. For ϵ>0 and 0<δ<1, a PAC-MDP bound is a specified finite function B(S,A,ϵ,δ,γ) such that, for every MDP with these finite state/action sizes and every initial state, P(Nϵ≤B(S,A,ϵ,δ,γ))≥1−δ. This definition does not require the bad steps to precede a permanent stopping time.

For each fixed t, the finite-horizon continuation values are measurable functions of ht: recursively, they are finite sums and integrals of nonnegative product-measurable functions against the behavior and MDP kernels. The kernel-integration theorem applies at each recursion, and the infinite-horizon value is the increasing limit of these finite-horizon values. Hence the bad-time sets and the extended count Nϵ are measurable, so the displayed probability is defined.

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

Admissible upper heuristic for a discounted MDP

Definition

For a bounded-reward finite discounted MDP, an admissible upper heuristic is a function U:D→[0,V0] such that Q∗(s,a)≤U(s,a) for every admissible pair and a supplied scalar satisfies 0≤V0≤(1−γ)−1. Define the effective reward-scale cap Vmax⁡=max⁡{1,V0}. Then U(s,a)≤Vmax⁡≤(1−γ)−1. The floor at 1 is part of this convention because an observed reward can lie anywhere in [0,1], even when the heuristic values are all smaller than 1.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Value stability under empirical model error

Statement

Let M1 and M2 be bounded-reward finite discounted MDPs on the same finite state set S and the same admissible action sets, with common discount 0≤γ<1. Write ri,Pi,Viπ,Vi∗ for their mean rewards, transition laws, stationary-policy values, and optimal values. Suppose 0≤Viπ(s),Vi∗(s)≤V for every state, model index i, and stationary policy π, and that for every admissible pair ∣r1(s,a)−r2(s,a)∣≤α,∥P1(⋅∣s,a)−P2(⋅∣s,a)∥1≤β. For finite vectors, ∥v∥∞=max⁡s∈S∣v(s)∣ and ∥p∥1=∑s∈S∣p(s)∣. Then every common stationary policy and the optimal values satisfy ∥V1π−V2π∥∞≤α+γVβ1−γ,∥V1∗−V2∗∥∞≤α+γVβ1−γ. There is also a trap-model form that does not assume a tight cap for the second model: for W>0, suppose all stationary-policy and optimal values in M1 are at most 2W, all rewards in M2 lie in [0,1], and γβ≤(1−γ)/2. Then every common stationary policy and the optimal values satisfy ∥V1π−V2π∥∞≤2(α+2γWβ)1−γ,∥V1∗−V2∗∥∞≤2(α+2γWβ)1−γ.

Facts & Assumptions

Given: The two MDPs, common state/action/discount data, the uniform reward and transition error bounds, and the common value cap V in the Statement.

[F1]

Well-defined discounted values and optimal Bellman fixed points: each stationary value solves its policy Bellman equation, and each optimal value is the unique fixed point of its optimality Bellman operator.

[F2]

Every nonempty finite set of reals has a maximum and a minimum: a maximum over each nonempty finite action set is attained.

[F3]

Laws of finite sums and finite products: finite weighted sums preserve inequalities and satisfy the triangle inequality.

[A1]

Finite discounted MDP with bounded real rewards: rewards in M2 lie in [0,1], so its stationary and optimal discounted values are at most (1−γ)−1.

Proof

1.1givenF1F3algebra

Fix a stationary policy π and put d=∥V1π−V2π∥∞. Subtract its two Bellman equations. For each state, split the transition term as P1(V1π−V2π)+(P1−P2)V2π. The first part has absolute value at most d because P1 is a probability vector; the second is at most V∥P1−P2∥1≤Vβ because 0≤V2π≤V. Averaging over the common policy's action distribution and using the reward error gives ∣V1π(s)−V2π(s)∣≤α+γd+γVβ. Taking the maximum over states and rearranging yields the first bound.

1.2givenF1F2F3algebra

Put d=∥V1∗−V2∗∥∞. For any state and action, the two optimal Bellman backup entries differ by at most α+γd+γVβ, by the same transition splitting and the cap on V2∗. For finite lists (xa),(ya), ∣max⁡axa−max⁡aya∣≤max⁡a∣xa−ya∣: each xa≤ya+m and ya≤xa+m for m=max⁡a∣xa−ya∣. Thus the optimal Bellman equations in [F1] imply d≤α+γd+γVβ. Rearranging proves the second bound.

2.1givenF1F3A1step 1.1algebra

Under the additional trap-model hypotheses, fix π and put d=∥V1π−V2π∥∞. Bellman subtraction as in step 1.1 gives d≤α+γd+γβ∥V2π∥∞. By [A1] and the triangle inequality, ∥V2π∥∞≤∥V1π∥∞+d≤2W+d. Hence (1−γ−γβ)d≤α+2γWβ. Since γβ≤(1−γ)/2, the left coefficient is at least (1−γ)/2, yielding d≤2(α+2γWβ)/(1−γ).

3.1givenF1F2F3A1step 1.2step 2.1algebra∎

For optimal values, use the finite-maximum inequality from step 1.2 in the Bellman subtraction. It gives d=∥V1∗−V2∗∥∞≤α+γd+γβ∥V2∗∥∞. Again [A1] and the triangle inequality give ∥V2∗∥∞≤2W+d. The same rearrangement as step 2.1 proves the optimal-value bound.

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

Known-state/action MDP with prescribed absorbing values

Definition

Let M be a bounded-reward finite discounted MDP with discount γ, let K⊆D be a set of known state-action pairs, and let q:D→[0,Vmax⁡] with Vmax⁡≤(1−γ)−1. The known-state/action MDP MK(q) agrees with M on every pair in K. For each pair (s,a)∉K, add a distinct absorbing state ⊥s,a with one admissible action. The unknown pair transitions deterministically to ⊥s,a and gives deterministic reward (1−γ)q(s,a); the sink action self-loops with the same deterministic reward (1−γ)q(s,a). These rewards lie in [0,1]. The sink state's value is q(s,a), so the unknown pair's Bellman backup is exactly (1−γ)q(s,a)+γq(s,a)=q(s,a), independent of the value function on the original states.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

R-MAX with an admissible heuristic

Definition

Input: A bounded-reward finite discounted MDP interaction, its discount 0≤γ<1, an admissible upper heuristic U with cap Vmax⁡, an integer sample threshold m≥1, a value-iteration error tolerance 0<β<(1−γ)−1, and a fixed total order on each finite action set. Write ln⁡ for the natural logarithm.

Output: At each interaction time t, the selected action at. The action-value table Q, known set, sample lists, and empirical model are internal state; the procedure does not return Q as an output.

Initialize each pair as unknown, set Q(s,a)=U(s,a), and give each pair an empty list of observed rewards and next states. For interaction times t=1,2,…, in the current state choose a maximizing action using the fixed tie order, output and take that action at, and observe reward Rt+1 and next state St+1. If the pair is unknown, append this observation until its list has length m. When it reaches m, mark the pair known, set its empirical reward to the sample mean and its empirical transition law to the sample frequencies. Rebuild all action values by setting the working table Q(0)(s,a)=0, then for j=0,…,L−1 setting Q(j+1)=HKQ(j), and finally replacing Q by Q(L), for the operator HKQ(s,a)={r^(s,a)+γ∑s′P^(s′∣s,a)max⁡b∈A(s′)Q(s′,b),(s,a)∈K,U(s,a),(s,a)∉K, where K is the current known set and L=max⁡ ⁣{1,⌈ln⁡(1/[β(1−γ)])1−γ⌉}. Pairs and their samples are never removed from K or discarded. After processing the observation and any rebuild, use the observed St+1 as the current state in the next iteration. The algorithm specifies no computational-time bound.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

Delayed Q-learning with an admissible heuristic

Definition

Input: A bounded-reward finite discounted MDP interaction, its discount 0≤γ<1, an admissible upper heuristic U with cap Vmax⁡, an integer batch size m≥1, a bonus 0<ϵ1<1, and a fixed total order on each action set.

Output: At each interaction time t, the selected action at. The table Q, batch sums, sample counts, batch-start times, learning flags, and global last-update time are internal state; the procedure does not return them as outputs.

Initialize Q(s,a)=U(s,a), batch sum B(s,a)=0, sample count ℓ(s,a)=0, batch start b(s,a)=0, learning flag L(s,a)=true, and global last-update time t∗=0. For interaction times t=1,2,…, in current state s, choose an action maximizing Q(s,⋅) under the fixed tie order, output and take that action at, then observe reward r and next state s′. If b(s,a)≤t∗, set L(s,a)=true. If L(s,a) is true, set b(s,a)=t when ℓ(s,a)=0, increment ℓ(s,a) by one, and add r+γmax⁡c∈A(s′)Q(s′,c) to B(s,a). When ℓ(s,a)=m, set Bˉ=B(s,a)/m. If Q(s,a)−Bˉ≥2ϵ1, replace Q(s,a) by Bˉ+ϵ1 and set t∗=t. Otherwise set L(s,a)=false exactly when b(s,a)>t∗. In either outcome reset B(s,a)=0 and ℓ(s,a)=0 after a completed batch; if L(s,a) remains false, make no sample or Q update on this visit. Leave all other entries unchanged. Use s′ as the current state in the next iteration.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Escape-event reduction for optimistic greedy learning

Statement

Assume AC. Let a learning algorithm interact with a bounded-reward finite discounted MDP. Suppose constants B,W,Qc satisfy 0<B, 0<W≤(1−γ)−1, 0<Qc≤(1−γ)−1, and V∗(s)≤B. The learner maintains 0≤Qt(s,a)≤Qc and, whenever (s,a)∉Kt, Qt(s,a)≤W. Put Vt(s)=max⁡a∈A(s)Qt(s,a), and let πt be the deterministic greedy policy under a fixed tie order. Require the learner to select at=πt(st) at every time. Before acting at time t, let Kt be a history-measurable set of known pairs; assume it stays fixed until a Q-value update or a selection of a pair outside Kt. Write Mt=MKt(Qt) for the known-state/action MDP and C=B+W. For parameters 0<η≤C with η(1−γ)<1 and 0<ρ<1/2, suppose that with probability at least 1−ρ, simultaneously for every t,s, Vt(s)≥V∗(s)−η,Vt(s)−VMtπt(s)≤η, and the total number of Q-update times plus outside-Kt selection times is at most a finite real ζ≥0. Define q=η/(2C), set H={1,γ=0,max⁡{1,⌈ln⁡(1/[η(1−γ)])/(−ln⁡γ)⌉},0<γ<1,M=⌈2(ζ+1)+2ln⁡(1/ρ)q⌉. Then, with probability at least 1−2ρ, the PAC-MDP count satisfies N4η≤HM. Here ln⁡ is the natural logarithm.

Facts & Assumptions

Given: The MDP, AC, the algorithm acting greedily under the fixed tie order and predictable known sets, the value caps, and the simultaneous optimism, policy-accuracy, and complexity event in the Statement.

[F1]

Known-state/action MDP with prescribed absorbing values: on a known pair the trap model has the true transition/reward law; outside the known set it has a dedicated absorbing state whose value is Qt(s,a).

[F2]

Well-defined discounted values and optimal Bellman fixed points: under AC, every history-dependent continuation has a trajectory law; a history-conditioned continuation value in the true MDP is at most V∗(s)≤B, and truncating a nonnegative discounted return after H terms loses at most γH/(1−γ) in expectation.

[F3]

PAC-MDP sample complexity of exploration: a time t is counted in N4η exactly when the conditional continuation value is strictly less than V∗(st)−4η.

[A1]

The Axiom of Choice: every family of nonempty sets has a choice function. AC is assumed here to meet the hypotheses of the path-law result [F2] and the conditional-expectation suppliers [F5].

[F4]

Filtration and filtered probability space: the history through each successive trial is an increasing filtration.

[F5]

Basic algebra and order properties of conditional expectation, Tower property of conditional expectation, and Taking out what is known: conditional expectation is linear, iterates through nested histories, and allows bounded history-measurable factors to be removed from the conditional expectation.

[F6]

Markov's inequality for random variables: if Z≥0 and c>0, then P(Z≥c)≤E[Z]/c.

[F7]

Measurability of integration against a kernel: integration of a nonnegative product-measurable function against a probability kernel gives a measurable function of the history parameter.

Proof

1.1givenF1F2F3A1construct

Fix a history at time t at which the current optimism and policy-accuracy inequalities in the Statement hold, and let Wt be the event that before H transitions elapse the algorithm updates some Q-value or selects a pair outside Kt. If Wt does not occur, the greedy policy and known set remain fixed, every selected pair is in Kt, and the true interaction and Mt have the same transition/reward kernels along these H steps by [F1]. The expected truncated returns therefore agree on Wtc. On Wt, stop the coupling at the first update or outside-pair selection. The common prefix cancels. At any history, the true continuation value is at most B by [F2]. In Mt, before the first outside pair a policy follows a true-MDP prefix; its expected nonnegative prefix is at most B, since continuing that policy in the true MDP can only add nonnegative rewards. After the first outside pair its dedicated sink contributes exactly Qt(s,a)≤W by [F1] and the Statement. Thus every policy value in Mt, including its continuation after the stopping history, is at most B+W=C. Since both continuation values are nonnegative, their absolute difference is at most C, and the expected loss contributed by Wt is at most CP(Wt∣ht).

2.1givenF2F3step 1.1algebra

The known-model policy's infinite return exceeds its H-step truncated return by at most γH/(1−γ)≤η, by the definition of H; for γ=0 the tail is zero. The true return is at least its truncated return because rewards are nonnegative. Combining step 1.1 with the assumed policy accuracy and optimism gives VAt(ht)≥Vt(st)−2η−CP(Wt∣ht)≥V∗(st)−3η−CP(Wt∣ht). Therefore, if t is counted by N4η, then P(Wt∣ht)>η/C≥q.

3.1givenstep 2.1F7construct

Construct trials by starting at the first bad time not already covered by a previous trial window, running that window for H transitions, and then waiting for the next bad time. The starts are stopping times: each bad-time test and current inequality is history measurable. For the continuation-value test, finite-horizon continuation values are measurable by recursive kernel integration using [F7], and the discounted continuation value is their increasing limit. The windows are disjoint. At a trial start satisfying the two current optimism and accuracy inequalities, its conditional chance of containing an update or escape is at least q by step 2.1; this statement conditions only on its starting history, not on the future simultaneous good event. Every such success occurs at a distinct update/escape time, so on the simultaneous complexity event there are at most ζ successes. Each trial window contains at most H bad times, and there are no bad times between a completed window and the next trial start.

4.1givenF4F5F6step 3.1algebra∎

Write τi for the successive trial starts, setting τi=∞ when no such start exists. For i≤M, set Xi=1 if τi=∞ or either current optimism/accuracy inequality fails at its start; otherwise let Xi indicate an update or escape during its window. Use the stopped-history sigma-algebra at τi, with the full path sigma-algebra on {τi=∞}. It contains every earlier window outcome. On the first two cases Xi=1; in the remaining case step 2.1 gives conditional success probability at least q. Thus E[Xi∣Fτi]≥q without conditioning on the simultaneous future good event. Since e−λXi=1−(1−e−λ)Xi, [F5] and induction give E[e−λ∑i=1MXi]≤(1−q(1−e−λ))M≤e−Mq/2 for λ=ln⁡2. Applying [F6] to this nonnegative exponential yields P(∑i=1MXi≤ζ)≤e(ζ+1)ln⁡2−Mq/2≤ρ by the definition of M. If more than M bad-time trials occurred while the simultaneous optimism, accuracy and complexity event held, the first M starts would be finite and every Xi would be its actual update/escape indicator, so their sum would be at most ζ. This has probability at most ρ. Adding the probability at most ρ that the simultaneous assumptions fail proves that, with probability at least 1−2ρ, there are at most M trials and hence at most HM bad times.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Adaptive empirical-model accuracy for R-MAX

Statement

Let M be a bounded-reward finite discounted MDP, let 0<η<Vmax⁡/4 and 0<δ<1, and let U,Vmax⁡ be an admissible heuristic with Vmax⁡=max⁡{1,V0}. Put b=η(1−γ)64Vmax⁡,L0=ln⁡8SAδ,m=⌈8(S+L0)b2⌉,β=η(1−γ)16, where S=∣S∣ and A=max⁡s∣A(s)∣. Run R-MAX with this sample threshold and approximation tolerance. For Kt the current known set, let M^Kt use its empirical laws on Kt and the heuristic absorbing states elsewhere, and let MKt=MKt(U) use the true laws on Kt. Define Eη={(s,a):U(s,a)≥V∗(s)−η}. With probability at least 1−δ, simultaneously at all times: every stationary-policy value in M^Kt differs from its value in MKt by at most η/8; the current action values satisfy ∥Qt−QM^Kt∗∥∞≤β and 0≤Qt(s,a)≤(1−γ)−1; the greedy value obeys Vt(s)≥V∗(s)−η; and Vt(s)−VMKtπt(s)≤η for every state. On this event, the total number of value-table rebuilds plus selections of pairs outside Kt is at most (m+1)∣Eη∣.

Facts & Assumptions

Given: The MDP, admissible heuristic, parameters, R-MAX algorithm, and notation in the Statement.

[F1]

Concentration for adaptively sampled MDP observations: for each pair's first m potential outcomes, the reward mean and transition ℓ1 error obey the displayed concentration bounds, simultaneously under adaptive visits.

[F2]

Value stability under empirical model error: if the true trap model values are bounded by 2Vmax⁡, the empirical model has rewards in [0,1], and γb≤(1−γ)/2, then reward and transition errors at most b give value error at most 2(b+2γVmax⁡b)/(1−γ) for every policy and for the optimal values.

[F3]

Well-defined discounted values and optimal Bellman fixed points: the Bellman optimality operator is a γ contraction; its value-iteration iterates converge to its fixed point, and an admissible action value is bounded by (1−γ)−1.

[F4]

Admissible upper heuristic for a discounted MDP and Known-state/action MDP with prescribed absorbing values: U≥Q∗, and the dedicated sink for an unknown pair in MK(U) has value U(s,a).

[F5]

R-MAX with an admissible heuristic: each newly known pair triggers one rebuild; a pair remains outside the known set for at most its first m selections.

[F6]

The finite union bound: the probability of a finite union of events is at most the sum of their probabilities.

Proof

1.1givenF1F6algebra

Apply [F1] to each pair with reward and transition tolerance b. For δ0=δ/(4SA), the transition threshold is S/m+2ln⁡(1/δ0)/m≤b: its squared numerator is at most 2S+4ln⁡(1/δ0)≤4(S+L0), while m≥8(S+L0)/b2. The reward failure is at most 2e−2mb2≤δ0 because 2mb2≥16(S+L0)≥ln⁡(2/δ0). By [F6], the finite union over reward and transition events for at most SA pairs has failure probability at most 2SAδ0=δ/2.

1.2givenF3F5algebra

The Bellman operator of M^K is exactly the operator in [F5], with unknown backup U. Its fixed point and zero-initialized sweeps lie in [0,(1−γ)−1]. The contraction estimate in [F3] gives error at most γL/(1−γ). For 0<γ<1, ln⁡γ≤−(1−γ), so the stated L makes this error at most β; when γ=0, one sweep is exact. The initial table U is the exact fixed point for the empty known set. Thus the action-value approximation bound holds after every rebuild.

2.1givenF2F3F4step 1.1algebra

For a fixed known set K, the true trap model has every stationary-policy and optimal value at most 2Vmax⁡. Indeed, until the first outside-K pair its path is a true-MDP path, whose expected nonnegative prefix is at most V∗(s)≤Vmax⁡; after that pair its absorbing continuation is at most U(s,a)≤Vmax⁡. The empirical trap model has all rewards in [0,1]. Also γb≤(1−γ)/2, since γb/(1−γ)=γη/(64Vmax⁡)<1/256. Apply the trap-model form of [F2] with W=Vmax⁡ and α=β=b. The value error for each policy and the optimum is at most 2b(1+2γVmax⁡)/(1−γ)=η(1+2γVmax⁡)/(32Vmax⁡)≤3η/32<η/8.

3.1givenF3F4step 2.1step 1.2algebra

Let VMK∗ and VM^K∗ denote the trap-model optima. For every state, the true Bellman backup at V∗ on a known pair is Q∗(s,a), and on an unknown pair the trap backup is U(s,a)≥Q∗(s,a). Hence TMK∗V∗≥V∗. The operator preserves coordinatewise order because its transition weights are nonnegative; its iterates from V∗ therefore increase. Contraction makes these iterates converge to the unique fixed point, so VMK∗≥V∗. Step 2.1 gives VM^K∗≥VMK∗−η/8. Since ∥Qt−QM^K∗∥∞≤β, Vt≥VM^K∗−β≥V∗−(η/8+β)≥V∗−η.

3.2givenF2F3step 2.1step 1.2algebra

For each state s, the action chosen by πt satisfies QM^K∗(s,πt(s))≥VM^K∗(s)−2β: its optimal action value is at least its estimated value minus β, while the estimated maximum is at least the optimal maximum minus β. Thus TM^KπtVM^K∗≥VM^K∗−2β. Subtracting the policy Bellman equation and taking the maximum positive difference yields VM^K∗−VM^Kπt≤2β/(1−γ). Comparing the same policy in MK by step 2.1 and using Vt≤VM^K∗+β gives Vt−VMKπt≤β+2β/(1−γ)+η/8≤5η/16<η, because β=η(1−γ)/16.

4.1givenF4F5step 3.1algebra∎

On the event just proved, an outside-Kt pair with U(s,a)<V∗(s)−η cannot be selected: its current value is still Qt(s,a)=U(s,a), whereas Vt(s)≥V∗(s)−η. Thus every escape pair lies in Eη. By [F5], each such pair is selected outside the known set at most m times and causes one rebuild. Summing over Eη proves the complexity bound.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Delayed Q-learning optimism and update-count bounds

Statement

Assume AC. Fix a bounded-reward finite discounted MDP, write S=∣S∣ and A=max⁡s∣A(s)∣, and fix an admissible heuristic with cap Vmax⁡, and 0<ϵ1<1. Put D(s,a)=[U(s,a)−V∗(s)]+, κ=⌈SAVmax⁡/ϵ1⌉, N=SA(1+κ), and C1=1+γVmax⁡. Run Delayed Q-learning with a positive integer m satisfying m≥⌈C122ϵ12ln⁡8Nδ⌉(0<δ<1). For Vt(s)=max⁡aQt(s,a), define Kt={(s,a):Qt(s,a)−(r(s,a)+γ∑s′P(s′∣s,a)Vt(s′))≤3ϵ1}. With probability at least 1−δ, all estimates remain optimistic, Qt(s,a)≥Q∗(s,a) for every t,s,a; every attempted update whose first sample is taken with its pair outside Kt succeeds; the number of successful updates is at most G=∑s,a(1+D(s,a)ϵ1); and the number of visits selecting a pair outside Kt is at most 2mG. The additive 1 in each pair's update allowance is necessary, including when U(s,a)=V∗(s).

Facts & Assumptions

Given: AC, the MDP, admissible heuristic, Delayed Q-learning algorithm, and parameters in the Statement.

[F1]

Concentration for adaptively sampled MDP observations: for a bounded predictable target Yi∈[0,C1], its sample mean differs from its predictable mean by at least x with probability at most 2e−2mx2/C12; pair visits can be coupled to independent potential outcomes.

[F2]

Delayed Q-learning with an admissible heuristic: a successful update replaces Q(s,a) by a nonnegative batch mean plus ϵ1, decreases that entry by at least ϵ1, and Q-values never otherwise change. A failed batch disables its flag exactly when b>t∗; before sampling, a flag is re-enabled when b≤t∗.

[F3]

Admissible upper heuristic for a discounted MDP and Well-defined discounted values and optimal Bellman fixed points: initially Q=U≥Q∗, 0≤Q∗,V∗≤Vmax⁡, and an optimal action attaining V∗(s) exists at each state.

[F4]

By the definition of Kt in the Statement, the Bellman residual outside Kt is strictly greater than 3ϵ1. The known model agrees with the true MDP on Kt by Known-state/action MDP with prescribed absorbing values.

[F5]

The finite union bound: a finite union of events has probability at most the sum of their probabilities.

Proof

1.1givenF2algebra

Each successful update decreases one entry by at least ϵ1, while every updated entry stays nonnegative and starts at most Vmax⁡, by [F2]. Therefore the total number of updates is at most SAVmax⁡/ϵ1≤κ. For two consecutive batch starts bj<bj+1 of one pair, some successful global update occurs in [bj,bj+1): either the earlier batch succeeds, or it fails with bj≤t∗, or it disables learning and a later global update re-enables it. These intervals are disjoint for that pair. Charging each start after its first to such an update gives at most 1+κ starts per pair and at most N overall, including unfinished batches.

2.1givenF1F3F5step 1.1algebra

Condition on a batch-start history at time k1 for pair (s,a) and freeze Vk1. The next m potential joint outcomes give targets Xi=Ri+γVk1(Si′)∈[0,C1] with common mean r(s,a)+γPVk1. By [F1], except with probability 2e−2mϵ12/C12, their average is within ϵ1 of that mean. Also, the fixed targets Xi∗=Ri+γV∗(Si′) lie in [0,C1] and have mean Q∗(s,a), so their average is within ϵ1 of Q∗(s,a) except with the same probability. By [F5], a finite union over the at most N batch starts and these two error events has failure at most 4Ne−2mϵ12/C12≤δ/2.

3.1givenF1F2F4step 2.1algebra

On the event from step 2.1, if a batch begins outside Kk1, then Qk1(s,a)−[r+γPVk1]>3ϵ1. During that batch all action values can only decrease, so Vki≤Vk1 at every sample time ki. Its actual target average is therefore at most the frozen-target average, which is at most r+γPVk1+ϵ1. The old value minus this average is strictly greater than 2ϵ1, so the attempted update succeeds.

3.2givenF1F2F3step 2.1induction

Initially Q≥Q∗ by [F3]. Induct over successful updates. Before an update, all current values satisfy Vki≥V∗ by the induction hypothesis, so each actual target Ri+γVki(Si′) is at least Ri+γV∗(Si′). Step 2.1 bounds the latter sample mean below by Q∗(s,a)−ϵ1. Adding the update bonus ϵ1 leaves the new entry at least Q∗(s,a); unchanged entries remain optimistic. This proves the all-time optimism claim. The event used above has probability at least 1−δ/2≥1−δ.

4.1givenF2F3step 3.2algebra

Fix a pair (s,a). If U(s,a)<V∗(s), choose an optimal action a∗ at s. On the optimism event, Qt(s,a∗)≥Q∗(s,a∗)=V∗(s) for every t, while the pair's value never increases and therefore stays at most U(s,a)<V∗(s). It is never selected, so it cannot be updated. If U(s,a)≥V∗(s) and the pair is selected, its current value is the greedy maximum and hence at least V∗(s) by optimism of a∗. If the pair has n≥1 successful updates, the value immediately before its nth update is at most U(s,a)−(n−1)ϵ1 and at least V∗(s). Indeed, each of the first n−1 updates decreases it by at least ϵ1, and if any post-update value were below V∗(s), the pair could never be selected again. Thus n≤1+[U(s,a)−V∗(s)]+/ϵ1. The same bound holds when n=0 and in the first case. Summing over pairs proves the stated bound G.

5.1givenF2F4step 3.1step 4.1algebra∎

It remains to count visits outside Kt. First, a failed attempted update that disables the learning flag must leave the pair inside K: since b>t∗, no Q table entry changed after that batch began, so the residual was constant through the batch; if it had been outside at batch start, step 3.1 would have forced success. Consequently a visit outside Kt cannot occur with the flag still disabled: before sampling, [F2] tests b≤t∗, and an outside residual after the failed batch requires a later global update, which re-enables the flag. Now fix an outside visit for a pair while its flag is true. The next attempted batch occurs within at most m visits to that pair. If the batch began outside K, step 3.1 makes it successful. If it began inside K, the residual became outside by the escape visit after a global update; with the pair's own Q value unchanged, other Q values only decrease, so its Bellman backup can only decrease and its residual remains outside through the attempted batch. Because a global update occurred after that batch began, a failed attempt does not disable the flag. The next attempted batch occurs within at most another m visits and starts outside K, so step 3.1 makes it successful. Thus every interval between successive successful updates of this pair, including the initial interval, contains at most 2m outside visits. To include a possible final unfinished interval, count only intervals containing an outside visit. If the pair has n successful updates and such an interval remains after the last update, its Q-value at an outside selection is at least V∗(s) by step 4.1, while its n previous updates have decreased it by at least nϵ1. Hence nϵ1≤D(s,a) and these n+1 intervals number at most 1+D(s,a)/ϵ1. If there is no such final interval, the at most n completed intervals have the same bound by step 4.1. An interval with fewer than the 2m visits needed for its next success is included in this count; an interval with 2m outside visits would force that success by the preceding argument. Summing over pairs therefore gives at most 2mG.

TheoremStatement: AI-adaptedProof: AI-generatedOpen item page →

The zero-tolerance boundary of PAC-MDP exploration

Statement

Assume AC, and use the history-conditioned bad-step count Nϵ for bounded-reward finite discounted MDPs. The endpoint ϵ=0 has the following properties.

  1. Fix any single learning rule whose action kernels depend only on its observed history and common supplied inputs, not on the unknown MDP reward means. For every finite real B≥0 and 0<δ<1/2, some one-state, two-action MDP with γ=0, Bernoulli rewards and the common admissible heuristic U(a)=U(b)=Vmax⁡=1 satisfies P(N0>B)>δ. Thus no finite bound depending only on state/action sizes, confidence and discount can hold uniformly at zero tolerance, even allowing randomized history-dependent learners.
  2. For R-MAX, fix any integer m≥1, 0<β<1, and a tie order selecting a first. For each 0<p<1, take one state, γ=0, U(a)=U(b)=Vmax⁡=1, reward a∼Bernoulli⁡(p) and deterministic reward b=p/2. Then P(N0=∞)≥(1−p)m. For every 0<δ<1, some p makes this probability exceed δ; no fixed finite legal sample threshold gives a uniform finite zero-tolerance bound.
  3. For Delayed Q-learning, fix any integer m≥1, 0<ϵ1<1, and a tie order selecting b first. In the one-state model with γ=0, U(a)=U(b)=Vmax⁡=1 and deterministic rewards a=1, b=1−ϵ1, the algorithm chooses b forever and N0=∞ with probability one.
  4. If V∗(s)=0 at every state of any bounded-reward finite discounted MDP, then every behavior has N0=0. The impossibility is a uniform assertion over unknown models, not a claim that zero-tolerance behavior must always fail.

All models in clauses1–3 have nonempty finite state/action sets, rewards in [0,1], and an admissible normalized cap. No parameter formula that divides by ϵ is evaluated at zero.

Facts & Assumptions

Given: AC, the learning-rule information restriction, the finite bound and confidence in clause1, and the legal algorithm parameters and models in clauses2–4.

[F1]

PAC-MDP sample complexity of exploration and Well-defined discounted values and optimal Bellman fixed points: when γ=0, continuation value is the mean immediate reward under the current action distribution; N0 counts exactly the times this is strictly below the largest action mean. Every continuation value is nonnegative and at most V∗.

[F2]

Finite discounted MDP with bounded real rewards and Admissible upper heuristic for a discounted MDP: one-state self-transitions with any reward law on [0,1] are allowed; at γ=0, U=Vmax⁡=1 is admissible for these models.

[F3]

Finite probability spaces, outcome weights, events, and event probabilities: probabilities on a finite outcome space are sums of nonnegative weights with total one.

[F4]

Laws of finite sums and finite products: finite sums are additive, preserve inequalities, and allow a constant factor to be taken outside a sum. Thus, for a node of weight w(h) and normalized child probabilities p(c∣h), ∑cw(h)p(c∣h)=w(h)∑cp(c∣h)=w(h). Induction over tree levels preserves total weight one.

[F5]

Every complete ordered field is Archimedean: a natural number exceeds every prescribed finite real bound.

[F6]

R-MAX with an admissible heuristic: before the first m observations an action retains its heuristic; afterwards its model uses only those observations. At γ=0, every rebuild sets known action values to their empirical reward means after its first sweep.

[F7]

Delayed Q-learning with an admissible heuristic: the initial values are U; a completed batch changes its entry only if the old value minus its mean target is at least 2ϵ1. A failed batch with start time greater than the last global update disables further learning of that pair until a new global update.

Proof

1.1givenF2F5chooseconstructalgebra

For clause1, choose an integer T>2B by [F5] and choose 0<d<min⁡{1/2,(1−2δ)/T}. Define two one-state models M+,M− whose action means are respectively (1/2+d,1/2) and (1/2,1/2+d), with Bernoulli rewards, discount zero, and common heuristic 1. Their unique optimal actions are respectively a,b, and [F2] verifies their model and heuristic conditions.

1.2givenF2construct

For clause2 use the stated R-MAX model, and let E be the event that its first m rewards from a are all zero. Its action means are p,p/2, so a is uniquely optimal and [F2] verifies admissibility.

1.3givenF2algebra

For clause3 the action means are 1,1−ϵ1, so a is uniquely optimal, the gap is ϵ1>0, and [F2] verifies all model and heuristic conditions.

2.1step 1.1F3F4constructinductionalgebra

Couple the two length-T histories of step 1.1 recursively. At equal histories draw the same action with the learning rule’s common action probabilities. For that action let r+,r− be its two means, and assign reward-pair probabilities min⁡(r+,r−) to (1,1), 1−max⁡(r+,r−) to (0,0), [r+−r−]+ to (1,0), and [r−−r+]+ to (0,1). These weights are nonnegative, sum to one, have the desired Bernoulli marginals, and disagree with probability d. After histories differ, use the product of the two prescribed action/reward laws. Give each child its parent weight times its conditional probability. At each node [F4] shows that the child weights sum to its parent weight, so induction from root weight one normalizes the finite coupling. Summing over the other component at each extension gives the prescribed action and Bernoulli reward marginals; induction over rounds therefore verifies each marginal is the learning rule’s actual length-T law by [F3]–[F4].

2.2step 1.2F1F6algebrainduction

Until a becomes known, R-MAX always selects a, since both unknown values are 1 and its tie order favors a. On E, the first rebuild sets its value to zero while b remains unknown at 1. It therefore selects b for m observations, then the two frozen empirical means are 0,p/2. All later rebuilds and actions retain those means, so b is selected forever. By [F1], all those later times are zero-bad. The first m draws from a have their Bernoulli law conditionally at each visit, hence P(E)=(1−p)m and E⊆{N0=∞}.

2.3step 1.3F1F7algebrainduction

Delayed Q-learning initially ties at 1 and selects b. Every target in its first batch is 1−ϵ1, since the discount is zero. The old value minus the mean is ϵ1<2ϵ1, so the batch fails and no value changes. Its start time is positive while t∗=0, so the flag becomes false. No other action is ever selected, no global update occurs, and the flag remains false. Induction gives Q(a)=Q(b)=1 and action b forever. Its value is 1−ϵ1<1=V∗, so [F1] gives N0=∞.

3.1step 1.1step 2.1F3F4algebra

In the coupling of step 2.1, the probability that the first history disagreement occurs at a specified round is at most d, since its preceding equal histories have total probability at most one. Thus the chance of any disagreement by round T is at most Td: sum the nonnegative weights of those disjoint first-disagreement events using [F3]–[F4]. Let C be their complement, so P(C)≥1−Td.

3.2step 1.2step 2.2F3F4algebrachoose

For the final assertion of clause2, fix 0<δ<1 and choose p=(1−δ)/(2m)∈(0,1). Among the first m rewards from a, the event of at least one reward equal to one has probability at most mp, by summing their indicator weights. Consequently (1−p)m≥1−mp=(1+δ)/2>δ. Step 2.2 proves the claimed failure probability.

4.1step 1.1step 2.1step 3.1F1F3F4algebracontradiction

Suppose both models from step 1.1 had P(N0≤B)≥1−δ. The same is then true for the zero-bad count restricted to the first T rounds, in each marginal of the finite coupling. The probability that both restricted counts are at most B and C occurs is at least 1−2δ−Td>0, by summing weights of the three complementary events as in [F3]–[F4]. On C, the two histories and hence their current action distributions coincide at every round. If z is the probability of a, the two mean-reward deficits are respectively d(1−z) and dz. Since 0≤z≤1 and d>0, at least one deficit is strictly positive. Thus the two restricted zero-bad counts sum to at least T>2B, contradicting that both are at most B. At least one model must satisfy P(N0>B)>δ.

5.1step 4.1step 2.2step 3.2step 2.3F1algebra∎

Step 4.1 proves clause1; steps 2.2 and3.2 prove clause2; step 2.3 proves clause3. For clause4, [F1] gives 0≤VAt(ht)≤V∗(st)=0, so no time is zero-bad. These statements establish all endpoint branches without assigning zero to a positive-tolerance denominator.

TheoremStatement: AI-adaptedProof: AI-adaptedprecheck passOpen item page →

PAC-MDP sample complexity of R-MAX

Statement

Let M be a bounded-reward finite discounted MDP, write S=∣S∣ and A=max⁡s∣A(s)∣, and fix 0≤ϵ<(1−γ)−1, 0<δ<1, and an admissible heuristic with normalized cap Vmax⁡. At ϵ=0, if V∗(s)=0 at every state then N0=0; no finite zero-tolerance extension holds uniformly over this class: already at γ=0, every fixed finite legal sample threshold m and value-iteration tolerance β admits an admissible one-state example for R-MAX with N0=∞ with positive probability. This does not assert failure for every fixed heuristic or model. The parameter formulas below are evaluated only when ϵ>0. Assume now ϵ>0. If ϵ≥Vmax⁡, then Nϵ=0. Otherwise put η=ϵ/4,b=η(1−γ)64Vmax⁡,m=⌈8(S+ln⁡(16SA/δ))b2⌉,β=η(1−γ)16, and run R-MAX with sample threshold m and value-iteration tolerance β. Let Eη={(s,a):U(s,a)≥V∗(s)−η} and ζ=(m+1)∣Eη∣. Define q=η/(4Vmax⁡), and define H and M by H={1,γ=0,max⁡{1,⌈ln⁡(1/[η(1−γ)])/(−ln⁡γ)⌉},0<γ<1,M=⌈2(ζ+1)+2ln⁡(2/δ)q⌉. Then P(Nϵ≤HM)≥1−δ. For the uninformative heuristic U(s,a)=Vmax⁡=(1−γ)−1, the bound is O~(S2A/[ϵ3(1−γ)6]), where O~ suppresses logarithmic factors.

For every ϵ>0, a bound uniform over all MDPs and admissible heuristics with these S,A,γ is obtained by setting Vˉ=11−γ,bˉ=ϵ(1−γ)2256,mˉ=⌈8(S+ln⁡(16SA/δ))bˉ2⌉,qˉ=ϵ(1−γ)16,ζˉ=(mˉ+1)SA, and Hˉ={1,γ=0,max⁡{1,⌈ln⁡(1/[(ϵ/4)(1−γ)])/(−ln⁡γ)⌉},0<γ<1,Mˉ=⌈2(ζˉ+1)+2ln⁡(2/δ)qˉ⌉. Then P(Nϵ≤HˉMˉ)≥1−δ. This bound depends only on S,A,ϵ,δ,γ.

Facts & Assumptions

Given: The MDP, heuristic, parameters, R-MAX algorithm, and bad-step count in the Statement.

[F1]

Adaptive empirical-model accuracy for R-MAX: with the stated m and β, the simultaneous optimism and model/policy accuracy conditions hold with probability at least 1−δ/2, and updates plus escapes total at most (m+1)∣Eη∣.

[F2]

Escape-event reduction for optimistic greedy learning: if those conditions hold with failure probability at most ρ, then taking B=W=Vmax⁡ and Qc=(1−γ)−1 gives N4η≤HM with failure probability at most 2ρ for the displayed H,M.

[F3]

Admissible upper heuristic for a discounted MDP: 0≤V∗(s)≤Vmax⁡ and U(s,a)≤Vmax⁡.

[F4]

The zero-tolerance boundary of PAC-MDP exploration: at zero tolerance the all-zero-optimal-value case has no bad steps; fixed finite legal R-MAX parameters admit an admissible one-state model with infinitely many zero-bad steps, with failure probability exceeding any prescribed confidence tolerance.

Proof

1.1givenF4cases

If ϵ=0, apply [F4] to obtain both stated endpoint branches. No finite sample-size or positive bonus is defined by substituting zero into the later formulas. For the remainder assume ϵ>0.

1.2givenF1F2F3algebra

If ϵ≥Vmax⁡, then V∗(s)−ϵ≤0 for every state and every continuation value is nonnegative, so no time is counted. Assume now ϵ<Vmax⁡. The stated η satisfies 0<η<Vmax⁡/4 and η(1−γ)<1. Apply [F1] with confidence parameter δ/2; its sample threshold is exactly the displayed m. On its event, R-MAX has the hypotheses of [F2] with ζ=(m+1)∣Eη∣.

1.3givenF1F2algebra

For the uninformative heuristic, ∣Eη∣≤SA and Vmax⁡=(1−γ)−1. The displayed b gives m=O((S+ln⁡(SA/δ))Vmax⁡2/[η2(1−γ)2]). Also H=O((1−γ)−1ln⁡(1/[η(1−γ)])), since −ln⁡γ≥1−γ for 0<γ<1, and M=O((Vmax⁡/η)(ζ+ln⁡(2/δ))). Using ζ≤(m+1)SA and η=ϵ/4 yields O~(S2A/[ϵ3(1−γ)6]).

2.1step 1.2F2algebra

Take ρ=δ/2 in [F2]. Since 4η=ϵ, the theorem gives P(Nϵ≤HM)≥1−δ.

3.1givenF1F2F3step 2.1algebra∎

Put Vˉ=(1−γ)−1. Since Vmax⁡≤Vˉ and ∣Eη∣≤SA, the instance parameters satisfy b≥bˉ, m≤mˉ, ζ≤ζˉ, and q≥qˉ, while the truncation horizon is H=Hˉ. If ϵ<Vmax⁡, then M≤Mˉ and step 2.1 yields the uniform bound. If ϵ≥Vmax⁡, then Nϵ=0. Thus the displayed HˉMˉ is a finite PAC-MDP bound in the sense of the Definition.

TheoremStatement: AI-adaptedProof: AI-adaptedprecheck passOpen item page →

PAC-MDP sample complexity of Delayed Q-learning

Statement

Assume AC. Let M be a bounded-reward finite discounted MDP, write S=∣S∣ and A=max⁡s∣A(s)∣, and fix 0≤ϵ<(1−γ)−1, 0<δ<1, and an admissible heuristic with normalized cap Vmax⁡. At ϵ=0, if V∗(s)=0 at every state then N0=0; no finite zero-tolerance extension holds uniformly over this class: already at γ=0, every fixed finite legal batch size m and bonus ϵ1 admits an admissible one-state example for Delayed Q-learning with N0=∞ with positive probability. This does not assert failure for every fixed heuristic or model. The parameter formulas below are evaluated only when ϵ>0. Assume now ϵ>0. If ϵ≥Vmax⁡, then Nϵ=0. Otherwise put η=ϵ/4,ϵ1=η(1−γ)3,κ=⌈SAVmax⁡ϵ1⌉,N=SA(1+κ),C1=1+γVmax⁡, and choose m=⌈C122ϵ12ln⁡16Nδ⌉. Run Delayed Q-learning with m and ϵ1. Write D(s,a)=[U(s,a)−V∗(s)]+, G=∑s,a(1+D(s,a)/ϵ1), and ζ=⌈(2m+1)G⌉. Define q,H,M by q=η4Vmax⁡,H={1,γ=0,max⁡{1,⌈ln⁡(1/[η(1−γ)])/(−ln⁡γ)⌉},0<γ<1,M=⌈2(ζ+1)+2ln⁡(2/δ)q⌉. Then P(Nϵ≤HM)≥1−δ. Equivalently, up to logarithmic factors, the bound is O~ ⁣(Vmax⁡(1+γVmax⁡)2[∑s,aD(s,a)+SAϵ(1−γ)]ϵ4(1−γ)4), where O~ suppresses logarithmic factors. The additive term remains when all heuristic slacks vanish. For Vmax⁡=(1−γ)−1 this gives O~(SA/[ϵ4(1−γ)8]).

For every ϵ>0, a bound uniform over all MDPs and admissible heuristics with these S,A,γ is obtained by setting Vˉ=11−γ,ϵˉ1=ϵ(1−γ)12,κˉ=⌈SAVˉϵˉ1⌉,Nˉ=SA(1+κˉ), mˉ=⌈Vˉ22ϵˉ12ln⁡16Nˉδ⌉,Gˉ=SA(1+Vˉϵˉ1),ζˉ=⌈(2mˉ+1)Gˉ⌉,qˉ=ϵ(1−γ)16, and Hˉ={1,γ=0,max⁡{1,⌈ln⁡(1/[(ϵ/4)(1−γ)])/(−ln⁡γ)⌉},0<γ<1,Mˉ=⌈2(ζˉ+1)+2ln⁡(2/δ)qˉ⌉. Then P(Nϵ≤HˉMˉ)≥1−δ. This bound depends only on S,A,ϵ,δ,γ.

Facts & Assumptions

Given: AC, the MDP, admissible heuristic, Delayed Q-learning algorithm, and bad-step count in the Statement.

[F1]

Delayed Q-learning optimism and update-count bounds: with the displayed m, all estimates are optimistic, update/escape events total at most (2m+1)G, and the lemma event has failure probability at most its confidence parameter.

[F2]

Escape-event reduction for optimistic greedy learning: taking B=W=Vmax⁡ and Qc=Vmax⁡, optimism, policy accuracy at most η, and complexity at most ζ yield N4η≤HM with failure at most twice the confidence parameter.

[F3]

Admissible upper heuristic for a discounted MDP: V∗(s)≤Vmax⁡, so Nϵ=0 when ϵ≥Vmax⁡.

[F4]

Known-state/action MDP with prescribed absorbing values: an action outside Kt has known-model value exactly Qt(s,a), using its dedicated absorbing state.

[F5]

Well-defined discounted values and optimal Bellman fixed points: the policy value in a finite MDP solves its Bellman equation.

[F6]

Delayed Q-learning with an admissible heuristic: Q-values start at U∈[0,Vmax⁡] and each successful update replaces one value by a nonnegative quantity no larger than its old value.

[F7]

The zero-tolerance boundary of PAC-MDP exploration: at zero tolerance the all-zero-optimal-value case has no bad steps; fixed finite legal Delayed Q-learning parameters admit an admissible one-state model with infinitely many zero-bad steps, with failure probability exceeding any prescribed confidence tolerance.

Proof

1.1givenF7cases

If ϵ=0, apply [F7] to obtain both stated endpoint branches. No finite sample-size or positive bonus is defined by substituting zero into the later formulas. For the remainder assume ϵ>0.

1.2givenF1F3algebra

If ϵ≥Vmax⁡, then [F3] and nonnegativity of continuation values imply no bad step. Otherwise η=ϵ/4<Vmax⁡/4 and η(1−γ)<1. The displayed batch size is the lemma threshold [F1] with internal failure parameter δ/2, so with probability at least 1−δ/2 all Q-values are optimistic and the update/escape count is at most ζ.

1.3givenF1F4F5algebra

Extend Vt to the state set of Mt by setting V~t(s)=Vt(s) on original states and V~t(⊥s,a)=Qt(s,a) at each added sink. Extend πt by the unique sink action. Both the sink's policy value and its Bellman backup at V~t equal Qt(s,a) by [F4], so the sink residual is zero. At an original state s, let a=πt(s). If (s,a)∉Kt, its backup at V~t is exactly Qt(s,a)=Vt(s) by [F4]. If (s,a)∈Kt, the definition of Kt gives Qt(s,a)≤r(s,a)+γ∑s′P(s′∣s,a)Vt(s′)+3ϵ1. Hence on the entire expanded state set, V~t≤TMtπtV~t+3ϵ1. Subtract the policy Bellman equation [F5] and set Δ=max⁡x[V~t(x)−VMtπt(x)]+. Nonnegative stochastic transition rows give Δ≤γΔ+3ϵ1, hence on the original states Vt−VMtπt≤3ϵ1/(1−γ)=η.

2.1givenF1F2F6step 1.2step 1.3

The residual sets Kt are history-measurable and change only after a Q update; they satisfy the stability condition of [F2]. By [F6], the Q table remains in [0,Vmax⁡]. Step 1.2 supplies optimism and the count bound; step 1.3 supplies policy accuracy. Apply [F2] with ρ=δ/2. Since 4η=ϵ, it gives P(Nϵ≤HM)≥1−δ.

3.1givenF1F2step 2.1algebra

From the definitions, G=[∑s,aD(s,a)+∣D∣ϵ1]/ϵ1≤[∑s,aD(s,a)+SAϵ1]/ϵ1, where ∣D∣=∑s∣A(s)∣≤SA, m=O((1+γVmax⁡)2ϵ1−2ln⁡(16N/δ)), and M=O((Vmax⁡/η)(mG+ln⁡(2/δ))). Also H=O((1−γ)−1ln⁡(1/[η(1−γ)])): for 0<γ<1, the function x−1−ln⁡x has its minimum 0 at x=1, so −ln⁡γ≥1−γ. Substituting ϵ1=ϵ(1−γ)/12 and η=ϵ/4 into H(Vmax⁡/η)mG gives a constant multiple of Vmax⁡(1+γVmax⁡)2[∑s,aD(s,a)+SAϵ(1−γ)]ϵ4(1−γ)4ln⁡16Nδln⁡1η(1−γ). The remaining H(Vmax⁡/η)ln⁡(2/δ) term is bounded by the same expression up to logarithmic factors because m≥1 and G≥∣D∣≥1. For the uninformative heuristic, ∑D≤SA/(1−γ) and 1+γVmax⁡=(1−γ)−1; substitution yields O~(SA/[ϵ4(1−γ)8]).

4.1givenF1F2F3step 2.1algebra∎

Put Vˉ=(1−γ)−1 and ϵˉ1=ϵ(1−γ)/12. Admissibility gives 0≤D(s,a)≤Vmax⁡≤Vˉ, and hence C1=1+γVmax⁡≤Vˉ, κ≤κˉ, N≤Nˉ, m≤mˉ, G≤Gˉ, ζ≤ζˉ, q≥qˉ, and H=Hˉ. If ϵ≥Vmax⁡, then Nϵ=0. Otherwise M≤Mˉ, so step 2.1 proves the uniform bound. All barred quantities depend only on S,A,ϵ,δ,γ, as required by the Definition.

4 · Examples, counterexamples and false statements

None yet.

Sources