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.
Average-reward regret and UCRL2
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Conditional Distributions and Regular Conditional Probability
- Conditional Expectation
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Convexity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Darboux, L'Hôpital, and Taylor's Theorem
- Discrete Time Martingales
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Domination and Likelihood Ratios
- Finite Counting, Factorials and Binomial Coefficients
- Finite MDPs and Bellman operators
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Identifiability and approximation bias in computational inference
- Infinite Product Measures and Kolmogorov Extension
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Markov Kernels and Markov Chains
- Martingale Inequalities and Convergence
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Minimax Lower Bounds
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Outer Measure and the Caratheodory Extension Theorem
- Pointwise Extended-Real Function Products
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Signed and Complex Measures Hahn and Jordan
- Simple Field Extensions and the Construction of the Complex Numbers
- Stationary Markov Chains and Ergodic Limits
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Integral Logarithm and the Equivalence of Its Characterisations
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Lᵖ Spaces Holder Minkowski and Riesz Fischer
- The Radon Nikodym Theorem and Lebesgue Decomposition
- The Riemann Integral: Definition and Integrability
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Logical flowchart
3 · Definitions, theorems and proofs
Almost-additive sequences have a normalized limit
Statement
Let be a real sequence for which there is a finite constant with for every . Suppose there is a finite constant such that for all positive integers . Then has a finite limit as .
Statement references
Formal almost-additive result: Subsection “Almost additive sequences,” lemma almost_additive_converges.
Textbook Fekete proof: §5.1, Theorem 5.1.
Independent real-analysis treatment: Appendix B.1.3, Lemma B.5.
Facts & Assumptions
Given: The linear bound and the almost-additivity inequality in the Statement.
Proof
Set and . The upper half of the assumed inequality gives , hence . The lower half gives , hence . Also , so both sequences are bounded linearly.
For a linearly bounded subadditive sequence , fix and write with . Iterating subadditivity, with for the remainder case, gives . The finitely many possible remainder values have a finite maximum , so and therefore . Since this holds for every and , the limit exists and is finite. Applying the same argument to proves that has a finite limit.
Since and , the two limits from step 2.1 coincide and force to that same finite limit.
Finite MDP with bounded real rewards
Definition
Let be a finite nonempty state set and let be a finite nonempty action set for each , as in the finite-MDP convention. Put with its discrete sigma-algebra. Equip with its power-set sigma-algebra, with its Borel sigma-algebra, and with the product sigma-algebra. A finite MDP with bounded real rewards specifies a probability kernel from to ; equivalently, each admissible has a probability measure on that product measurable space. The reward-coordinate projection is measurable because the preimage of each Borel set is the product rectangle . Define the next-state law by and the mean reward by . At each time, conditional on the observed history and the selected action, the next-state/reward pair has this law. Assume the Axiom of Choice for the path-space construction under policies.
Definition references
Finite-MDP supplier: supplies the finite state/action and joint one-step-law conventions; its reward alphabet is finite, while this definition explicitly permits every Borel reward law on .
Borel sigma-algebra: specifies the Borel events on the reward interval.
Product sigma-algebra: specifies measurable events on .
Probability measure: is a probability measure for each admissible pair.
Probability kernel: the family has measurable event sections over the finite pair set .
Expectation as an integral: defines the mean reward integral.
UCRL2 model and reward scope: Introduction, finite state/action, reward, and transition model (PDF lines 34–41).
Ionescu–Tulcea path-law construction: unique path law from a specified initial probability law and sequential probability kernels under Choice.
Axiom of Choice: assumed by the path-law construction.
Axiom use
The Axiom of Choice is assumed exactly for the path-space construction under policies. The one-step kernel and its finite state marginal require no choice.
For a measurable history-dependent policy and an initial state distribution on , start the construction with (use the point mass when starting at a specified state ). Alternate the policy action kernels with the observation kernels . The cited Ionescu–Tulcea theorem then supplies a unique interaction law for this initial distribution and policy. The MDP kernel alone does not specify an initial distribution.
Extended value iteration for a confidence set
Definition
Input finite nonempty state and action sets, upper reward estimates , empirical transition laws , nonnegative transition radii , a tolerance , and fixed orders of the states and actions for tie-breaking. For a vector , write and let be the probability simplex on . Initialize . At iteration , compute For every state-action pair , run the following transfer routine using . Put , , and order the states by nondecreasing , using the fixed state order to break ties. Set and . While and , advance while , then decrease while and . If , stop. If , stop. Otherwise set , replace by and by , and replace by ; repeat. Call the resulting vector .
For each state, compute for every action, record the first action in the fixed action order attaining , and set . If , return the stationary deterministic policy , its corresponding transition rows , the vector used in that backup, and the iteration index. Otherwise continue. The procedure is partial unless a separate termination result applies.
Definition references
Bounded-reward finite MDP: provides the finite state/action sets and reward/transition laws.
EVI correctness and termination: proves that the transfer routine returns the exact row maximum and that positive radii give finite termination.
UCRL2 Extended Value Iteration: §3.1.2, Figure 2 and equation (5).
Average-reward value iteration discussion: Chapter 7, §§7.3–7.4.
Communicating MDP and diameter
Definition
Assume the Axiom of Choice for the policy path laws used in the expectations below. For a finite MDP with bounded rewards, a policy assigns a probability distribution on to each finite observed history ending in state , with each action probability a measurable function of the history; deterministic policies are included. For states , start at and define , with if is never hit. This is an extended nonnegative measurable random variable because . Take the expectation and the infimum over policies in . The MDP is communicating if for every ordered pair . Its raw diameter is in , and its normalized diameter is in the extended order. Since is finite, is finite for every communicating MDP. Thus a one-state MDP has and .
Definition references
Bounded-reward finite-MDP model: state, action, transition, reward, and path-law conventions.
Finite MDP policy convention: actions are selected from the finite nonempty statewise action sets.
Expectation: defines the expected hitting time.
Extended real line: provides the order used when a target may never be hit.
Extended completeness: provides the extended infimum.
Axiom of Choice: assumed for policy path laws.
UCRL2 diameter convention: Introduction, Definition 1; §2.
Adaptive MDP visits admit fixed sample tapes
Statement
Assume the Axiom of Choice for the path-space construction. Fix a finite-horizon interaction of length in a finite MDP with bounded rewards and any nonanticipating policy: each action distribution is a measurable function of the revealed history, and policy randomization is independent of unexposed MDP samples. On an enlarged probability space with the same law for the observed interaction, for each admissible pair there is a sequence of independent samples with common law such that the th observed next-state/reward pair at is whenever that visit occurs.
Statement references
Axiom of Choice: assumed for the path-space construction.
UCRL2 adaptive-count setting: §4.1; the fixed-tape representation is established locally from the kernel construction.
Facts & Assumptions
Given: The conditional law and nonanticipating-policy conventions in the Statement.
Finite MDP with bounded real rewards: after a state-action pair is selected, the next-state/reward observation has the fixed law conditional on the preceding history.
Ionescu-Tulcea construction of a Markov chain: a specified initial probability law and sequential probability kernels have a unique joint path law under the stated Choice assumption; finite constructions follow by singleton padding.
The Axiom of Choice: AC is inherited from [F2] for the path-law construction; no arbitrary choice of an infinite family is made.
Proof
If , take the original initial-state law and an empty tape for each pair: there are no observations to match and the independence assertions are vacuous. Hence assume . Fix finite enumerations of the admissible state-action pairs and the integers , and let be the number of tape coordinates. Take the first coordinate's prescribed law as the initial probability measure, use the remaining prescribed laws as constant kernels, and append singleton spaces with point-mass kernels afterward. Apply [F2] to this infinite kernel sequence. Its first coordinates have the product law: each coordinate has its prescribed law and, conditional on all preceding coordinates, its law remains that same . AC is used only as declared in [A1].
For , extend the tape law using [F2]: first append the original initial-state distribution as a constant kernel independent of the tapes, and then append the policy action kernels evaluated only at the revealed history. Simulate each action from its policy kernel using only the revealed history and its independent internal randomization, then reveal the next unused coordinate in the selected pair's tape. Since the action step does not expose any unused tape coordinate, the selected coordinate remains unrevealed and has conditional law by step 1.1. Thus the conditional observation law at every time is the MDP kernel in [F1]. Induction over the finite horizon shows that every observed trajectory has the same probability law as in the original interaction, and each pair's observations are its tape prefix.
Termination of extended value iteration under communicating assumptions
Statement
Assume the Axiom of Choice for the path laws in the concluding UCRL2 application. For any finite nonempty state/action system, probability-vector empirical centers, finite nonnegative transition radii, and real value vector, the transfer routine in extended value iteration returns a feasible vector maximizing the value-vector expectation over the stated confidence set; it uses at most positive transfers per row. If the upper rewards are finite, the tolerance is , and every transition radius is strictly positive, extended value iteration terminates. With fixed state and action orders, its returned policy, transition rows, value vector, and stopping index are measurable functions of the real input estimates. More precisely, write for its optimistic Bellman operator, put , and set , . Then When , the span is zero for . In particular, the positive UCRL2 confidence radii give finite stopping with tolerance in every episode of a finite communicating MDP, including episodes whose confidence set misses the true model.
Statement references
Extended value iteration for a confidence set.
Communicating MDP and diameter.
Axiom of Choice: assumed for the concluding communicating-MDP path laws.
Jaksch, Ortner, and Auer, §3.1.3, Theorem 7, and Appendix B. Their convergence argument is a proof sketch; the contraction argument below is supplied locally and does not invoke it.
Facts & Assumptions
Given: The finite system and radii in the Statement; the row confidence sets and Bellman update are those specified by Extended value iteration for a confidence set.
Communicating MDP and diameter: defines the communicating-MDP condition in the final application.
The Axiom of Choice: supplies only the path-law construction used to formulate that application; the finite optimization and contraction arguments are choice-free.
Proof
For a probability vector and , the ball equals the set of with , , , and . If , the coordinatewise minimum has mass ; scaling it down to mass gives , and . This also covers ; for , take . Conversely, and are nonnegative vectors of mass , so . Thus the support function is , where . The maximizing sets are nonempty and compact, since the simplex and the coordinatewise constrained sets are closed and bounded. The formula includes radii at least , for which and the ball is the whole simplex.
Fix a center , a value vector , and . Each routine update preserves the coordinate sum, keeps coordinates in , and transfers at most the remaining budget . Since every transfer has and the pointers move only inward, its source and destination supports remain disjoint; the final vector is a probability vector at distance from , where is the total transferred mass. Any feasible moves a mass from coordinates it decreases to coordinates it increases; the decrease capacities are and the increase capacities are . Its gain is at most the gain obtained by removing mass from the lowest-valued available coordinates and adding mass to the highest-valued available coordinates. This follows by exchanging any removed mass at a higher-valued source with available mass at a lower-valued source, and any added mass at a lower-valued destination with available capacity at a higher-valued destination. As increases, the marginal source values are nondecreasing and the marginal destination values are nonincreasing, so the maximum gain increases while the largest remaining destination-minus-source value is positive and cannot increase after that value becomes nonpositive. The routine implements exactly these allocations and stops only when the budget is spent or every remaining marginal gain is nonpositive. Hence it attains the maximum gain over all . Each positive transfer exhausts one of at most source capacities or destination capacities, or spends the remaining budget, so there are at most positive transfers.
Put . If , steps 1.1 and 2.1 give , where The map is monotone in every coordinate. Each expression inside its maximum increases by on replacing by , because its coefficient mass is . Thus . If and , monotonicity applied to implies . The common scalar term in the expression for disappears from span, giving .
Apply step 3.1 repeatedly to and . This proves the displayed geometric bound by induction. Its right side tends to zero, so the strict span test holds at some finite iteration for every positive tolerance. If , every row ball is the whole simplex and ; hence is constant across states and every increment after the first has zero span. UCRL2's logarithms, denominators, and tolerance at every finite , give positive radii and tolerance, so this applies to each episode without any confidence-event qualification.
With fixed finite tie orders, sorting, coordinate updates, maxima, and comparisons in each row routine are Borel functions of the real estimates; step 2.1 bounds the number of transfers uniformly. Thus each finite Bellman update and its selected action and rows are Borel. For each integer , the event that the stopping test first succeeds at iteration is Borel, and the returned quantities restricted to that event are Borel. Step 4.1 shows that, under positive radii and positive tolerance, these events cover all inputs. Therefore the returned policy, rows, value vector, and stopping index are measurable functions of the estimates.
Uniform empirical reward and transition confidence bounds
Statement
Assume the Axiom of Choice for the path-law, conditional-expectation, and martingale suppliers. Let a finite MDP have states and at most actions per state, and let be an integer and . Consider any length- interaction generated by a nonanticipating policy whose action distributions are measurable functions of the revealed history and whose randomization is independent of unexposed MDP samples. For each state-action pair , whenever it has received visits by time , let be the mean of those first rewards and let be the empirical law of those next states. With probability at least , simultaneously for all such pairs and all , where is the natural logarithm.
Statement references
Axiom of Choice: assumed for the path-law and martingale suppliers.
UCRL2 confidence analysis: §4.1 and Appendix C.1, Lemma 17 on confidence intervals (PDF lines 3710–3908).
Facts & Assumptions
Given: The finite bounded-reward MDP, its fixed conditional law for each state-action pair, and the parameters in the Statement.
Finite MDP with bounded real rewards: conditional on the pre-observation history and the selected pair, the reward and next state have the fixed law .
Adaptive MDP visits admit fixed sample tapes: adaptive visits reveal prefixes of fixed i.i.d. sample tapes without changing the interaction law.
Azuma-Hoeffding inequality: for a martingale with increments of deterministic widths , each one-sided tail is at most .
Martingale difference sequence: centered independent tape coordinates form a martingale-difference sequence in their natural filtration.
Martingales and martingale differences correspond: partial sums of martingale differences are martingales relative to the same filtration.
The Axiom of Choice: AC is used by [F2]'s path-space construction, [F3]'s conditional expectations, and [F4]–[F5]'s martingale interfaces; the finite union bounds and subset enumeration use no additional choice.
Proof
By [F2], each pair's observed samples are prefixes of a fixed i.i.d. tape with law . By [F1], its reward coordinate has mean and its next-state coordinate has law . Rewards and indicators of next-state subsets lie in . The finite tape construction uses AC exactly as stated in [A1].
By [F4] and [F5], the centered reward tape prefix has martingale partial sums with width-one increments; applying [F3] to that sum and to its negative gives the two-sided prefix tail . For a fixed pair and , set . Step 1.1 bounds the failure probability by . Union over at most pairs and possible prefix lengths gives at most .
For transition observations, fix a subset . By step 1.1, the indicators have mean and range . Their centered tape coordinates satisfy [F4]; by [F5] their partial sums are martingales, so [F3] gives for a deviation larger than . For two probability vectors on a finite set, : the positive coordinates of sum to half its norm, and choosing exactly those coordinates attains the maximum. Therefore an deviation larger than implies that some subset indicator deviates by more than . A union bound over the subsets gives .
Set and . Step 2.2 gives per-pair, per-prefix failure probability at most . Union over at most pairs and prefixes is at most : after dividing by , its logarithm is , using and . Combining the reward failure bound from step 2.1 with the transition bound just obtained proves the simultaneous claim.
Communicating MDPs have a common optimal average reward
Statement
Assume the Axiom of Choice for the path-law and conditional-expectation constructions. For a finite communicating MDP with rewards in , let be the supremum of the expected sum of the first rewards over all history-dependent policies starting from state . For every state , the limit exists, is independent of , and belongs to .
Statement references
UCRL2 average-reward framework: §2 and Theorem 2, PDF pp. 2–4.
Average-reward MDP treatment: Chapter 7.
Axiom of Choice: assumed for the path-law and conditional-expectation constructions.
Facts & Assumptions
Given: A finite communicating MDP as defined in Finite MDP with bounded real rewards and Communicating MDP and diameter, and the Axiom of Choice for the induced path laws.
Finite MDP with bounded real rewards: every reward lies in and the conditional next-state/reward law is fixed for each state-action pair.
Communicating MDP and diameter: every pair of states can be connected with expected hitting time arbitrarily close to at most the finite raw diameter .
Almost-additive sequences have a normalized limit: a linearly bounded sequence with uniformly bounded additive defect has a normalized limit.
The Axiom of Choice: AC is used for the path laws in [F1] and the conditional-expectation constructions in [F5] and [F6].
Conditional expectation as an ae class: conditional expectations are unique almost-sure classes; the proof uses versions only through conditional inequalities.
Tower property of conditional expectation: conditioning a finite-horizon reward sum at time and then taking expectation recovers its unconditional expectation.
Linearity, monotonicity, and the modulus bound for expectation: expectations are linear on integrable finite sums and preserve inequalities.
Expectation of a nonnegative or integrable random variable: bounded rewards and their finite sums are integrable and have the stated expectations.
Proof
Set for every state. Backward induction over the finite horizon gives the Bellman recurrence For the induction step, suppose that from every state the -step supremum is attained by a deterministic Markov policy and equals . Any history-dependent -step policy may randomize its first action and may condition later actions on the first reward as well as the next state. Conditional on a first action and one-step outcome , its continuation has expected reward at most by the induction hypothesis, which is independent of the earlier history and reward. Thus its total expected reward is at most , averaged over its first-action distribution, and this average is at most the displayed maximum. A maximizing action exists because is finite; choosing it and then using an attaining -step policy from each possible next state attains equality. The base case is attained by the empty policy. This proves both the recurrence and that history dependence cannot improve ; the joint reward/next-state law is handled by its mean reward and next-state marginal. For any , splitting an -step policy into its first and last rewards gives : the first part is at most the optimal -step value and the last part is at most because rewards lie in . For any and , [F2] gives a policy from whose hitting time has expectation at most . Follow it until is hit, then use an optimal policy for the remaining steps if . On for each , the conditional expected total reward given the history through time is at least , since pre-hit rewards are nonnegative. On , the total reward is nonnegative and . Summing over the hitting-time events and taking expectations using [F5]–[F8] gives . Letting and interchanging proves .
Put ; the maximum exists because is finite, and by [F1,F8]. For any -step policy from , the expected first rewards are at most , while conditional on the complete history through state the remaining -step rule is an admissible policy from and its conditional expected reward is at most . By [F4,F5,F6,F7], the unconditional expected total is therefore at most , so . Conversely, choose attaining and use an optimal -step policy from it; after observing , continue with an optimal -step policy from . By step 1.1, for every , so [F4,F6,F7] give total expected reward at least . Hence , and .
Apply [F3] to with to obtain for some finite . Step 1.1 gives for every , so division by proves for every state. The bounds imply .
UCRL2 for finite communicating MDPs
Definition
Assume the Axiom of Choice for the interaction path law. The learner is given a finite nonempty state set , a finite nonempty action set for each , the observed initial state , a horizon , a confidence parameter , and fixed orders of the states and each state's actions. Let and . Its unknown environment is a finite communicating MDP on and these action sets with rewards in ; the transition kernel, reward laws, and their means are not inputs to the learner. At interaction , the learner observes the current state , chooses an admissible action, and then observes the realized reward and next state .
Initialize and . At the start of episode , let be the total number of visits to before . If , let be the mean of the rewards observed on those visits and their empirical next-state law. If , set and set to the point mass at the first state in the fixed state order. Put and Set . Run extended value iteration with these estimates/radii and tolerance , obtaining a stationary deterministic policy . Set every within-episode count and execute the following loop. While , observe , choose , observe and , increment and the all-history count for , record this reward/transition observation, and retain the observed next state as the current state for the next interaction. Increment by one. End the episode immediately after an interaction when its pair's count reaches , where remains the episode-start count; if , begin the next episode, otherwise terminate. All action and transition-vector ties use the fixed orders.
Definition references
Extended value iteration: specifies the optimistic confidence-set Bellman updates and stopping rule.
Bounded-reward finite MDP: specifies the environment's reward and transition laws.
Communicating MDP and diameter: specifies the environment class.
UCRL2: §3, Figure 1.
Extended Value Iteration: §3.1.2, Figure 2 and equation (5).
Independent UCRL2 treatment: Chapter 10.3.1, printed pp. 224–228.
Finite EVI termination: proves that each positive-tolerance planning call returns.
Axiom of Choice: assumed for the interaction path law.
Average reward and pathwise regret
Definition
Assume the Axiom of Choice for the path laws and conditional-expectation constructions used by the common-average-reward result. For a finite communicating MDP, let denote the common optimal average reward. The existence and independence of this value from the initial state are proved in the immediately cited theorem. Under any policy, write for the realized cumulative reward over the first interactions. The pathwise regret is the random variable . Its expected regret is . The pathwise random variable and its expectation are distinct objects.
Definition references
Bounded-reward MDP: supplies the realized reward sequence and its finite-horizon path law.
Communicating MDP and diameter: supplies the model class for which is defined.
Common optimal average reward: its limit exists and is independent of the initial state.
Expectation: defines expected regret.
Expectation linearity: gives the displayed expected-regret identity.
UCRL2 regret convention: §2, the paper defines regret from the realized cumulative reward (PDF lines 134–138).
Average-reward regret treatment: Chapter 10.3.1, printed p. 223.
Axiom of Choice: assumed for the path laws and conditional expectations in the common-average-reward result.
UCRL2 high-probability pathwise regret bound
Statement
Assume the Axiom of Choice for the path-law and martingale suppliers. Let a finite communicating MDP have states, at most actions per state, rewards in , and normalized diameter . For each initial state, integer horizon , and , UCRL2 with confidence parameter satisfies For every integer , the same algorithm also satisfies Here is realized, pathwise regret and logarithms are natural. These are assertions for each fixed horizon and initial state. The original formula with and is false, as refuted below.
Statement references
UCRL2 for finite communicating MDPs.
Termination of extended value iteration under communicating assumptions.
Uniform empirical reward and transition confidence bounds.
Average reward and pathwise regret.
Communicating MDP and diameter.
Jaksch, Ortner, and Auer, Theorem 2, Section 4, and Appendix C. The proof below supplies the martingale and boundary arguments locally.
Facts & Assumptions
Given: The MDP, initial state, and parameters in the Statement, with the UCRL2 procedure in UCRL2 for finite communicating MDPs.
UCRL2 for finite communicating MDPs and Extended value iteration for a confidence set: define the confidence radii, optimistic rewards, count-doubling episodes, deterministic ties, and returned Bellman vector and transition rows .
Termination of extended value iteration under communicating assumptions: every inner planning call terminates with residual span less than .
Communicating MDP and diameter gives raw hitting diameter at most . Communicating MDPs have a common optimal average reward proves that has a common limit in ; Average reward and pathwise regret names that limit and defines .
Adaptive MDP visits admit fixed sample tapes: adaptive visits reveal independent fixed tape prefixes with the true pair law, including correlated reward and next state.
Azuma-Hoeffding inequality: a centered martingale with deterministic increment widths has one-sided upper tail .
The Axiom of Choice: AC is inherited for the path-law and martingale suppliers. It is not used for the finite maximizations or deterministic tie rules.
Proof
Fix . At any integer time , use [F4] to apply [F5] to every fixed pair and prefix length . Rewards give two-sided probability ; subset indicators give the same bound. For probability vectors , , by summing positive coordinates of . Union over subsets therefore bounds an error exceeding by . Substituting the algorithm's radii, and unioning over at most pairs and prefixes, bounds reward failure at time by , and transition failure by . The latter follows from , whose value at is and whose successive ratio is . Unobserved-pair reward radii exceed and transition radii exceed , so their defaults cannot fail. Since , with probability at least every confidence set at every time contains the true transition/reward means. Denote this event by . There is no conditioning on an adaptively selected count in this argument.
In an episode whose confidence set contains the true model, let be its optimistic Bellman operator. Its iterates are optimal -step values for the extended transition choices and fixed upper rewards, by finite-horizon backward induction and attained maxima. Upper rewards are in , and true transitions and rewards are dominated admissible choices. Thus . Also : from , follow a true-model policy hitting in expected time at most , and then an optimal remaining-horizon extended policy. The inequality follows by dropping the last rewards, each at most one. For hitting time , this yields total expected reward at least , including because and rewards are nonnegative. Take and interchange . A true history policy's state/action path law can be realized in the extended system by its conditional action probabilities given state/action history; finite histories have finite state/action alphabets, so this averaging preserves its state transitions and hitting-time law.
Let be the vector used in the terminating backup, and let , with extrema . By [F2], . Monotonicity and additive homogeneity give . Also is sup-norm nonexpansive, since implies and conversely. Therefore . Combine with and [F3], divide by , and pass to the limit to get . Consequently . For the chosen action and row, . On a good episode, and ; step 2.1 gives . Centering halfway between its extrema bounds its sup norm by , so . Hence each step of that episode obeys .
Subtract from each episode vector. On good episodes it lies in . For the probabilistic argument define to be that vector when the episode's confidence set contains the true means and zero otherwise. This is measurable at the episode start, since true means are fixed parameters; its coordinates always lie in . The increments are conditionally centered with conditional range width at most . The reward differences are conditionally centered with width at most , even if reward and next state are correlated. Apply [F5] separately with failure probability to obtain and . These events and jointly have probability at least , by step 1.1 and a union bound. On their intersection every episode is good; the sum of equals plus episode endpoint differences, each at most .
Write and . By the stop rule in [F1], every within-episode count satisfies ; when and that pair triggers the episode, its total count changes from to . For a fixed visited pair, the first observation contributes one. Thereafter, for and , rationalization gives . Telescoping, including the first observation, and then Cauchy--Schwarz yield . A completed episode can be charged to a triggering pair. A pair with final count receives at most charges, because after its initial observation every charge doubles its total. The last incomplete episode adds at most one. Thus concavity of gives . When , this is at most . For the last inequality set : is positive at and has derivative , since .
On the joint event of step 4.1, sum step 3.1 and use . With and this gives the fully explicit bound The in the bracket bounds the planning error by . This argument bounds realized regret; it does not replace rewards by their expectation without the martingale term.
Put and . If , then , since and . Suppose and . Then , (because ), and . Divide step 6.1 by and apply step 5.1, , and to bound the resulting coefficient by Here , , , , and justify each numerical bound.
Suppose . Then by [F3], every Bellman vector has a single coordinate, and both transition rows are the point mass at the only state. Hence and identically. The episode endpoint differences and the transition martingale increments in step 4.1 are also zero. Therefore re-summing the pointwise inequality in step 3.1, and retaining the reward martingale bound from step 4.1, gives on that same joint event Here , while . Thus both the nonzero reward-confidence sum and the reward martingale remain present. If , then and . Dividing the displayed inequality by and using step 5.1 yields The last strict inequality uses , , and . The case was already covered in step 7.1. This completes the first assertion for every fixed . Enlarging its logarithm gives the second assertion for those horizons. At , , whereas , proving the second assertion at the remaining boundary with probability one.
Original planned statement
Assume a finite communicating MDP with states, at most actions per state, rewards in , and normalized diameter . For every integer horizon and confidence parameter , UCRL2 satisfies, with probability at least , where is the pathwise regret and is the natural logarithm.
Refutation
Consider one state , two actions ordered , deterministic self-transitions, and deterministic rewards for and for . This is communicating with , , and by [F3]. At no pair has been observed before planning; both reward estimates are , both transition laws are the same point mass, and the confidence bonuses coincide. Every EVI backup therefore ties the actions, so [F1] selects . The optimal average reward is , while , hence by [F3].
Set . The proposed right side is , since . Thus the event asserted in the Statement has probability , whereas its required probability is . This contradicts the claim for the permitted horizon .
Remarks
The primary paper states the coefficient for . The original planned all-horizon formula is retained verbatim above as a refuted claim. The positive logarithm offset supplies a proved all-horizon bound with the same coefficient. The local argument uses the actual Borel reward kernel and permits dependence of one reward and its accompanying next state.
Expected regret lower bound for communicating MDPs
Statement
Assume the Axiom of Choice inherited by the probability and Pinsker suppliers. Here a learning algorithm is not given the unknown MDP's reward or transition laws and, at each time, uses a fixed measurable probability kernel from the observed finite history to the admissible actions, the same kernel in every environment; its action randomization is independent of unexposed MDP samples. For all integers , all real , all integers , every such learning algorithm, and every prescribed initial state label, there exists a finite communicating MDP with exactly states including that label, exactly actions in each state, rewards in , and normalized diameter at most , such that the algorithm's expected regret from that initial state satisfies The MDP may depend on the algorithm, parameters, and prescribed initial state. The original planned statement with reversed minimax quantifiers and no feasibility condition is false; it is retained and refuted below.
Statement references
Average reward and pathwise regret.
Communicating MDP and diameter.
Pinsker’s inequality with event-supremum total variation.
Total variation controls expectations of bounded functions.
Jaksch, Ortner, and Auer, Theorem 5, Section 6, and Appendix E. The exact constant and parameter transfer below use a strengthened local construction; the paper's displayed line alone does not prove the constant under its full parameter substitution.
Axiom of Choice: assumed for the probability and Pinsker suppliers.
Facts & Assumptions
Given: The parameters, arbitrary algorithm (including measurable randomized action kernels), and prescribed initial state label in the Statement.
Average reward and pathwise regret: expected regret is .
Communicating MDP and diameter: hitting time starts at zero, and normalized diameter is the maximum of one and the raw ordered-pair hitting diameter.
Pinsker’s inequality with event-supremum total variation: event-supremum total variation is at most .
Total variation controls expectations of bounded functions: a function in has expectation difference at most times event-supremum total variation.
Kullback–Leibler divergence: relative entropy uses natural logarithms.
The Axiom of Choice: AC is inherited for path laws and [F3]. All constructions and testing calculations below have finite state/action/reward histories.
Proof
We use the proved local Pinsker inequality and the total-variation bound for expectations. All remaining probability calculations are supplied here. Write for Bernoulli relative entropy. For , Indeed, differentiating gives the integrand, and on the integration interval. Suppose two environments differ only at a single state-action pair , at which one Bernoulli observation parameter changes from to . Let and be their complete histories through the th transition/reward, and let count uses of pair . Their likelihood ratio is the product of the changed Bernoulli likelihood ratios at those uses. The initial law and all conditional action kernels are identical and cancel, including for randomized algorithms. Taking logarithms, conditioning on each past history and selected action, and summing gives exactly There is no absolute-continuity issue because both Bernoulli parameters lie strictly between zero and one and every unchanged kernel has the same support. The displayed identity also follows directly by expanding the finite history probabilities; all rewards used below have finite support. Since , Pinsker implies For a family of candidate pairs with and , Cauchy–Schwarz gives . These arguments hold for every algorithm without a deterministic-policy reduction.
First suppose . In this branch, set There are paired bad/good states . If is odd, include one additional bare routing state. Arrange the bad states and the optional bare state into a breadth-first rooted -ary tree of height . At each bad state, useful actions have reward zero and move to its good partner with probability , otherwise staying put. The remaining actions route deterministically toward the parent or one of the child slots, with missing slots giving self-loops; their rewards are zero. At each good state all actions have reward one and move to the paired bad state with probability , otherwise staying put. At the optional bare state use the same routing actions and duplicate them to obtain exactly actions, all with reward zero. This uses exactly states and exactly actions per state. For each of the useful pairs , environment changes just that pair's probability of entering its good state from to . The baseline has no change. Fix the initial state at the bad root. Every environment is communicating.
For every integer , For the first inequality, gives , and are immediate. The second follows from . For the last inequality, check directly; for , and , so . This last inequality implies because . The number of tree vertices is . If , breadth-first filling implies , so and hence . If , it implies , so Thus always . The final inequality uses and . To hit a target good state from any state, first leave an initial good state if necessary (mean at most ), follow the tree path (at most steps), and repeatedly take a useful action at the target bad state (mean at most ). Hitting bad or bare targets takes no longer. Consequently
In the optimal average reward is To prove this, take the function equal to at every good state and zero elsewhere. At every state-action pair, : equality holds at good states and the special useful pair, ordinary useful pairs give , and routes give zero. Summing this inequality in conditional expectation gives average reward at most , because is bounded. Routing to the special bad state and then always using its special action realizes the two-state chain with transitions and , whose invariant good-state mass is . Its convergence in Cesàro mean follows directly from the two-state recurrence; the finite expected routing/hitting transient changes no average reward. This proves the formula. Let be the indicator that the current state is good, let indicate a useful action at a bad state, and let indicate a routing action (including every action at the bare state). Then and Rewards equal . Since , summing the equality gives the exact identity In particular, There is no adverse additive initial-transient term. In the baseline, the same identity with yields
We have (even is immediate, and odd gives ), so Because , For the last assertion gives . Applying the testing calculation and averaging over gives, with , Set and . Combining the preceding inequalities yields Since and , the coefficient is greater than Therefore at least one satisfies The last coefficient is approximately ; alternatively square both positive sides to check it exactly.
Now suppose , the remaining allowed diameter range. The parameter condition gives , so . Put and ; then and . At each of the states give one deterministic action to every other state, using actions, and distinct self-loop actions. All rewards in the baseline are independent Bernoulli variables of mean . For each of the self-loop pairs , environment changes that pair's reward mean to , where The last inequality follows from because . Rewards may be generated independently conditional on state-action history; transitions are the same deterministic transitions in all environments. Every environment has diameter one and exactly the required numbers of states and actions. Its optimal average reward is : no reward mean exceeds this, and the learner can reach the special state in at most one step and then repeatedly use its special self-loop. Start at any fixed state. Here the testing calculation gives because and . The expected regret in is exactly . Consequently Indeed, and make the bracket at least . Thus at least one has regret greater than . Since and , this is greater than . Label the bad root in the large-diameter construction by the prescribed initial state; in the small-diameter construction any prescribed initial state works. Thus both branches prove the stated quantifiers.
Original planned statement
There is a universal constant such that for every , every , and every integer , some finite communicating MDP with states, exactly actions per state, rewards in , and diameter at most forces every learning algorithm to have expected regret at least .
Refutation
Take , , , and any integer . These parameters satisfy and . For any two distinct states , the hitting time from is at least one on every path, so its expectation under every policy is at least one. Thus every ten-state communicating MDP has raw diameter at least one, and [F2] also makes its normalized diameter at least one.
No MDP with the required state count has diameter at most . Consequently the existential MDP in the original planned statement does not exist for the admissible parameters of step 7.1, regardless of the algorithm or the constant. This refutes the exact original statement. Its phrase “some MDP ... every learning algorithm” additionally reverses the minimax quantifiers: the proof above establishes an MDP chosen after the learning rule, not a single environment hard for all rules.
Remarks
The lower bound is for expected regret. It asserts no high-probability lower-tail event. The coefficient is retained: the large-diameter calculation gives more than , with the small-diameter calculation stronger still. The explicit feasibility restriction and minimax quantifiers repair a false original statement; they are not inferences from the primary proof's deficient constant-transfer line.
4 · Examples, counterexamples and false statements
None yet.
Sources
- Sébastien Gouëzel, Theory Fekete, Archive of Formal Proofs, lemma almost_additive_converges
- Wojciech Szpankowski, Average Case Analysis of Algorithms on Sequences
- Sacha Friedli and Yvan Velenik, Statistical Mechanics of Lattice Systems: A Concrete Mathematical Introduction
- Thomas Jaksch, Ronald Ortner, and Peter Auer, Near-optimal Regret Bounds for Reinforcement Learning
- Christos Dimitrakakis and Ronald Ortner, Decision Making Under Uncertainty and Reinforcement Learning: Theory and Algorithms
- Martin L. Puterman and Timothy C. Y. Chan, Markov Decision Processes and Reinforcement Learning, Chapter 7: Average Reward Models