Eq. (26), p. 786 — the discounted cost of a stationary policy is the value of a linear program
ProvedRobustMDP.Discounted.discountedCost_lpFix an initial state , a stationary control policy and a stationary policy of nature with rows . Let , that is and for . Then the discounted cost is the optimal value of the linear program
and the maximum is attained.
This connects the probabilistic cost, defined as an expected discounted sum along the Markov chain, to the linear inequalities the proof of Theorem 3 manipulates.
Formalization Note is written . The statement is IsGreatest of the set of values over feasible .
import Mathlib import Definitions.Def_RobustMDP_Discounted_Model import Definitions.Def_RobustMDP_Discounted_discountedCost
namespace RobustMDP.Discounted
/-- Linear program (26) (Nilim–El Ghaoui 2005, p. 786). For a stationary controller policy
`π = (𝐚, 𝐚, …)` and a fixed stationary nature policy `P ∈ 𝒯_s`, the discounted cost
`C_∞(π, P)` from the initial state `i₀` is the optimal value of
`max_v qᵀ v s.t. v(i) ≤ c(i, 𝐚(i)) + ν ∑_j P^{𝐚(i)}(i, j) v(j), i ∈ 𝒳`,
with `q = e_{i₀}` (so `qᵀ v = v(i₀)`), and the maximum is attained. -/
theorem discountedCost_lp {n : ℕ} {A : Type} (M : Model n A) (i₀ : Fin n)
(π : StationaryPolicy n A) (P : M.StationaryNature) :
IsGreatest
((fun v : Fin n → ℝ => v i₀) ''
{v | ∀ i, v i ≤ M.cost i (π i) + M.discount * ∑ j, P.1 (π i) i j * v j})
(M.discountedCost i₀ π P) := by sorry
end RobustMDP.Discounted
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
The inputs are:
- any model (costs , discount , nonempty row sets inside the simplex; arbitrary);
- an initial state ;
- a stationary policy ;
- a stationary nature policy , with every row .
The statement asserts that the discounted cost is the greatest element of the set
Here , with the indicator of and . "Greatest element" means two things:
- some satisfying all inequalities has ;
- every such has .
Degenerate cases:
- : no exists, so the statement is vacuous.
- empty with : no exists, so the statement is vacuous.
- : the constraint set is , and the claim is that is its maximum at .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.