Alphabeta Math
LemmaStatement: Literature-sourcedProof: AI-generatedPipeline-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-episode importance sampling has the target-policy mean under support

Statement

Assume the Axiom of Choice. Let a finite MDP with terminal set S† have 0≤γ<1, and let π and μ be stationary target and behavior policies. Suppose π(a∣x)>0 implies μ(a∣x)>0 for every nonterminal state x and action a∈A(x), and episodes reach S† in finite time almost surely from every state under both policies. For any starting state s, a behavior-generated episode has first terminal time T and ratio

Λ0:T−1=∏k=0T−1π(Ak∣Sk)μ(Ak∣Sk),

where the empty product for T=0 is 1. For every bounded measurable real function G of the finite episode,

Eμ,s[Λ0:T−1G]=Eπ,s[G].

The identity therefore applies to every episode suffix starting at a state s that can be reached by a finite behavior history. Fix an initial state s0. If H is a positive-probability finite behavior history from s0 that first visits s at time t and ends immediately upon observing St=s, before the action At is sampled (when s is terminal, no action is sampled and the suffix is empty), let

Gt=∑k=tT−1γk−tRk+1

be the suffix return. Then

Eμ,s0[1HΛt:T−1Gt]Pμ,s0(H)=Vπ(s).

Thus the ordinary first-visit importance-sampling return has mean Vπ(s) conditional on each pre-action first-visit history.

Facts & Assumptions

Given: AC, a finite MDP and discount, target and behavior policies, target support, almost-sure episode termination from every state under both policies, and the bounded measurable function G in the Statement.

[A1]

The Axiom of Choice: every family of nonempty sets has a choice function; AC is used for the policy path laws.

[F1]

Finite Markov decision process with joint reward-transition law: conditional on a state-action pair, the same finite joint next-state/reward law p(s′,r∣s,a) is used under both policies.

[F2]

A finite MDP policy generates action-state-reward trajectories: for every feasible finite state-action-reward trajectory, its probability under policy σ is the product of σ(ak∣sk)p(sk+1,rk+1∣sk,ak) over its steps.

[F3]

Episodic returns, temporal-difference errors, and policy support: Λ0:T−1 is the product of action-probability ratios along the finite episode, and the support condition makes its denominators positive on behavior-observed paths.

[F4]

Discounted returns and policy values in a finite MDP: under the absorbing zero-reward extension, the target return is the discounted path return and is bounded by M/(1−γ).

[F5]

Probability measures and probability spaces and Expectation of a nonnegative or integrable random variable: path probabilities are countably additive and expectations are Lebesgue integrals.

[F6]

Monotone convergence for the integral: expectations of increasing nonnegative measurable functions converge to the expectation of their pointwise limit.

Proof

Given: The hypotheses and conventions in the Statement and [A1], [F1]–[F6].

1.1A1F1F2F3algebra

Fix a finite terminal trajectory ω=(s0,a0,r1,s1,…,am−1,rm,sm) with s0=s and sm∈S†. By [F2], Pπ,s(ω)=∏k=0m−1π(ak∣sk)p(sk+1,rk+1∣sk,ak),Pμ,s(ω)=∏k=0m−1μ(ak∣sk)p(sk+1,rk+1∣sk,ak). If Pπ,s(ω)>0, every transition-reward factor and every target action factor is positive. Target support then makes every corresponding behavior action factor positive, so Pμ,s(ω)>0. On each behavior-positive trajectory, canceling the shared transition-reward factors gives Pπ,s(ω)=Λ0:m−1(ω)Pμ,s(ω); if its target probability is zero, the ratio is zero.

2.1givenF4F5F6step 1.1algebra

For each episode length m, there are finitely many terminal trajectories because the state, action, and reward alphabets are finite. These terminal-path events are disjoint over all lengths and cover probability one under both policies by the termination hypothesis. Enumerate them by increasing length and, within each length, any finite enumeration. For any finite initial collection C of these paths, step 1.1 gives ∑ω∈CPμ,s(ω)Λ(ω)∣G(ω)∣=∑ω∈CPπ,s(ω)∣G(ω)∣. As the collections increase to all terminal paths, [F6] passes both nonnegative sums to their expectations. Thus Eμ,s[Λ∣G∣]=Eπ,s[∣G∣]<∞, so ΛG is integrable.

3.1step 1.1step 2.1F4F5F6algebra

Apply the same finite-path identity separately to the nonnegative functions G+=max⁡(G,0) and G−=max⁡(−G,0); step 2.1 makes both weighted expectations finite. Subtracting the two equalities by linearity of the integral gives Eμ,s[ΛG]=Eπ,s[G]. For G=G0, the target expectation is Vπ(s) by [F4].

4.1givenF2F3F4step 1.1step 3.1algebra∎

Let H be one finite behavior history ending at a first visit to s at time t, with Pμ,s0(H)>0. For every finite terminal suffix ω starting at s, the product formula [F2] factors the joint probability as Pμ,s0(H)Pμ,s(ω). The suffix likelihood ratio contains only action factors from time t onward, so step 1.1 gives the target-to-behavior ratio for that suffix. Since Gt is the bounded discounted suffix return and target termination holds from s, step 3.1 gives Eμ,s[Λ0:T−1G0]=Vπ(s). Summing over suffixes therefore yields Eμ,s0[1HΛt:T−1Gt]=Pμ,s0(H)Vπ(s). Dividing by the positive Pμ,s0(H) proves the conditional first-visit assertion.

Depends on

Used by

Dependency tree · two levels

46 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