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.

✓ 1 result · all verified · 1 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 1 also cleared it.

Finite MDPs and Bellman operators

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

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

Finite Markov decision process with joint reward-transition law

Definition

Let S be a finite set, possibly empty, let R be a finite subset of R, and for each s∈S let A(s) be a finite nonempty set. Here finite means bijective with a natural number, and the discrete sigma-algebra on a set is its power set. Write D={(s,a):s∈S, a∈A(s)}. A finite Markov decision process (MDP) consists of these sets and numbers p(s′,ρ∣s,a)∈[0,1], indexed by (s,a)∈D, s′∈S, and ρ∈R, with

∑s′∈S∑ρ∈Rp(s′,ρ∣s,a)=1((s,a)∈D).

Equip each set used here, including D, with its power-set (discrete) sigma-algebra. Thus p is the point-mass form of a probability kernel from D to S×R: each input assigns a probability measure on S×R, and every event section is measurable. The joint law allows the next state and reward to be dependent. Define the expected reward and state-transition probabilities by

r(s,a)=∑s′∈S∑ρ∈Rρ p(s′,ρ∣s,a),P(s′∣s,a)=∑ρ∈Rp(s′,ρ∣s,a).

If R≠∅, put M=max⁡ρ∈R∣ρ∣; if R=∅, put M=0. A stationary Markov policy is a family of probabilities π(a∣s)≥0 with ∑a∈A(s)π(a∣s)=1 for every s∈S. A deterministic policy is a function π with π(s)∈A(s) for every s. When S=∅, these families and policies are the unique empty functions and all statewise formulas are vacuous.

Definition references

Facts & Assumptions

Given: The finite state set S and a finite nonempty action set A(s) for each s∈S.

[F1]

Finite, countably infinite, countable, uncountable: a set is finite when it is bijective with some natural number; a bijection transports finiteness.

[F3]

(a,b)=(c,d) if and only if a=c and b=d: (a,b)=(c,d) exactly when a=c and b=d, so the second coordinate is unique.

Verification

1.1givenF1F3construct

For each s∈S, let Ds={(s,a):a∈A(s)}. The map a↦(s,a) is a bijection from A(s) onto Ds, with inverse the second-coordinate projection, so Ds is finite by [F1]. If s≠t, no ordered pair can have both first coordinate s and first coordinate t; hence the family (Ds)s∈S is pairwise disjoint.

2.1step 1.1F2∎

By the definition of D, D=⋃s∈SDs. Since S is finite and the blocks in step 1.1 are finite and pairwise disjoint, [F2] implies that D is finite.

Remarks

For nonempty S, each A(s) is nonempty, so the normalization for an admissible pair forces R to be nonempty. For every admissible (s,a), P(s′∣s,a)≥0 and

∑s′∈SP(s′∣s,a)=∑s′∈S∑ρ∈Rp(s′,ρ∣s,a)=1,

so P(⋅∣s,a) is a probability distribution. Also, ∣ρ∣≤M and p≥0 give

∣r(s,a)∣≤∑s′∈S∑ρ∈R∣ρ∣p(s′,ρ∣s,a)≤M∑s′∈S∑ρ∈Rp(s′,ρ∣s,a)=M.

Thus both derived marginals are well defined and the expected reward is bounded by the maximum absolute reward. The separate marginals are derived from the joint law; specifying unrelated reward and transition marginals would not preserve their possible dependence.

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

Absolute convergence and tail bound for bounded discounted rewards

Statement

Let M≥0, 0≤γ<1, and let (ρj)j≥1 be any real sequence with ∣ρj∣≤M. Then the series

∑j=0∞γjρj+1

converges absolutely; write G for its sum. Every partial sum and the limit satisfy

∣∑j=0N−1γjρj+1∣≤M1−γ,∣G∣≤M1−γ.

For every integer N≥0,

∣G−∑j=0N−1γjρj+1∣≤MγN1−γ,

where the partial sum at N=0 is empty and γ0=1, including when γ=0.

Facts & Assumptions

Given: M≥0, 0≤γ<1, and a real sequence (ρj)j≥1 with ∣ρj∣≤M.

[F1]

For ∣r∣<1, ∑k≥0rk=1/(1−r), and for ∣r∣≥1 the series diverges: for 0≤γ<1, ∑j=0∞γj=1/(1−γ), with the series beginning at j=0.

[F3]

Convergent series add and scale termwise and A series converges iff each of its tail series converges, and the sum splits as sN plus the N-th tail: a convergent geometric series can be scaled and shifted; its tail beginning at N has sum γN/(1−γ).

[F4]

Basic properties of the absolute value and Laws of finite sums and finite products: the absolute value of a finite sum is at most the sum of the absolute values, and finite sums preserve termwise upper bounds.

[F6]

Limits preserve non-strict inequalities: if two real sequences converge and one is eventually at most the other, their limits satisfy the same non-strict inequality.

[F7]

A series of nonnegative terms converges iff its partial sums are bounded, and then the sum is their supremum: for a convergent series of nonnegative terms, every finite partial sum is at most its sum.

Proof

1.1givenF1F2F3

For every j≥0, 0≤γj∣ρj+1∣≤Mγj. By [F1] and the scaling part of [F3], the majorant series ∑j≥0Mγj converges (and when M=0 it is the zero series); [F2] gives convergence of ∑j≥0γj∣ρj+1∣. Thus the stated series converges absolutely by definition of absolute convergence.

1.2givenF1F4F7algebra

Every finite partial sum satisfies ∣∑j=0N−1γjρj+1∣≤M∑j=0N−1γj≤M∑j=0∞γj=M/(1−γ). The second inequality is [F7] applied to the nonnegative geometric series in [F1]. At N=0 the sum is empty and the inequality holds as well.

2.1step 1.1F3F4F6F7

For K≥N, [F4] gives ∣∑j=NK−1γjρj+1∣≤M∑j=NK−1γj≤M∑j=N∞γj=MγN/(1−γ), where [F7] applies to the shifted geometric series and [F3] evaluates its sum. The finite tail sums converge to G−∑j<Nγjρj+1 by step 1.1, and each lies between the negatives and positives of the displayed bound; [F6] passes both inequalities to the limit. Therefore the required tail estimate holds.

3.1step 2.1F5∎

Taking N=0 in step 2.1 gives ∣G∣≤M/(1−γ). The right side of the tail bound tends to zero by [F5], so the partial sums converge to G with the stated uniform remainder control.

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

Completeness of the sup metric on finite-state value functions

Statement

For any finite set S, let B(S)=RS, the set of real-valued functions on S. Define

d∞(U,V)={0,S=∅,max⁡s∈S∣U(s)−V(s)∣,S≠∅.

Then d∞ is a metric on B(S) and (B(S),d∞) is complete.

Facts & Assumptions

Given: A finite set S and the function space B(S)=RS.

[F1]

Finite, countably infinite, countable, uncountable: finiteness means there is a natural number n and a bijection from n={0,…,n−1} onto S; if S is nonempty then n≥1.

[F2]

Rn as the set of functions n→R, and d1, d2, d∞ are metrics on it: for n≥1, d∞(x,y)=max⁡k<n∣xk−yk∣ and d2(x,y)=(∑k<n(xk−yk)2)1/2 are metrics on Rn.

[F4]

Metric space: d(x,y)=0 iff x=y, symmetry, and the triangle inequality; pseudometric and ultrametric and Complete metric space: every Cauchy sequence converges in the space: a metric satisfies separation, symmetry, and the triangle inequality; completeness means every Cauchy sequence converges in the same metric space.

[F5]

Cauchy sequence in a metric space, Convergence of a sequence in a metric space: xk→x iff d(xk,x)→0 in R, and Limits and Cauchy sequences of reals: metric Cauchy and convergence, as well as real Cauchy and convergence, are tested with rational ε>0.

[F6]

A sequence has at most one limit: a convergent real sequence has a unique limit.

[F7]

The well-ordering principle: every nonempty set of natural numbers has a least element.

[F8]

The principle of mathematical induction and ≤ is a linear order on N: induction holds on N, and its order is total.

Proof

1.1givenF4

If S=∅, then B(S) has exactly one element, the empty function. Its only distance is 0; nonnegativity, symmetry, separation, and the triangle inequality all hold on this singleton, and every sequence in it is constant and convergent.

1.2givenF1F2

Suppose S≠∅. By [F1], fix n≥1 and a bijection e:n→S. Pulling functions back along e identifies B(S) with Rn and carries d∞ exactly to the max metric of [F2]; hence it is a metric.

2.1step 1.2F2F5

Let (Um) be Cauchy in d∞ on B(S). For each j<n, define the real sequence xm(j):=Um(e(j)). Given rational ε>0, the metric Cauchy condition supplies K such that d∞(Um,Uℓ)<ε for all m,ℓ≥K. Since the pulled-back d∞ is the maximum of the coordinate differences, ∣xm(j)−xℓ(j)∣<ε for every j<n and m,ℓ≥K. Thus each coordinate sequence is Cauchy in R.

3.1step 2.1F3F6

By [F3], each coordinate sequence converges. Denote its unique limit by yj∈R, using [F6].

4.1step 1.2step 3.1F1F6

Define U:S→R by U(e(j)):=yj for j<n. This is well defined because e is a bijection, and it uses no choice because every yj is uniquely determined.

4.2step 3.1F5F7

Fix rational ε>0. For each j<n, convergence to yj gives a nonempty set of natural thresholds K such that ∣xm(j)−yj∣<ε for all m≥K. Let Kj be its least member, using [F7].

5.1step 1.2step 4.2F8

The finite nonempty list K0,…,Kn−1 has a maximum K: start with K0 and, at each successor, retain the larger of the current maximum and the next threshold, which exists by the total order on N; induction proves the resulting value dominates every entry. Thus K≥Kj for all j<n.

6.1step 1.2step 4.1step 5.1F2F4F5∎

For every m≥K, step 5.1 implies ∣Um(e(j))−U(e(j))∣<ε for every j<n. Their finite maximum is one of these coordinate differences, so d∞(Um,U)<ε. Since this holds for every rational ε>0, (Um) converges to U in d∞. Every Cauchy sequence therefore converges in B(S), and together with the metric property from steps 1.1–1.2 this proves completeness.

Remarks

  • The proof is a finite-coordinate Cauchy argument. The maximum norm makes each coordinate sequence Cauchy; completeness of the real line supplies its limit; one maximum of finitely many thresholds then gives convergence in the maximum norm.
  • The same argument proves completeness for the d1 metric on Rn. Each coordinate difference is at most d1. Given rational ε>0, choose for every coordinate a threshold at tolerance ε/(2n), which is again a positive rational; after taking their finite maximum, monotonicity of finite sums gives d1(x(m),y)≤nε/(2n)=ε/2<ε. The d∞ case is proved above. No later result on this page uses the d1 observation.
  • No choice is spent. The limit point is assembled coordinatewise from unique limits, each threshold is the least one that works, and a common threshold is obtained by taking the maximum of finitely many indices.
  • The real completeness input is localised. The Cauchy criterion in R is the only completeness theorem used. Its proof obtains real completeness from the least-upper-bound property through Bolzano–Weierstrass; the finite-coordinate argument adds no other completeness assumption.
TheoremStatement: AI-adaptedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

A finite MDP and stationary policy generate a reward-state Markov chain

Statement

Assume the Axiom of Choice. Let a finite MDP have nonempty state set S, and let π be a stationary Markov policy. Put E=S×(R∪{0}) with its discrete sigma-algebra and define, for x=(s,η)∈E and B⊆E,

Kπ(x,B)=∑a∈A(s)π(a∣s)∑s′∈Sρ∈R1B(s′,ρ) p(s′,ρ∣s,a).

Then Kπ is a probability kernel on E. For each initial state s∈S, there is a probability law on EN whose coordinate process starts at (s,0) and is a time-homogeneous Markov chain with transition kernel Kπ relative to its natural filtration.

Facts & Assumptions

Given: A finite MDP with S≠∅, a stationary policy π, and the Axiom of Choice.

[A1]

The Axiom of Choice: every family of nonempty sets has a choice function.

[F1]

Finite Markov decision process with joint reward-transition law: for every (s,a), the finite joint masses p(s′,ρ∣s,a) are nonnegative and sum to one; π(⋅∣s) is a probability distribution.

[F2]

Measure kernel and probability kernel: a probability kernel assigns a probability measure at each input and has measurable event sections at every input.

[F3]

Ionescu-Tulcea construction of a Markov chain: under Choice, an initial probability and a sequence of probability kernels give a unique path-space probability law with the prescribed iterated finite-prefix laws; in the homogeneous last-coordinate case, the coordinate process is a homogeneous chain.

[F4]

Time-homogeneous Markov chain with transition kernel: a process is a homogeneous Markov chain relative to a filtration when its conditional next-state law equals the specified kernel applied to the current state, almost surely.

[F7]

The product sigma-algebra and its finite iterates: finite product sigma-algebras are generated by measurable rectangles, so coordinate projections are measurable.

[F8]

The well-ordering principle: every nonempty subset of the natural numbers has a least element.

Proof

1.1givenF1F2F5F6F8algebra

Fix x=(s,η)∈E. By [F5], E=S×(R∪{0}) is finite: {0}∖R is a subset of a finite singleton, R∪{0}=R∪({0}∖R) is a finite union, and then take its product with S. For each a∈A(s), the point masses p(s′,ρ∣s,a) on S×R⊆E (and zero on the added dummy-reward points) define a probability measure μa on E: they are nonnegative and total 1 by [F1]. To check countable additivity, fix a bijection e:n→E. For any disjoint sequence (Bj), each nonempty Bj has a least index ij<n with e(ij)∈Bj, by [F8]; disjointness makes these indices distinct, so only finitely many Bj are nonempty. Additivity then follows from finite-sum additivity over the partition of the finite support, as in [F5]. The displayed kernel is the finite mixture Kπ(x,B)=∑a∈A(s)π(a∣s)μa(B). Its values are nonnegative and Kπ(x,E)=∑aπ(a∣s)=1 by [F1]. For a disjoint countable family (Bj), only finitely many Bj are nonempty by the same argument; additivity of each μa and finite-sum interchange [F6] give Kπ(x,⋃jBj)=∑jKπ(x,Bj). Thus B↦Kπ(x,B) is a probability measure. Every subset of E is measurable and every function on the discrete source E is measurable, so [F2] makes Kπ a probability kernel.

2.1step 1.1F2F7construct

For fixed s∈S, the point mass μ0=δ(s,0) is a probability measure on E. At every n≥0, use the history-dependent kernel Kn(x0,…,xn,B)=Kπ(xn,B). Its final-coordinate projection is measurable because the preimage of each measurable set is a product-measurable coordinate cylinder by [F7]; composition with the measurable section x↦Kπ(x,B) is measurable. Each section is a probability measure by step 1.1, so Kn is a probability kernel.

3.1givenA1step 2.1F3

Apply [F3] to (E,P(E)), μ0, and the sequence (Kn). Its homogeneous specialization gives a probability law on EN with initial state (s,0) and the iterated finite-prefix laws of Kπ.

4.1step 3.1F3F4∎

The coordinate process under that law is a homogeneous chain relative to its natural filtration by [F3], and its conditional transition identity is exactly the convention in [F4]. This proves the claimed chain construction for every initial s∈S.

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

Policy Bellman operator

Definition

For a finite MDP, a discount 0≤γ<1, and a stationary Markov policy π, define the policy Bellman operator Tπ:RS→RS by

(TπV)(s)=∑a∈A(s)π(a∣s)[r(s,a)+γ∑s′∈SP(s′∣s,a)V(s′)](s∈S).

If S=∅, this is the unique map from RS to itself.

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

Bellman optimality operator

Definition

For a finite MDP and a discount 0≤γ<1, define the Bellman optimality operator T∗:RS→RS by

(T∗V)(s)=max⁡a∈A(s)[r(s,a)+γ∑s′∈SP(s′∣s,a)V(s′)](s∈S).

The maximum exists because each A(s) is finite and nonempty. If S=∅, this is the unique map from RS to itself.

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

Discounted returns and policy values in a finite MDP

Definition

Let a finite MDP have 0≤γ<1 and let π be a stationary Markov policy. If S=∅, define Vπ to be the unique empty function; no path law or choice axiom is needed in this case. If S≠∅, assume the Axiom of Choice and, for each s∈S, use the path law started at X0=(s,0) supplied by the policy-induced reward-state chain; write Xt=(St,Rt). The discounted return is

Gt=∑j=0∞γjRt+j+1,

and the state value under π is Vπ(s)=Eπ,s[G0], where Eπ,s is expectation under that start-state law. If S=∅, Vπ is the unique empty function. The reward sequence bound gives ∣Gt∣≤M/(1−γ), so each return is measurable and integrable. This is the start-state meaning of Eπ[Gt∣St=s] when that conditional expectation is defined. The definition concerns discounted infinite-horizon tasks; average-reward and undiscounted continuing models, and improper episodic tasks, are outside its scope.

The coordinate 0 in X0=(s,0) is only a dummy initial reward; the chain's one-step kernel emits rewards in R. Finite partial sums of the return are measurable, their pointwise limit is measurable, and the constant bound M/(1−γ) is an integrable majorant on the probability space.

Definition references

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

Finite-MDP Bellman operators are gamma contractions with unique fixed points

Statement

Let a finite MDP and a discount 0≤γ<1 be fixed. For U∈RS, define ∥U∥∞=0 if S=∅, and ∥U∥∞=max⁡s∈S∣U(s)∣ otherwise. For every stationary policy π and all V,W∈RS,

∥TπV−TπW∥∞≤γ∥V−W∥∞.

The Bellman optimality operator satisfies the same inequality. Each of Tπ and T∗ has exactly one fixed point in RS. The contraction constant is the nonnegative number γ.

Facts & Assumptions

Given: A finite MDP, 0≤γ<1, a stationary policy π, and V,W∈RS.

[F1]

Finite Markov decision process with joint reward-transition law: π(⋅∣s) and P(⋅∣s,a) are probability distributions, and r(s,a) is finite.

[F2]

Policy Bellman operator: TπV is the policy-weighted finite average of r(s,a)+γ∑s′P(s′∣s,a)V(s′).

[F3]

Bellman optimality operator: T∗V(s) is the maximum of those one-step action values over finite nonempty A(s).

[F4]

Completeness of the sup metric on finite-state value functions: the metric d∞ on RS is complete.

[F5]

A contraction of a nonempty complete metric space into itself has exactly one fixed point, the limit of the iterates from any starting point: a self-map of a nonempty complete metric space with contraction constant q satisfying 0≤q<1 has exactly one fixed point.

Proof

1.1givenF1F2F3

The finite sums in [F2] and [F3] are real, so both formulas define self-maps of RS; when S=∅ they are the unique empty self-maps.

1.2givenF1F2algebra

For each state s, probability weights and the triangle inequality give ∣(TπV)(s)−(TπW)(s)∣≤∑aπ(a∣s)γ∑s′P(s′∣s,a)∣V(s′)−W(s′)∣≤γ∥V−W∥∞. Taking the maximum over s proves the policy-operator contraction inequality; when S=∅, both sides are 0.

1.3givenF1F3algebra

Put QV(s,a)=r(s,a)+γ∑s′P(s′∣s,a)V(s′). For every action, [F1] gives ∣QV(s,a)−QW(s,a)∣≤γ∥V−W∥∞. For two finite lists (ua) and (va), each ua≤va+max⁡b∣ub−vb∣, so max⁡aua≤max⁡ava+max⁡b∣ub−vb∣; exchanging the lists gives ∣max⁡aua−max⁡ava∣≤max⁡a∣ua−va∣. Applying this at each s proves the same contraction inequality for T∗.

2.1step 1.1step 1.2step 1.3F4F5construct∎

The zero function belongs to RS, so the common domain is nonempty; [F4] makes its metric complete. By definition, d∞(V,W)=∥V−W∥∞. Steps 1.2 and 1.3 show that each operator is a self-map with contraction constant q=γ, and the hypothesis 0≤γ<1 is exactly [F5]'s required range. Applying [F5] separately to Tπ and T∗ gives one fixed point for each and uniqueness for each.

Remarks

The proof uses γ itself as the contraction constant. No absolute-value reinterpretation is needed because the discounted domain already assumes 0≤γ<1.

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

Exact value iteration for the Bellman optimality operator

Definition

Input a finite MDP, a discount 0≤γ<1, an initial value function V0∈RS, and an integer m≥0. Set Vj+1=T∗Vj for j=0,…,m−1 and return Vm. This procedure returns the exact mth iterate and makes no finite-termination claim for convergence.

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

Expected discounted policy value is a fixed point of its Bellman operator

Statement

For a finite MDP, a discount 0≤γ<1, and any stationary Markov policy π, the expected discounted state value defined from each initial state satisfies

TπVπ=Vπ.

If S=∅, this is the equality of the unique empty functions and no choice axiom is needed. If S≠∅, assume the Axiom of Choice for the path-law definition of Vπ.

Facts & Assumptions

Given: A finite MDP, 0≤γ<1, a stationary policy π, and the Axiom of Choice.

[A1]

The Axiom of Choice: Choice is assumed for the path-space construction used to define the start-state expectation.

[F1]

Discounted returns and policy values in a finite MDP: Vπ(s) is the expectation of the absolutely convergent discounted return under the policy-induced chain started at (s,0); each return is bounded by M/(1−γ).

[F2]

A finite MDP and stationary policy generate a reward-state Markov chain: the chain has the homogeneous kernel obtained by mixing the MDP's joint reward-transition law with π, and its finite-prefix laws are the iterated kernel products.

[F3]

Policy Bellman operator: (TπV)(s)=∑aπ(a∣s)∑s′,ρp(s′,ρ∣s,a)[ρ+γV(s′)].

[F4]

Absolute convergence and tail bound for bounded discounted rewards: each finite partial discounted return is bounded in absolute value by M/(1−γ) and converges pointwise to the full return.

[F5]

Probability measures and probability spaces and Monotonicity and nonnegative homogeneity of the nonnegative integral: a constant B≥0 on a probability space is integrable with integral B.

[F6]

Dominated convergence: measurable returns converging pointwise under one integrable majorant have expectations converging to the expectation of their limit.

[F7]

Algebra of limits: sums, scalar multiples, products and quotients: limits commute with finite sums and multiplication by fixed real scalars.

[F8]

Convergence depends only on the tail: the shifted sequence (VN+1π)N≥0 has the same limit as (VNπ)N≥0.

[F9]

A sequence has at most one limit: a real sequence has at most one limit.

Proof

1.1givenA1F1F2F4F5construct

If S=∅, the claimed equality is between the unique empty functions. Otherwise assume S≠∅. For every t∈S and N≥0, on the path law started at (t,0) put GN,t=∑j=0N−1γjRj+1,VNπ(t)=Eπ,t[GN,t]. Each GN,t is a finite sum of measurable reward coordinates; [F4] bounds its absolute value by B=M/(1−γ), and [F5] gives ∫∣GN,t∣≤B<∞. Thus the expectations are finite, and the empty sum gives V0π(t)=0.

1.2givenF1F2F3algebra

The chain's finite-prefix law [F2] gives VN+1π(s)=∑a∈A(s)π(a∣s)∑s′∈S, ρ∈Rp(s′,ρ∣s,a) [ρ+γVNπ(s′)]. Indeed the first transition from (s,0) has mass ∑aπ(a∣s)p(s′,ρ∣s,a); after that transition the remaining N-step law depends on s′ but not on the reward coordinate, since Kπ((s′,ρ),⋅)=Kπ((s′,0),⋅). Expanding the finite sums and using r(s,a)=∑s′,ρρp(s′,ρ∣s,a) and P(s′∣s,a)=∑ρp(s′,ρ∣s,a) shows the right side is (TπVNπ)(s).

2.1step 1.1A1F1F2F4F5F6

For each s∈S, [F4] gives GN,s→G0 pointwise and ∣GN,s∣≤M/(1−γ). The constant majorant is integrable by [F5] on the path law from [F2]. Dominated convergence [F6] therefore gives VNπ(s)→Vπ(s) for every s∈S.

3.1step 1.2step 2.1F3F7F8F9algebra∎

Fix s∈S. In step 1.2 the left side VN+1π(s) has the same limit Vπ(s) as VNπ(s) by [F8]. By step 2.1 each VNπ(s′) converges to Vπ(s′); [F7] passes these limits through the finite sum on the right, whose limit is ∑a∈A(s)π(a∣s)∑s′,ρp(s′,ρ∣s,a) [ρ+γVπ(s′)]=(TπVπ)(s) by [F3]. Uniqueness [F9] gives Vπ(s)=(TπVπ)(s). Since s was arbitrary, TπVπ=Vπ.

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

Value iteration converges at the Bellman contraction rate

Statement

Let V∗ be the unique fixed point of T∗ for a finite MDP with 0≤γ<1. For every initial V0∈RS and every m∈N, the exact value-iteration iterates Vm+1=T∗Vm satisfy

∥Vm−V∗∥∞≤γm∥V0−V∗∥∞,

with γ0=1.

Facts & Assumptions

Given: A finite MDP, 0≤γ<1, an initial function V0∈RS, and m∈N.

[F1]

Exact value iteration for the Bellman optimality operator: the exact iterates satisfy Vj+1=T∗Vj.

[F2]

Finite-MDP Bellman operators are gamma contractions with unique fixed points: T∗ has a unique fixed point V∗ and ∥T∗U−T∗W∥∞≤γ∥U−W∥∞.

[L1]

Integer powers am: γ0=1 and γj+1=γγj for every j∈N.

[L2]

The principle of mathematical induction: a claim true at 0 and preserved from j to j+1 holds for every natural j.

Proof

1.1givenF1L1algebrabase

At m=0, Vm=V0 and γ0=1 by [L1], so the asserted inequality is equality.

1.2ih

Induction hypothesis: assume ∥Vm−V∗∥∞≤γm∥V0−V∗∥∞ for an arbitrary m∈N.

2.1step 1.2F1F2L1algebra

By [F1], [F2], and T∗V∗=V∗, ∥Vm+1−V∗∥∞=∥T∗Vm−T∗V∗∥∞≤γ∥Vm−V∗∥∞≤γm+1∥V0−V∗∥∞, where the last equality of factors uses [L1].

3.1step 1.1step 2.1L2inductiondischarge-induction: step 2.1∎

Step 1.1 is the base case and step 2.1 is the induction step, so [L2] gives the inequality for every m∈N.

AlgorithmAlgorithm: AI-adaptedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Exact finite policy iteration with retained greedy actions

Definition

Input a finite MDP, a discount 0≤γ<1, an initial deterministic policy π0, and, for each state s, an ordered list containing each member of A(s) exactly once. For k=0,1,…:

  1. Associate to each deterministic policy πk the stationary Markov policy π^k(a∣s)=1 if a=πk(s) and 0 otherwise. Compute the unique exact policy evaluation Vk∈RS satisfying Tπ^kVk=Vk.
  2. For each s, set

Qk(s,a)=r(s,a)+γ∑s′∈SP(s′∣s,a)Vk(s′).

If πk(s) attains max⁡a∈A(s)Qk(s,a), set πk+1(s)=πk(s). Otherwise set πk+1(s) to the earliest maximizing action in the supplied list. 3. If πk+1=πk, return (πk,Vk). Otherwise continue with πk+1.

The operator fixed point used for exact policy evaluation exists and is unique by the finite-MDP contraction theorem.

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

Greedy policy improvement and finite policy-iteration termination

Statement

Let a finite MDP and 0≤γ<1 be fixed, and let V∗ denote the unique fixed point of T∗. If S=∅, the statewise claims below are vacuous and the policy iteration procedure returns the unique empty policy after one evaluation, without Choice. If S≠∅, assume the Axiom of Choice. For a stationary policy π, let Vπ be its expected discounted state value. For a deterministic policy σ, define its associated stationary policy by σ^(a∣s)=1 if a=σ(s) and 0 otherwise, and interpret Tσ and Vσ as Tσ^ and Vσ^.

QV(s,a)=r(s,a)+γ∑s′∈SP(s′∣s,a)V(s′).

If a deterministic policy π′ chooses an action maximizing QVπ(s,a) at every state, then Vπ′(s)≥Vπ(s) for every s. If (Tπ′Vπ)(s)>Vπ(s) at any state, the value inequality is strict at some state.

For exact finite policy iteration, supply an initial deterministic policy and a finite ordered list of the actions at each state; evaluate each policy at its exact Bellman fixed point; retain the current action whenever it is already greedy; otherwise choose the earliest maximizing action in the supplied list. Every changed policy then strictly improves the value at some state and weakly improves it at every state. The procedure makes at most Ndet−1 changes, where Ndet is the finite number of deterministic policies, and terminates at a deterministic policy whose value is V∗; this value dominates the value of every stationary policy.

Facts & Assumptions

Given: A finite MDP, 0≤γ<1, a stationary policy π, and (for policy iteration) the stated exact-evaluation procedure and finite action listings. In the nonempty-state branch, assume the Axiom of Choice.

[A1]

The Axiom of Choice: Choice is required by the path-space chain construction used for expected discounted values.

[F1]

Finite Markov decision process with joint reward-transition law and Finite, countably infinite, countable, uncountable: S and each A(s) are finite; π(⋅∣s) and P(⋅∣s,a) are probability distributions.

[F2]

Discounted returns and policy values in a finite MDP: Vπ(s) is the expected discounted return from initial state s under Choice.

[F4]

Policy Bellman operator and Bellman optimality operator: TπV is the π-weighted average of QV(s,a), while T∗V(s)=max⁡a∈A(s)QV(s,a).

[F5]

Finite-MDP Bellman operators are gamma contractions with unique fixed points: every Tμ and T∗ is a contraction with constant γ and has a unique fixed point.

[F6]

Completeness of the sup metric on finite-state value functions: the metric d∞ on RS is complete.

[F7]

A contraction of a nonempty complete metric space into itself has exactly one fixed point, the limit of the iterates from any starting point: iterates of each such contraction from any initial value converge to its unique fixed point.

[F8]

Exact finite policy iteration with retained greedy actions: evaluation is exact, the current action is retained whenever it maximizes Q, and any other tie is resolved by the supplied finite action list.

[F9]

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

[F10]

Limits preserve non-strict inequalities: an eventual non-strict inequality between convergent real sequences holds between their limits.

[F11]

The principle of mathematical induction: a property true at the first index and preserved at each successor holds at all natural indices.

Proof

1.1givenA1F1F2F3F4F9algebra

If S=∅, all statewise inequalities are vacuous and the unique empty policy has no update; assume for the remaining steps that S≠∅. [A1] supplies the choice assumption for the path-law value in [F2], and [F3] gives its Bellman fixed-point identity. For each state s, [F3] and [F4] give Vπ(s)=∑a∈A(s)π(a∣s)QVπ(s,a)≤max⁡a∈A(s)QVπ(s,a)=(T∗Vπ)(s). The inequality holds because a probability-weighted average of finitely many real numbers is at most their attained maximum [F1, F9].

1.2givenF1F4algebra

For every stationary policy ν, the operator Tν is monotone: if U(s)≤W(s) for every s, then each coefficient ν(a∣s)P(s′∣s,a) is nonnegative and γ≥0, so (TνU)(s)≤(TνW)(s) for every s.

2.1step 1.1F4

If π′ is greedy, its action attains that maximum at every state, so (Tπ′Vπ)(s)=(T∗Vπ)(s)≥Vπ(s) for all s.

3.1step 2.1step 1.2F11construct

Define U0=Vπ and Un+1=Tπ′Un. Step 2.1 gives U0≤U1 pointwise; if Un≤Un+1 then step 1.2 gives Un+1=Tπ′Un≤Tπ′Un+1=Un+2. By [F11], (Un) is pointwise nondecreasing.

4.1step 3.1F3F5F6F7F10construct

The zero function belongs to RS, so (RS,d∞) is nonempty; [F6] makes it complete. By [F5], Tπ′ is a contraction, so Banach iteration [F7] makes Un converge in d∞ to its unique fixed point. By [F3] and uniqueness in [F5], that fixed point is Vπ′. Since ∣Un(s)−Vπ′(s)∣≤d∞(Un,Vπ′) for every s, the convergence is coordinatewise; from Un≥U0=Vπ, [F10] yields Vπ′≥Vπ pointwise. This proves the first value comparison.

4.2step 3.1F10algebra

If (Tπ′Vπ)(s0)>Vπ(s0), then U1(s0)>U0(s0). Step 3.1 makes Un(s0)≥U1(s0) for every n≥1; passing to the limit with [F10] gives Vπ′(s0)≥U1(s0)>Vπ(s0).

5.1givenF3F4F5F8F9step 4.1step 4.2

Consider one update in the stated policy-iteration procedure. Exact evaluation returns Vπk because it is the unique fixed point of Tπk by [F3] and [F5]. At each state the updated action maximizes QVπk; if the old action is already a maximizer it is retained, and otherwise its value is strictly below the attained maximum. Therefore Tπk+1Vπk≥Vπk at all states, with strict inequality wherever the policy changed. Steps 4.1–4.2 show that every changed policy weakly improves all state values and strictly improves at least one.

6.1givenF1F8F12step 5.1

List the finite states as s1,…,sn and each action set as A(si)={ai,1,…,ai,mi}. A deterministic policy is one tuple of indices (j1,…,jn) with 1≤ji≤mi, so the set of such policies is a finite Cartesian product by [F12]; for S=∅ it is the singleton empty product. By step 5.1, each changed iteration strictly increases some coordinate and never decreases any, so no policy can recur, since a repeated policy has the same unique exact value vector. Hence at most Ndet−1 changes occur and the procedure terminates.

7.1step 6.1F3F4F5F8

At termination, the update leaves every action unchanged, which by [F8] means the terminal deterministic policy is greedy with respect to its exact value Vπ. Thus TπVπ=T∗Vπ by [F4]; with [F3], this says T∗Vπ=Vπ, so uniqueness in [F5] gives Vπ=V∗.

8.1step 7.1step 1.2step 4.1F1F3F4F5F6F7F10∎

For any stationary policy μ, TμV∗≤T∗V∗=V∗ because the former is a probability-weighted average of the same action values. Iterating W0=V∗, Wn+1=TμWn, monotonicity as in step 1.2 makes Wn nonincreasing. The domain is nonempty by step 4.1 and complete by [F6], so [F5]–[F7] make these iterates converge to the unique fixed point of Tμ, which equals Vμ by [F3]. Since ∣Wn(s)−Vμ(s)∣≤d∞(Wn,Vμ) for every s, convergence is coordinatewise; [F10] gives Vμ≤V∗. Therefore the terminal policy's value dominates every stationary policy.

Remarks

The path-law interpretation of Vπ carries the stated Choice assumption. The weighted-average inequalities, finite maxima, and finite policy iteration after action lists are supplied use no additional choice principle.

4 · Examples, counterexamples and false statements

None yet.

Sources