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.

Finite MDPs and Bellman operators — Examples

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

None yet.

4 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

A unit reward on a self-loop has no finite undiscounted return

Example

Take the finite MDP with S={s}, A(s)={a}, reward alphabet R={1}, and p(s,1∣s,a)=1. At γ=1, the first N terms of the return sum to N, so the undiscounted return diverges. The formal backup F:R→R, F(v)=1+v, has no real fixed point and is not a contraction with any constant 0≤q<1 in the usual metric dR(v,w)=∣v−w∣.

Facts & Assumptions

Given: S={s}, A(s)={a}, p(s,1∣s,a)=1, and the undiscounted parameter γ=1.

[F1]

Finite Markov decision process with joint reward-transition law: the sole transition keeps the state at s and gives reward 1 with probability 1.

[F4]

Lipschitz map, α-Hölder map for rational 0<α≤1, and contraction: a contraction with constant q must satisfy d(F(v),F(w))≤qd(v,w) for some 0≤q<1.

Verification

1.1givenF1algebra

Every reward is 1, so the first N summands are 1 and their partial sum is N. Since these partial sums are unbounded, the undiscounted return does not have a finite real sum.

1.2givenalgebra

The formal backup equation F(v)=v would give 1+v=v, hence 1=0, which is impossible in R.

2.1givenF2F3F4algebra∎

For any distinct v,w, dR(F(v),F(w))=∣v−w∣=dR(v,w) by [F3]. This contradicts the strict contraction bound required by [F4] for any 0≤q<1. Also, [F2] with r=1 confirms divergence of the corresponding geometric series.

Remarks

The diagram uses a circle for the state and a rectangle for the action. The arrow from the state to the action indicates the sole policy choice; the return arrow is the transition with joint mass p(s,1∣s,a)=1. The value of γ is specified in the example statement and is not encoded by the graph. The verification does not rely on the diagram.

diagram failed to render:
\begin{tikzpicture}[>=stealth]
  \node[circle,draw] (s) at (0,0) {$s$};
  \node[rectangle,draw] (a) at (2,0) {$a$};
  \draw[->] (s) -- node[above] {choose $a$} (a);
  \draw[->] (a) to[bend left=35] node[below] {$p(s,1\mid s,a)=1$} (s);
\end{tikzpicture}
ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

A common reward shift moves every one-state Bellman value equally

Example

Let S={s}, A(s)={a,b}, and γ=1/2. Both actions return deterministically to s, with reward 1 under a and reward 3 under b. View the deterministic policies choosing a and b as stationary policies assigning probability one to those actions; their unique policy Bellman fixed points are 2 and 6, respectively. More generally, for a stationary policy with θ:=π(b∣s)∈[0,1], its fixed point is 2+4θ. After adding 2 to both rewards, the deterministic-policy fixed points are 6 and 10, and the fixed point for the same stochastic policy is 6+4θ. Thus every policy value shifts by 2/(1−γ)=4, the difference between the two deterministic-policy values remains 4, and b maximizes the Bellman optimality backup at the optimal fixed point in both models.

Facts & Assumptions

Given: The one-state MDP and γ=1/2 in the example.

[F1]

Finite Markov decision process with joint reward-transition law: a deterministic self-loop with reward ρ has r(s,a)=ρ and P(s∣s,a)=1.

[F2]

Policy Bellman operator and Bellman optimality operator: the policy and optimality maps use r(s,a)+γP(s∣s,a)V(s).

[F3]

Finite-MDP Bellman operators are gamma contractions with unique fixed points: each policy operator and the Bellman optimality operator have unique fixed points.

Verification

1.1givenF1F2F3algebra

Under the point-mass stationary policy choosing a, [F1] and [F2] give Ta(v)=1+12v, whose fixed point solves v=1+12v, hence is v=2. Under the point-mass stationary policy choosing b, the equation is v=3+12v, hence its unique fixed point is v=6.

1.2givenF1F2F3algebra

For a stationary policy with π(b∣s)=θ, the expected one-step reward is (1−θ)⋅1+θ⋅3=1+2θ, so Tπ(v)=1+2θ+12v and its unique fixed point is v=2+4θ.

2.1step 1.2F1F2F3algebra

Adding 2 to each reward changes the deterministic maps to Ta,+(v)=3+12v and Tb,+(v)=5+12v, whose fixed points are 6 and 10. For the stochastic policy, the expected one-step reward becomes 3+2θ, so Tπ,+(v)=3+2θ+12v and the unique fixed point is 6+4θ. All these policy values increase by 4, and the difference between the deterministic values remains 4.

3.1step 1.1step 2.1F2F3algebra∎

At v=6, the original action values are 1+12⋅6=4 and 3+12⋅6=6, so T∗6=6 and b is greedy; [F3] makes 6 the unique optimal fixed point. After the shift, at v=10 the action values are 3+12⋅10=8 and 5+12⋅10=10, so the shifted optimality operator fixes 10 and b is greedy there; [F3] again gives uniqueness.

Remarks

The diagram shows the original MDP only: circles are states, rectangles are actions, state-to-action arrows show the two action choices, and return arrows are labeled by their joint transition masses. The shifted MDP changes the two reward labels from 1,3 to 3,5 while leaving both transition probabilities equal to one. The verification does not rely on the diagram.

diagram failed to render:
\begin{tikzpicture}[>=stealth]
  \node[circle,draw] (s) at (0,0) {$s$};
  \node[rectangle,draw] (a) at (-2,1.4) {$a$};
  \node[rectangle,draw] (b) at (2,1.4) {$b$};
  \draw[->] (s) -- node[above left] {choose $a$} (a);
  \draw[->] (a) to[bend left=22] node[left] {$p(s,1\mid s,a)=1$} (s);
  \draw[->] (s) -- node[above right] {choose $b$} (b);
  \draw[->] (b) to[bend right=22] node[right] {$p(s,3\mid s,b)=1$} (s);
\end{tikzpicture}
ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

A one-state value-iteration model attains the Bellman error bound

Example

Let S={s}, A(s)={a}, γ=1/2, with a deterministic self-loop reward 1, and initialize V0(s)=0. Then V∗(s)=2 and Vm(s)=2(1−2−m), so

∥Vm−V∗∥∞=21−m=γm∥V0−V∗∥∞

for every m≥0; the general value-iteration error bound is attained at every iteration.

Facts & Assumptions

Given: The one-state MDP, γ=1/2, and V0(s)=0 in the example.

[F1]

Finite Markov decision process with joint reward-transition law: the sole state transitions to itself with reward 1.

[F2]

Bellman optimality operator and Exact value iteration for the Bellman optimality operator: the optimality backup is applied exactly at every iteration.

[F3]

Finite-MDP Bellman operators are gamma contractions with unique fixed points: the Bellman optimality operator has a unique fixed point.

[L1]

Integer powers am: for n≥1, a−n=(an)−1 when a≠0; in particular 2−1=1/2.

[F4]

Laws of integer exponents: for nonzero a, am+n=aman for all integers m,n. Setting a=2, m=−(m+1), and n=1 gives 2−m=2−(m+1)2; since 2−1=1/2, this yields 2−(m+1)=12 2−m.

[F5]

The principle of mathematical induction: if a property holds at 0 and is preserved by each successor, then it holds for every natural number.

[F6]

Value iteration converges at the Bellman contraction rate: the exact value-iteration error is at most γm∥V0−V∗∥∞ for every m≥0.

Verification

1.1givenF1F2F3algebra

The one-state optimality map is (T∗v)(s)=1+12v(s) by [F1] and [F2]. Its fixed-point equation gives v(s)=2, and [F3] identifies this as V∗.

1.2givenL1base

At m=0, V0(s)=0=2(1−2−0). Thus the claimed iterate formula holds at the base index.

2.1step 1.2F1F2F4L1ihalgebra

Fix m∈N and assume Vm(s)=2(1−2−m). The exact backup in [F2] gives Vm+1(s)=1+12Vm(s)=1+(1−2−m)=2−2−m=2(1−2−(m+1)) by [L1].

3.1step 1.1step 1.2step 2.1F5F6inductiondischarge-induction: step 2.1algebra∎

By [F5], the base case in step 1.2 and successor step 2.1 establish Vm(s)=2(1−2−m) for every m≥0. Using V∗(s)=2 from step 1.1 gives ∥Vm−V∗∥∞=21−m; also γm∥V0−V∗∥∞=2−m⋅2=21−m. This equals the general error bound in [F6], so it is attained at every iteration.

Remarks

The diagram shows the one-state model used by the value-iteration calculation. The circle is the state, the rectangle is its sole action, and the labeled return arrow is the deterministic transition with reward 1. The discount and initial value are specified in the example statement; the verification does not rely on the diagram.

diagram failed to render:
\begin{tikzpicture}[>=stealth]
  \node[circle,draw] (s) at (0,0) {$s$};
  \node[rectangle,draw] (a) at (2,0) {$a$};
  \draw[->] (s) -- node[above] {choose $a$} (a);
  \draw[->] (a) to[bend left=35] node[below] {$p(s,1\mid s,a)=1$} (s);
\end{tikzpicture}
ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

Changing a tied greedy action can cycle, while retention stops

Example

Let S={s}, A(s)={a,b}, γ=1/2, and let both actions give reward 0 and return deterministically to s. Start exact policy iteration from the deterministic policy π0(s)=a. The policy value is 0, and both actions are greedy. The tie-retaining procedure keeps a and stops after its first evaluation; a rule that always switches to the other maximizing action alternates forever between a and b.

Facts & Assumptions

Given: The one-state MDP, γ=1/2, and initial deterministic policy π0(s)=a in the example.

[F1]

Finite Markov decision process with joint reward-transition law: both one-step laws return to s with reward 0.

[F2]

Policy Bellman operator: for either deterministic policy, Tπv(s)=12v(s).

[F3]

Exact finite policy iteration with retained greedy actions: policy evaluation is exact, and the current action is retained whenever it maximizes the one-step action value.

[F4]

Bellman optimality operator: greedy actions maximize r(s,a)+γ∑s′P(s′∣s,a)v(s′).

[F5]

Finite-MDP Bellman operators are gamma contractions with unique fixed points: each policy Bellman map has a unique fixed point.

Verification

1.1givenF1F2F5algebra

Under either action the policy Bellman equation is v(s)=12v(s) by [F1] and [F2], so the unique evaluated value is v(s)=0, consistently with [F5].

2.1step 1.1F3F4

At this value, [F4] gives Q(s,a)=0=Q(s,b); both actions maximize. The procedure [F3] retains the current action a, so the policy is unchanged and the stop condition is met.

2.2step 1.1F4algebra

In the variant that always switches to a different maximizing action, both a and b remain maximizing after every evaluation because the model and value 0 are unchanged. Thus each update sends a to b and b to a, so the procedure never reaches a stable policy.

3.1step 2.1step 2.2∎

The displayed MDP therefore distinguishes the tie-retaining rule from the explicitly defined switching rule, without asserting that every arbitrary tie rule cycles.

Remarks

The diagram uses a circle for the state and rectangles for the available action nodes. Arrows from the state to each action show the available choices, not a single policy; arrows back to the state show each deterministic transition, labeled with probability and reward. The example separately specifies the initial policy and the alternative switching rule, and the verification does not rely on the drawing.

sabchooseap(s;0js;a)=1choosebp(s;0js;b)=1

Sources