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 — Examples
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
- Offline reinforcement learning and off-policy evaluation
- 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
None yet.
4 · Examples, counterexamples and false statements
Full action support permits reweighting while missing support does not
Example
Assume AC and take horizon , discount , states , actions at , and action at . Every action moves to ; action gives reward , action gives reward , and action gives reward . The target policy chooses at , and both policies choose at . With behavior probabilities , full trajectory coverage holds: the single-trajectory ordinary importance-sampling score is when action is observed and when action is observed, and its expectation is the target value . If instead , the target action has no behavior support. Two processes that agree on the logged action and its reward , but give action rewards and , respectively, have identical logged-data laws and different target values; the behavior data cannot identify which value is correct.
Example references
Finite-horizon trajectory laws and the target-value convention.
Ordinary trajectory importance sampling and its weight formula.
A proof that logged data can fail to identify value without coverage.
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, the horizon-one MDP and policies in the Example, one behavior trajectory at a time, and the corresponding target value.
Finite-horizon offline reinforcement-learning dataset and coverage: is the finite-horizon path law and the target value is the expectation of the discounted return.
Ordinary, per-decision, and weighted trajectory importance sampling: for , the ordinary score is the observed return multiplied by .
Without trajectory coverage, logged data need not identify policy value: two behavior-indistinguishable finite MDPs can have different target values when the target action is absent from behavior support.
Verification
Under , the ratio for an observed is ; its return is . The ratio for an observed is ; its return is . Thus the OIS score is with probability and with probability , so its expectation is , equal to the target value. Since , PDIS has the same score.
Under , the target trajectory taking has target probability and behavior probability , so the full-coverage premise fails and its likelihood ratio is undefined. The two reward choices and yield the same deterministic logged trajectory but target values and .
Trajectory importance weights can grow exponentially with horizon
Example
Assume AC. Fix a finite horizon and a number . Consider one state , actions , rewards , and a transition back to after either action; action gives reward and action gives reward . Let , let the target policy choose with probability , and let the behavior policy choose with probability and with probability . Full trajectory coverage holds because the only target action has positive behavior probability. The target return is . For one behavior trajectory, the ordinary trajectory importance-sampling score is if all actions are , an event of probability , and is otherwise. Thus the score has mean , second moment , and variance , which grows exponentially in for fixed .
Example references
Facts & Assumptions
Given: AC, the one-state finite MDP, horizon , , target policy , behavior probability for , and one trajectory sampled under behavior.
Finite-horizon offline reinforcement-learning dataset and coverage: the return is the finite discounted reward sum and the logged trajectory law is generated by the behavior policy and the stated joint reward/next-state mass.
Ordinary, per-decision, and weighted trajectory importance sampling: the ordinary score is , with the product of the action-propensity ratios.
Verification
Under the target policy all actions are , every reward is , and , so . Under behavior, the event that all actions are has probability ; on that event every factor is , hence . If any action is , its target probability is zero, the product weight is zero, and the OIS score is zero.
The score therefore equals with probability and otherwise. Thus and . Subtracting gives . Since is exponential in , the variance grows exponentially although every finite-horizon score is finite.
Self-normalization and clipping can introduce finite-sample bias
Example
Assume AC and take horizon , discount , states , actions at , and action at . Every action moves to ; action gives reward , action gives reward , and action gives reward . The target policy chooses at ; both policies choose at . The behavior policy chooses and each with probability . For independent behavior trajectories, let be the ordinary trajectory weight and the return. The ordinary estimate is . The self-normalized estimate is when its denominator is positive and when it is zero. The clipped estimate at threshold is . The target value is ; the ordinary estimator has expectation , the self-normalized estimator has expectation , and the clipped estimator has expectation .
Example references
Facts & Assumptions
Given: AC, the horizon-one MDP and policies in the Example, independent behavior trajectories, and the stated estimator conventions.
Finite-horizon offline reinforcement-learning dataset and coverage: the target value is the expectation of the finite-horizon return, and the logged trajectories are independent with the behavior-policy law.
Ordinary, per-decision, and weighted trajectory importance sampling: an ordinary trajectory weight is the product of the action-propensity ratios; WIS returns when its normalizing denominator is zero.
Verification
For one trajectory, and when action is observed, an event of probability ; when action is observed, and . Thus equals or with equal probability and has expectation . Linearity gives expectation for the ordinary sample average.
Let be the number of actions in the independent episodes. If , the WIS numerator is and its denominator is , so the estimate is ; if , its estimate is by convention. Independence gives . Hence its expectation is , and its bias relative to target value is .
For each trajectory, equals when is observed and when is observed. Its expectation is , so the clipped sample average also has expectation by linearity. Its bias is .
Correct ratios and a correct value model give separate DR identities
Example
Assume AC and take a one-step MDP with states , actions at , action at , horizon , and discount . Every action moves to ; action gives reward , action gives reward , and action gives reward . The target policy chooses at and at , so its value from is .
In the first evaluation case, behavior chooses and each with probability at , the action ratios are exact, and the fitted Q values are . The DR score is on a logged trajectory and on a logged trajectory, so its expectation is although the Q model is wrong at .
In the second evaluation case, behavior chooses at with probability , so the target action has no behavior support. The fitted model is exact: , , and , with and . Use the finite multipliers . Every behavior trajectory has zero residual, so its DR score is , equal to the target value despite missing support and incorrect action ratios.
In the diagram, vertices are states; an edge labeled means action produces reward and moves deterministically to the arrow endpoint. The proof uses the transition/reward values stated in prose, not the drawing.
Example references
Facts & Assumptions
Given: AC, the one-step MDP, both behavior policies, the target policy, the stated Q functions and multipliers, and , .
Finite-horizon offline reinforcement-learning dataset and coverage: the target value is the expected finite-horizon return, and behavior trajectories use the behavior policy with the same transition/reward law.
Finite-horizon doubly robust off-policy value evaluation: with , , the DR score is .
Doubly robust evaluation is unbiased under either exact component: exact ratios with trajectory coverage or a correct finite-horizon value model with the zero terminal convention suffices for unbiasedness.
Verification
In the first case, , , and . A logged has score ; a logged has score . Since each occurs with probability , the mean DR score is , the target value, although .
In the second case, the exact finite-horizon model has , , and ; its target-policy value is and its terminal value is . The behavior policy always logs , so each observed residual is , regardless of the supplied multiplier . Every DR score is therefore , and its expectation is the target value despite the absent target action in behavior data.
The first calculation verifies the exact-ratio branch with a misspecified Q function; the second verifies the exact-model branch with missing support and incorrect multipliers. Both use the terminal convention from [F2].
Sources
- Richard S. Sutton and Andrew G. Barto, Reinforcement Learning: An Introduction, 2nd ed.
- Nan Jiang and Lihong Li, Doubly Robust Off-policy Value Evaluation for Reinforcement Learning
- Sergey Levine, Aviral Kumar, George Tucker, and Justin Fu, Offline Reinforcement Learning: Tutorial, Review, and Perspectives on Open Problems