Proposition 6 — the Bayesian recursion (9) has a unique bounded solution f(i, g)
ProvedSatiaLave.Bayes.prop6_exists_unique_boundedConsider the finite discounted Markovian decision process with uncertain transition probabilities of Satia and Lave: states , decisions , rewards , discount . For a prior on the unknown transition matrix write for the prior means and for the posterior after a transition under decision (Eq. (8)).
Proposition 6 (Martin). There exists a function , bounded over all states and priors, that satisfies
for every state and prior ; 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), . Since does not depend on , linearity of turns (9) into (10), as the paper itself notes, so (10) is formalized. "Unique" is read as uniqueness at priors: (10) says nothing about at measures that are not priors, so equality of the whole functions would be false.
import Mathlib import Definitions.Def_SatiaLave_Bayes_Model open MeasureTheory
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
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting.
- is a finite, nonempty set of states with decidable equality.
- For each state , is a finite, nonempty set of decisions.
- is any uncertain MDP on these sets: real rewards , a discount , and closed, convex, nonempty sets inside the probability simplex .
- A prior is a probability measure on the matrix space (product Borel σ-algebra) that gives measure to the matrices whose rows are not all probability vectors.
- is the prior mean.
- is the posterior. When , it is the measure with density with respect to . When , it is itself.
Claim. Two things hold.
- Existence. There is a function with both of these properties:
- for every and every prior ,
- there is a real with for all and all priors .
- Uniqueness on priors. Take any two functions that both have these two properties. Then for every state and every prior .
What is not claimed.
- Nothing is said about values at measures that are not priors. Solutions may differ there.
- The sets do not enter the statement. Only and do.
Degenerate cases.
- If every is a single decision, the maximum is that single term.
- If , the equation fixes directly.
- If , 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 almost everywhere, so the "non-integrable → " convention does not arise there.
- The "" convention affects only terms that are multiplied by .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.