Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3, p. 21: procedures of C′ correspond to solutions of (10) via xjk=πjDjkx_{jk} = \pi_j D_{jk}xjk​=πj​Djk​

Proved
DermanSeqDecisions.LinProg.freq_solution_correspondence

by mikedeng1 · Oct 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

linear-programmingmarkov-decision-processp2o-batch-pfp1ap2o-gran-per-chapterp2o-plan-paperp2o-v1stationary-distribution

Let III be a finite state set with stochastic chance laws qij(k)q_{ij}(k)qij​(k), and suppose that for every procedure of C′C'C′ the states of III belong to the same class. Then:

  1. for every D∈C′D \in C'D∈C′ with stationary distribution π\piπ, the frequencies xjk=πjDjkx_{jk} = \pi_j D_{jk}xjk​=πj​Djk​ solve (10),
xjk≥0,∑kxjk−∑i∈I∑kxikqij(k)=0 (j∈I),∑j∈I∑kxjk=1,x_{jk} \ge 0, \qquad \sum_k x_{jk} - \sum_{i \in I}\sum_k x_{ik} q_{ij}(k) = 0 \ (j \in I), \qquad \sum_{j \in I}\sum_k x_{jk} = 1,xjk​≥0,k∑​xjk​−i∈I∑​k∑​xik​qij​(k)=0 (j∈I),j∈I∑​k∑​xjk​=1,

and ∑kxjk>0\sum_k x_{jk} > 0∑k​xjk​>0 for every jjj; 2. every solution xxx of (10) has ∑kxjk>0\sum_k x_{jk} > 0∑k​xjk​>0 for every j∈Ij \in Ij∈I; the procedure Djk=xjk/∑kxjkD_{jk} = x_{jk} / \sum_k x_{jk}Djk​=xjk​/∑k​xjk​ belongs to C′C'C′, its stationary distribution is πj=∑kxjk\pi_j = \sum_k x_{jk}πj​=∑k​xjk​, and xjk=πjDjkx_{jk} = \pi_j D_{jk}xjk​=πj​Djk​.

So (10) describes exactly the state-action frequencies of the procedures of C′C'C′, which turns optimization over C′C'C′ into optimization over a polytope.

Formalization Note. The statement is generic in III: the paper applies it with I={0,…,L}I = \{0, \dots, L\}I={0,…,L} under Assumption A and with I={−1,0,…,L}I = \{-1, 0, \dots, L\}I={−1,0,…,L} and the augmented law in Problem 2. "Same class" is irreducibility of the chain matrix.

Preamble
import Mathlib
import Definitions.Def_JewellMRP_InfiniteStep_Model
import Definitions.Def_DermanSeqDecisions_LinProg_Model

open Matrix
Formal statement
namespace DermanSeqDecisions.LinProg

/-- §3, p. 21 (Derman, *On Sequential Decisions and Markov Chains*, Management Science 9(1):16–24 (1962), DOI 10.1287/mnsc.9.1.16, §3, proof of Theorem 2, the paragraph after (10), unnumbered).

Let `I` be a finite state set with stochastic chance laws `q_{ij}(k)`, and suppose that for every
procedure of `C′` the states of `I` belong to the same class. Then:
1. for every `D ∈ C′` and its stationary vector `π` (5), `x_{jk} = π_j D_{jk}` solves (10) and
   `∑_k x_{jk} > 0` for every `j ∈ I`;
2. every solution `x` of (10) has `∑_k x_{jk} > 0` for every `j ∈ I`; the procedure
   `D_{jk} = x_{jk} / ∑_k x_{jk}` belongs to `C′`, its stationary vector is `π_j = ∑_k x_{jk}`, and
   `x_{jk} = π_j D_{jk}`, so `x` is the solution of (10) that corresponds to it.

**Formalization Note.** The statement is generic in the state set `I`, as the paper uses it twice:
`I = {0, ⋯, L}` under Assumption A, and `I = {−1, 0, ⋯, L}` with the augmented law of Problem 2.
"Same class" is `Matrix.IsIrreducible` of the (row-stochastic) chain matrix. -/
theorem freq_solution_correspondence {I Act : Type*} [Fintype I] [DecidableEq I] [Fintype Act]
    (q : I → Act → I → ℝ) (hq : IsTransitionLaw q)
    (hA : ∀ D : I → Act → ℝ, IsStationaryRandomized D → (chainMatrix q D).IsIrreducible) :
    (∀ D : I → Act → ℝ, IsStationaryRandomized D → ∀ π : I → ℝ,
      JewellMRP.InfiniteStep.IsStationary (chainMatrix q D) π →
      IsFreqSolution q (fun j k => π j * D j k) ∧ ∀ j, 0 < ∑ k, π j * D j k) ∧
    ∀ x : I → Act → ℝ, IsFreqSolution q x →
      (∀ j, 0 < ∑ k, x j k) ∧ IsStationaryRandomized (decode x) ∧
      JewellMRP.InfiniteStep.IsStationary (chainMatrix q (decode x)) (fun j => ∑ k, x j k) ∧
      ∀ j k, x j k = (∑ k', x j k') * decode x j k := by sorry

end DermanSeqDecisions.LinProg
Source
Derman, On Sequential Decisions and Markov Chains, Management Science 9(1):16–24 (1962), DOI 10.1287/mnsc.9.1.16, p. 21, §3, proof of Theorem 2, paragraph after (10)
Human review
  • Endorsed by Shuze Chen · Oct 4, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 4, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me