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.
Constrained MDPs and policy safety — 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
- Constrained MDPs and policy safety
- 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
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Domination and Likelihood Ratios
- Filters and Ultrafilters
- 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
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Minimax Lower Bounds
- Mixed Partials, Taylor Formulae, and Extrema
- 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
- Policy gradients, REINFORCE, and actor–critic
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- 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 Radon Nikodym Theorem and Lebesgue Decomposition
- The Riemann Integral: Definition and Integrability
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Logical flowchart
3 · Definitions, theorems and proofs
None yet.
4 · Examples, counterexamples and false statements
A small expected cost can coexist with frequent finite-horizon violations
Example
Consider a one-state CMDP with actions safe and risky, deterministic self-transition, zero reward, discount , cost for safe, cost for risky, and cost threshold . The stationary policy chooses risky with probability at every decision, with independent action draws in the first seven decisions. Its expected discounted cost is , so it is feasible, while the probability of at least one cost during those seven decisions is .
Example references
The finite transition model, bounded cost signal, and stationary randomized policy.
Expected discounted-cost feasibility constraint: Expected discounted-cost feasibility is defined by .
Facts & Assumptions
Given: One state , two actions, deterministic self-transition, , cost , cost , threshold , and policy probability for risky at each step.
Finite discounted constrained Markov decision process: a finite CMDP's transition/reward masses and bounded transition-cost signals determine finite-time state and transition masses.
Expected discounted-cost feasibility constraint: is the discounted sum of the finite-time expected costs, and feasibility means .
For , , and for the series diverges: for , .
Verification
At every time , the state is and the expected one-step cost is . Thus by [F2] and [F3], .
Since , the policy is feasible under the expected discounted-cost constraint.
The probability that all seven independent action draws are safe is . Hence the probability of at least one cost is , as claimed.
A finite sample can report cost satisfaction while the policy violates its expected-cost limit
Example
In a one-state CMDP with , cost for risky and for safe, let a stationary policy choose risky with probability and impose the expected-cost limit . The true expected discounted cost is . In ten independent one-step rollouts, the empirical mean cost is zero whenever every action is safe, an event of probability .
Example references
A finite CMDP includes bounded transition costs and stationary randomized policies.
Expected discounted-cost feasibility constraint: Expected discounted-cost feasibility is defined by the population objective .
Facts & Assumptions
Given: One state, two actions, cost for risky and for safe, discount , policy probability for risky, and threshold .
Finite discounted constrained Markov decision process: the one-step transition law and cost signal determine the expected cost at each time.
Expected discounted-cost feasibility constraint: at , the expected discounted cost equals the initial expected one-step cost.
Verification
The policy's expected one-step cost is . Since , [F2] gives .
Each of the ten independent rollouts is safe with probability , so the probability all ten are safe is . On this event the empirical mean is , despite step 1.1 showing that the population constraint is violated.
Exact CPO cost feasibility can disagree with a sampled line-search cost check
Example
Assume the Axiom of Choice. In a one-state CMDP with discount , let the only costs be for safe and for risky, with threshold . The old policy chooses risky with probability , and the proposed policy chooses it with probability . Its exact average KL is less than the radius , while its exact expected cost is . The ideal single-cost CPO cost surrogate is ; because , the performance theorem makes this surrogate equal to the proposed policy's exact expected cost, so the ideal constraint rejects the proposal. If a one-row rollout sample from the old policy observes safe and supplies zero baseline-cost and advantage estimates, the empirical line-search cost is zero and passes the threshold; this sample occurs with probability .
Example references
Facts & Assumptions
Given: One state , two actions, a self-transition, zero reward, discount , cost , cost , threshold , old policy , and proposed policy .
The Axiom of Choice: AC is assumed for the KL form of the policy-performance theorem.
Finite discounted constrained Markov decision process: the discounted CMDP has finite transition laws and the stated bounded cost signal.
Expected discounted-cost feasibility constraint: with , expected discounted cost is the one-step expected cost.
Kullback–Leibler divergence: for finite action probabilities, when , with natural logarithms.
Sample-based constrained policy optimization update: the sample line search tests the finite sample cost surrogate supplied with the on-policy batch; it does not test the exact population cost.
Policy performance bound by average divergence: when , the total-variation remainder is zero, so the exact baseline cost surrogate equals the return difference.
Proof
The old expected cost is , while the proposed expected cost is . Since , the exact cost constraint rejects .
By [F4], the average KL at the single state is . The second logarithm is negative. Also [F5] gives , so . Thus the proposal satisfies the exact average-KL radius despite violating the exact cost limit.
The ideal CPO cost advantage under is and . Its exact surrogate is therefore . By [F7], this is the proposed policy's exact expected cost at .
Under , one sampled action is safe with probability . On that event the observed cost is zero; choosing the corresponding supplied baseline-cost estimate and cost-advantage estimate as zero makes the sample cost surrogate at equal zero. Since , the line search in [F6] accepts this sample check if is proposed, even though step 1.1 gives its exact expected cost .
An arbitrary baseline requires the old-policy residual
Statement refuted
For every finite discounted CMDP with immediate reward signal , bounded function , and stationary policies , define
and
where is the normalized discounted state occupancy. Then always
Statement references
Facts & Assumptions
Given: A one-state CMDP with one action, deterministic self-transition and reward , one identically zero cost signal, initial law , discount , baseline , and identical policies choosing the only action with probability one. Powers at time zero have the convention , including .
Finite discounted constrained Markov decision process: a finite CMDP has a nonempty finite state set, normalized finite transition masses, and bounded transition reward and cost signals.
Expected discounted-cost feasibility constraint: for bounded signal , is the unnormalized discounted sum of its finite-time expectations.
Counterexample
Given: The one-state model above and the definitions in the refuted statement.
The deterministic transition and policy masses are normalized, and both the reward and cost are bounded, so this is a finite CMDP. By [F2] its occupancy has at . By [F3] both reward returns satisfy , so .
Since and the reward is , the residual is and . The stated surrogate is . Identical policies have statewise total variation zero, so . The asserted lower inequality is , which is false by step 1.1. Subtracting the old-policy residual expectation instead gives the corrected surrogate .