Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 6 — the Bayesian recursion (9) has a unique bounded solution f(i, g)

Proved
SatiaLave.Bayes.prop6_exists_unique_bounded

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

bayesian-mdpdynamic-programmingmarkov-decision-processp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Consider the finite discounted Markovian decision process with uncertain transition probabilities of Satia and Lave: states iii, decisions k∈Kik \in K_ik∈Ki​, rewards rijkr^k_{ij}rijk​, discount 0≤β<10 \le \beta < 10≤β<1. For a prior ggg on the unknown transition matrix PPP write pˉijk=E(pijk)\bar p^k_{ij} = E(p^k_{ij})pˉ​ijk​=E(pijk​) for the prior means and TijkgT^k_{ij} gTijk​g for the posterior after a transition i→ji \to ji→j under decision kkk (Eq. (8)).

Proposition 6 (Martin). There exists a function f(i,g)f(i, g)f(i,g), bounded over all states and priors, that satisfies

f(i,g)=max⁡k∈Ki{∑jpˉijkrijk+β∑jpˉijkf(j,Tijkg)}(10)f(i, g) = \max_{k \in K_i} \Big\{ \sum_j \bar p^k_{ij} r^k_{ij} + \beta \sum_j \bar p^k_{ij} f(j, T^k_{ij} g) \Big\} \qquad (10)f(i,g)=k∈Ki​max​{j∑​pˉ​ijk​rijk​+βj∑​pˉ​ijk​f(j,Tijk​g)}(10)

for every state iii and prior ggg; and any two bounded solutions of (10) agree at every state and every prior.

The solution is the Bayesian optimal total expected discounted return, the object that Propositions 8, 9 and 10 bound.

Formalization Note The paper states the result for Eq. (9), f(i,g)=max⁡k{E(∑jpijkrijk)+β∑jE[pijkf(j,Tijkg)]}f(i,g) = \max_k\{E(\sum_j p^k_{ij} r^k_{ij}) + \beta\sum_j E[p^k_{ij} f(j, T^k_{ij} g)]\}f(i,g)=maxk​{E(∑j​pijk​rijk​)+β∑j​E[pijk​f(j,Tijk​g)]}. Since TijkgT^k_{ij} gTijk​g does not depend on PPP, linearity of EEE turns (9) into (10), as the paper itself notes, so (10) is formalized. "Unique" is read as uniqueness at priors: (10) says nothing about fff at measures that are not priors, so equality of the whole functions would be false.

Preamble
import Mathlib
import Definitions.Def_SatiaLave_Bayes_Model

open MeasureTheory
Formal statement
namespace SatiaLave.Bayes

/-- Proposition 6 (Martin): the recursive equations (9)/(10) have a unique bounded solution
(unique on the set of priors, the only arguments at which (10) constrains `f`). -/
theorem prop6_exists_unique_bounded {S : Type*} [Fintype S] [DecidableEq S] [Nonempty S]
    {D : S → Type*} [∀ i, Fintype (D i)] [∀ i, DecidableEq (D i)] [∀ i, Nonempty (D i)]
    (M : UncertainMDP S D) :
    (∃ f : S → Measure (Mat S D) → ℝ, SolvesEq10 M f ∧ IsBoundedOnPriors f) ∧
    ∀ f₁ f₂ : S → Measure (Mat S D) → ℝ,
      SolvesEq10 M f₁ → IsBoundedOnPriors f₁ →
      SolvesEq10 M f₂ → IsBoundedOnPriors f₂ →
      ∀ i g, IsPrior g → f₁ i g = f₂ i g := by sorry

end SatiaLave.Bayes
Source
Satia and Lave, Markovian Decision Processes with Uncertain Transition Probabilities, Operations Research 21(3), 1973, p. 733, Proposition 6 (Eqs. (9), (10))
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting.

  • SSS is a finite, nonempty set of states with decidable equality.
  • For each state iii, DiD_iDi​ is a finite, nonempty set of decisions.
  • MMM is any uncertain MDP on these sets: real rewards rijkr^k_{ij}rijk​, a discount 0≤β<10\le\beta<10≤β<1, and closed, convex, nonempty sets UikU^k_iUik​ inside the probability simplex ΔS\Delta_SΔS​.
  • A prior is a probability measure ggg on the matrix space M=∏i∏k∈DiRS\mathcal M=\prod_{i}\prod_{k\in D_i}\mathbb R^SM=∏i​∏k∈Di​​RS (product Borel σ-algebra) that gives measure 000 to the matrices whose rows are not all probability vectors.
  • pˉijk(g)=∫pijk dg\bar p^k_{ij}(g)=\int p^k_{ij}\,dgpˉ​ijk​(g)=∫pijk​dg is the prior mean.
  • TijkgT^k_{ij}gTijk​g is the posterior. When pˉijk(g)≠0\bar p^k_{ij}(g)\neq 0pˉ​ijk​(g)=0, it is the measure with density max⁡(pijk,0)/pˉijk(g)\max(p^k_{ij},0)/\bar p^k_{ij}(g)max(pijk​,0)/pˉ​ijk​(g) with respect to ggg. When pˉijk(g)=0\bar p^k_{ij}(g)=0pˉ​ijk​(g)=0, it is ggg itself.

Claim. Two things hold.

  1. Existence. There is a function f:S×{measures on M}→Rf:S\times\{\text{measures on }\mathcal M\}\to\mathbb Rf:S×{measures on M}→R with both of these properties:
    • for every iii and every prior ggg,
f(i,g)=max⁡k∈Di{∑jpˉijk(g) rijk+β∑jpˉijk(g) f(j,Tijkg)};f(i,g)=\max_{k\in D_i}\Big\{\sum_j\bar p^k_{ij}(g)\,r^k_{ij}+\beta\sum_j\bar p^k_{ij}(g)\,f(j,T^k_{ij}g)\Big\};f(i,g)=k∈Di​max​{j∑​pˉ​ijk​(g)rijk​+βj∑​pˉ​ijk​(g)f(j,Tijk​g)};
  • there is a real CCC with ∣f(i,g)∣≤C|f(i,g)|\le C∣f(i,g)∣≤C for all iii and all priors ggg.
  1. Uniqueness on priors. Take any two functions f1,f2f_1,f_2f1​,f2​ that both have these two properties. Then f1(i,g)=f2(i,g)f_1(i,g)=f_2(i,g)f1​(i,g)=f2​(i,g) for every state iii and every prior ggg.

What is not claimed.

  • Nothing is said about values at measures that are not priors. Solutions may differ there.
  • The sets UikU^k_iUik​ do not enter the statement. Only rrr and β\betaβ do.

Degenerate cases.

  • If every DiD_iDi​ is a single decision, the maximum is that single term.
  • If β=0\beta=0β=0, the equation fixes f(i,g)=max⁡k∑jpˉijk(g)rijkf(i,g)=\max_k\sum_j\bar p^k_{ij}(g)r^k_{ij}f(i,g)=maxk​∑j​pˉ​ijk​(g)rijk​ directly.
  • If ∣S∣=1|S|=1∣S∣=1, the only stochastic matrix is the all-ones one. Every prior is then concentrated on it, so both the existence and the uniqueness parts concern a single point mass.
  • On a prior, the prior mean is an integral of a coordinate that lies in [0,1][0,1][0,1] almost everywhere, so the "non-integrable → 000" convention does not arise there.
  • The "pˉ=0⇒Tg=g\bar p=0\Rightarrow T g=gpˉ​=0⇒Tg=g" convention affects only terms that are multiplied by pˉijk(g)=0\bar p^k_{ij}(g)=0pˉ​ijk​(g)=0.
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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