Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-generatedPipeline-generatedjudge pass (gpt-6-luna)
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.

Discounted episodic policy gradients from trajectory likelihoods

Statement

Assume the Axiom of Choice. Let a finite Markov decision process have nonempty finite state set S, finite nonempty action sets A(s), finite reward set R, and fixed joint transition-reward masses p(s′,r∣s,a). Fix an initial state s0∈S, a terminal set S†⊆S, and 0≤γ<1. Let U⊆Rd be open, let θ0∈U, and let πθ be a differentiable stationary policy family with fixed common support on an open neighborhood U0 of θ0. Suppose every episode from s0 under πθ, for θ∈U0, reaches S† in finite time almost surely. Let T be the first terminal time, let

Gt=∑k=tT−1γk−tRk+1(t<T),GT=0,

and set J(θ)=Vπθ(s0)=Eθ[∑k=0T−1γkRk+1]. Let T be the set of finite trajectories that use only actions in the common policy support, have positive transition masses, and stop at their first terminal state. For τ=(s0,a0,r1,s1,…,am−1,rm,sm)∈T, define

pθ(τ)=∏t=0m−1πθ(at∣st)p(st+1,rt+1∣st,at),Rγ(τ)=∑k=0m−1γkrk+1.

Assume the trajectory masses pθ(τ) are totally differentiable at θ0, the linear map h↦∑τ∈TRγ(τ)Dpθ0(τ)h is defined by an absolutely convergent sum, and there is a summable H:T→[0,∞) that dominates the return-weighted normalized remainders below and for which those remainders tend to zero pathwise:

∣Rγ(τ)∣ ∣pθ0+h(τ)−pθ0(τ)−Dpθ0(τ)h∣∥h∥2≤H(τ),∣Rγ(τ)∣ ∣pθ0+h(τ)−pθ0(τ)−Dpθ0(τ)h∣∥h∥2⟶0

for every τ∈T as h→0, with ∑τ∈TH(τ)<∞.

Also assume

Eθ0 ⁣[∑t<T∑k<Tγk∥ψθ0(St,At)∥2 ∣Rk+1∣]<∞,

where ψθ(s,a)=∇θlog⁡πθ(a∣s) on the common support. Then J is totally differentiable at θ0 and

∇θJ(θ0)=Eθ0 ⁣[∑t=0T−1γt ∇θlog⁡πθ0(At∣St) Gt].

Facts & Assumptions

Given: The finite MDP, Axiom of Choice, start and terminal states, discount, policy family, almost-sure termination, and the two stated dominated-differentiation and integrability assumptions.

[A1]

The Axiom of Choice: every family of nonempty sets has a choice function; it is used to obtain the policy path law.

[A2]

The return-weighted normalized likelihood remainders in the Statement tend to zero pathwise and are dominated by one summable envelope; this is the exact hypothesis for applying dominated convergence to the trajectory series.

[A3]

The discounted score-reward double sum in the Statement is integrable; it permits the expectation and time sums in the proof to be interchanged by dominated convergence.

[F1]

Finite Markov decision process with joint reward-transition law: state, action, and reward sets are finite; p(s′,r∣s,a) is a normalized joint next-state/reward law, and the dynamics do not depend on θ.

[F2]

Differentiable stationary stochastic policies and score vectors: each πθ(⋅∣s) is normalized and totally differentiable, with fixed positive support; ψθ(s,a)=∇θlog⁡πθ(a∣s) on that support.

[F3]

Episodic returns, temporal-difference errors, and policy support: the episode stops at its first terminal state, terminates almost surely, and Gt=∑k=tT−1γk−tRk+1 is the return from time t; its initial value is the discounted value on the absorbing extension.

[F4]

A finite MDP policy generates action-state-reward trajectories: under AC, every feasible finite action-state-reward prefix has mass equal to the product of its policy probabilities and joint transition-reward masses; its one-step record alphabet is finite.

[F5]

Finite, countably infinite, countable, uncountable and A natural-number coding of finite sequences: a set is at most countable when it injects into N, and every finite sequence of natural numbers has an injective natural-number code.

[F6]

Chain sum product and composition rules for Banach derivatives: for a bounded bilinear map, D(B(f,g))h=B(Df h,g)+B(f,Dg h).

[F7]

The chain rule for total derivatives: D(g∘f)(a)=Dg(f(a))∘Df(a): derivatives of compositions are compositions of total derivatives.

[F9]

A policy score has zero conditional mean before the action: before each action, the conditional expectation of its score vector given the entire past and current state is zero.

[F10]

Conditional expectation given a sigma algebra: conditional expectation preserves integrals on conditioning events; Taking out what is known permits an integrable measurable past factor to be taken outside it.

[F11]

Dominated convergence: pointwise convergence under one integrable majorant permits convergence of the corresponding integrals.

[F12]

Expectation of a nonnegative or integrable random variable: expectation of an integrable real random variable is its finite Lebesgue integral.

Proof

technique · differentiate the finite-trajectory likelihood, then remove rewards earned before each action by the zero-mean score identity
1.1givenF1F3F4F5algebra

If s0∈S†, then T=0, the return and gradient are zero, and the sum in the conclusion is empty. Otherwise, the transition-record alphabet is finite by [F1] and [F4]. Fix an enumeration of that alphabet; every finite terminal path becomes a finite sequence of natural-number indices, so [F5] injects T into N.

1.2F1F2F4F6F7F8algebra

Fix τ=(s0,a0,r1,s1,…,am−1,rm,sm)∈T. By [F4], its probability is the displayed product. Repeatedly applying the bounded-bilinear product rule [F6] to its finitely many policy factors, and using [F2], [F7], and [F8], gives Dpθ0(τ)=pθ0(τ)∑t=0m−1ψθ0(st,at). Paths with a zero transition mass or an unsupported action have probability zero throughout U0 and are omitted from T. The empty trajectory has empty product 1 and empty score sum 0.

2.1A1A2F3F4F11F12step 1.2

The episode termination assumption makes the masses of T sum to one, and [F3] identifies J(θ)=∑τ∈Tpθ(τ)Rγ(τ). By [A2] and [F11], the derivative of this series at θ0 is the absolutely convergent sum ∑τRγ(τ)Dpθ0(τ). Substituting step 1.2 shows that, for every direction h∈Rd, DJ(θ0)h=Eθ0[Rγ(τ)⟨∑t<Tψθ0(St,At),h⟩].

3.1A3F9F10F11step 2.1

Expand Rγ=∑k<TγkRk+1. For each k<t, the event t<T and the past reward Rk+1 are Ht-measurable. By [F9] and [F10], each coordinate of E[1{t<T}Rk+1ψt] is zero. The bound [A3] dominates every finite rectangular truncation of the double sum by an integrable random variable, so [F11] permits passing to the full sum. All terms with k<t therefore vanish in step 2.1.

4.1F2F3step 2.1step 3.1algebra∎

The remaining terms have k≥t, and the return definition [F3] gives ∑k=tT−1γkRk+1=γtGt. Hence step 2.1 becomes DJ(θ0)h=⟨Eθ0[∑t=0T−1γtGtψθ0(St,At)],h⟩. Since this holds for every h, the vector inside the inner product is the Euclidean gradient of J at θ0, proving the assertion.

Remarks

The factor γt is part of the identity for the discounted start-state objective and the return convention stated here. The result is episodic. A continuing average-reward policy-gradient statement uses a different objective and requires an existing stationary state distribution independent of the start state under the source's ergodicity premise. No convergence theorem for nonlinear or deep parameter updates is asserted here.

Depends on

Used by

Dependency tree · two levels

87 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources