Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Absorption values for stopping stochastic games

Proved
FriedmannStochastic.absorption_values

by kmehltretter82 · Nov 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

algorithm-analysisoliver-friedmanntheoretical-computer-science

For every well-formed stopping stochastic game and legal strategy pair, I−PI-PI−P is nonsingular. Its absorption solution is one at the winning terminal, zero at the losing terminal, lies in [0,1][0,1][0,1] everywhere, and satisfies the transition equations at every nonterminal state.

Preamble
import Definitions.Def_friedmann_payoff

set_option autoImplicit false
Formal statement
namespace FriedmannStochastic

theorem absorption_values {V : Type} [Fintype V] [DecidableEq V]
    (G : Game V) (hG : WellFormed G) (σ τ : V → V)
    (hσ : Legal G 0 σ) (hτ : Legal G 1 τ) :
    (1 - transition G σ τ).det ≠ 0 ∧
    playValue G σ τ G.win = 1 ∧ playValue G σ τ G.lose = 0 ∧
    (∀ v, 0 ≤ playValue G σ τ v ∧ playValue G σ τ v ≤ 1) ∧
    (∀ v, v ≠ G.win → v ≠ G.lose →
      playValue G σ τ v = ∑ w, transition G σ τ v w * playValue G σ τ w) := by sorry

end FriedmannStochastic
Source
Oliver Friedmann, An Exponential Lower Bound for the Latest Deterministic Strategy Iteration Algorithms, LMCS 2011, author PDF https://oliverfriedmann.com/downloads/papers/strategy_improvement_lower_bound_journal.pdf; arXiv:1106.0778v2 https://arxiv.org/abs/1106.0778; §9, almost-sure halting convention and Algorithm 4; equation-level infrastructure consequence
Read-back

What the Lean code literally says, in plain math · Codex independent auditor (model identifier unavailable)

For every finite vertex set VVV equipped with decidable equality, every stochastic game GGG as specified below which satisfies the stated well-formedness conditions, every total function σ:V→V\sigma:V\to Vσ:V→V legal at role-000 decision vertices, and every total function τ:V→V\tau:V\to Vτ:V→V legal at role-111 decision vertices, write P=Pσ,τP=P_{\sigma,\tau}P=Pσ,τ​ and y=(I−P)−1by=(I-P)^{-1}by=(I−P)−1b with b(v)=1b(v)=1b(v)=1 for v=w+v=w_+v=w+​ and 000 otherwise. The assertion is the conjunction det⁡(I−P)≠0\det(I-P)\ne0det(I−P)=0, y(w+)=1y(w_+)=1y(w+​)=1, y(w−)=0y(w_-)=0y(w−​)=0, 0≤y(v)≤10\le y(v)\le10≤y(v)≤1 for every v∈Vv\in Vv∈V, and y(v)=∑w∈VP(v,w)y(w)y(v)=\sum_{w\in V}P(v,w)y(w)y(v)=∑w∈V​P(v,w)y(w) for every vvv distinct from both terminals. A stochastic game on VVV specifies a role a:V→{0,1,2}a:V\to\{0,1,2\}a:V→{0,1,2}, an edge relation EEE, rational numbers p(v,w)p(v,w)p(v,w) for every ordered pair, and distinguished vertices w+w_+w+​ and w−w_-w−​. A decision vertex of role iii means v≠w+v\ne w_+v=w+​, v≠w−v\ne w_-v=w−​, and a(v)=ia(v)=ia(v)=i; a legal role-iii strategy is a total function σ:V→V\sigma:V\to Vσ:V→V satisfying E(v,σ(v))E(v,\sigma(v))E(v,σ(v)) at every such decision vertex, with unrestricted values elsewhere. For total functions σ,τ\sigma,\tauσ,τ, define the rational matrix Pσ,τP_{\sigma,\tau}Pσ,τ​ to have zero rows at both terminals, the row concentrated at σ(v)\sigma(v)σ(v) at nonterminal role-000 vertices, the row concentrated at τ(v)\tau(v)τ(v) at nonterminal role-111 vertices, and row p(v,⋅)p(v,\cdot)p(v,⋅) at nonterminal role-222 vertices. Well-formedness means w+≠w−w_+\ne w_-w+​=w−​, every nonterminal has an outgoing edge, neither terminal has any outgoing edge, every role-222 decision row has nonnegative entries with zero entry whenever the corresponding edge is absent and has sum 111, and, for every legal role-000 function σ\sigmaσ, every legal role-111 function τ\tauτ, and every vertex vvv, there is a finite path, possibly of length zero, from vvv to w+w_+w+​ or to w−w_-w−​ along pairs with Pσ,τ(x,y)>0P_{\sigma,\tau}(x,y)>0Pσ,τ​(x,y)>0. This last requirement is finite positive-transition reachability for every legal pair. Probabilities at other rows and terminal roles are unrestricted by these conditions. Its scalar model takes role-000 decision vertices as XXX, EEE as actions, role-000 and role-111 legality as Lmax⁡\mathcal L_{\max}Lmax​ and Lmin⁡\mathcal L_{\min}Lmin​, and rational payoff vector (I−Pσ,τ)−1b(I-P_{\sigma,\tau})^{-1}b(I−Pσ,τ​)−1b, where b(v)=1b(v)=1b(v)=1 at w+w_+w+​ and 000 elsewhere; again a singular matrix is assigned zero inverse. Thus the hypotheses quantify over all legal strategy pairs in the well-formedness condition, while the conclusion concerns each supplied legal pair. The two distinct specified terminal vertices exclude empty and singleton VVV under these hypotheses. The displayed conclusion is about the determinant, rational coordinates, bounds, and these linear equations; it introduces no separate probability-space object.

Human review
  • Endorsed by Shuze Chen · Nov 7, 2026

    Confirmed by the moderator at approval.

  • Endorsed by kmehltretter82 · Nov 7, 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