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

✓ 9 results · all verified · 9 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs; all 9 also cleared it.

Model-based planning, Dyna, and model exploitation

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: AI-generatedprecheck pendingjudge pass (gpt-6-luna)Open item page →

Finite learned transition and reward models

Definition

Let the true environment be a finite Markov decision process with nonempty finite state set S, nonempty finite action sets A(s), a finite reward alphabet contained in [0,1], and joint next-state/reward probabilities p(s′,ρ∣s,a). Write D={(s,a):s∈S, a∈A(s)}, and let r(s,a) and P(s′∣s,a) be the expected reward and next-state probabilities obtained by summing this joint law. A finite learned model on the same state and action sets consists of estimates r^:D→[0,1] and probability distributions P^(⋅∣s,a) on S for every (s,a)∈D. The estimated transition table is a probability kernel on the finite discrete spaces.

For each (s,a)∈D, define the reward error er(s,a)=∣r(s,a)−r^(s,a)∣ and transition error

eP(s,a)=12∑s′∈S∣P(s′∣s,a)−P^(s′∣s,a)∣.

For any subset C⊆D, define ϵr(C)=max⁡(s,a)∈Cer(s,a) and ϵP(C)=max⁡(s,a)∈CeP(s,a) when C≠∅, and set both quantities to 0 when C=∅. These are uniform expected-reward and total-variation errors on C; the learned model definition makes no accuracy assertion.

Definition references

Facts & Assumptions

Given: A finite MDP with nonempty finite S and A(s), reward alphabet contained in [0,1], joint masses p(s′,ρ∣s,a), and proposed estimates r^ and P^ satisfying the Definition.

[F1]

Finite Markov decision process with joint reward-transition law: each joint row p(⋅,⋅∣s,a) is a probability mass function; r(s,a)=∑s′,ρρp(s′,ρ∣s,a) and P(s′∣s,a)=∑ρp(s′,ρ∣s,a).

[F2]

Measure kernel and probability kernel: a probability kernel has probability-measure sections and measurable event sections; on finite discrete input and output spaces every event section is measurable.

[F3]

Total variation distance for probability laws and Half-ℓ1 formula for total variation on a countable space: total variation is the event-supremum distance and, on finite discrete S, equals 12∑s′∣P(s′)−Q(s′)∣.

[F4]

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

[F5]

The triangle inequality: for real u,v, ∣u+v∣≤∣u∣+∣v∣.

[F6]

Basic properties of the absolute value: ∣u∣≥0 and ∣−u∣=∣u∣ for every real u.

Verification

Given: The finite MDP, the estimated transition and reward table, and the definitions and finite-set hypotheses in the Definition.

1.1givenF1F2algebra

For each pair (s,a), P(s′∣s,a)≥0 and ∑s′P(s′∣s,a)=∑s′,ρp(s′,ρ∣s,a)=1 by [F1]. Thus every true transition row is a probability law. The proposed P^ rows have this property by the Given condition. Since the spaces are finite and discrete, [F2] makes both transition tables probability kernels. The reward alphabet lies in [0,1], so its probability-weighted finite sum r(s,a) also lies in [0,1], as does r^(s,a) by assumption.

2.1givenF3F4F5F6step 1.1algebra∎

For each pair, ∣P(s′∣s,a)−P^(s′∣s,a)∣≤P(s′∣s,a)+P^(s′∣s,a) by [F5] and [F6]. Summing over s′ gives at most 2, so 0≤eP(s,a)≤1; also 0≤er(s,a)≤1 because both rewards lie in [0,1]. By [F3], the displayed half-sum is exactly the library total-variation convention on S. The set D and each C⊆D are finite; therefore [F4] gives attained maxima when C is nonempty, and the empty-set convention defines the remaining case. All model errors in the Definition are consequently well-defined.

DefinitionDefinition: Literature-sourcedProof: AI-generatedprecheck pendingjudge pass (gpt-6-luna)Open item page →

Finite stochastic shortest-path problems

Definition

Let a finite MDP have nonempty finite state set S and finite nonempty action sets A(s). A finite stochastic shortest-path problem consists of that MDP, a nonempty goal set G⊆S, and a constant cmin⁡>0 with the following properties. Each goal g∈G has exactly one available action ag, and its joint reward-transition law satisfies p(g,0∣g,ag)=1 (so 0∈R). For every s∉G and every a∈A(s), the expected reward satisfies r(s,a)≤−cmin⁡. Define the one-step expected cost by c(s,a)=−r(s,a) off G and c(g,a)=0 at goals. A stationary Markov policy π is proper if, from every initial state, the finite-step probabilities of not having reached G tend to 0: with q0(s)=1s∉G and

qn+1(s)=∑a∈A(s)π(a∣s)∑s′∈SP(s′∣s,a)qn(s′)(s∉G),qn+1(g)=0(g∈G),

properness means qn(s)→0 for every s∈S. The problem need not have a proper policy unless that is separately assumed.

Facts & Assumptions

Given: A finite MDP, nonempty goal set G, absorbing zero-reward dummy actions at goals, and the strict negative expected-reward bound on every nonglobal state-action pair in the Definition.

[F1]

Finite Markov decision process with joint reward-transition law: each A(s) is finite and nonempty; P(⋅∣s,a) is a probability distribution obtained by marginalizing the joint reward-transition law, and r(s,a) is its expected one-step reward.

Verification

Given: The finite MDP data and a stationary Markov policy π.

1.1givenF1algebra

The expected costs c(s,a)=−r(s,a) are finite because the reward alphabet is finite and the joint row is a probability mass by [F1]. The stated reward bound gives c(s,a)≥cmin⁡>0 off G, and the dummy action at each goal has cost 0.

2.1givenF1step 1.1algebra∎

By [F1], every row P(⋅∣s,a) is a probability distribution, and every policy row π(⋅∣s) is a probability distribution. Thus the recursion defining qn+1 is a finite sum of nonnegative terms. If 0≤qn≤1, then 0≤qn+1(s)≤∑aπ(a∣s)∑s′P(s′∣s,a)=1 off G, while qn+1(g)=0 on G. Since q0∈[0,1]S, induction shows every qn is well-defined and lies in [0,1]S.

DefinitionDefinition: Literature-sourcedProof: AI-generatedprecheck pendingjudge pass (gpt-6-luna)Open item page →

Finite-horizon return under a Markov policy

Definition

Let S be a nonempty finite state set, let A(s) be a nonempty finite action set for each s∈S, let r(s,a)∈[0,1], and let P(⋅∣s,a) be a probability distribution on S for each admissible pair. A finite-horizon Markov policy of horizon H∈N with H≥1 is a family of probability distributions πt(⋅∣s) on A(s) for 0≤t<H. Given an initial state distribution μ, define d0=μ and, for 0≤t<H−1,

dt+1(s′)=∑s∈S∑a∈A(s)dt(s)πt(a∣s)P(s′∣s,a).

The finite-horizon expected return is

JH(M,μ,π)=∑t=0H−1∑s∈S∑a∈A(s)dt(s)πt(a∣s)r(s,a).

The same definition applies to a learned model by replacing r,P with its estimated reward and transition tables. It is the expected sum of the H one-step rewards; no discount factor or terminal continuation value is included.

Facts & Assumptions

Given: A finite reward/transition model, an initial probability distribution μ, a positive integer horizon H, and the finite family of policy distributions in the Definition.

[F1]

Finite learned transition and reward models: S and every A(s) are finite and nonempty, r(s,a)∈[0,1], and each row P(⋅∣s,a) is a probability distribution.

Verification

Given: The model, initial distribution, horizon, and Markov policy in the Definition.

1.1givenF1algebra

The initial vector d0=μ is a probability distribution. If dt is a probability distribution, every term in the recursion is nonnegative and ∑s′∈Sdt+1(s′)=∑s∈Sdt(s)∑a∈A(s)πt(a∣s)∑s′∈SP(s′∣s,a)=∑s∈Sdt(s)=1, because each policy and transition row has total mass one by [F1]. Induction proves that every dt is a probability distribution.

2.1givenF1step 1.1algebra∎

Each summand in JH is nonnegative, and at each time t its sum is at most ∑sdt(s)=1 because rewards lie in [0,1] by [F1]. The H finite time sums therefore define a real number in [0,H].

AlgorithmAlgorithm: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Trial-based real-time dynamic programming

Definition

Input: a finite stochastic shortest-path model, a finite value table V0:S→R with V0(g)=0 on goals, a nonempty finite start set S0⊆S∖G, a positive integer trial cap L, and an infinite supplied start sequence in which each member of S0 occurs infinitely often. For each trial, set the current state to the next supplied start. For at most L decision steps, or until a goal is reached, do the following: at the current nonglobal state s, compute

qV(s,a)=r(s,a)+∑s′∈SP(s′∣s,a)V(s′)(a∈A(s)),

choose uniformly from the nonempty set of actions attaining max⁡a∈A(s)qV(s,a) using a fresh tie draw, execute the chosen action in the given MDP and observe the next state, then replace V(s) by max⁡a∈A(s)qV(s,a) using the value table from before that backup. Keep every other value unchanged. At a goal keep value 0. After a trial ends, reset the state to the next supplied start without resetting the value table. The procedure returns the successive value tables and selected actions; it asserts no convergence guarantee by itself.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck pendingjudge pass (gpt-6-luna)Open item page →

One-step total-variation propagation under a fixed policy

Statement

Let S be a finite nonempty set, let A(s) be finite and nonempty for each s∈S, and let P(⋅∣s,a) and P^(⋅∣s,a) be probability distributions on S for each admissible pair. For distributions u,v on S, write TV⁡(u,v)=12∑x∈S∣u(x)−v(x)∣. Let π(⋅∣s) be a probability distribution on A(s) for each state. Define the induced transition rows

Kπ(s,x)=∑a∈A(s)π(a∣s)P(x∣s,a),K^π(s,x)=∑a∈A(s)π(a∣s)P^(x∣s,a).

If d and d^ are probability distributions on S and, for some ϵ≥0,

TV⁡(P(⋅∣s,a),P^(⋅∣s,a))≤ϵ

whenever d^(s)>0 and π(a∣s)>0, then

TV⁡(dKπ,d^K^π)≤TV⁡(d,d^)+ϵ.

Here dKπ and d^K^π are the next-state distributions obtained by applying the indicated transition rows.

Facts & Assumptions

Given: The finite state/action sets, true and estimated transition rows, policy rows, state distributions, and row-error bound in the Statement.

[F1]

Finite learned transition and reward models: each true and learned transition row is a probability distribution on the same finite state set; its total-variation error is the half-ℓ1 distance.

[F2]

Measure kernel and probability kernel: a probability kernel has probability-measure sections and measurable event sections; on finite discrete spaces each row table is a probability kernel.

[F3]

Total variation distance for probability laws and Half-ℓ1 formula for total variation on a countable space: on finite discrete S, TV⁡(u,v)=12∑x∣u(x)−v(x)∣ and this equals the supremum of event-probability differences.

[F4]

Total variation duality, kernel contraction, and coupling bound: applying one probability kernel to two input probability laws cannot increase their total-variation distance.

[F5]

Basic properties of the absolute value: absolute value is nonnegative and ∣uv∣=∣u∣∣v∣ for real u,v.

[F6]

Triangle inequality for finite sums: for every finite initial segment, the absolute value of a sum of reals is at most the sum of their absolute values.

[F7]

Laws of finite sums and finite products: finite sums obey additivity and recursion, so finite repeated sums may be expanded using the field laws.

[F8]

The sum ∑i∈Sai over a finite index set, and its product form: sums over a finite set are independent of enumeration and invariant under bijective reindexing.

Proof

1.1givenF1F2F4algebra

For each state s, the policy mixture Kπ(s,⋅) is a probability distribution because it is a convex combination of the probability rows P(⋅∣s,a); the same holds for K^π. The state set is finite discrete, so both row tables are probability kernels by [F2]. Applying [F4] to the common kernel Kπ gives TV⁡(dKπ,d^Kπ)≤TV⁡(d,d^).

1.2givenF1F3F5F6F7F8algebra

Enumerate the finite set D of admissible state-action pairs. For each x∈S, the finite-sum triangle inequality [F6] and absolute-value product formula [F5] give TV⁡(d^Kπ,d^K^π)=12∑x∈S∣∑(s,a)∈Dd^(s)π(a∣s)(P(x∣s,a)−P^(x∣s,a))∣≤12∑x∈S∑(s,a)∈Dd^(s)π(a∣s)∣P(x∣s,a)−P^(x∣s,a)∣. The finite sums over S and D can be interchanged: enumerate both sets, expand by additivity [F7], and use the coordinate-swap bijection with enumeration invariance [F8]. This gives ∑s∈Sd^(s)∑a∈A(s)π(a∣s)12∑x∈S∣P(x∣s,a)−P^(x∣s,a)∣≤ϵ. The last inequality uses the row bound on every positive-weight pair; zero-weight terms vanish, and the weights sum to ∑sd^(s)∑aπ(a∣s)=1 because both rows are probability distributions.

2.1F5F6step 1.1step 1.2algebra∎

For every x∈S, write dKπ(x)−d^K^π(x)=[dKπ(x)−d^Kπ(x)]+[d^Kπ(x)−d^K^π(x)]. The scalar triangle inequality [F5], summed over finite S using [F6], gives TV⁡(dKπ,d^K^π)≤TV⁡(dKπ,d^Kπ)+TV⁡(d^Kπ,d^K^π). Steps 1.1 and 1.2 bound the right side by the claim.

TheoremStatement: Literature-sourcedProof: AI-generatedprecheck pendingjudge pass (gpt-6-luna)Open item page →

Finite positive-cost stochastic shortest-path value

Statement

Assume the Axiom of Choice and let a finite positive-cost stochastic shortest-path problem have at least one proper stationary policy. For any policy σ whose action distribution may depend on the entire finite history, use its trajectory law from the initial state s and define

Jσ(s)=∑t=0∞Esσ ⁣[c(St,At) 1{St∉G}],

where c(s,a)=−r(s,a)>0 off the absorbing goal set G and c(g,a)=0 at goals. The optimal total cost f∗(s)=inf⁡σJσ(s) is finite for every state. It is the unique finite nonnegative function satisfying

f∗(g)=0(g∈G),f∗(s)=min⁡a∈A(s)[c(s,a)+∑s′∈SP(s′∣s,a)f∗(s′)](s∉G).

The minimum is attained by a deterministic stationary policy that is proper and has total cost f∗ from every initial state.

Facts & Assumptions

Given: AC, a finite SSP with nonempty finite state and action sets, absorbing zero-cost goals, nonglobal costs c(s,a)≥cmin⁡>0, and a proper stationary policy.

[A1]

The Axiom of Choice: every family of nonempty sets has a choice function. It is used only through the history-dependent path-law construction in [F2].

[F1]

Finite stochastic shortest-path problems: P(⋅∣s,a) is a probability row; every nonglobal expected cost is at least cmin⁡>0; properness means the finite-step survival probabilities tend to zero from each state.

[F2]

Ionescu-Tulcea construction of a Markov chain: under AC, an initial law and a sequence of probability kernels depending on finite histories determine a trajectory law with the prescribed finite-prefix probabilities.

[F3]

Every nonempty finite set of reals has a maximum and a minimum: every nonempty finite list of real numbers has an attained minimum as well as a maximum.

Proof

Given: The SSP, a proper stationary policy, and AC as stated.

1.1givenA1F1F2construct

If S=G, all costs and values are zero, and the theorem follows. Otherwise let S∖G≠∅. For any history-dependent policy, finite state/action histories form finite discrete spaces at each time, so the conditional action and transition rules are probability kernels. By [A1] and [F2], the corresponding trajectory law exists with the specified finite-prefix probabilities; this justifies the expectations in the Statement.

1.2givenF1F3construct

Define the Bellman map T by (Tu)(g)=0 on goals and (Tu)(s)=min⁡a∈A(s)[c(s,a)+∑s′P(s′∣s,a)u(s′)] off goals. Set f0(s)=0 and fn+1=Tfn. The minimum is attained by [F3]. These are finite-horizon optimal costs: for n=0 the continuation cost is zero; if the claim holds at horizon n, conditioning on the first action and next state gives the displayed recursion at horizon n+1. Any randomized first action gives a convex combination of action costs, which is at least their minimum; a minimizing pure action attains that minimum, so the finite-horizon optimum is the displayed value.

2.1givenF1F3F4step 1.1step 1.2algebra

The recursion is monotone in its value argument because all transition weights are nonnegative, and f1≥f0=0; induction gives 0≤fn≤fn+1. For any stationary policy π, let U=S∖G and define the substochastic matrix Qπ on U by Qπ(s,t)=∑a∈A(s)π(a∣s)P(t∣s,a). The properness recursion gives q0π∣U=1 and qn+1π∣U=Qπqnπ∣U, so qnπ∣U=(Qπ)n1; since Qπ1≤1, these survival probabilities are nonincreasing. For the proper stationary policy πˉ in the Given assumptions, choose Ns≥1 with qNsπˉ(s)<1 for each state. Since S is finite, N=max⁡sNs and ρ=max⁡sqNπˉ(s) satisfy ρ<1. Also qNπˉ(s)=∑t∈U(Qπˉ)N(s,t) for s∈U, and q(k+1)Nπˉ=(Qπˉ)NqkNπˉ. Thus induction gives qkNπˉ(s)≤ρk for every state and k≥0. The finite maximum cmax⁡=max⁡{c(s,a):s∈U, a∈A(s)} exists by [F3]. During block k, each stage cost has expectation at most cmax⁡qkNπˉ(s)≤cmax⁡ρk, because survival decreases in time. Hence Jπˉ(s)≤Ncmax⁡∑k≥0ρk=Ncmax⁡/(1−ρ). Since fn is the n-step optimum, fn(s)≤Jπˉ(s); thus each increasing sequence fn(s) is bounded above, and [F4] gives a finite limit f(s).

3.1step 1.2step 2.1algebra

Passing to the limit in the finite sums and finite minima in step 1.2 is valid coordinatewise; the minimum of finitely many convergent real sequences converges to the minimum of their limits. Hence f(g)=0 on G and f(s)=min⁡a[c(s,a)+∑s′P(s′∣s,a)f(s′)] off G. Therefore f is a finite nonnegative Bellman fixed point.

4.1givenF1F3F4step 2.1step 3.1algebra

Enumerate the finite state set as s1,…,sm. For each nonglobal state, [F3] gives a nonempty finite set of actions minimizing the fixed-point expression in step 3.1. Inductively along this finite list, select one minimizer at each state; at each successor stage one nonempty finite set is added to the already chosen finite tuple, so this finite construction uses no arbitrary-index choice. The selected actions define a deterministic stationary policy π∗. For n=0 the identity is f(s)=f(s). If it holds at n, condition on the next state and apply the Bellman equality at the current state to obtain it at n+1; hence induction gives f(s)=Esπ∗[∑t<nc(St,At)1{St∉G}+f(Sn)] for every n. By step 2.1 and [F4], the survival probabilities under π∗ have a limit; if that limit were q∞>0, the partial cost expectation would be at least ncmin⁡q∞, contradicting the finite left side and nonnegative terminal term. Thus π∗ is proper. Since f is bounded on finite S and f=0 on G, properness gives Esπ∗f(Sn)≤max⁡xf(x)qnπ∗(s)→0; letting n→∞ in the identity yields Jπ∗(s)=f(s).

5.1F1F2step 3.1step 4.1algebra

Fix an initial state s and any policy σ. The fixed-point equation gives f(x)≤c(x,a)+∑x′P(x′∣x,a)f(x′) for each nonglobal x and every action a, with equality at goals. Averaging over each history-dependent action distribution gives the one-step inequality; conditioning successively on the finite-prefix laws and inducting on n gives f(s)≤Esσ[∑t<nc(St,At)1{St∉G}+f(Sn)]. Under σ, the events {Sn∉G} decrease because goals are absorbing. If their probabilities tend to zero, boundedness of the terminal term makes f(s)≤Jσ(s). If they do not tend to zero, their limit is positive, and the positive cost lower bound makes Jσ(s)=+∞; again f(s)≤Jσ(s). Thus f is a lower bound for every policy cost, while step 4.1 exhibits a policy attaining it. Consequently f=f∗.

6.1givenF1F2step 1.2step 2.1step 4.1algebra∎

Let g be any finite nonnegative solution of the same Bellman equations. Since f0=0≤g, the monotonicity of T from step 2.1 gives fn=Tn0≤Tng=g for every n, hence f∗≤g. The Bellman minimum for g is no larger than any action value, so g(x)≤c(x,a)+∑x′P(x′∣x,a)g(x′) for every nonglobal x and action a. Average this inequality along the proper policy π∗ from step 4.1 and iterate over n steps to obtain g(s)≤Esπ∗[∑t<nc(St,At)1{St∉G}+g(Sn)]. The terminal term tends to zero because g is bounded and π∗ is proper, so g(s)≤Jπ∗(s)=f∗(s). Therefore g=f∗, proving uniqueness.

RemarkRemark: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Ensemble disagreement is not calibrated uncertainty by definition

Remark

For an ensemble of m≥2 learned transition rows P^1(⋅∣s,a),…,P^m(⋅∣s,a), define the pairwise disagreement score by

u(s,a)=2m(m−1)∑1≤i<j≤mTV⁡(P^i(⋅∣s,a),P^j(⋅∣s,a)).

This statistic measures dispersion among the fitted models. By itself it does not specify a probability law for the true model error TV⁡(P(⋅∣s,a),P^i(⋅∣s,a)), nor does it assert a calibrated coverage frequency for any error threshold. Calibration requires additional assumptions and a separately proved or empirically checked calibration condition.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Tabular Dyna-Q with a deterministic last-observation model

Definition

Input: a finite continuing discounted MDP with 0≤γ<1, deterministic one-step rewards in [0,1] and deterministic next states at every state–action pair, an initial state s0, a behavior rule that selects an admissible action at each visited state, an integer n≥0 of planning updates per real interaction, a step-size schedule assigning α∈(0,1] to each Q-table update, and a finite initial action-value table Q0:D→R, where D={(s,a):s∈S, a∈A(s)}. An episodic task may be represented by an ordinary transition to its reset state. Initialize an empty model table and, for each state s, an empty set Aseen(s).

For each real interaction, let s be the current state, choose a using the behavior rule, execute it in the environment, and observe reward r and next state s′. Apply one tabular Q-learning update to Q(s,a):

Q(s,a)←Q(s,a)+α[r+γmax⁡b∈A(s′)Q(s′,b)−Q(s,a)].

Record the deterministic response Model⁡(s,a)=(r,s′) and insert a into Aseen(s). Then perform n planning updates: choose uniformly a state from Sseen={s:Aseen(s)≠∅}, choose uniformly an action from its Aseen(s), retrieve the saved response (r~,s~′)=Model⁡(s,a), and apply the same Q-learning update with (r~,s~′) and the next scheduled step size. The model is queried only at previously experienced pairs. In the stated deterministic environment the stored response is exact after that pair is first observed. After the planning updates, set the current state to s′ and output the updated Q table together with the real action for this interaction. Repeat for successive real interactions indefinitely, unless the caller stops the run. The procedure makes no claim that the model is accurate at unseen pairs or in a stochastic environment, and it asserts no convergence guarantee.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Finite-horizon model-predictive control

Definition

Input: a finite learned MDP model, a current state s0, a horizon H∈N with H≥1, and, for each state s, an ordered finite list containing every action in A(s) exactly once; this ordering determines deterministic tie-breaking. Initialize V0(s)=0 for every state. For h=1,…,H, compute for every admissible pair

Qh(s,a)=r^(s,a)+∑s′∈SP^(s′∣s,a)Vh−1(s′),Vh(s)=max⁡a∈A(s)Qh(s,a).

At the current state s0, return the first action in its supplied listing that attains VH(s0). The controller executes only this first action in the true environment, observes the next state, and may invoke the procedure again with the new state and a newly supplied learned model. The procedure specifies no model-update rule and makes no guarantee about the true return of the model-selected action.

TheoremStatement: Literature-sourcedProof: AI-generatedprecheck pendingjudge pass (gpt-6-luna)Open item page →

Finite-horizon simulation bound for one fixed policy

Statement

Let M=(S,(A(s))s∈S,r,P) and M^=(S,(A(s))s∈S,r^,P^) be finite models on a common nonempty finite state set and common nonempty finite action sets, with r,r^∈[0,1] and probability transition rows. Fix a horizon H≥1, a common initial state law μ, and one possibly time-dependent randomized Markov policy π=(πt)t=0H−1. Let dt and d^t be the state occupancies under M and M^, respectively, starting from d0=d^0=μ. Define

CHπ={(s,a):dt(s)πt(a∣s)>0 or d^t(s)πt(a∣s)>0 for some 0≤t<H}.

Suppose ∣r(s,a)−r^(s,a)∣≤ϵr and TV⁡(P(⋅∣s,a),P^(⋅∣s,a))≤ϵp for every (s,a)∈CHπ, where TV⁡(p,q)=12∑s′∣p(s′)−q(s′)∣. Then

∣JH(M,μ,π)−JH(M^,μ,π)∣≤Hϵr+(H2)ϵp.

The guarantee concerns this fixed policy and the stated reachable pairs; it does not bound the policy selected by optimizing the learned model.

Facts & Assumptions

Given: The finite models, common law, horizon, fixed policy, reachable-pair error bounds, and notation in the Statement.

[F1]

Finite learned transition and reward models: every transition row is a probability distribution on the common finite state set, and both reward means lie in [0,1].

[F2]

Finite-horizon return under a Markov policy: each model's state occupancy is propagated by the policy-weighted transition row, and its return is the sum of the policy-weighted expected rewards for times 0 through H−1.

[F3]

One-step total-variation propagation under a fixed policy: if transition-row total-variation error is at most ϵp on all pairs with positive learned state-action occupancy under a policy row, then the next-state total-variation distance is at most the current distance plus ϵp.

[F4]

Half-ℓ1 formula for total variation on a countable space: on the finite state set, total variation is one half of the sum of absolute mass differences.

[F5]

The triangle inequality: for real u,v, ∣u+v∣≤∣u∣+∣v∣.

[F6]

Triangle inequality for finite sums: for every finite initial segment, the absolute value of a sum of reals is at most the sum of their absolute values.

Proof

Given: The two finite models, common initial law, fixed policy, and error bounds from the Statement.

1.1givenF1F2F3algebra

At time 0, TV⁡(d0,d^0)=0. If 0≤t<H−1, every pair with d^t(s)πt(a∣s)>0 belongs to CHπ, so its transition rows satisfy [F3]. Applying [F3] to the policy at time t gives TV⁡(dt+1,d^t+1)≤TV⁡(dt,d^t)+ϵp. Induction yields TV⁡(dt,d^t)≤tϵp for every 0≤t<H.

2.1givenF1F2F4F5step 1.1algebra

For a fixed time t, set gt(s)=∑aπt(a∣s)r(s,a) and g^t(s)=∑aπt(a∣s)r^(s,a). These functions lie in [0,1] by [F1]. For xs=dt(s)−d^t(s), one has ∑sxs=0; by [F4] the total positive mass and total negative mass of (xs) both equal TV⁡(dt,d^t). Since 0≤gt(s)≤1, it follows that ∣∑sxsgt(s)∣≤TV⁡(dt,d^t). Also, every pair with d^t(s)πt(a∣s)>0 lies in CHπ, so ∣∑s,ad^t(s)πt(a∣s)(r(s,a)−r^(s,a))∣≤ϵr. Decomposing the difference of the two time-t expected rewards and applying [F5] gives an absolute difference at most tϵp+ϵr by step 1.1.

3.1F2F6step 2.1algebra∎

By [F2], the return difference is the sum of the H timewise expected-reward differences. The finite-sum triangle inequality [F6] and step 2.1 therefore give ∣JH(M,μ,π)−JH(M^,μ,π)∣≤∑t=0H−1(tϵp+ϵr)=Hϵr+H(H−1)2ϵp=Hϵr+(H2)ϵp. The arithmetic sum evaluates to H(H−1)/2.

LemmaStatement: Literature-sourcedProof: AI-generatedprecheck pendingjudge pass (gpt-6-luna)Open item page →

Asynchronous value iteration for finite positive-cost shortest paths

Statement

Assume the Axiom of Choice and that the finite positive-cost stochastic shortest-path problem has at least one proper stationary policy. Let f∗ be its optimal cost. Let f0:S→R be finite with f0(g)=0 for every goal and f0(s)≤f∗(s) for every state. At each integer stage n, choose any subset Un⊆S∖G and update, using the table before that stage,

fn+1(s)=min⁡a∈A(s)[c(s,a)+∑s′∈SP(s′∣s,a)fn(s′)](s∈Un),

while leaving all other state values unchanged and keeping goal values 0. Assume every nonglobal state belongs to Un for infinitely many n. Then fn→f∗ uniformly on the finite state set S.

Facts & Assumptions

Given: The Axiom of Choice, a finite positive-cost SSP with at least one proper stationary policy, its optimal cost f∗, the initial table below f∗ with zero goal values, and the asynchronous update schedule in the Statement.

[A1]

A choice function exists for every family of nonempty sets. (The Axiom of Choice)

[F1]

Finite stochastic shortest-path problems: P(⋅∣s,a) is a probability row and c(s,a)≥cmin⁡>0 off goals; goal costs and values are zero.

[F2]

Under the Axiom of Choice and the proper-policy hypothesis, Finite positive-cost stochastic shortest-path value gives a finite nonnegative f∗ satisfying the SSP Bellman equations.

[F3]

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

Proof

Given: The SSP data and asynchronous value iteration satisfying the Statement.

1.1givenA1F1F2algebra

Put en(s)=f∗(s)−fn(s) and En=max⁡s∈Sen(s). Initially e0≥0 by the Given hypothesis. If fn≤f∗, then each backup is no greater than the corresponding backup of f∗ because the transition weights are nonnegative; unupdated entries also remain below f∗. Goals remain equal to f∗(g)=0. Induction gives en≥0 for all n.

2.1givenF1F2F3F4step 1.1algebra

For a nonglobal state and action define the Bellman slack δ(s,a)=c(s,a)+∑s′P(s′∣s,a)f∗(s′)−f∗(s)≥0 by [F2]. When state s is updated, its new error is en+1(s)=max⁡a∈A(s)[∑s′P(s′∣s,a)en(s′)−δ(s,a)]≤En, since each probability row sums to one and δ≥0. Unupdated errors are unchanged, and goal errors are zero. Thus 0≤En+1≤En. By [F4], this nonincreasing sequence bounded below by zero has a limit E∞≥0.

3.1givenF1F2F3F4step 2.1algebra

Suppose E∞>0 and let I={s∈S:lim sup⁡nen(s)=E∞}. Choose indices nj with Enj→E∞ and, at each index, choose a state attaining Enj. Since S is finite, one state occurs for infinitely many j; its limsup error is at least E∞ and at most lim⁡nEn=E∞, so I is nonempty. Goal states do not lie in I because their errors are always zero. Fix s∈I. It is updated infinitely often, and its error is constant between updates. Along a subsequence of times when en(s)→E∞, the most recent post-update error has the same value; those update times tend to infinity, so a subsequence of post-update errors tends to E∞. At those updates a maximizing action in step 2.1 is attained by [F3]; since A(s) is finite, pass to a further subsequence on which the same action as is selected. Along this subsequence En→E∞ and ∑s′P(s′∣s,as)en(s′)−δ(s,as)→E∞. The weighted sum is at most En and δ(s,as)≥0, so δ(s,as)=0 and the weighted sum tends to E∞. If any successor s′ with P(s′∣s,as)>0 had lim sup⁡nen(s′)<E∞, its error would stay at least a fixed positive amount below En along this subsequence, contradicting convergence of the weighted sum to E∞. Therefore every positive-probability successor of as belongs to I.

4.1F1F2step 3.1algebra∎

For every s∈I, step 3.1 gives at least one Bellman-optimal action as whose transition row is supported in I. Enumerate finite I and select one such action successively; adjoining one choice at each stage is a finite induction, so no arbitrary-index choice is used. These actions define a deterministic stationary policy on I. Starting from s∈I, its finite transition laws stay in I and avoid goals. The Bellman equalities imply by induction on m that f∗(s)=Es[∑t<mc(St,aSt)+f∗(Sm)]≥mcmin⁡, because each visited state lies in I⊆S∖G and f∗≥0. This contradicts finiteness of f∗(s) from [F2] for sufficiently large m. Hence E∞=0, and 0≤en(s)≤En→0 uniformly over finite S.

TheoremStatement: AI-adaptedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

RTDP convergence on recurrently backed states

Statement

Assume the Axiom of Choice. Let a finite positive-cost stochastic shortest-path problem have a proper stationary policy and optimal cost f∗. Supply a probability law for an infinite sequence of exact current-state RTDP backups with initial finite costs f0≤f∗ and zero goal values. At each decision the action is sampled uniformly from the current minimizing actions using a fresh draw, and the next state has conditional transition row P(⋅∣s,a) given the entire previous history and selected action. Trial resets are separate operations and do not enter a Bellman backup. Each designated start is backed infinitely often. Assume the following outcome-backup fairness: every nonglobal state that occurs infinitely often as an executed transition's next state is also backed infinitely often.

Let I be the random set of nonglobal states backed infinitely often. Then, almost surely, fn(s)→f∗(s) uniformly for s∈I. In particular, convergence holds at every designated start. Almost surely there is a finite decision index after which every minimizing action at a backed state is globally Bellman-optimal and has its transition support in I∪G. Every stationary policy selecting any of these eventual minimizing actions on I reaches a goal almost surely from I and has optimal total cost there. The result applies to capped trials satisfying outcome-backup fairness and to trials continued until a goal when each designated start initiates infinitely many finite trials. Without a further initialization condition it does not assert convergence at every state reachable under every optimal policy. Define the cost Bellman operator T on all of S by (Tf)(g)=0 for g∈G and (Tf)(s)=min⁡a∈A(s)[c(s,a)+∑tP(t∣s,a)f(t)] for s∉G. If in addition f0(s)≤(Tf0)(s) for every s∈S, then the entire table is nondecreasing and converges to a finite limit, and that limit equals f∗ at every state reachable with positive probability from a designated start under any optimal policy, including states not backed infinitely often.

Facts & Assumptions

Given: AC, the finite SSP, the supplied history law, non-overestimating initialization, recurrent starts, fresh uniform greedy ties, correct conditional transitions, and outcome-backup fairness.

[A1]

AC is the axiom used by the full policy trajectory-law and conditional-expectation suppliers. The Axiom of Choice

[F1]

Nonglobal costs have a common positive lower bound; goal costs are zero and goals absorb. Finite stochastic shortest-path problems

[F2]

The finite nonnegative optimal cost solves the Bellman equations and is attained by a proper policy. Finite positive-cost stochastic shortest-path value

[F3]

The RTDP procedure takes a nonempty finite start set S0⊆S∖G, uses exact current-state Bellman backups in the cost convention, and resets the start state without changing the value table. Trial-based real-time dynamic programming

[F4]

The tower property iterates conditional expectations across nested histories, passing one-step conditional transition expectations to finite-prefix expectations. Tower property of conditional expectation

Proof

Given: The hypotheses in the Statement; write n for the decision/backup index.

1.1givenF1F2F3algebra

Bellman monotonicity and [F2] imply fn≤f∗ after every backup: an updated value is no greater than the same backup of f∗, and other values do not change. Put en=f∗−fn≥0 and δ(s,a)=c(s,a)+∑tP(t∣s,a)f∗(t)−f∗(s)≥0. An update at s gives en+1(s)=max⁡a{∑tP(t∣s,a)en(t)−δ(s,a)}. Consequently max⁡sen(s) is nonincreasing and all errors are bounded by their finite initial maximum.

1.2givenA1F4algebra

We first justify the probability-one recurrence fact used below. At each of the successive opportunities when a fixed pair (s,a) is currently greedy at a backed state s, the conditional probability of selecting a is at least 1/∣A(s)∣. For any finite number m of such opportunities after a fixed index, iterated conditioning [F4] bounds the probability of avoiding a through all of them by (1−1/∣A(s)∣)m; for random opportunity times, first stop at a finite horizon and then increase the horizon, so the same inequality holds on the event those opportunities exist. Letting m increase proves that infinitely many opportunities imply infinitely many selections almost surely. At successive selections of a fixed (s,a), the same argument with probability P(t∣s,a)>0 shows that successor t occurs infinitely often almost surely. Countably many tail indices and finitely many states/actions/successors allow one common probability-one event for all these implications.

2.1givenstep 1.2construct

Work on that event. Since there are finitely many states, after some finite index only states in I are backed. An action greedy at infinitely many backups of a state in I is selected infinitely often by step 1.2. Every nonglobal positive-probability successor is then an outcome infinitely often, hence belongs to I by outcome-backup fairness. There are only finitely many remaining state-action pairs, so after another finite index every minimizing action at every backed state has transition support in I∪G. In particular, after this index the errors of any successors used by a minimizing action are errors inside I, or zero goal errors.

3.1givenF5step 1.1step 2.1algebra

Let En=max⁡s∈Ien(s) after the index in step 2.1. The set I is nonempty because infinitely many backups occur on a finite state set. The maximum is attained on a finite set. Choose any minimizing action at the current backed state; the error identity in step 1.1, evaluated at that action, and step 2.1 give its post-backup error at most En. Unupdated errors stay fixed. Hence En is nonincreasing, nonnegative, and has a finite limit E by [F5].

4.1givenF1F2step 1.1step 2.1step 3.1algebra

Suppose E>0 and put J={s∈I:lim sup⁡nen(s)=E}. Finiteness and attainment of the maxima imply J is nonempty. Each s∈J is backed infinitely often and its value is constant between backups, so some sequence of its post-backup errors tends to E. On a subsequence one fixed minimizing action as realizes these backups, since the action set is finite. In the error identity from step 1.1 its successor errors are all at most En→E, by step 2.1; attaining limiting error E forces δ(s,as)=0, excludes positive-probability goal successors, and forces every positive-probability successor to have limsup error E. Thus every successor lies in J.

5.1F1F2step 4.1algebracontradiction

Select one such as at each member of finite J by finite enumeration. These actions are globally Bellman-optimal and keep every finite transition law in J. Iterating their Bellman equalities for m steps gives f∗(s)=Es[∑k<mc(Sk,aSk)+f∗(Sm)]≥mcmin⁡ by [F1] and nonnegativity of f∗. This contradicts finiteness of f∗(s) for large m. Therefore E=0, giving uniform convergence on I.

6.1F1F2F3F4step 2.1step 5.1algebra

Any action greedy at infinitely many backups has support in I∪G by step 2.1. Along those backups all successor estimates tend to their optimal values by step 5.1, and the updated state estimate does also. Passing to the limit in its finite Bellman backup proves that its slack δ is zero. There are finitely many state-action pairs, so after some finite index no action of positive slack is currently minimizing at a backed state. Every designated start is nonglobal by [F3] and belongs to I. A stationary policy choosing any eventual minimizing action on I has zero Bellman slack and support in I∪G. For any s∈I and m≥1, iterating its Bellman equalities gives f∗(s)=Es[∑k<mc(Sk,Ak)1{Sk∉G}+f∗(Sm)]. If qk=Ps(Sk∉G), absorbing goals make qk nonincreasing, and the identity implies mcmin⁡qm≤cmin⁡∑k<mqk≤f∗(s). Hence qm≤f∗(s)/(mcmin⁡)→0. Since f∗ is bounded and zero on G, Esf∗(Sm)≤max⁡xf∗(x)qm→0; taking m→∞ in the identity shows that the policy is proper on I and has total cost f∗(s).

6.2givenF3F5step 1.1step 5.1algebra

Suppose additionally f0≤Tf0. Whenever fn≤Tfn, each updated coordinate satisfies fn+1(s)=Tfn(s)≥fn(s), while unupdated coordinates are unchanged, so fn+1≥fn. Monotonicity of T then gives fn+1≤Tfn+1: at the updated coordinate fn+1(s)=Tfn(s)≤Tfn+1(s), and at every unupdated coordinate fn+1(t)=fn(t)≤Tfn(t)≤Tfn+1(t). Induction shows that the tables increase coordinatewise and remain subsolutions. They are bounded above by f∗ by step 1.1, so on finite S they converge to a finite fˉ≤f∗; continuity of finite minima and sums gives fˉ≤Tfˉ. Every designated start is nonglobal by [F3], is backed infinitely often by hypothesis, and hence belongs to I; step 5.1 gives fˉ=f∗ there.

7.1givenF3step 6.1

In goal-terminated trials, every nonglobal executed successor is the next backed state before any reset, so outcome-backup fairness holds pathwise. Capped trials are covered precisely when they satisfy the stated fairness condition; no assumption about unvisited optimal branches follows from fresh ties. This proves the trial-schedule assertions.

7.2F1F2step 6.2algebra

If fˉ(s)=f∗(s) and a is globally Bellman-optimal at s∉G, then f∗(s)=fˉ(s)≤Tfˉ(s)≤c(s,a)+∑tP(t∣s,a)fˉ(t)=f∗(s)−∑tP(t∣s,a)(f∗(t)−fˉ(t))≤f∗(s). Equality throughout forces every positive-probability successor to satisfy fˉ=f∗, since f∗−fˉ≥0.

8.1givenF1F2F4step 6.2step 7.2algebra∎

Fix an optimal policy σ from a designated start s0. Let δ(s,a)=c(s,a)+∑tP(t∣s,a)f∗(t)−f∗(s), which is nonnegative and zero at goals. For every n, [F4] and the conditional transition law give Es0σ[∑k<nc(Sk,Ak)1{Sk∉G}+f∗(Sn)]=f∗(s0)+∑k<nEs0σ[δ(Sk,Ak)]. Because Jσ(s0)=f∗(s0)<∞ and costs off goals are at least cmin⁡, ∑k≥0Ps0σ(Sk∉G)≤Jσ(s0)/cmin⁡<∞, so these probabilities tend to zero. Boundedness of f∗ and f∗∣G=0 make the terminal expectation tend to zero; letting n→∞ in the identity gives ∑k≥0Es0σ[δ(Sk,Ak)]=Jσ(s0)−f∗(s0)=0. Thus δ(Sk,Ak)=0 almost surely at every k, so every action on a positive-probability prefix of σ is globally Bellman-optimal. Starting with fˉ=f∗ at s0 and applying step 7.2 along each such prefix proves fˉ=f∗ at every state reachable with positive probability under σ. Since σ was arbitrary and S is finite, convergence is uniform on the union of all such reachable states.

CounterexampleConstruction: AI-generatedVerification: AI-generatedprecheck pendingjudge pass (gpt-6-luna)Open item page →

RTDP need not visit every state reachable under an optimal policy

Statement refuted

The following RTDP convergence claim is false with the stated generality: in every finite undiscounted stochastic shortest-path problem with absorbing zero-cost goals, a proper policy, strictly positive nonglobal costs, an initial cost table f0≤f∗ with zero goal values, and trials that start from each designated start state infinitely often and use fresh uniform draws among current greedy actions, the estimates converge almost surely to f∗ on every state reachable with positive probability from a designated start under some optimal policy. A state with this reachability property is called optimal-relevant here. The source asserts in addition that the controller converges to an optimal, possibly nonstationary policy on all these states; the value-convergence assertion is already false, so the conjunction is false.

The same failure occurs when each trial is continued until the first goal rather than capped: every trial ends almost surely, yet the estimate of the optimal-relevant state z remains incorrect forever.

Facts & Assumptions

Given: The five-state finite shortest-path model and RTDP run specified in the Counterexample.

[F1]

Finite stochastic shortest-path problems: a finite SSP has absorbing zero-cost goals, and each nonglobal expected cost is at least a common positive constant; properness means goal-hitting probabilities tend to one from every state.

[F3]

Trial-based real-time dynamic programming: RTDP backs up the current state's exact model-based greedy value and executes a uniformly sampled current greedy action, using the specified trial cap and recurrent start schedule.

Counterexample

Given: Let S={s,x,y,z,g} and let g be the sole goal. Every action incurs the displayed deterministic cost; the corresponding reward is its negative. At g the dummy action remains at g with cost 0. At s, action a costs 1 and moves to x, while action b costs 1 and moves to y. At x, the sole action costs 1 and moves to x or g with probability 1/2 each. At y, the sole action costs 1 and moves to z; at z, the sole action costs 1 and moves to g. RTDP starts every trial at s, uses trial cap L=2, and starts with costs f0(s)=f0(x)=f0(z)=f0(g)=0 and f0(y)=2. Its reward-value table is V0=−f0; throughout, write V∗=−f∗ and Vk=−fk, so maximizing the reward action value is equivalent to minimizing the cost action value. Thus V0≥V∗ is exactly f0≤f∗.

In the diagram, vertices are states and each arrow label gives its one-step cost c and transition probability p; the arrows from s also name the chosen action. The two arrows from x are outcomes of its single action, and each other state has the unique action specified above. The diagram illustrates the model but is not used in the proof.

\begin{center} \begin{tikzpicture}[>=stealth] \node[circle,draw] (s) at (0,0) {s}; \node[circle,draw] (x) at (2,1.2) {x}; \node[circle,draw] (y) at (2,-1.2) {y}; \node[circle,draw] (z) at (4,-1.2) {z}; \node[circle,draw] (g) at (6,0) {g}; \draw[->] (s) -- node[above] {a, c=1, p=1} (x); \draw[->] (s) -- node[below] {b, c=1, p=1} (y); \draw[->] (x) to[loop above] node[above] {c=1, p=1/2} (x); \draw[->] (x) to[bend left=8] node[above] {c=1, p=1/2} (g); \draw[->] (y) -- node[below] {c=1, p=1} (z); \draw[->] (z) to[bend right=12] node[below] {c=1, p=1} (g); \draw[->] (g) to[loop right] node[right] {c=0, p=1} (g); \end{tikzpicture} \end{center}

1.1givenF1algebra

Every nonglobal cost is 1, and the policy choosing a at s reaches x and then reaches g almost surely because each visit to x has probability 1/2 of moving to g. From y and z the goal is reached deterministically. Thus this is a finite positive-cost SSP with a proper stationary policy. At x there is no action choice; its survival probability after n steps is 2−n, so its expected total cost is ∑n=0∞2−n=2 by the finite geometric identity and its limit. The deterministic costs at y,z and the sole initial choice at s therefore give f∗(z)=1, f∗(y)=1+f∗(z)=2, and f∗(s)=min⁡{1+f∗(x),1+f∗(y)}=3. The initial table is finite, zero at the goal, and no larger than these optimal costs.

2.1givenF3step 1.1algebra

Induct on the number k of completed trials. At the first trial, f0(x)=0<2=f0(y). If y has not been visited in the first k trials and x has been backed up k times, then fk(y)=2 and the recurrence fj+1(x)=1+12fj(x), obtained from the sole action at x and fj(g)=0, gives fk(x)=2(1−2−k)<2. Thus action a has cost 1+fk(x)<3, whereas action b has cost 1+fk(y)=3. Since V=−f and r=−c, the RTDP reward-greedy rule is cost-minimizing; it therefore uniquely chooses a at s. The next trial moves to x and does not visit y. The cap L=2 then provides exactly one backup at x, completing the induction. Tie-breaking is never invoked at s.

3.1givenF3step 2.1algebra

Each trial first executes a and moves to x. With cap L=2, RTDP then executes the sole action at x and backs up x once before the trial ends, whether that transition returns to x or reaches g. Thus the recurrence in step 2.1 holds on every trial, and neither y nor z is ever visited or backed up. In particular, the estimate of z remains 0 forever although f∗(z)=1.

3.2givenF3step 2.1algebra

For the goal-terminated variant, after any finite total number m of backups at x, its cost is 2(1−2−m)<2. Thus every later departure from s still uniquely selects a. Each trial then consists of visits to x until its transition to g; the probability of at least n self-transitions is 2−n, which tends to zero, so the trial is finite almost surely. The union over the countably many trials of their zero-probability nontermination events has probability zero by countable subadditivity. On the complementary event every finite trial boundary has only finitely many backups at x, so the strict inequality persists. Neither y nor z is ever visited, and f(z)=0 forever.

4.1step 1.1step 3.1step 3.2algebra∎

The stationary policy that chooses b at s and then follows the sole actions at y and z has total cost 1+2=3=f∗(s), so it is optimal from the designated start s and reaches z with probability one. Hence z is optimal-relevant by the stated definition, but its estimate fails to converge on every capped run by step 3.1 and almost surely on goal-terminated runs by step 3.2. This refutes the claimed almost-sure convergence on all optimal-relevant states, and therefore also refutes the conjunction with the source's claimed eventual optimality on every such state.

DefinitionDefinition: Literature-sourcedProof: AI-generatedprecheck pendingjudge pass (gpt-6-luna)Open item page →

Model exploitation under support shift

Definition

Let M=(S,(A(s))s∈S,r,P) be a finite MDP with nonempty finite state set S and nonempty finite action sets A(s). Its finite reward alphabet is contained in [0,1], so r(s,a)∈[0,1], and P(⋅∣s,a) is a probability distribution on S for every admissible pair. Let M^=(S,(A(s))s∈S,r^,P^) be a finite learned model on the same domain, with r^(s,a)∈[0,1] and a probability distribution P^(⋅∣s,a) on S for every admissible pair. Set D={(s,a):s∈S, a∈A(s)}. Let B⊆D be the pairs observed at least once in a data set, fix a horizon H≥1 and initial state law μ, and let Π be any finite nonempty class of deterministic time-dependent Markov policies for that horizon. For a policy π∈Π, compute its expected return under the true model and learned model using d0=μ,

dt+1(s′)=∑sdt(s)∑a∈A(s)πt(a∣s)P(s′∣s,a),JH(π)=∑t=0H−1∑sdt(s)∑a∈A(s)πt(a∣s)r(s,a),

and analogously J^H(π) using P^,r^. The learned-model occupancy of a pair (s,a) at time t is d^t(s)πt(a∣s). A model-optimal policy is any π^∈Π attaining max⁡π∈ΠJ^H(π). Such a policy exploits the model off support relative to B if it has positive learned-model occupancy on at least one pair in D∖B, overestimates its own true return J^H(π^)>JH(π^), and is truly suboptimal within Π: JH(π^)<max⁡π∈ΠJH(π). This definition describes a failure mode; it is not a performance claim about every model optimizer.

Facts & Assumptions

Given: The finite true/learned model pair, a finite data-supported pair set B, horizon H, initial law μ, and a finite nonempty policy class Π as in the Definition.

[F1]

Finite learned transition and reward models: both true and learned reward/transition tables are defined on the same finite state-action domain, with reward means in [0,1] and probability transition rows.

[F2]

Finite-horizon return under a Markov policy: the finite occupancy recursion and sum of expected rewards define JH under either model.

[F3]

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

Verification

Given: The data and finite policy class in the Definition.

1.1givenF1F2algebra

For each π∈Π, [F1] supplies finite state/action tables and [F2] defines its occupancy recursion and return. Since rewards lie in [0,1] and the horizon is finite, both JH(π) and J^H(π) are real numbers in [0,H].

2.1givenF3step 1.1algebra∎

The sets of returns {JH(π):π∈Π} and {J^H(π):π∈Π} are finite and nonempty, so [F3] gives attained maxima. Pair membership in B and positive occupancy are defined on finite sets, and the remaining exploitation conditions are comparisons of these finite real returns. Thus the model-optimal policy and off-support exploitation predicate in the Definition are well-defined.

4 · Examples, counterexamples and false statements

None yet.

Sources