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.
Offline reinforcement learning and off-policy evaluation
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
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Discrete Time Martingales
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Finite Counting, Factorials and Binomial Coefficients
- Finite MDPs and Bellman operators
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Inclusion–Exclusion, the Pigeonhole Principle and Double Counting
- Independence Borel Cantelli and Zero One Laws
- Infinite Product Measures and Kolmogorov Extension
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Markov Kernels and Markov Chains
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Outer Measure and the Caratheodory Extension Theorem
- 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
- Suprema and Infima
- Tabular prediction and control by interaction
- The Derivative and the Mean Value Theorems
- The Exponential Function
- 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
Without trajectory coverage, logged data need not identify policy value
Statement
There are two finite one-step Markov decision processes with the same logged-data law under one behavior policy, but different target-policy values and different uniquely optimal actions. A finite one-step Markov decision process here has a finite state set, finite nonempty action sets, a finite reward set, and a probability mass on the next-state/reward pair for every state/action pair. Let the state set be , the action sets be and , the reward set be , and the horizon be . In both processes, action at gives reward and moves to , and action at gives reward and stays at . In process , action at gives reward and moves to ; in process , it gives reward and moves to . The behavior policy chooses at with probability , while the target policy chooses there with probability ; both policies choose at with probability . Every behavior-generated logged trajectory is in both processes, so every sample size has the same logged-data law in and . The target value is the expected one-step reward: it is in and in , and the unique value-maximizing initial action is in and in . An estimator here is a real-valued function of the logged dataset; it is unbiased for a target value when its expectation under the logged-data law equals that value. Consequently, no such estimator can be unbiased for the target value in both processes, and no data-based action selector can identify the unique optimal initial action with certainty in both.
Statement references
Facts & Assumptions
Given: The one-step finite-MDP construction and the behavior and target policies in the Statement; estimator expectations are with respect to the logged-data law.
Expectation of a nonnegative or integrable random variable: the expectation of a real integrable estimator is its Lebesgue integral under the logged-data probability law.
Proof
In each process, every state-action pair has a valid reward/next-state probability row: the specified reward and next state occur with probability . Under the behavior policy the only possible one-step trajectory is . Hence each size- logged dataset consists of the same fixed trajectory tuple in both processes, so its law is the same point mass for every .
The target policy chooses at , so its one-step expected return is in and in . Since action has value , the unique maximizing action is in and in . The behavior law gives zero probability to action , while the target law gives it probability ; thus full trajectory coverage fails.
Let be any real-valued estimator of finite expectation computed from the logged dataset. Equality of the two dataset laws in step 1.1 implies by [F1]. Unbiasedness in both processes would require this common expectation to equal both and , which is impossible. A data-based action selector has the same output distribution in both processes; if it chooses with probability , its probability of being correct is in and in , so it cannot identify the unique maximizing action with certainty in both.
Finite-horizon offline reinforcement-learning dataset and coverage
Definition
Assume the Axiom of Choice for the policy-induced path laws below. Let be a nonempty finite state set, let be a finite nonempty action set for each , and let be a finite nonempty reward set. A finite Markov decision process here consists of these sets and a joint next-state/reward probability mass , defined for , , and , with for every . A stationary Markov policy assigns probabilities with at every state.
Fix a horizon , a discount , and an initial state . A trajectory is a tuple with , , and for each . Write for the finite set of all such tuples. For each stationary policy , let be the probability law on whose atom masses are
For a trajectory , its finite-horizon return is , and the value of target policy from is . A fixed logged dataset of size consists of independent trajectories , each with law for a behavior policy ; the true behavior propensities used to generate the data are known. Full horizon coverage means , so every behavior-null trajectory event is also target-null. In this finite setting, the condition at every state-action pair reachable under before time is sufficient for full horizon coverage. A trajectory function is integrable under a law when . All returns are integrable in this finite-horizon finite-reward setting; importance-weighted return expressions below are used only when they are integrable.
Definition references
Under AC, a stationary policy on a finite MDP has the stated finite-prefix action-state-reward law.
Independent sample trajectories are random elements with independent generated sigma-algebras.
Absolute continuity means every null set for the behavior law is null for the target law.
A probability measure is a measure of total mass one.
Expectation is the Lebesgue integral under the trajectory law.
A real trajectory function is integrable when its absolute value has finite integral.
Remarks
The stated state-action support condition implies full horizon coverage. Here a state-action pair is reachable under before time when for some . Suppose a trajectory atom has . Its atom mass is a product of nonnegative factors, so every target action probability and every shared transition/reward factor along is positive. Each state-action pair on is therefore reachable under , and the support condition gives at every time. The same initial state and transition/reward factors then give . Since is finite, every event is a finite union of atoms; thus every -null event is also -null, proving .
Finite-horizon policy ratios are trajectory Radon-Nikodym derivatives
Statement
Assume AC and the finite-horizon dataset conditions of the preceding definition, with full horizon coverage . For , let be the finite set of trajectory prefixes through , and let be the marginal law of this prefix under policy . On a behavior-positive prefix define
and set on behavior-null prefixes. Then , and is a version of up to -almost-everywhere equality. In particular, for every real integrable under , the full-horizon weight satisfies
The same identity holds prefixwise: for each and every real integrable under , with evaluated on the observed prefix,
Statement references
Absolute continuity transfers null sets from the behavior measure to the target measure.
The Radon-Nikodym derivative is the almost-everywhere class of densities.
Radon-Nikodym derivatives satisfy the chain rule along nu << mu << lambda: For sigma-finite measures on a common finite exhaustion, the derivative of factors as the product of the two derivatives.
A real function is integrable exactly when its absolute value has finite integral.
The Lebesgue integral is linear on integrable real and complex functions.
Sutton and Barto, Reinforcement Learning: An Introduction, 2nd ed.
Jiang and Li, Doubly Robust Off-policy Value Evaluation for Reinforcement Learning
Facts & Assumptions
Given: AC, a finite MDP with fixed initial state , finite horizon , stationary policies , their induced laws , full horizon coverage , and integrable .
The Axiom of Choice: AC states that every family of nonempty sets has a choice function; the finite-MDP path-law supplier and the RN density and chain-rule suppliers assume it.
Finite-horizon offline reinforcement-learning dataset and coverage: for each policy , a feasible length- trajectory atom has mass ; the initial state and transition/reward law are the same for and .
A finite MDP policy generates action-state-reward trajectories: under AC, a finite MDP and stationary policy have the finite-prefix probabilities given by the same product formula.
Absolute continuity of a signed or complex measure with respect to a positive measure: means every -null measurable set is -null.
A sigma-finite signed measure that is absolutely continuous with respect to a sigma-finite positive measure has a unique almost-everywhere density: under AC, a signed measure with sigma-finite common finite exhaustion has a measurable density unique up to -almost-everywhere equality; if is finite, the density is integrable.
The Radon-Nikodym derivative as an almost-everywhere equivalence class: is the almost-everywhere class of functions representing by measurable-set integrals.
Radon-Nikodym derivatives satisfy the chain rule along nu << mu << lambda: under AC and the common finite-exhaustion hypotheses, implies -almost everywhere.
Integrating against a density agrees with integrating the product: for nonnegative measurable , on any measure space.
Integrable real and complex functions, and their integrals and The Lebesgue integral is linear on : real integrable functions have finite positive and negative integrals, and their integrals are linear.
Proof
Given: The hypotheses and conventions in the Statement.
For a complete trajectory atom , [F1] gives . If this atom has positive target mass, coverage makes its behavior mass positive. The initial state and every transition/reward factor are common, so on every behavior-positive atom the quotient is exactly ; if the target mass is zero, this quotient is zero.
Fix and project the full trajectory law onto . If a prefix set is behavior-null, its inverse image in is behavior-null; full coverage makes that inverse image target-null, so . The prefix space is finite. Let be counting measure on it; , and the whole prefix space is a common finite exhaustion for , , and . By [A1], [F4]–[F6] give the RN density classes and their chain rule. On each behavior-positive prefix, [F1]–[F2] give the atom-mass quotient by cancelling the common initial and transition/reward factors, leaving . Thus almost everywhere.
Fix and a real integrable under . Step 2.1 supplies the prefix density . Applying [F7] to and gives and equality of the two weighted integrals for each part. Subtracting the finite positive and negative integrals by [F8] proves the prefix expectation identity. Taking and gives the full-horizon assertion.
Ordinary, per-decision, and weighted trajectory importance sampling
Definition
Assume AC for the policy-induced trajectory laws. Input a finite-horizon logged dataset of independent behavior trajectories, a target policy , the true behavior propensities , horizon , and discount . Require full horizon coverage . For trajectory , compute for , and ; set . If an observed pair has , return status unsupported; if both probabilities are zero, set that ratio to zero. Let . Return the ordinary trajectory estimator
the per-decision estimator
and the self-normalized weighted estimator
The procedure specifies estimators; it includes no finite-sample unbiasedness assertion for the self-normalized output.
Definition references
Finite-horizon trajectory data, behavior propensities, return, and coverage.
The cumulative action-propensity product is the RN density on each finite trajectory prefix.
Sutton and Barto, Reinforcement Learning: An Introduction, 2nd ed.
Jiang and Li, Doubly Robust Off-policy Value Evaluation for Reinforcement Learning
Finite-horizon doubly robust off-policy value evaluation
Definition
Assume AC for the behavior-policy trajectory law. Input a finite-horizon logged dataset with behavior trajectories, a target policy , finite real functions for , and finite nonnegative action-weight multipliers for . Hold the functions and multipliers fixed when taking expectation over the evaluation dataset; they may be conditioned on an independent training sample. Define for every , and for define
For each logged trajectory , set and for . Compute
and return . When supplied as propensity ratios, the multipliers have the form , with positive denominators on target-positive actions. In the exact-ratio case they equal the target-to-behavior action-likelihood factors ; the procedure also permits finite fitted multipliers for the correct-value-model case. The fixed terminal value is part of the procedure.
Trajectory and per-decision importance sampling are unbiased under coverage
Statement
Assume AC and the finite-horizon dataset conditions with full trajectory coverage , true known behavior propensities, and the integrability hypotheses in the dataset definition. Whenever the preceding algorithm returns numerical estimates, all three estimates are finite. Under the behavior-generated law of the independent trajectories, its unsupported status occurs only on a null event; assign any fixed finite values to the three estimator expressions there. The ordinary trajectory estimator and per-decision estimator then each have expectation . This statement makes no finite-sample unbiasedness claim for the self-normalized weighted estimator.
Statement references
The fixed-start finite-horizon data law, target value, independent sample, and coverage assumptions.
The OIS and PDIS formulas and their finite-horizon prefix weights.
The full and prefix policy-ratio density identities.
The Axiom of Choice required by the path-law and RN suppliers.
Sutton and Barto, Reinforcement Learning: An Introduction, 2nd ed.
Jiang and Li, Doubly Robust Off-policy Value Evaluation for Reinforcement Learning
Facts & Assumptions
Given: AC, a finite-horizon dataset of independent behavior trajectories, target and behavior policies, full trajectory coverage, and the finite-horizon return.
The Axiom of Choice: AC is assumed by the trajectory-law and RN-density suppliers.
Finite-horizon offline reinforcement-learning dataset and coverage: each feasible trajectory atom has mass , logged trajectories are independent with law , the target value is , and the finite-horizon return is integrable.
Ordinary, per-decision, and weighted trajectory importance sampling: OIS averages ; PDIS averages .
Finite-horizon policy ratios are trajectory Radon-Nikodym derivatives: the full weight changes to , and each prefix weight changes the behavior prefix law to the target prefix law; the corresponding weighted absolute integrals are finite.
The Lebesgue integral is linear on : the integral of a finite sum of integrable trajectory functions is the sum of their integrals.
Proof
Given: The hypotheses and conventions in the Statement and [A1], [F1]–[F4].
On any input where the algorithm returns numerical estimates, each propensity ratio is finite: when , it is a quotient of finite probabilities by a positive probability; when both probabilities are zero, the algorithm sets the ratio to zero. If , the algorithm returns unsupported instead. Thus every cumulative weight is finite. Each return and every finite sum in OIS and PDIS is finite because the reward set, horizon, and dataset are finite. The WIS numerator and denominator are finite, and the procedure either divides by a positive finite denominator or returns zero.
An observed pair with lies on a behavior-null trajectory atom by [F1]. Since the trajectory space, horizon, and sample size are finite, the event that any observed pair has zero behavior propensity is a finite union of null events. The algorithm therefore returns numerical estimates almost surely under the behavior sample law. Extending the three estimator expressions by any fixed finite values on the unsupported null event does not change their expectations.
Fix a logged trajectory index . By [F1], its law is , and [F3] applied to gives . Linearity [F4] gives .
Fix and . The reward is a function of the prefix through , so [F3] gives . Multiplying each equality by the fixed and summing the finite range , [F4] yields .
Each of the PDIS trajectory scores in [F2] has expectation by step 3.2. Their finite sample average has the same expectation by [F4], proving . Step 3.1 proves the ordinary-estimator claim.
Doubly robust evaluation is unbiased under either exact component
Statement
Assume AC and the finite-horizon dataset conditions with fixed target policy , behavior policy , horizon , discount , and initial state . Hold the finite functions and multipliers fixed when taking expectation over the evaluation trajectories. Set and . Let
For a dataset of independent evaluation trajectories, let . Then under either of these separate conditions:
-
The full target trajectory law is absolutely continuous with respect to the behavior trajectory law, and every multiplier is the correct action ratio on every behavior-positive state-action pair reachable before time ; the ratio is when . No correctness assumption is imposed on the functions .
-
For every , state , and action , the value model is exact:
so at every step, including the zero terminal value. This branch requires no trajectory coverage and no correctness assumption on the fixed finite multipliers. If neither exact condition holds, this theorem asserts no unbiasedness.
Statement references
The finite-horizon doubly robust score and its zero terminal-value convention.
The finite-horizon path law, target value, and behavior-data sampling convention.
Exact prefix density change under correct action ratios.
The shared transition/reward law conditional on each finite history.
AC is used for path-law, RN-density, and conditional-expectation existence.
Jiang and Li, Doubly Robust Off-policy Value Evaluation for Reinforcement Learning
Facts & Assumptions
Given: AC, a finite MDP, finite horizon , , fixed initial state , stationary target and behavior policies, independent behavior trajectories, fixed finite Q functions and multipliers, and the OPE estimator in the Statement.
The Axiom of Choice: AC is required by the finite path-law, RN-density, and conditional-expectation existence suppliers cited below.
Finite-horizon offline reinforcement-learning dataset and coverage: the same finite joint reward/next-state mass is used under both policies, the dataset trajectories have behavior law , and .
Finite-horizon doubly robust off-policy value evaluation: , , and the estimator is the average of the stated finite weighted residual scores.
Finite-horizon policy ratios are trajectory Radon-Nikodym derivatives: under full coverage, exact products of action ratios are the RN densities on every prefix through the next reward and state.
A finite MDP policy generates action-state-reward trajectories: conditional on a finite history ending at state and action , the next reward/state atom has probability ; this follows by dividing the successive prefix atom masses when the conditioning history has positive behavior probability.
Conditional expectation as an ae class and Conditional expectation exists by radon nikodym: under AC, conditional expectations exist as almost-sure classes with versions satisfying the event-integral definition Conditional expectation given a sigma algebra.
Taking out what is known: if is integrable and is bounded and measurable with respect to the conditioning sigma-algebra, then almost surely.
Basic algebra and order properties of conditional expectation: conditional expectation is linear and preserves total expectation.
Integrable real and complex functions, and their integrals and The Lebesgue integral is linear on : finite-MDP, finite-horizon terms are integrable, and finite real sums may be integrated termwise.
Proof
Given: The hypotheses and conventions in the Statement and [A1], [F1]–[F8].
First assume condition 1. For every , the residual is a function of the prefix through , so [F3] gives . The baseline term is the same under both laws because is fixed.
Now assume condition 2. For each , let be the expected discounted return over steps under target policy , starting at state at time , and set . The zero-step return gives . If , then conditioning on the finite target action sum and the joint next-state/reward mass gives . Backward induction proves for all , hence . Condition 2 and the algorithm's definition of then give for all .
Fix and let be the finite sigma-algebra generated by the history through . For each positive-probability history atom ending at , the path-law formula in [F4] gives ; dividing by proves that the conditional next reward/state mass is . Therefore . The equality follows because is defined by the same finite sum. Each is a finite -measurable function, since the trajectory space and horizon are finite and the multipliers are fixed. Applying [F6] and then expectation preservation [F7] yields .
For each state , , so averaging over the target-law distribution of gives . Substituting the density identities from step 1.1 into the expected score, the terms telescope: because and . This proves condition 1 without requiring a correct Q model.
Every residual term in has zero expectation by step 1.3, while the baseline is by step 1.2. Hence . No coverage or ratio-correctness premise was used in this branch.
Condition 1 implies that one trajectory score has expectation by step 2.1, and condition 2 implies the same by step 2.2. Every evaluation trajectory has this same behavior law by [F1], so linearity of the integral [F8] makes their finite sample average have expectation . Thus either exact condition is sufficient.
Off-policy estimates do not guarantee offline policy safety
Limits of offline evaluation and policy optimization
Under the finite-horizon data assumptions above, full trajectory-law coverage, true known behavior propensities, and integrable weighted returns, the ordinary trajectory and per-decision importance-sampling estimators are unbiased for the expected return of the fixed target policy. In this finite trajectory setting their finite numerical outputs have finite variance, but they do not provide a variance bound uniform over behavior policies, a confidence bound, or a guarantee that the target policy outperforms the behavior policy. For each fixed model, horizon, and sample size, the trajectory dataset space is finite; after any fixed finite assignment on the behavior-null unsupported event, each estimator has finitely many finite values, so its second moment and variance are finite. Product weights can vary exponentially with horizon; self-normalization and clipping can change finite-sample expectations. With missing coverage, two environments can agree on every logged trajectory and assign different values to an unobserved action. A conservative policy constraint explicitly restricts candidate policies, for example by limiting their divergence from the behavior policy; a pessimistic value adjustment lowers predicted values for poorly supported actions. These choices can reduce unsupported action selection but can also limit policy improvement, and they are not by themselves safety guarantees. Model exploitation occurs when optimization selects state-action pairs where an approximate dynamics or value model overpredicts return; optimizing such errors can worsen real performance. A finite-sample safety or performance guarantee needs its own assumptions and error bounds.
Limits of offline evaluation and policy optimization references
The fixed-data, target-policy, behavior-policy, and full-coverage conventions.
OIS, PDIS, and the self-normalized WIS procedure.
The finite-horizon doubly robust residual estimator.
A finite example showing that missing behavior support can prevent value identification.
Under finite-horizon coverage and the stated behavior-data assumptions, OIS and PDIS are unbiased.
Sutton and Barto, Reinforcement Learning: An Introduction, 2nd ed.
Jiang and Li, Doubly Robust Off-policy Value Evaluation for Reinforcement Learning
4 · Examples, counterexamples and false statements
None yet.
Sources
- Sergey Levine, Aviral Kumar, George Tucker, and Justin Fu, Offline Reinforcement Learning: Tutorial, Review, and Perspectives on Open Problems
- Nan Jiang and Lihong Li, Doubly Robust Off-policy Value Evaluation for Reinforcement Learning
- Richard S. Sutton and Andrew G. Barto, Reinforcement Learning: An Introduction, 2nd ed.