Introduction
In this work, we present improved complexity results for the value computation and approximation of concurrent stochastic games with limit-average objectives. We informally present the model, the objectives, the computational problems, previous results, and our contributions.
Concurrent stochastic games. Concurrent stochastic games [50 , 32 , 26 ] are two-player zero-sum games played on finite-state graphs for an infinite number of stages. In every stage, each player simultaneously and independently of the other player chooses an action. The current state and the actions chosen by the players give a probability distribution over the successor state. An infinite number of such stages results in a play which is an infinite sequence of states and actions. Concurrent stochastic games are one of the most fundamental models in game theory. They were introduced by Shapley [50 ] as stopping games, or equivalently discounted-sum games, which halt with probability 1. The fundamental extension to games of infinite duration was studied by Gillette [32 ] and Everett [26 ] . Concurrent stochastic games have been widely studied from the mathematical perspective [50 , 32 , 26 , 44 , 42 , 30 ] , and from the algorithmic and computational complexity perspective, including the complexity of reachability objectives [21 EY08, 38 FM13] , algorithms and complexity for limit-average objectives [16 , 37 , 46 , 8 ] , the qualitative and quantitative analysis of ω \omega ω -regular objectives [20 , 25 , 10 , 4 ] , and temporal logics [5 ] . In particular, in analysis of reactive systems, concurrent games provide the appropriate model for reactive systems with components that interact synchronously [5 , 22 , 23 ] .
Objectives. An objective assigns a payoff to every play. Player 1 aims to maximize its expectation and Player 2 is adversarial. We consider the following classical objectives. In limit-average objectives, also known as mean-payoff objectives, every transition is assigned a reward and the payoff of a play is the long-run average of the rewards [32 , 44 ] . These objectives generalize reachability objectives, where the goal of Player 1 is to eventually reach a target state. For our technical results, we use discounted-sum objectives, where the payoff is the discounted sum of the rewards [50 ] .
Strategies, values, and the computational problems. Strategies are recipes that define the choice of actions of the players. They are functions that, given the sequence of states visited and actions chosen so far, return a probability distribution over actions. Given a concurrent stochastic game and an objective, the value of Player 1 at a state s s s , val ( s ) \operatorname{val}(s) val ( s ) , is the maximal expectation of the objective that Player 1 can guarantee against all strategies of Player 2. Given a concurrent stochastic game and an objective, the main computational problems are as follows: (a) the value-decision problem given a state s s s and threshold α \alpha α asks whether val ( s ) ≥ α \operatorname{val}(s) \ge\alpha val ( s ) ≥ α ; (b) the value-gap problem given a state s s s , a threshold α \alpha α , and an error ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) asks whether val ( s ) ≥ α + ε \operatorname{val}(s) \ge\alpha+ \varepsilon val ( s ) ≥ α + ε or val ( s ) ≤ α − ε \operatorname{val}(s) \le\alpha- \varepsilon val ( s ) ≤ α − ε , where any answer is correct if val ( s ) \operatorname{val}(s) val ( s ) lies strictly between α − ε \alpha- \varepsilon α − ε and α + ε \alpha+ \varepsilon α + ε ; and (c) the value-approximation problem given an error ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) asks to compute the values of all states within an additive error ε \varepsilon ε .
Previous results. We discuss the previous results for the exact and approximation questions.
Value decision problem. The value-decision problem for concurrent stochastic games is in co-∃ R \exists\mathbb{R} ∃ R , i.e., it reduces to the universal theory of the reals, for reachability objectives [EY08] and in PSPACE for limit-average objectives [16 , 15 ] , via the theory of the reals. Moreover, it is SQRT-SUM hard for reachability objectives [EY08], and the hardness also holds for limit-average objectives since they generalize reachability objectives. The SQRT-SUM problem is a classical problem in computational geometry [31 ] and whether SQRT-SUM belongs to NP has been a long-standing open problem [3 ] . An interesting open question is whether the upper and lower bounds can be improved for concurrent stochastic games with limit-average and reachability objectives.
Approximation problems. The complexity of the value-approximation problem for concurrent stochastic games has been an intriguing and challenging open problem, even for reachability objectives. The classical approach in the study of stochastic games is to guess approximately optimal strategies and then verify the guess. The complexity of this approach depends on the size of the guess and the complexity of the verification procedure. For reachability objectives, it was claimed in [17 ] , using the above classical approach, that for every fixed error ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) , the value-gap problem belongs to NP ∩ \cap ∩ coNP. However, it was pointed out in [EY08] that the proof of this claim in [17 ] is incorrect. Later [38 , 13 ] show that approximately optimal strategies for both players require double exponentially small numbers, so their explicit representations require exponential space. This rules out the classical approaches of guessing strategies explicitly and verifying. The next approach that was adopted is to guess the strategies symbolically. It was shown that there exists a symbolic polynomial-size representation of approximately optimal strategies for which the verification procedure requires an NP oracle [FM13]. This leads to a TFNP[NP] upper bound for the value-approximation problem for reachability objectives. For limit-average objectives, approximately optimal strategies may require infinite memory [6 ] , so they cannot be guessed directly. Instead, the value of limit-average objectives is the limit of the values of discounted-sum objectives as the discount factor tends to one [44 ] . Moreover, these values are approximated by the values of discounted-sum objectives with discount factors that are double exponentially close to one [46 ] . The TFNP[NP] upper bound was extended to limit-average objectives [8 ] . For the subclass of ergodic games, in which all states are visited infinitely often with probability one, the value-approximation problem for limit-average objectives is in FNP [14 ] . Whether a TFNP bound can be obtained for general games has remained an important open question [FM13, CHI17, ACSS24, GKW25], even for reachability objectives. Note that even for special cases of concurrent stochastic games, such as turn-based stochastic games, aka simple stochastic games (SSGs) [18 ] , the value-approximation problem for reachability objectives is in TFNP and the existence of a polynomial-time algorithm is a major long-standing open problem. We summarize the previous complexity results in Table 1 .
Table 1. Previous complexity bounds for concurrent stochastic games. In each cell, the first line is the upper bound and the second line is the lower bound. SSG-hard means at least as hard as solving simple stochastic games. †Immediate consequence of the upper bound for CsgApproxValue.
Our contributions. In this work, we resolve the open questions.
Approximation problems. Our main result shows that the value-approximation problem for concurrent stochastic games with limit-average and reachability objectives is in TFNP, see Theorem 3.1 . Moreover, the value-gap problem is in NP ∩ \cap ∩ coNP for all these objectives. Along the way, we obtain the same results for discounted-sum objectives with discount factors that are double exponentially close to one, see Theorem 3.2 , which may be of independent interest.
Value decision problem. We also show that the value-decision problem for limit-average and reachability objectives is PosSLP-hard and is in ∃ \exists ∃ R ∩ \cap ∩ co-∃ \exists ∃ R, i.e., it reduces to both the existential and the universal theory of the reals, see Theorem 4.1 .
We summarize our results in Table 2 . On one hand our results improve long-standing computational complexity bounds for the basic computational problems for a fundamental game-theoretic model, and on the other hand, we discuss further extensions of our results (e.g., for ω \omega ω -regular objectives) in § 9 .
Table 2. Complexity bounds for concurrent stochastic games, including our results in bold (Theorem 3.1 and Theorem 4.1 ), with the conventions of Table 1 .
Preliminaries
We present standard notations and definitions for concurrent stochastic games, similar to [13 EY08, 4 ] .
Basic notations. Given a finite set X X X , a probability distribution over X X X is a function μ : X → [ 0 , 1 ] \mu: X \to[0,1] μ : X → [ 0 , 1 ] such that ∑ x ∈ X μ ( x ) = 1 \sum_{x \in X} \mu(x) = 1 ∑ x ∈ X μ ( x ) = 1 . The set of all probability distributions over X X X is denoted by Δ ( X ) \Delta(X) Δ ( X ) . For μ ∈ Δ ( X ) \mu\in\Delta(X) μ ∈ Δ ( X ) , the support of μ \mu μ , i.e., the set { x ∣ μ ( x ) > 0 } \{x \mid\mu(x) > 0\} { x ∣ μ ( x ) > 0 } , is denoted by supp ( μ ) \operatorname{supp}(\mu) supp ( μ ) . For two functions f , g : X → R f,g: X \to\mathbb{R} f , g : X → R , we say f ⪯ g f \preceq g f ⪯ g if for all x ∈ X x \in X x ∈ X we have f ( x ) ≤ g ( x ) f(x) \leq g(x) f ( x ) ≤ g ( x ) . For a function ρ : X → R \rho: X \to\mathbb{R} ρ : X → R , we denote its L 1 L_1 L 1 norm and L ∞ L_\infty L ∞ norm by ∥ ρ ∥ 1 : = ∑ x ∈ X ∣ ρ ( x ) ∣ \lVert\rho\rVert_1 := \sum_{x \in X} \lvert\rho(x)\rvert ∥ ρ ∥ 1 := ∑ x ∈ X ∣ ρ ( x )∣ and ∥ ρ ∥ ∞ : = max x ∈ X ∣ ρ ( x ) ∣ \lVert\rho\rVert_\infty:= \max_{x \in X} \lvert\rho(x)\rvert ∥ ρ ∥ ∞ := max x ∈ X ∣ ρ ( x )∣ , respectively. For functions f : X → Y f: X \to Y f : X → Y and g : Y → Z g: Y \to Z g : Y → Z , we denote by g ∘ f g \circ f g ∘ f their composition, i.e., ( g ∘ f ) ( x ) : = g ( f ( x ) ) (g \circ f)(x) := g(f(x)) ( g ∘ f ) ( x ) := g ( f ( x )) for all x ∈ X x \in X x ∈ X . We denote by N \mathbb{N} N the set of positive integers and by N 0 : = N ∪ { 0 } \mathbb{N}_0 := \mathbb{N} \cup\{0\} N 0 := N ∪ { 0 } the set of non-negative integers. For k ∈ N k \in\mathbb{N} k ∈ N , we denote [ k ] : = { i ∈ N ∣ i ≤ k } [k] := \{i \in\mathbb{N} \mid i \leq k\} [ k ] := { i ∈ N ∣ i ≤ k } .
Concurrent stochastic games. A concurrent stochastic game (CSG) is a two-player finite game G = ( S , A , B , δ ) G = (S, \mathcal{A}, \mathcal{B}, \delta) G = ( S , A , B , δ ) consisting of
the set of states S S S , of size n n n ;
the action sets A \mathcal{A} A and B \mathcal{B} B of Players 1 and 2, respectively, each with at most m m m actions; and
the stochastic transition function δ : S × A × B → Δ ( S ) \delta: S \times\mathcal{A} \times\mathcal{B} \to\Delta(S) δ : S × A × B → Δ ( S ) .
Stages. Given an initial state s 0 ∈ S s_0 \in S s 0 ∈ S , the game proceeds as follows. In each stage, both players choose an action simultaneously and independently, a ∈ A a \in\mathcal{A} a ∈ A and b ∈ B b \in\mathcal{B} b ∈ B . Based on both actions ( a , b ) (a,b) ( a , b ) and current state s s s , the next state s ′ ∈ S s' \in S s ′ ∈ S is drawn according to the probability distribution δ ( s , a , b ) \delta(s,a,b) δ ( s , a , b ) .
Histories and plays. A history in a CSG is a finite sequence ⟨ s 0 , a 0 , b 0 , s 1 , a 1 , b 1 , … , s k ⟩ \langle s_0, a_0, b_0, s_1, a_1, b_1, \ldots, s_k\rangle ⟨ s 0 , a 0 , b 0 , s 1 , a 1 , b 1 , … , s k ⟩ of states and actions, where a t ∈ A a_t \in\mathcal{A} a t ∈ A and b t ∈ B b_t \in\mathcal{B} b t ∈ B , such that, for any stage 0 ≤ t < k 0 \leq t < k 0 ≤ t < k , we have s t + 1 ∈ supp ( δ ( s t , a t , b t ) ) s_{t+1} \in\operatorname{supp}(\delta(s_t,a_t,b_t)) s t + 1 ∈ supp ( δ ( s t , a t , b t )) . The set of all histories is denoted by H \mathcal{H} H . Similarly, a play in a CSG is an infinite sequence ω = ⟨ s 0 , a 0 , b 0 , s 1 , a 1 , b 1 , … ⟩ \omega= \langle s_0, a_0, b_0, s_1, a_1, b_1, \ldots\rangle ω = ⟨ s 0 , a 0 , b 0 , s 1 , a 1 , b 1 , … ⟩ such that, for any stage t ≥ 0 t \geq0 t ≥ 0 , we have s t + 1 ∈ supp ( δ ( s t , a t , b t ) ) s_{t+1} \in\operatorname{supp}(\delta(s_t,a_t,b_t)) s t + 1 ∈ supp ( δ ( s t , a t , b t )) . The set of all plays is denoted by Ω \Omega Ω . For any state s s s , the set of all plays starting at s s s , i.e., ω = ⟨ s 0 , a 0 , b 0 , s 1 , … ⟩ \omega= \langle s_0, a_0, b_0, s_1, \ldots\rangle ω = ⟨ s 0 , a 0 , b 0 , s 1 , … ⟩ where s 0 = s s_0 = s s 0 = s , is denoted by Ω s \Omega_s Ω s .
Objectives. An objective is a measurable function ϕ : Ω → [ 0 , 1 ] \phi: \Omega\to[0,1] ϕ : Ω → [ 0 , 1 ] that assigns a payoff to every play. Player 1 aims to maximize the expectation of the objective, while Player 2 aims to minimize it. In this work, we consider the following objectives, where ω = ⟨ s 0 , a 0 , b 0 , s 1 , a 1 , b 1 , … ⟩ \omega= \langle s_0, a_0, b_0, s_1, a_1, b_1, \ldots\rangle ω = ⟨ s 0 , a 0 , b 0 , s 1 , a 1 , b 1 , … ⟩ denotes a play.
(Reachability) Given a target set T ⊆ S T \subseteq S T ⊆ S , the reachability objective consists in eventually reaching T T T , i.e., Reach ( T ) ( ω ) : = 1 \operatorname{Reach}(T)(\omega) := 1 Reach ( T ) ( ω ) := 1 if s t ∈ T s_t \in T s t ∈ T for some t ≥ 0 t \geq0 t ≥ 0 , and Reach ( T ) ( ω ) : = 0 \operatorname{Reach}(T)(\omega) := 0 Reach ( T ) ( ω ) := 0 otherwise.
(Discounted-sum) Given a reward function r : S × A × B → [ 0 , 1 ] r: S \times\mathcal{A} \times\mathcal{B} \to[0,1] r : S × A × B → [ 0 , 1 ] and a discount factor λ ∈ [ 0 , 1 ) \lambda\in[0,1) λ ∈ [ 0 , 1 ) , the discounted-sum objective is the discounted sum of the rewards, i.e.,
Disc ( r , λ ) ( ω ) : = ( 1 − λ ) ∑ t ≥ 0 λ t r ( s t , a t , b t ) . \operatorname{Disc}(r,\lambda)(\omega) := (1-\lambda) \sum_{t \geq0} \lambda^t r(s_t,a_t,b_t). Disc ( r , λ ) ( ω ) := ( 1 − λ ) t ≥ 0 ∑ λ t r ( s t , a t , b t ) .
(Limit-average ) Given a reward function r : S × A × B → [ 0 , 1 ] r : S \times A \times B \to[0,1] r : S × A × B → [ 0 , 1 ] , the limit-average objective is the long-run average of the rewards, i.e.,
LimAvg ( r ) ( ω ) : = lim inf k → ∞ 1 k ∑ t = 0 k − 1 r ( s t , a t , b t ) . \operatorname{LimAvg}(r)(\omega) := \liminf_{k \to\infty} \frac{1}{k} \sum_{t=0}^{k-1} r(s_t, a_t, b_t). LimAvg ( r ) ( ω ) := k → ∞ lim inf k 1 t = 0 ∑ k − 1 r ( s t , a t , b t ) .
Note that reachability objectives are special cases of limit-average objectives, see § 7 .
Strategies. A strategy for Player 1 is a function σ : H → Δ ( A ) \sigma: \mathcal{H} \to\Delta(\mathcal{A}) σ : H → Δ ( A ) that assigns a probability distribution over actions to every history. Similarly, a strategy for Player 2 is a function τ : H → Δ ( B ) \tau: \mathcal{H} \to\Delta(\mathcal{B}) τ : H → Δ ( B ) . Given strategies σ \sigma σ and τ \tau τ , the game proceeds as follows. At each stage, given the current history h h h , Player 1 (resp. Player 2) chooses an action according to the distribution σ ( h ) \sigma(h) σ ( h ) (resp. τ ( h ) \tau(h) τ ( h ) ), independently of the other player. The set of all strategies for Player 1 and Player 2 is denoted by Σ \Sigma Σ and Γ \Gamma Γ respectively. A stationary strategy depends on the history only through the current state, i.e., it is a function that assigns a probability distribution over actions to every state and is denoted by σ : S → Δ ( A ) \sigma: S \to\Delta(\mathcal{A}) σ : S → Δ ( A ) for Player 1 (resp. τ : S → Δ ( B ) \tau: S \to\Delta(\mathcal{B}) τ : S → Δ ( B ) for Player 2). The set of all stationary strategies for Player 1 and Player 2 is denoted by Σ S \Sigma^{S} Σ S and Γ S \Gamma^{S} Γ S respectively. A stationary strategy is pure if it assigns a Dirac distribution to every state.
Markov decision processes and Markov chains. For p ∈ { 1 , 2 } p \in\{1,2\} p ∈ { 1 , 2 } , a player-p p p Markov decision process (player-p p p MDP) is a special class of CSGs where the other player has only one action and is denoted by P = ( S , A , δ : S × A → Δ ( S ) ) P = (S, \mathcal{A}, \delta: S \times\mathcal{A} \to\Delta(S)) P = ( S , A , δ : S × A → Δ ( S )) . A Markov chain (MC) is a special class of MDPs where both players have only one action and is denoted by C = ( S , δ : S → Δ ( S ) ) C = (S, \delta: S \to\Delta(S)) C = ( S , δ : S → Δ ( S )) .
Probability space. An initial state s ∈ S s \in S s ∈ S and a pair of strategies ( σ , τ ) (\sigma,\tau) ( σ , τ ) induce a unique probability measure over Ω s \Omega_s Ω s , endowed with the standard sigma-algebra generated by the finite histories. We denote by P s σ , τ \mathbb{P}^{\sigma,\tau}_s P s σ , τ and E s σ , τ \mathbb{E}^{\sigma,\tau}_s E s σ , τ the probability and the expectation, respectively. We state the fundamental determinacy for CSGs with the objectives above.
Theorem 2.1 (Determinacy [26 , 50 , 44 ] ). For all CSGs, states s s s , and reachability, discounted-sum, or limit-average objectives ϕ \phi ϕ , we have
sup σ ∈ Σ inf τ ∈ Γ E s σ , τ [ ϕ ] = inf τ ∈ Γ sup σ ∈ Σ E s σ , τ [ ϕ ] . \sup_{\sigma\in\Sigma} \inf_{\tau\in\Gamma} \mathbb{E}^{\sigma,\tau}_s[\phi] = \inf_{\tau\in\Gamma} \sup_{\sigma\in\Sigma} \mathbb{E}^{\sigma,\tau}_s[\phi]. σ ∈ Σ sup τ ∈ Γ inf E s σ , τ [ ϕ ] = τ ∈ Γ inf σ ∈ Σ sup E s σ , τ [ ϕ ] .
Values, and ε \varepsilon ε -optimal strategies. The above determinacy result implies that switching the quantification order of strategies does not make a difference and leads to the unique notion of value, defined for a state s s s as
val ϕ G ( s ) : = sup σ ∈ Σ inf τ ∈ Γ E s σ , τ [ ϕ ] . \operatorname{val}^{G}_{\phi}(s) := \sup_{\sigma\in\Sigma} \inf_{\tau\in\Gamma} \mathbb{E}^{\sigma,\tau}_s[\phi]. val ϕ G ( s ) := σ ∈ Σ sup τ ∈ Γ inf E s σ , τ [ ϕ ] .
We drop G G G if the context is clear. Moreover, while we define limit-average as lim-inf average, the values do not change if lim inf is replaced by lim sup in this definition [44 ] . For the objectives above, we write val T \operatorname{val}_{T} val T , val λ \operatorname{val}_{\lambda} val λ , and val \operatorname{val} val for the values of Reach ( T ) \operatorname{Reach}(T) Reach ( T ) , Disc ( r , λ ) \operatorname{Disc}(r,\lambda) Disc ( r , λ ) , and LimAvg ( r ) \operatorname{LimAvg}(r) LimAvg ( r ) , respectively, where the reward function r r r is clear from the context. For ε ≥ 0 \varepsilon\ge0 ε ≥ 0 , a strategy σ \sigma σ for Player 1 is ε \varepsilon ε -optimal if, for all states s ∈ S s \in S s ∈ S , we have
inf τ ∈ Γ E s σ , τ [ ϕ ] ≥ val ϕ ( s ) − ε . \inf_{\tau\in\Gamma} \mathbb{E}^{\sigma,\tau}_s[\phi] \ge\operatorname{val}_{\phi}(s) - \varepsilon. τ ∈ Γ inf E s σ , τ [ ϕ ] ≥ val ϕ ( s ) − ε .
We say the strategy is optimal if ε = 0 \varepsilon= 0 ε = 0 . The notion of ε \varepsilon ε -optimal strategies for Player 2 is defined analogously. For reachability objectives, for every ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) , there exists a stationary ε \varepsilon ε -optimal strategy [26 ] for each player. Moreover, Player 2 has optimal stationary strategies [40 , 48 ] . For discounted-sum objectives, both players have optimal stationary strategies [50 ] . In contrast, for limit-average objectives, ε \varepsilon ε -optimal strategies require infinite memory in general [6 ] .
MDPs obtained by fixing a strategy. Given a stationary strategy σ \sigma σ for Player 1 in a game G G G with reward function r r r , by fixing σ \sigma σ , we obtain the player-2 MDP G σ = ( S , B , δ σ ) G_\sigma= (S, B, \delta_\sigma) G σ = ( S , B , δ σ ) with reward function r σ r_\sigma r σ , where δ σ ( s , b ) ( s ′ ) : = ∑ a ∈ A σ ( s ) ( a ) ⋅ δ ( s , a , b ) ( s ′ ) \delta_\sigma(s,b)(s') := \sum_{a \in A} \sigma(s)(a) \cdot\delta(s,a,b)(s') δ σ ( s , b ) ( s ′ ) := ∑ a ∈ A σ ( s ) ( a ) ⋅ δ ( s , a , b ) ( s ′ ) and r σ ( s , b ) : = ∑ a ∈ A σ ( s ) ( a ) ⋅ r ( s , a , b ) r_\sigma(s,b) := \sum_{a \in A} \sigma(s)(a) \cdot r(s,a,b) r σ ( s , b ) := ∑ a ∈ A σ ( s ) ( a ) ⋅ r ( s , a , b ) for all states s , s ′ ∈ S s,s' \in S s , s ′ ∈ S and actions b ∈ B b \in B b ∈ B . Analogously, we obtain the player-1 MDP G τ G_\tau G τ by fixing a stationary strategy τ \tau τ for Player 2.
Bellman operator Ψ \Psi Ψ . For discounted-sum objectives, the values of MDPs are characterized by the Bellman operator. For p ∈ { 1 , 2 } p \in\{1,2\} p ∈ { 1 , 2 } , consider a player-p p p MDP P P P with reward function r r r and discount factor λ \lambda λ . The Bellman operator of P P P maps every function ρ : S → R \rho:S \to\mathbb{R} ρ : S → R to the function Ψ P ( ρ ) : S → R \Psi_P(\rho):S \to\mathbb{R} Ψ P ( ρ ) : S → R defined by
Ψ P ( ρ ) ( s ) : = op a ∈ A ( ( 1 − λ ) r ( s , a ) + λ ∑ s ′ ∈ S δ ( s , a ) ( s ′ ) ρ ( s ′ ) ) , \Psi_P(\rho)(s) := \underset{a \in A}{\operatorname{op}}\left((1-\lambda)r(s,a) + \lambda\sum_{s' \in S}\delta(s,a)(s')\rho(s')\right), Ψ P ( ρ ) ( s ) := a ∈ A op ( ( 1 − λ ) r ( s , a ) + λ s ′ ∈ S ∑ δ ( s , a ) ( s ′ ) ρ ( s ′ ) ) ,
where op \operatorname{op} op is max (resp. min) for player-1 (resp. player-2) MDPs. Since the discount factor is less than one, the Bellman operator is a contraction, and its unique fixed point is val λ P \operatorname{val}^{P}_{\lambda} val λ P [50 ] .
Computational problems. An instance of the computational problems consists of a CSG G G G with transition probabilities that are rational numbers defined using at most B i n p B_{\mathrm{inp}} B inp bits and an objective ϕ \phi ϕ , which is a reachability objective given by a set of states, or a limit-average objective given by a reward function whose values are rational numbers defined using at most B i n p B_{\mathrm{inp}} B inp bits. The additive error ε = 2 − B ε ∈ ( 0 , 1 ) \varepsilon= 2^{-B_\varepsilon} \in(0,1) ε = 2 − B ε ∈ ( 0 , 1 ) , for an integer B ε ≥ 1 B_\varepsilon\ge1 B ε ≥ 1 , is given in binary, i.e., with B ε + 1 B_\varepsilon+ 1 B ε + 1 bits. We consider the following three computational problems.
CSGDecision. Given an instance ( G , ϕ ) (G,\phi) ( G , ϕ ) , a state s s s , and a rational threshold α \alpha α defined using at most B i n p B_{\mathrm{inp}} B inp bits, decide whether val ϕ ( s ) ≥ α \operatorname{val}_{\phi}(s) \ge\alpha val ϕ ( s ) ≥ α .
CSGGapValue. Given an instance ( G , ϕ ) (G,\phi) ( G , ϕ ) , a state s s s , a rational threshold α \alpha α defined using at most B i n p B_{\mathrm{inp}} B inp bits, and ε = 2 − B ε \varepsilon= 2^{-B_\varepsilon} ε = 2 − B ε in binary, decide whether val ϕ ( s ) ≥ α + ε \operatorname{val}_{\phi}(s) \ge\alpha+ \varepsilon val ϕ ( s ) ≥ α + ε or val ϕ ( s ) ≤ α − ε \operatorname{val}_{\phi}(s) \le\alpha- \varepsilon val ϕ ( s ) ≤ α − ε , where any answer is correct if val ϕ ( s ) \operatorname{val}_{\phi}(s) val ϕ ( s ) lies strictly between α − ε \alpha-\varepsilon α − ε and α + ε \alpha+\varepsilon α + ε .
CSGApproxValue. Given an instance ( G , ϕ ) (G,\phi) ( G , ϕ ) and ε = 2 − B ε \varepsilon= 2^{-B_\varepsilon} ε = 2 − B ε in binary, compute a function v ^ : S → Q \hat{v}:S \to\mathbb{Q} v ^ : S → Q such that ∣ v ^ ( s ) − val ϕ ( s ) ∣ ≤ ε |\hat{v}(s)-\operatorname{val}_{\phi}(s)| \le\varepsilon ∣ v ^ ( s ) − val ϕ ( s ) ∣ ≤ ε for all states s ∈ S s \in S s ∈ S .
Complexity statements for the CSGGapValue problem assume the promise that val ϕ ( s ) \operatorname{val}_{\phi}(s) val ϕ ( s ) does not lie strictly between α − ε \alpha-\varepsilon α − ε and α + ε \alpha+\varepsilon α + ε .
Overview of Results and Techniques: Value Approximation
In this section, we focus on the CSGApproxValue and CSGGapValue problems, which are the main subject of this paper. We recall the relevant previous results, state our results, and present the techniques that we use to obtain them.
Previous Results
For reachability objectives, since ε \varepsilon ε -optimal stationary strategies always exist, a natural approach is to guess such strategies and verify their ε \varepsilon ε -optimality. Thus, the computational complexity crucially depends on the complexity of ε \varepsilon ε -optimal stationary strategies. The mathematical definition to capture the complexity of distributions associated with stationary strategies is the notion of patience.
Patience of strategies. For a probability distribution μ ∈ Δ ( X ) \mu\in\Delta(X) μ ∈ Δ ( X ) , its patience is the inverse of minimum non-zero probability, i.e., Patience ( μ ) : = max { 1 μ ( x ) ∣ x ∈ supp ( μ ) } \operatorname{Patience}(\mu) := \max\left\{ \frac{1}{\mu(x)} \mid x \in\operatorname{supp}(\mu) \right\} Patience ( μ ) := max { μ ( x ) 1 ∣ x ∈ supp ( μ ) } . For a stationary strategy π \pi π of either player, the patience is the maximum of patience over the probability distributions of π \pi π in all states s ∈ S s \in S s ∈ S , i.e., Patience ( π ) : = max { Patience ( π ( s ) ) ∣ s ∈ S } \operatorname{Patience}(\pi) := \max\left\{ \operatorname{Patience}(\pi(s)) \mid s \in S \right\} Patience ( π ) := max { Patience ( π ( s )) ∣ s ∈ S } . For reachability objectives, double exponential patience is necessary [38 , 13 ] and sufficient [37 full version, Corollary 42] for ε \varepsilon ε -optimal stationary strategies of both players. Hence, explicitly guessing an ε \varepsilon ε -optimal strategy requires exponential space, and a different representation of stationary strategies is necessary.
Symbolic representation. The work of [FM13] presents a symbolic representation of strategies called floating-point representation. They show that ε \varepsilon ε -optimal strategies, for ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) , for the reachability player have polynomial-size floating-point representation. However, the verification procedure given such a guessed strategy requires an NP oracle. Indeed, verifying that a guessed strategy σ \sigma σ is ε \varepsilon ε -optimal reduces to approximating the value of the MDP obtained by fixing σ \sigma σ , and the verification quantifies over the pure stationary strategies of the opponent in this MDP. Hence, they obtain a TFNP[NP] upper bound for the CSGAPPROXVALUE problem for reachability objectives. An open problem is to obtain a polynomial-time verification procedure.
Generalization to limit-average objectives. For limit-average objectives, ε \varepsilon ε -optimal strategies may require infinite memory, so they cannot be guessed directly. Instead, their values are approximated by the values of discounted-sum objectives with a discount factor that is double exponentially close to one [46 ] , for which both players have optimal stationary strategies. The TFNP[NP] upper bound of [FM13] was extended to limit-average objectives in the work of [8 ] .
Our Results and Techniques
Our main result improves the upper bounds in Table 1 from TFNP[NP] to TFNP.
Theorem 3.1 (Value approximation). For limit-average and reachability objectives, (i) the CSGAPPROXVALUE problem is in TFNP; and (ii) the CSGGAPVALUE problem is in NP ∩ \cap ∩ coNP.
We now present our techniques and compare them with previous approaches.
Reduction to discounted-sum objectives. We approximate limit-average values by discounted-sum values. The required discount factor is double exponentially close to one, but it can be chosen as λ = 1 − 2 − 2 B λ \lambda= 1 - 2^{-2^{B_\lambda}} λ = 1 − 2 − 2 B λ , where B λ ∈ N 0 B_\lambda\in\mathbb{N}_0 B λ ∈ N 0 is polynomial in the input size [46 Theorem 3] . We call such a discount factor succinct . Therefore, Theorem 3.1 follows from the following result.
Theorem 3.2 (Value approximation for discounted-sum objectives). For discounted-sum objectives with a succinct discount factor, (i) the CSGAPPROXVALUE problem is in TFNP; and (ii) the CSGGAPVALUE problem is in NP ∩ \cap ∩ coNP.
To prove Theorem 3.2 , we guess a witness that consists of stationary strategies for both players and interval bounds for the values, and we verify it in polynomial time. The probabilities of ε \varepsilon ε -optimal strategies may be double exponentially small [38 , 13 ] , and the succinct discount factor is double exponentially close to one. Hence, we first need a representation of numbers that supports exact arithmetic with such numbers.
Power-series representation. The floating-point representation of [FM13] represents such numbers with polynomially many bits, but it does not support exact arithmetic, since the result of an operation may require exponentially many bits. For example, 2 − 1 2^{-1} 2 − 1 and 2 − 2 n 2^{-2^n} 2 − 2 n have floating-point representations with polynomially many bits, whereas their difference 2 − 1 − 2 − 2 n 2^{-1}-2^{-2^n} 2 − 1 − 2 − 2 n has 2 n − 1 2^n-1 2 n − 1 significant binary digits. We present a new symbolic representation, called power-series representation (§ 5.1 ), where a number is a sum of polynomially many signed powers of two whose exponents are written in binary. This representation supports exact addition, subtraction, multiplication, and comparison in polynomial time (Theorem 5.1), and it represents the succinct discount factor exactly (§ 5.1 ).
Witness and verification. We guess ε \varepsilon ε -optimal stationary strategies σ \sigma σ and τ \tau τ for both players, which are now power-series representable. The difficulty lies in verifying their ε \varepsilon ε -optimality. Previous approaches approximate the values of the MDPs G σ G_\sigma G σ and G τ G_\tau G τ obtained by fixing these strategies, which quantifies over the strategies of the opponent and requires an NP oracle [FM13]. Our key idea is to include certificates for these values in the witness.
(Witness) Besides the strategies, the witness contains interval bounds ( L σ , U σ ) (L_\sigma,U_\sigma) ( L σ , U σ ) and ( L τ , U τ ) (L_\tau,U_\tau) ( L τ , U τ ) for the values of G σ G_\sigma G σ and G τ G_\tau G τ , which are required to be ε 2 \frac{\varepsilon}{2} 2 ε -close, i.e., the intervals have length at most ε 2 \frac{\varepsilon}{2} 2 ε , and shrinking, i.e., L σ ⪯ Ψ G σ ( L σ ) L_\sigma\preceq\Psi_{G_\sigma}(L_\sigma) L σ ⪯ Ψ G σ ( L σ ) and Ψ G σ ( U σ ) ⪯ U σ \Psi_{G_\sigma}(U_\sigma) \preceq U_\sigma Ψ G σ ( U σ ) ⪯ U σ , and similarly for G τ G_\tau G τ .
(Soundness) Since the Bellman operator is monotone and its unique fixed point is the value, shrinking interval bounds contain the value (Theorem 5.5). Hence, L σ L_\sigma L σ and U τ U_\tau U τ certify the ε \varepsilon ε -optimality of σ \sigma σ and τ \tau τ (Theorem 5.7).
(Polynomial-time verification) Our verifier (Algorithm 1) checks that the interval bounds are shrinking by applying the Bellman operator once, for every state and action, which takes deterministic polynomial time (Theorem 5.9 ).
The key challenge is the completeness of witnesses, i.e., the existence of polynomial-size witnesses (Theorem 5.8 ), which has two components: (a) polynomial-size strategies, which are obtained by standard techniques; and (b) polynomial-size ε \varepsilon ε -close shrinking interval bounds, which is the main challenge since the values may be double exponentially close to each other.
Existence of polynomial-size strategies. Similar to [FM13, ACSS24], we obtain ε \varepsilon ε -optimal stationary strategies of polynomial size in power-series representation from an optimal stationary strategy in two steps. First, we remove the probabilities that are smaller than a threshold depending on ε \varepsilon ε and the discount factor, which bounds the exponents in the power-series representation and yields an ε \varepsilon ε -optimal strategy (Theorems 6.1 and 6.2). Second, we truncate every remaining probability to polynomially many significant binary digits (Theorem 5.4). To bound the resulting error independently of the discount factor, we interpret discounted-sum objectives as reachability objectives (Theorem 6.3) and apply the continuity result of [51 ] for relative perturbations of transition probabilities (Theorems 6.4 and 6.5).
Existence of polynomial-size interval bounds. We now construct ε \varepsilon ε -close shrinking interval bounds of polynomial size for the MDPs G σ G_\sigma G σ and G τ G_\tau G τ (Theorem 6.10). This is the main technical challenge of our approach. Consider an MDP P P P with the value function val \operatorname{val} val . On the one hand, the values are in general not power-series numbers, e.g., 1 3 \frac{1}{3} 3 1 , and hence the bounds must deviate from the values. On the other hand, the bounds must approximate the values, and hence they must be close to the values. Moreover, distinct values may be double exponentially close to each other. Since the inequalities of shrinking bounds compare the bound of every state with a λ \lambda λ -weighted average of the bounds of its successors, where λ \lambda λ is double exponentially close to one, these challenges make many natural candidates fail (§ 6.3 ). Instead, we construct the bounds as follows.
(Convex transformations) We obtain the lower bound L : = f ∘ val L := f \circ\operatorname{val} L := f ∘ val by applying a non-decreasing convex function f : [ 0 , 1 ] → R f : [0,1] \to\mathbb{R} f : [ 0 , 1 ] → R such that f ( x ) ≤ x f(x) \leq x f ( x ) ≤ x to the value function. For every state s s s , let a a a be an optimal action at s s s if P P P is a player-1 MDP, and an arbitrary action otherwise. Then,
Figure 1. A convex piecewise-linear function f f f with breakpoints at the values v 0 < ⋯ < v 4 v_0 < \cdots< v_4 v 0 < ⋯ < v 4 , below the identity (dashed). The slope d j / g j d_j/g_j d j / g j of f f f between v j − 1 v_{j-1} v j − 1 and v j v_j v j is the ratio of the increment d j d_j d j and the gap g j g_j g j , and it increases in j j j . The lower bound of a state with the value v j v_j v j is f ( v j ) f(v_j) f ( v j ) .
we have
f ( val λ ( s ) ) ≤ f ( ( 1 − λ ) r ( s , a ) + λ ∑ s ′ δ ( s , a ) ( s ′ ) val λ ( s ′ ) ) ( f is non-decreasing ) ≤ ( 1 − λ ) r ( s , a ) + λ ∑ s ′ δ ( s , a ) ( s ′ ) f ( val λ ( s ′ ) ) ( f is convex , f ( x ) ≤ x ) . \begin{aligned}
f(\operatorname{val}_{\lambda}(s)) &\leq f\left((1-\lambda)r(s,a)+\lambda\sum_{s'}\delta(s,a)(s')\operatorname{val}_{\lambda}(s')\right) && (f\text{ is non-decreasing})\\
&\leq(1-\lambda)r(s,a)+\lambda\sum_{s'}\delta(s,a)(s')f(\operatorname{val}_{\lambda}(s')) && (f\text{ is convex},\ f(x)\leq x).
\end{aligned} f ( val λ ( s )) ≤ f ( ( 1 − λ ) r ( s , a ) + λ s ′ ∑ δ ( s , a ) ( s ′ ) val λ ( s ′ ) ) ≤ ( 1 − λ ) r ( s , a ) + λ s ′ ∑ δ ( s , a ) ( s ′ ) f ( val λ ( s ′ )) ( f is non-decreasing ) ( f is convex , f ( x ) ≤ x ) .
The right-hand side is the term of the action a a a in the definition of Ψ P ( L ) ( s ) \Psi_P(L)(s) Ψ P ( L ) ( s ) . For player-1 MDPs, Ψ P ( L ) ( s ) \Psi_P(L)(s) Ψ P ( L ) ( s ) is the maximum of these terms over all actions, and hence it is at least the right-hand side. For player-2 MDPs, the inequality holds for every action, so it also holds for the minimum over all actions, which is Ψ P ( L ) ( s ) \Psi_P(L)(s) Ψ P ( L ) ( s ) . Therefore, we have L ⪯ Ψ P ( L ) L\preceq\Psi_P(L) L ⪯ Ψ P ( L ) for every such function f f f (Theorem 6.8), and it remains to choose f f f such that L L L has polynomial size.
Choice of the function Let 0 = v 0 < v 1 < ⋯ < v J = 1 0=v_0<v_1<\cdots<v_J=1 0 = v 0 < v 1 < ⋯ < v J = 1 be the distinct values of the states of P P P together with 0 and 1. We choose f f f piecewise linear with f ( 0 ) = 0 f(0)=0 f ( 0 ) = 0 and breakpoints at v 0 , … , v J v_0,\ldots,v_J v 0 , … , v J (Figure 1). Its increment d j : = f ( v j ) − f ( v j − 1 ) d_j:=f(v_j)-f(v_{j-1}) d j := f ( v j ) − f ( v j − 1 ) is the gap g j : = v j − v j − 1 g_j:=v_j-v_{j-1} g j := v j − v j − 1 , scaled by a factor slightly smaller than one and truncated to polynomially many significant binary digits. Truncation decreases every slope d j / g j d_j/g_j d j / g j slightly, but the factors increase from left to right by more than this decrease, and hence the slopes increase and f f f is convex. Moreover, all slopes are at most one, which implies f ( x ) ≤ x f(x)\leq x f ( x ) ≤ x , and at least 1 − ε 2 1-\frac{\varepsilon}{2} 1 − 2 ε , which implies val λ ( s ) − ε 2 ≤ L ( s ) ≤ val λ ( s ) \operatorname{val}_{\lambda}(s)-\frac{\varepsilon}{2}\leq L(s)\leq\operatorname{val}_{\lambda}(s) val λ ( s ) − 2 ε ≤ L ( s ) ≤ val λ ( s ) for all states s s s (see the proof of Theorem 6.10).
Polynomial size Every bound is the sum of at most n + 1 n+1 n + 1 increments, and truncation to polynomially many significant binary digits requires few terms in power-series representation, no matter how small the gaps are (Theorem 5.3). Moreover, the gaps are at least double exponentially small by Cramer’s rule and Hadamard’s inequality (Theorem 6.9), and hence the exponents of the power-series representation have polynomially many bits.
Upper bound We obtain the upper bound U U U by applying the same construction to the MDP with the rewards 1 − r 1-r 1 − r and the opposite player, whose values are 1 − val λ ( s ) 1-\operatorname{val}_{\lambda}(s) 1 − val λ ( s ) . Equivalently, U = g ∘ val λ U=g\circ\operatorname{val}_{\lambda} U = g ∘ val λ for a non-decreasing concave function g g g .
Novelty. The main novelty of our approach is the existence of polynomial-size certificates for the values of MDPs with succinct discount factors, which are verified in deterministic polynomial time. Previous approaches obtain polynomial-size representations of ε \varepsilon ε -optimal strategies, but verifying their ε \varepsilon ε -optimality requires an NP oracle [FM13, BIJ+24]. Although inequalities involving the Bellman operator certify bounds on the values of MDPs [19 ] , the main challenge in our setting is to show that such certificates have polynomial size even if the discount factor is double exponentially close to one. We overcome this challenge with the following two ingredients.
(Power-series representation) We represent numbers as sums of polynomially many signed powers of two whose exponents are written in binary. In contrast to floating-point numbers [FM13], this representation supports exact addition, subtraction, multiplication, and comparison with double exponentially small numbers in polynomial time.
construction of lower and upper bounds of polynomial size that satisfy the inequalities involving the Bellman operator exactly. We obtain them by applying convex and concave piecewise-linear transformations to the value function. Their increments are the gaps between consecutive values, scaled by increasing factors and truncated with a fixed relative precision, which preserves convexity and yields polynomial-size representations even if distinct values are double exponentially close to each other. Several natural candidates for such bounds fail (§ 6.3 ), and the main technical results appear as Theorem 6.8, Theorem 6.9, and Theorem 6.10 (§ 6.4 ).
Together with polynomial-size representations of ε \varepsilon ε -optimal strategies, these bounds eliminate the need for an NP oracle and yield the TFNP upper bound for the CsgApproxValue problem. Moreover, the same witnesses yield the NP ∩ \cap ∩ coNP upper bound for the CsgGapValue problem, since a witness with L σ ( s ) ≥ α L_\sigma(s) \ge\alpha L σ ( s ) ≥ α (resp. U τ ( s ) ≤ α U_\tau(s) \le\alpha U τ ( s ) ≤ α ) certifies that val λ ( s ) ≥ α \operatorname{val}_\lambda(s) \ge\alpha val λ ( s ) ≥ α (resp. val λ ( s ) ≤ α \operatorname{val}_\lambda(s) \le\alpha val λ ( s ) ≤ α ), and such a witness exists if the value is at least α + ε \alpha+ \varepsilon α + ε (resp. at most α − ε \alpha- \varepsilon α − ε ).
Overview of Results and Techniques: Value Decision
In this section, we focus on the CsgDecision problem. We recall the relevant previous results, state our results, and present the techniques that we use to obtain them.
Previous Results
Existential and universal theories of the reals. The existential theory of the reals (ETR) is the problem of deciding whether a sentence of the form ∃ x 1 ⋯ ∃ x k φ ( x 1 , … , x k ) \exists x_1 \cdots\exists x_k \varphi(x_1,\ldots,x_k) ∃ x 1 ⋯ ∃ x k φ ( x 1 , … , x k ) holds over the reals, where φ \varphi φ is a quantifier-free Boolean combination of polynomial equations and inequalities with integer coefficients. Analogously, the universal theory of the reals (UTR) is the problem of deciding whether a sentence of the form ∀ x 1 ⋯ ∀ x k φ ( x 1 , … , x k ) \forall x_1 \cdots\forall x_k \varphi(x_1,\ldots,x_k) ∀ x 1 ⋯ ∀ x k φ ( x 1 , … , x k ) holds over the reals. The complexity classes ∃ R \exists\mathrm{R} ∃ R and co-∃ R \exists\mathrm{R} ∃ R consist of the problems that reduce in polynomial time to ETR and UTR, respectively [49 , 52 ] . We have NP ⊆ \subseteq ⊆ ∃ R ⊆ \exists\mathrm{R} \subseteq ∃ R ⊆ PSPACE and coNP ⊆ \subseteq ⊆ co-∃ R ⊆ \exists\mathrm{R} \subseteq ∃ R ⊆ PSPACE [9 ] .
Straight-line programs. A straight-line program is a sequence of gates 1 , … , k 1,\ldots,k 1 , … , k , where every gate i i i either is a constant z i ∈ { 0 , 1 } z_i \in\{0,1\} z i ∈ { 0 , 1 } , or computes z i : = z j ∘ z j ′ z_i := z_j \circ z_{j'} z i := z j ∘ z j ′ for gates j , j ′ < i j,j' < i j , j ′ < i and an operation ∘ ∈ { + , − , × } \circ\in\{+,-,\times\} ∘ ∈ { + , − , × } . The program computes the integer z k z_k z k , which may have exponentially many bits. The PosSLP problem asks, given a straight-line program, whether the integer that it computes is positive [3 ] . The SQRT-SUM problem reduces to PosSLP under polynomial-time Turing reductions, and PosSLP is in the counting hierarchy [3 ] .
Lower bounds. The CsgDecision problem is SQRT-SUM-hard for reachability objectives [EY08], and hence also for limit-average objectives. PosSLP-hardness was previously known for recursive Markov chains [EY09] and for the cost problem in Markov chains [35 ] , but, to the best of our knowledge, not for concurrent stochastic games with finitely many states.
Upper bounds. For reachability objectives, the CsgDecision problem is in PSPACE, and in fact in co-∃ R \exists\mathrm{R} ∃ R , since [EY08] reduces the question whether the value is less than a threshold to the existential theory of the reals. For discounted-sum objectives, the question whether the value is greater than a threshold reduces to the existential theory of the reals, using a stationary strategy together with a bound on the value function as a witness [12 , 16 ] . For limit-average objectives, [16 ] reduces the CsgDecision problem to the theory of the reals with a constant number of quantifier alternations, and hence the problem is in PSPACE [15 ] .
Our Results and Techniques
For the CsgDecision problem, we show PosSLP-hardness, which implies SQRT-SUM hardness under polynomial-time Turing reductions [3 ] , and we improve the PSPACE upper bound to ∃ R ∩ co \exists\mathbb{R} \cap\operatorname{co} ∃ R ∩ co -∃ R \exists\mathbb{R} ∃ R .
Theorem 4.1 (Value decision). For limit-average and reachability objectives, the following assertions hold.
(Lower bound) The CsgDecision problem is PosSLP-hard under polynomial-time many-one reductions, even for the threshold 1 2 \frac{1}{2} 2 1 and for games in which every transition is deterministic, both players have two actions, and every play reaches one of two absorbing states.
(Upper bound) The CsgDecision problem is in ∃ R ∩ co \exists\mathbb{R} \cap\operatorname{co} ∃ R ∩ co -∃ R \exists\mathbb{R} ∃ R .
Lower bound. To show PosSLP-hardness, we simulate straight-line programs by games with reachability objectives (§ 8.1 ). We consider games with two absorbing states ⊤ \top ⊤ and ⊥ \perp ⊥ , one of which every play reaches, and the target set T : = { ⊤ } T := \{\top\} T := { ⊤ } . For every state s s s , we use its centered value 2 val T ( s ) − 1 ∈ [ − 1 , 1 ] 2\operatorname{val}_{T}(s) - 1 \in[-1,1] 2 val T ( s ) − 1 ∈ [ − 1 , 1 ] , i.e., the probability of reaching ⊤ \top ⊤ minus the probability of reaching ⊥ \perp ⊥ when both players follow optimal strategies. We construct three gadgets: (i) the dual of a state negates its centered value, similar to the complementary components in the reduction of [EY09] for recursive Markov chains; (ii) an averaging state averages two centered values; and (iii) a multiplication state, which is our main new construction and in which both players randomize, multiplies two centered values up to the factor 1 8 \frac{1}{8} 8 1 . The integers computed by the gates may be double exponentially large, whereas centered values are in [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] . Hence, for every gate, we construct a numerator state and a denominator state such that the integer computed by the gate is the ratio of their centered values. In contrast to the reduction of [EY09], which scales all integers at the same depth by the same factor, the denominator states allow a different factor for every gate. Lastly, the sign of the output is determined by comparing the value of the numerator state of the output gate with the threshold 1 2 \frac{1}{2} 2 1 . Since all transition probabilities are integer multiples of 1 4 \frac{1}{4} 4 1 , we replace stochastic transitions by deterministic transitions without changing the values [EY08, CDGH15].
Upper bound. The upper bound combines standard techniques with the separation of the values from rational thresholds. Strict comparisons between the values of discounted-sum objectives and real thresholds are witnessed by a stationary strategy together with a lower or an upper bound on the value function [12 , 16 ] (Theorem 8.2). The value of a limit-average objective is an algebraic number whose degree and coefficients are bounded [46 ] , and hence, if it differs from a rational threshold α \alpha α , then it differs from α \alpha α by at least a double exponentially small amount η \eta η (Theorems 8.3 and 8.4 ). Since discounted-sum values with a succinct discount factor approximate limit-average values up to η 2 \frac{\eta}{2} 2 η (Theorem 7.2), we compare them strictly with the shifted threshold α − η 2 \alpha- \frac{\eta}{2} α − 2 η , and we define the double exponentially small constants by repeated squaring [41 , 8 ] . This reduces both comparisons val ( s ) ≥ α \operatorname{val}(s) \ge\alpha val ( s ) ≥ α and val ( s ) < α \operatorname{val}(s) < \alpha val ( s ) < α to the existential theory of the reals.
Novelty. The main novelty of our value-decision results is the lower bound. To the best of our knowledge, it is the first PosSLP-hardness result for concurrent stochastic games, and it strengthens the SQRT-SUM-hardness of [EY08], even for reachability objectives, deterministic transitions, and two actions per player. In contrast to the PosSLP-hardness for recursive Markov chains [EY09], which relies on recursion, we simulate multiplication with finitely many states by a new multiplication state in which both players randomize, together with numerator and denominator states that scale the integer of every gate separately.
TFNP Algorithm for CsgApproxValue
In this section, we prove Theorem 3.2 , where the input consists of a game, a reward function whose values are rational numbers defined using at most B i n p B_{\mathrm{inp}} B inp bits, and a succinct discount factor. To do so, we first introduce the power-series representation of numbers (§ 5.1 ). Then, we define witnesses, which consist of power-series representable strategies and ε 2 \frac{\varepsilon}{2} 2 ε -close shrinking interval bounds, and we present a polynomial-time verifier for them (§ 5.2 ). We defer the proof of the completeness of witnesses, i.e., that polynomial-size witnesses exist (Theorem 5.8 ), to § 6 .
Power Series Representation and Properties
In this subsection, we introduce the power-series representation of numbers and present its properties. We call an object power-series representable if the numbers that specify it are represented in power series, namely, (a) the entries of an interval bound; (b) the probabilities of a distribution (see D ( ℓ , B ) \mathcal{D}(\ell, B) D ( ℓ , B ) below); and (c) the probabilities of the distributions that a stationary strategy assigns to the states.
Power series representation. Let F ( ℓ , B ) \mathcal{F}(\ell, B) F ( ℓ , B ) be a subset of rationals consisting of the sum of at most ℓ \ell ℓ signed powers of 2, where the exponent is non-positive and greater than − 2 B -2^B − 2 B , i.e., its absolute value is written in binary with B B B bits. Formally,
F ( ℓ , B ) : = { ∑ i = 1 k ± 2 − a i | k ≤ ℓ , ∀ i ≤ k a i ∈ N 0 , a i < 2 B } . \mathcal{F}(\ell, B) := \left\{ \sum_{i=1}^{k} \pm2^{-a_i} \;\middle|\; k \le\ell,\ \forall i \le k\quad a_i \in\mathbb{N}_0,\quad a_i < 2^B \right\}. F ( ℓ , B ) := { i = 1 ∑ k ± 2 − a i k ≤ ℓ , ∀ i ≤ k a i ∈ N 0 , a i < 2 B } .
The power series representation of an element x = ± 2 − a 1 ± ⋯ ± 2 − a k ∈ F ( ℓ , B ) x = \pm2^{-a_1} \pm\cdots\pm2^{-a_k} \in\mathcal{F}(\ell, B) x = ± 2 − a 1 ± ⋯ ± 2 − a k ∈ F ( ℓ , B ) uses at most ℓ ( B + 1 ) \ell(B+1) ℓ ( B + 1 ) bits, namely, a sign bit and B B B bits for the exponent of every term. Note that the exponents may be exponentially large in the size of the input, while the representation remains polynomial, since the exponents are written in binary. We denote non-negative power-series representable numbers by F + ( ℓ , B ) : = F ( ℓ , B ) ∩ [ 0 , ∞ ) \mathcal{F}_{+}(\ell, B) := \mathcal{F}(\ell, B) \cap[0, \infty) F + ( ℓ , B ) := F ( ℓ , B ) ∩ [ 0 , ∞ ) .
Comparison to floating-point. A floating-point number ( m , x ) (m, x) ( m , x ) represents m 2 x m2^x m 2 x . The addition/subtraction of two floating-point numbers is not necessarily polynomial-size representable floating-point number, e.g., two floating-point numbers 2 − 1 2^{-1} 2 − 1 and 2 − 2 n 2^{-2^n} 2 − 2 n can be represented in floating-point with O ( n ) O(n) O ( n ) bits, but their subtraction 2 − 1 − 2 − 2 n 2^{-1} - 2^{-2^n} 2 − 1 − 2 − 2 n requires 2 n − 1 2^n - 1 2 n − 1 bits. In contrast, power-series representation supports polynomial-time addition, subtraction, multiplication, and comparison.
Arithmetic operations. Basic operations over power-series numbers have the following properties.
Lemma 5.1. If x ∈ F ( ℓ 1 , B 1 ) x \in\mathcal{F}(\ell_1, B_1) x ∈ F ( ℓ 1 , B 1 ) and y ∈ F ( ℓ 2 , B 2 ) y \in\mathcal{F}(\ell_2, B_2) y ∈ F ( ℓ 2 , B 2 ) , then
Addition and Subtraction: x + y , x − y ∈ F ( ℓ 1 + ℓ 2 , max { B 1 , B 2 } ) x+y, x-y \in\mathcal{F}(\ell_1+\ell_2, \max\{B_1,B_2\}) x + y , x − y ∈ F ( ℓ 1 + ℓ 2 , max { B 1 , B 2 })
Multiplication: x ⋅ y ∈ F ( ℓ 1 ⋅ ℓ 2 , max { B 1 , B 2 } + 1 ) x \cdot y \in\mathcal{F}(\ell_1 \cdot\ell_2, \max\{B_1,B_2\}+1) x ⋅ y ∈ F ( ℓ 1 ⋅ ℓ 2 , max { B 1 , B 2 } + 1 )
and all operations, together with the comparison x < y x<y x < y , can be performed in polynomial time with respect to the input size.
Proof. Consider x = ∑ i = 1 k ( − 1 ) b i ⋅ 2 − a i x = \sum_{i=1}^{k}(-1)^{b_i} \cdot2^{-a_i} x = ∑ i = 1 k ( − 1 ) b i ⋅ 2 − a i and y = ∑ i = 1 k ~ ( − 1 ) b ~ i ⋅ 2 − a ~ i y = \sum_{i=1}^{\tilde{k}}(-1)^{\tilde{b}_i} \cdot2^{-\tilde{a}_i} y = ∑ i = 1 k ~ ( − 1 ) b ~ i ⋅ 2 − a ~ i , and denote B : = max { B 1 , B 2 } B := \max\{B_1,B_2\} B := max { B 1 , B 2 } .
x + y = ∑ i = 1 k ( − 1 ) b i ⋅ 2 − a i + ∑ i = 1 k ~ ( − 1 ) b ~ i ⋅ 2 − a ~ i ∈ F ( ℓ 1 + ℓ 2 , B ) , x+y = \sum_{i=1}^{k}(-1)^{b_i} \cdot2^{-a_i} + \sum_{i=1}^{\tilde{k}}(-1)^{\tilde{b}_i} \cdot2^{-\tilde{a}_i} \in\mathcal{F}(\ell_1+\ell_2,B), x + y = i = 1 ∑ k ( − 1 ) b i ⋅ 2 − a i + i = 1 ∑ k ~ ( − 1 ) b ~ i ⋅ 2 − a ~ i ∈ F ( ℓ 1 + ℓ 2 , B ) ,
and can be computed in O ( ( ℓ 1 + ℓ 2 ) ( B + 1 ) ) O((\ell_1+\ell_2)(B+1)) O (( ℓ 1 + ℓ 2 ) ( B + 1 )) .
x − y = ∑ i = 1 k ( − 1 ) b i ⋅ 2 − a i + ∑ i = 1 k ~ ( − 1 ) 1 − b ~ i ⋅ 2 − a ~ i ∈ F ( ℓ 1 + ℓ 2 , B ) , x-y = \sum_{i=1}^{k}(-1)^{b_i} \cdot2^{-a_i} + \sum_{i=1}^{\tilde{k}}(-1)^{1-\tilde{b}_i} \cdot2^{-\tilde{a}_i} \in\mathcal{F}(\ell_1+\ell_2,B), x − y = i = 1 ∑ k ( − 1 ) b i ⋅ 2 − a i + i = 1 ∑ k ~ ( − 1 ) 1 − b ~ i ⋅ 2 − a ~ i ∈ F ( ℓ 1 + ℓ 2 , B ) ,
and can be computed in O ( ( ℓ 1 + ℓ 2 ) ( B + 1 ) ) O((\ell_1+\ell_2)(B+1)) O (( ℓ 1 + ℓ 2 ) ( B + 1 )) .
x ⋅ y = ∑ i = 1 k ∑ j = 1 k ~ ( − 1 ) b i + b ~ j ⋅ 2 − ( a i + a ~ j ) ∈ F ( ℓ 1 ⋅ ℓ 2 , B + 1 ) , x \cdot y = \sum_{i=1}^{k} \sum_{j=1}^{\tilde{k}} (-1)^{b_i+\tilde{b}_j} \cdot2^{-(a_i+\tilde{a}_j)} \in\mathcal{F}(\ell_1 \cdot\ell_2, B+1), x ⋅ y = i = 1 ∑ k j = 1 ∑ k ~ ( − 1 ) b i + b ~ j ⋅ 2 − ( a i + a ~ j ) ∈ F ( ℓ 1 ⋅ ℓ 2 , B + 1 ) ,
since a i + a ~ j < 2 B 1 + 2 B 2 ≤ 2 B + 1 a_i+\tilde{a}_j < 2^{B_1}+2^{B_2} \le2^{B+1} a i + a ~ j < 2 B 1 + 2 B 2 ≤ 2 B + 1 , and can be computed in O ( ℓ 1 ℓ 2 ( B + 1 ) ) O(\ell_1\ell_2(B+1)) O ( ℓ 1 ℓ 2 ( B + 1 )) .
(Comparison) It suffices to decide the sign of z : = x − y z := x-y z := x − y . By subtraction, we have z = ∑ i = 1 k ^ ( − 1 ) b ^ i 2 − a ^ i z=\sum_{i=1}^{\hat{k}}(-1)^{\hat{b}_i}2^{-\hat{a}_i} z = ∑ i = 1 k ^ ( − 1 ) b ^ i 2 − a ^ i where k ^ ≤ ℓ 1 + ℓ 2 \hat{k}\le\ell_1+\ell_2 k ^ ≤ ℓ 1 + ℓ 2 . First, we rewrite this sum, without changing its value, so that all exponents are pairwise distinct. As long as two terms have the same exponent a a a , we replace them as follows: if they have opposite signs, we remove both, since 2 − a − 2 − a = 0 2^{-a}-2^{-a}=0 2 − a − 2 − a = 0 ; otherwise, they have the same sign ( − 1 ) b (-1)^b ( − 1 ) b , and we replace them by the single term ( − 1 ) b 2 − ( a − 1 ) (-1)^b2^{-(a-1)} ( − 1 ) b 2 − ( a − 1 ) , since 2 − a + 2 − a = 2 − ( a − 1 ) 2^{-a}+2^{-a}=2^{-(a-1)} 2 − a + 2 − a = 2 − ( a − 1 ) . Every replacement decreases the number of terms, so there are at most k ^ \hat{k} k ^ replacements. Moreover, every replacement decreases an exponent by at most one, so all exponents remain integers of absolute value at most k ^ + 2 B \hat{k}+2^B k ^ + 2 B . If no term remains, then x = y x=y x = y . Otherwise, we obtain z = ∑ i = 1 k ∗ ( − 1 ) b i ∗ 2 − a i ∗ z=\sum_{i=1}^{k^*}(-1)^{b_i^*}2^{-a_i^*} z = ∑ i = 1 k ∗ ( − 1 ) b i ∗ 2 − a i ∗ with distinct exponents a 1 ∗ < a 2 ∗ < ⋯ < a k ∗ ∗ a_1^*<a_2^*<\cdots<a_{k^*}^* a 1 ∗ < a 2 ∗ < ⋯ < a k ∗ ∗ . Second, the first term dominates the others, since the exponents a 2 ∗ , … , a k ∗ ∗ a_2^*,\ldots,a_{k^*}^* a 2 ∗ , … , a k ∗ ∗ are distinct integers larger than a 1 ∗ a_1^* a 1 ∗ , and therefore
∑ i = 2 k ∗ 2 − a i ∗ < ∑ j > a 1 ∗ 2 − j = 2 − a 1 ∗ . \sum_{i=2}^{k^*}2^{-a_i^*}<\sum_{j>a_1^*}2^{-j}=2^{-a_1^*}. i = 2 ∑ k ∗ 2 − a i ∗ < j > a 1 ∗ ∑ 2 − j = 2 − a 1 ∗ .
Hence, the sign of z z z is the sign ( − 1 ) b 1 ∗ (-1)^{b_1^*} ( − 1 ) b 1 ∗ of its first term. Lastly, keeping the terms sorted by exponent, every replacement takes O ( k ^ ( log k ^ + B + 1 ) ) O\left(\hat{k}(\log\hat{k}+B+1)\right) O ( k ^ ( log k ^ + B + 1 ) ) time, so the procedure takes O ( ( ℓ 1 + ℓ 2 ) 2 ( log ( ℓ 1 + ℓ 2 ) + B + 1 ) ) O\left((\ell_1+\ell_2)^2(\log(\ell_1+\ell_2)+B+1)\right) O ( ( ℓ 1 + ℓ 2 ) 2 ( log ( ℓ 1 + ℓ 2 ) + B + 1 ) ) time. The desired result follows.
Rational coefficients. The rewards and transition probabilities of the input are rational numbers that are in general not power-series numbers, e.g., 1 3 \frac{1}{3} 3 1 , and power-series numbers are not closed under division. Nevertheless, the following result shows that the sign of a linear combination of power-series numbers with rational coefficients is decided exactly in polynomial time.
Lemma 5.2 (Rational coefficients). Let x 1 , … , x k ∈ F ( ℓ , B ) x_1,\ldots,x_k\in\mathcal{F}(\ell,B) x 1 , … , x k ∈ F ( ℓ , B ) , and let c 1 , … , c k c_1,\ldots,c_k c 1 , … , c k be rational numbers defined using at most B i n p B_{\mathrm{inp}} B inp bits. Then, the sign of ∑ i = 1 k c i x i \sum_{i=1}^{k}c_ix_i ∑ i = 1 k c i x i is decided in time polynomial in k k k , ℓ \ell ℓ , B B B , and B i n p B_{\mathrm{inp}} B inp .
Proof. Let Q Q Q be the product of the denominators of c 1 , … , c k c_1,\ldots,c_k c 1 , … , c k , and let B Q : = k B i n p B_Q:=kB_{\mathrm{inp}} B Q := k B inp . Since Q ⋅ 2 − B Q > 0 Q\cdot2^{-B_Q}>0 Q ⋅ 2 − B Q > 0 , the sum ∑ i = 1 k c i x i \sum_{i=1}^{k}c_ix_i ∑ i = 1 k c i x i has the same sign as
Q ⋅ 2 − B Q ∑ i = 1 k c i x i = ∑ i = 1 k ( Q c i 2 − B Q ) x i . Q\cdot2^{-B_Q}\sum_{i=1}^{k}c_ix_i=\sum_{i=1}^{k}(Qc_i2^{-B_Q})x_i. Q ⋅ 2 − B Q i = 1 ∑ k c i x i = i = 1 ∑ k ( Q c i 2 − B Q ) x i . For every i ∈ [ k ] i\in[k] i ∈ [ k ] , the number Q c i Qc_i Q c i is the product of the numerator of c i c_i c i and the denominators of the other coefficients, and hence it is an integer with ∣ Q c i ∣ < 2 B Q \lvert Qc_i\rvert<2^{B_Q} ∣ Q c i ∣ < 2 B Q , which is computed in polynomial time. Let ∣ Q c i ∣ = ∑ j = 0 B Q − 1 z j 2 j \lvert Qc_i\rvert=\sum_{j=0}^{B_Q-1}z_j2^j ∣ Q c i ∣ = ∑ j = 0 B Q − 1 z j 2 j be the binary representation of ∣ Q c i ∣ \lvert Qc_i\rvert ∣ Q c i ∣ , where z j ∈ { 0 , 1 } z_j\in\{0,1\} z j ∈ { 0 , 1 } . Then, we have
Q c i 2 − B Q = ± ∑ j = 0 B Q − 1 z j 2 − ( B Q − j ) ∈ F ( B Q , B Q ) , Qc_i2^{-B_Q}=\pm\sum_{j=0}^{B_Q-1}z_j2^{-(B_Q-j)}\in\mathcal{F}(B_Q,B_Q), Q c i 2 − B Q = ± j = 0 ∑ B Q − 1 z j 2 − ( B Q − j ) ∈ F ( B Q , B Q ) ,
where the sign is the sign of c i c_i c i , and the membership holds because 1 ≤ B Q − j ≤ B Q < 2 B Q 1 \le B_Q-j \le B_Q < 2^{B_Q} 1 ≤ B Q − j ≤ B Q < 2 B Q . Hence, by Theorem 5.1, we have ( Q c i 2 − B Q ) x i ∈ F ( B Q ℓ , max { B , B Q } + 1 ) (Qc_i2^{-B_Q})x_i \in\mathcal{F}(B_Q\ell,\max\{B,B_Q\}+1) ( Q c i 2 − B Q ) x i ∈ F ( B Q ℓ , max { B , B Q } + 1 ) for every i ∈ [ k ] i \in[k] i ∈ [ k ] , and the right-hand side is in F ( k B Q ℓ , max { B , B Q } + 1 ) \mathcal{F}(kB_Q\ell,\max\{B,B_Q\}+1) F ( k B Q ℓ , max { B , B Q } + 1 ) . Lastly, since B Q = k B i n p B_Q=kB_{\mathrm{inp}} B Q = k B inp , by Theorem 5.1, the right-hand side is computed and compared with 0 0 0 in time polynomial in k k k , ℓ \ell ℓ , B B B , and B i n p B_{\mathrm{inp}} B inp .
Approximation. We define the relative distance between two numbers x , x ′ ∈ ( 0 , 1 ] x,x' \in(0,1] x , x ′ ∈ ( 0 , 1 ] by
rel ( x , x ′ ) : = max { x x ′ , x ′ x } − 1 = inf { γ ≥ 0 ∣ x ≤ ( 1 + γ ) x ′ , x ′ ≤ ( 1 + γ ) x } . \operatorname{rel}(x,x'):=\max\left\{\frac{x}{x'},\frac{x'}{x}\right\}-1=\inf\{\gamma\ge0\mid x\le(1+\gamma)x',\ x'\le(1+\gamma)x\}. rel ( x , x ′ ) := max { x ′ x , x x ′ } − 1 = inf { γ ≥ 0 ∣ x ≤ ( 1 + γ ) x ′ , x ′ ≤ ( 1 + γ ) x } .
i.e., x x x and x ′ x' x ′ are equal up to a multiplicative factor 1 + rel ( x , x ′ ) 1+\operatorname{rel}(x,x') 1 + rel ( x , x ′ ) . Moreover, we set rel ( 0 , 0 ) : = 0 \operatorname{rel}(0,0):=0 rel ( 0 , 0 ) := 0 and rel ( x , 0 ) = rel ( 0 , x ) : = ∞ \operatorname{rel}(x,0)=\operatorname{rel}(0,x):=\infty rel ( x , 0 ) = rel ( 0 , x ) := ∞ for x ∈ ( 0 , 1 ] x\in(0,1] x ∈ ( 0 , 1 ] . The set F ( ℓ , B ) \mathcal{F}(\ell,B) F ( ℓ , B ) approximates the interval ( 0 , 1 ] (0,1] ( 0 , 1 ] in the following way.
Lemma 5.3 (Truncation). Let 2 B ≥ ℓ ≥ 1 2^B\ge\ell\ge1 2 B ≥ ℓ ≥ 1 , and let x ∈ ( 2 ℓ − 2 B , 1 ] x\in(2^{\ell-2^B},1] x ∈ ( 2 ℓ − 2 B , 1 ] . Denote by Trunc ℓ ( x ) \operatorname{Trunc}_{\ell}(x) Trunc ℓ ( x ) the number obtained from the binary expansion of x x x by keeping its first ℓ \ell ℓ digits, starting from the first non-zero digit, where we use the finite binary expansion of x x x if it exists. Then, Trunc ℓ ( x ) ∈ F + ( ℓ , B ) \operatorname{Trunc}_{\ell}(x)\in\mathcal{F}_{+}(\ell,B) Trunc ℓ ( x ) ∈ F + ( ℓ , B ) , Trunc ℓ ( x ) ≤ x \operatorname{Trunc}_{\ell}(x)\le x Trunc ℓ ( x ) ≤ x , and rel ( x , Trunc ℓ ( x ) ) ≤ 2 1 − ℓ \operatorname{rel}(x,\operatorname{Trunc}_{\ell}(x))\le2^{1-\ell} rel ( x , Trunc ℓ ( x )) ≤ 2 1 − ℓ . In particular, ( 1 − 2 1 − ℓ ) x ≤ Trunc ℓ ( x ) ≤ x (1-2^{1-\ell})x\le\operatorname{Trunc}_{\ell}(x)\le x ( 1 − 2 1 − ℓ ) x ≤ Trunc ℓ ( x ) ≤ x .
Proof. Consider a binary sequence ( x i ) i ≥ 1 (x_i)_{i\ge1} ( x i ) i ≥ 1 such that x = ∑ i ≥ 1 2 − i x i x=\sum_{i\ge1}2^{-i}x_i x = ∑ i ≥ 1 2 − i x i (if x x x has two such sequences, we choose the finite one), and denote by i 0 : = min { i ∣ x i = 1 } i_0:=\min\{i\mid x_i=1\} i 0 := min { i ∣ x i = 1 } the index of its first nonzero element. Note that, since 2 ℓ − 2 B < x ≤ ∑ i ≥ i 0 2 − i = 2 1 − i 0 2^{\ell-2^B}<x\le\sum_{i\ge i_0}2^{-i}=2^{1-i_0} 2 ℓ − 2 B < x ≤ ∑ i ≥ i 0 2 − i = 2 1 − i 0 , the index i 0 i_0 i 0 is bounded from above as follows
i 0 < 2 B − ℓ + 1. i_0<2^B-\ell+1. i 0 < 2 B − ℓ + 1.
Define the approximation x ′ x' x ′ as the following truncated binary expansion starting at i 0 i_0 i 0 and containing at most ℓ \ell ℓ terms
x ′ : = Trunc ℓ ( x ) : = ∑ i = i 0 i 0 + ℓ − 1 2 − i x i ∈ F + ( ℓ , B ) , x':=\operatorname{Trunc}_{\ell}(x):=\sum_{i=i_0}^{i_0+\ell-1}2^{-i}x_i\in\mathcal{F}_{+}(\ell,B), x ′ := Trunc ℓ ( x ) := i = i 0 ∑ i 0 + ℓ − 1 2 − i x i ∈ F + ( ℓ , B ) ,
where the membership holds because i 0 + ℓ − 1 < 2 B i_0+\ell-1<2^B i 0 + ℓ − 1 < 2 B . Clearly, x ′ ≤ x x'\le x x ′ ≤ x . Then, their distance is bounded as follows
rel ( x , x ′ ) = x x ′ − 1 ( x ′ ≤ x ) = 1 x ′ ( x − x ′ ) ≤ 2 i 0 ( ∑ i ≥ i 0 + ℓ 2 − i x i ) ( x ′ ≥ 2 − i 0 ) ≤ 2 i 0 2 − i 0 − ℓ + 1 = 2 1 − ℓ . \begin{aligned}
\operatorname{rel}(x,x')&=\frac{x}{x'}-1 && (x'\le x)\\
&=\frac{1}{x'}(x-x')\\
&\le2^{i_0}\left(\sum_{i\ge i_0+\ell}2^{-i}x_i\right) && (x'\ge2^{-i_0})\\
&\le2^{i_0}2^{-i_0-\ell+1}\\
&=2^{1-\ell}.
\end{aligned} rel ( x , x ′ ) = x ′ x − 1 = x ′ 1 ( x − x ′ ) ≤ 2 i 0 ( i ≥ i 0 + ℓ ∑ 2 − i x i ) ≤ 2 i 0 2 − i 0 − ℓ + 1 = 2 1 − ℓ . ( x ′ ≤ x ) ( x ′ ≥ 2 − i 0 )
Lastly, rel ( x , x ′ ) ≤ 2 1 − ℓ \operatorname{rel}(x,x')\le2^{1-\ell} rel ( x , x ′ ) ≤ 2 1 − ℓ implies x ′ ≥ x / ( 1 + 2 1 − ℓ ) ≥ ( 1 − 2 1 − ℓ ) x x'\ge x/(1+2^{1-\ell})\ge(1-2^{1-\ell})x x ′ ≥ x / ( 1 + 2 1 − ℓ ) ≥ ( 1 − 2 1 − ℓ ) x , which concludes the proof.
Power-series probability distribution representation. We denote the set of probability distributions whose probabilities are power-series numbers by
D ( ℓ , B ) : = { μ ∈ Δ ( [ t ] ) ∣ μ ( i ) ∈ F + ( ℓ , B ) for all i ∈ [ t ] } . \mathcal{D}(\ell,B):=\{\mu\in\Delta([t])\mid\mu(i)\in\mathcal{F}_{+}(\ell,B)\text{ for all }i\in[t]\}. D ( ℓ , B ) := { μ ∈ Δ ([ t ]) ∣ μ ( i ) ∈ F + ( ℓ , B ) for all i ∈ [ t ]} .
Extending the relative distance rel \operatorname{rel} rel to probability distributions by
rel ( μ , μ ′ ) : = max { rel ( μ ( i ) , μ ′ ( i ) ) ∣ i ∈ [ t ] } , \operatorname{rel}(\mu,\mu'):=\max\{\operatorname{rel}(\mu(i),\mu'(i))\mid i\in[t]\}, rel ( μ , μ ′ ) := max { rel ( μ ( i ) , μ ′ ( i )) ∣ i ∈ [ t ]} ,
we have the following result.
Lemma 5.4 (Distribution approximation). Let t ≥ 1 t \ge1 t ≥ 1 and 2 B ≥ ℓ ≥ 2 2^B \ge\ell\ge2 2 B ≥ ℓ ≥ 2 , and let μ ∈ Δ ( [ t ] ) \mu\in\Delta([t]) μ ∈ Δ ([ t ]) be a distribution with Patience ( μ ) < 2 2 B − ℓ \operatorname{Patience}(\mu) < 2^{2^B-\ell} Patience ( μ ) < 2 2 B − ℓ . Then, there exists a distribution μ ′ ∈ D ( t ℓ , B ) \mu' \in\mathcal{D}(t\ell, B) μ ′ ∈ D ( t ℓ , B ) such that supp ( μ ′ ) = supp ( μ ) \operatorname{supp}(\mu') = \operatorname{supp}(\mu) supp ( μ ′ ) = supp ( μ ) and rel ( μ , μ ′ ) ≤ t ⋅ 2 1 − ℓ \operatorname{rel}(\mu,\mu') \le t \cdot2^{1-\ell} rel ( μ , μ ′ ) ≤ t ⋅ 2 1 − ℓ .
Proof. Let i ∗ ∈ [ t ] i^* \in[t] i ∗ ∈ [ t ] be such that μ ( i ∗ ) \mu(i^*) μ ( i ∗ ) is maximal. Therefore, we have μ ( i ∗ ) ≥ 1 / t \mu(i^*) \ge1/t μ ( i ∗ ) ≥ 1/ t and hence 1 − μ ( i ∗ ) ≤ ( t − 1 ) μ ( i ∗ ) 1-\mu(i^*) \le(t-1)\mu(i^*) 1 − μ ( i ∗ ) ≤ ( t − 1 ) μ ( i ∗ ) . For every i ∈ [ t ] i \in[t] i ∈ [ t ] , we define
μ ′ ( i ) : = { 1 − ∑ j ≠ i ∗ μ ′ ( j ) i = i ∗ , Trunc ℓ ( μ ( i ) ) i ≠ i ∗ and μ ( i ) > 0 , 0 otherwise. \mu'(i) := \begin{cases}
1-\sum_{j\ne i^*}\mu'(j) & i=i^*,\\
\operatorname{Trunc}_{\ell}(\mu(i)) & i\ne i^* \text{ and } \mu(i)>0,\\
0 & \text{otherwise.}
\end{cases} μ ′ ( i ) := ⎩ ⎨ ⎧ 1 − ∑ j = i ∗ μ ′ ( j ) Trunc ℓ ( μ ( i )) 0 i = i ∗ , i = i ∗ and μ ( i ) > 0 , otherwise.
For all i ∈ supp ( μ ) i \in\operatorname{supp}(\mu) i ∈ supp ( μ ) such that i ≠ i ∗ i \ne i^* i = i ∗ , since μ ( i ) ≥ 1 / Patience ( μ ) > 2 ℓ − 2 B \mu(i) \ge1/\operatorname{Patience}(\mu) > 2^{\ell-2^B} μ ( i ) ≥ 1/ Patience ( μ ) > 2 ℓ − 2 B , Theorem 5.3 yields μ ′ ( i ) ∈ F + ( ℓ , B ) \mu'(i) \in\mathcal{F}_+(\ell,B) μ ′ ( i ) ∈ F + ( ℓ , B ) , μ ′ ( i ) ≤ μ ( i ) \mu'(i) \le\mu(i) μ ′ ( i ) ≤ μ ( i ) , and rel ( μ ( i ) , μ ′ ( i ) ) ≤ 2 1 − ℓ \operatorname{rel}(\mu(i),\mu'(i)) \le2^{1-\ell} rel ( μ ( i ) , μ ′ ( i )) ≤ 2 1 − ℓ . By definition, we have ∑ i ∈ [ t ] μ ′ ( i ) = 1 \sum_{i\in[t]}\mu'(i)=1 ∑ i ∈ [ t ] μ ′ ( i ) = 1 and, by Theorem 5.1, μ ′ ( i ∗ ) ∈ F ( t ℓ , B ) \mu'(i^*) \in\mathcal{F}(t\ell,B) μ ′ ( i ∗ ) ∈ F ( t ℓ , B ) . Moreover, we have
0 ≤ μ ′ ( i ∗ ) − μ ( i ∗ ) = ∑ i ≠ i ∗ ( μ ( i ) − μ ′ ( i ) ) ≤ 2 1 − ℓ ( 1 − μ ( i ∗ ) ) ≤ ( t − 1 ) 2 1 − ℓ μ ( i ∗ ) . 0 \le\mu'(i^*)-\mu(i^*)=\sum_{i\ne i^*}(\mu(i)-\mu'(i)) \le2^{1-\ell}(1-\mu(i^*)) \le(t-1)2^{1-\ell}\mu(i^*). 0 ≤ μ ′ ( i ∗ ) − μ ( i ∗ ) = i = i ∗ ∑ ( μ ( i ) − μ ′ ( i )) ≤ 2 1 − ℓ ( 1 − μ ( i ∗ )) ≤ ( t − 1 ) 2 1 − ℓ μ ( i ∗ ) .
Therefore, we have μ ′ ( i ∗ ) > 0 \mu'(i^*)>0 μ ′ ( i ∗ ) > 0 and rel ( μ ( i ∗ ) , μ ′ ( i ∗ ) ) ≤ ( t − 1 ) 2 1 − ℓ \operatorname{rel}(\mu(i^*),\mu'(i^*)) \le(t-1)2^{1-\ell} rel ( μ ( i ∗ ) , μ ′ ( i ∗ )) ≤ ( t − 1 ) 2 1 − ℓ , which completes the proof. □
Succinct discount factors. A succinct discount factor λ = 1 − 2 − 2 λ B \lambda=1-2^{-2^B_\lambda} λ = 1 − 2 − 2 λ B is represented exactly in power-series representation, namely, λ ∈ F ( 2 , B λ + 1 ) \lambda\in\mathcal{F}(2,B_\lambda+1) λ ∈ F ( 2 , B λ + 1 ) and 1 − λ ∈ F ( 1 , B λ + 1 ) 1-\lambda\in\mathcal{F}(1,B_\lambda+1) 1 − λ ∈ F ( 1 , B λ + 1 ) .
Witnesses and Verifier
In this subsection, we first show properties of the Bellman operator (Theorem 5.5) and define ε \varepsilon ε -close shrinking interval bounds. Then, we define witnesses and show their soundness (Theorem 5.7) and completeness (Theorem 5.8 ), whose proof we defer to § 6 . Next, we present a verifier for witnesses and show that it runs in polynomial time (Theorem 5.9 ). Lastly, we prove Theorem 3.2 .
Lemma 5.5 (Properties of the Bellman operator). For p ∈ { 1 , 2 } p \in\{1,2\} p ∈ { 1 , 2 } , let P P P be a player-p p p MDP with a reward function and a discount factor λ \lambda λ , and let ρ , ρ ′ : S → R \rho,\rho':S\to\mathbb{R} ρ , ρ ′ : S → R . Then, the following assertions hold.
(Monotonicity) If ρ ⪯ ρ ′ \rho\preceq\rho' ρ ⪯ ρ ′ , then Ψ P ( ρ ) ⪯ Ψ P ( ρ ′ ) \Psi_P(\rho) \preceq\Psi_P(\rho') Ψ P ( ρ ) ⪯ Ψ P ( ρ ′ ) .
(Lower bound) If ρ ⪯ Ψ P ( ρ ) \rho\preceq\Psi_P(\rho) ρ ⪯ Ψ P ( ρ ) , then ρ ⪯ val λ \rho\preceq\operatorname{val}_{\lambda} ρ ⪯ val λ .
(Upper bound) If Ψ P ( ρ ) ⪯ ρ \Psi_P(\rho) \preceq\rho Ψ P ( ρ ) ⪯ ρ , then val λ ⪯ ρ \operatorname{val}_{\lambda} \preceq\rho val λ ⪯ ρ .
Proof. We present the proof of the three items.
(Monotonicity) For all functions ρ ⪯ ρ ′ \rho\preceq\rho' ρ ⪯ ρ ′ , since the coefficients of ρ \rho ρ in the definition of Ψ P ( ρ ) \Psi_P(\rho) Ψ P ( ρ ) are non-negative and op \operatorname{op} op is monotone, we have Ψ P ( ρ ) ⪯ Ψ P ( ρ ′ ) \Psi_P(\rho) \preceq\Psi_P(\rho') Ψ P ( ρ ) ⪯ Ψ P ( ρ ′ ) .
(Lower bound) First, we show that the Bellman operator is a contraction with respect to the L ∞ L_\infty L ∞ norm. For all functions ρ , ρ ′ : S → R \rho,\rho':S\to\mathbb{R} ρ , ρ ′ : S → R and states s ∈ S s\in S s ∈ S , we have
∣ Ψ P ( ρ ) ( s ) − Ψ P ( ρ ′ ) ( s ) ∣ ≤ max a ∈ A ∣ λ ∑ s ′ ∈ S δ ( s , a ) ( s ′ ) ( ρ ( s ′ ) − ρ ′ ( s ′ ) ) ∣ (op is 1-Lipschitz) ≤ λ ∥ ρ − ρ ′ ∥ ∞ ( δ ( s , a ) ∈ Δ ( S ) ) . \begin{aligned}
\left|\Psi_P(\rho)(s)-\Psi_P(\rho')(s)\right| \le\max_{a\in A}\left|\lambda\sum_{s'\in S}\delta(s,a)(s')(\rho(s')-\rho'(s'))\right| \qquad\text{(op is 1-Lipschitz)} \\
&\le\lambda\lVert\rho-\rho'\rVert_\infty\qquad(\delta(s,a)\in\Delta(S)).
\end{aligned} ∣ Ψ P ( ρ ) ( s ) − Ψ P ( ρ ′ ) ( s ) ∣ ≤ a ∈ A max λ s ′ ∈ S ∑ δ ( s , a ) ( s ′ ) ( ρ ( s ′ ) − ρ ′ ( s ′ )) (op is 1-Lipschitz) ≤ λ ∥ ρ − ρ ′ ∥ ∞ ( δ ( s , a ) ∈ Δ ( S )) .
Taking the maximum over all states s s s , we have ∥ Ψ P ( ρ ) − Ψ P ( ρ ′ ) ∥ ∞ ≤ λ ∥ ρ − ρ ′ ∥ ∞ \lVert\Psi_P(\rho)-\Psi_P(\rho')\rVert_\infty\le\lambda\lVert\rho-\rho'\rVert_\infty ∥ Ψ P ( ρ ) − Ψ P ( ρ ′ ) ∥ ∞ ≤ λ ∥ ρ − ρ ′ ∥ ∞ , where λ < 1 \lambda<1 λ < 1 . Therefore, by the Banach fixed-point theorem, Ψ P \Psi_P Ψ P has a unique fixed point, which is val λ \operatorname{val}_{\lambda} val λ [50 ] , and, for every function ρ \rho ρ , the iterates Ψ P k ( ρ ) \Psi_P^k(\rho) Ψ P k ( ρ ) converge to val λ \operatorname{val}_{\lambda} val λ as k → ∞ k\to\infty k → ∞ . Second, suppose that ρ ⪯ Ψ P ( ρ ) \rho\preceq\Psi_P(\rho) ρ ⪯ Ψ P ( ρ ) . We show by induction that ρ ⪯ Ψ P k ( ρ ) \rho\preceq\Psi_P^k(\rho) ρ ⪯ Ψ P k ( ρ ) for all k ≥ 1 k\ge1 k ≥ 1 . The base case k = 1 k=1 k = 1 holds by assumption. If ρ ⪯ Ψ P k ( ρ ) \rho\preceq\Psi_P^k(\rho) ρ ⪯ Ψ P k ( ρ ) , then, by monotonicity, we have Ψ P ( ρ ) ⪯ Ψ P k + 1 ( ρ ) \Psi_P(\rho)\preceq\Psi_P^{k+1}(\rho) Ψ P ( ρ ) ⪯ Ψ P k + 1 ( ρ ) , and therefore ρ ⪯ Ψ P ( ρ ) ⪯ Ψ P k + 1 ( ρ ) \rho\preceq\Psi_P(\rho)\preceq\Psi_P^{k+1}(\rho) ρ ⪯ Ψ P ( ρ ) ⪯ Ψ P k + 1 ( ρ ) . Lastly, since ⪯ \preceq ⪯ is preserved under pointwise limits, taking the limit k → ∞ k\to\infty k → ∞ yields ρ ⪯ val λ \rho\preceq\operatorname{val}_{\lambda} ρ ⪯ val λ .
:::
(Upper bound) Suppose that Ψ P ( ρ ) ⪯ ρ \Psi_P(\rho) \preceq\rho Ψ P ( ρ ) ⪯ ρ . Analogously to the lower bound, by induction and monotonicity, we have Ψ P k ( ρ ) ⪯ ρ \Psi_P^k(\rho) \preceq\rho Ψ P k ( ρ ) ⪯ ρ for all k ≥ 1 k \ge1 k ≥ 1 . Taking the limit k → ∞ k \to\infty k → ∞ , we have val λ ⪯ ρ \operatorname{val}_{\lambda} \preceq\rho val λ ⪯ ρ , which completes the proof.
Interval bounds. An interval bound is a pair I = ( L , U ) I = (L,U) I = ( L , U ) of functions L , U : S → R L,U : S \to\mathbb{R} L , U : S → R such that L ⪯ U L \preceq U L ⪯ U . For interval bounds I = ( L , U ) I = (L,U) I = ( L , U ) and I ′ = ( L ′ , U ′ ) I' = (L',U') I ′ = ( L ′ , U ′ ) , we write I ′ ⊆ I I' \subseteq I I ′ ⊆ I if [ L ′ ( s ) , U ′ ( s ) ] ⊆ [ L ( s ) , U ( s ) ] [L'(s), U'(s)] \subseteq[L(s), U(s)] [ L ′ ( s ) , U ′ ( s )] ⊆ [ L ( s ) , U ( s )] for all states s ∈ S s \in S s ∈ S , i.e., L ⪯ L ′ L \preceq L' L ⪯ L ′ and U ′ ⪯ U U' \preceq U U ′ ⪯ U . For p ∈ { 1 , 2 } p \in\{1,2\} p ∈ { 1 , 2 } and a player-p p p MDP P P P , we say that I I I is shrinking if ( Ψ P ( L ) , Ψ P ( U ) ) ⊆ I (\Psi_P(L), \Psi_P(U)) \subseteq I ( Ψ P ( L ) , Ψ P ( U )) ⊆ I . For ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) , we say that I I I is ε \varepsilon ε -close if U ( s ) − L ( s ) ≤ ε U(s) - L(s) \le\varepsilon U ( s ) − L ( s ) ≤ ε for all states s ∈ S s \in S s ∈ S .
Witness. Consider a game G G G , a reward function r r r whose values are rational numbers defined using at most B i n p B_{\mathrm{inp}} B inp bits, a succinct discount factor λ = 1 − 2 − 2 B λ \lambda= 1 - 2^{-2^{B_\lambda}} λ = 1 − 2 − 2 B λ , and an additive error ε = 2 − B ε \varepsilon= 2^{-B_\varepsilon} ε = 2 − B ε . A witness is a tuple ( σ , τ , I σ , I τ ) (\sigma,\tau,I_\sigma,I_\tau) ( σ , τ , I σ , I τ ) such that
(Witness strategies) σ \sigma σ and τ \tau τ are power-series representable stationary strategies for Player 1 and Player 2, respectively.
(ε / 2 \varepsilon/2 ε /2 -close shrinking intervals) I σ I_\sigma I σ (resp. I τ I_\tau I τ ) is a power-series representable ε / 2 \varepsilon/2 ε /2 -close shrinking interval bound of G σ G_\sigma G σ (resp. G τ G_\tau G τ ).
(Interval intersection) I σ ∩ I τ ≠ ∅ I_\sigma\cap I_\tau\ne\varnothing I σ ∩ I τ = ∅ , i.e., [ L σ ( s ) , U σ ( s ) ] ∩ [ L τ ( s ) , U τ ( s ) ] ≠ ∅ [L_\sigma(s), U_\sigma(s)] \cap[L_\tau(s), U_\tau(s)] \ne\varnothing [ L σ ( s ) , U σ ( s )] ∩ [ L τ ( s ) , U τ ( s )] = ∅ for all states s ∈ S s \in S s ∈ S .
The following result shows the soundness of witnesses, i.e., every witness yields an ε \varepsilon ε -approximation of the value and ε \varepsilon ε -optimal strategies.
Lemma 5.7 (Soundness of witnesses). Consider a game G G G with a reward function r r r , a succinct discount factor λ \lambda λ , and additive error ε = 2 − B ε \varepsilon= 2^{-B_\varepsilon} ε = 2 − B ε , and let ( σ , τ , I σ , I τ ) (\sigma,\tau,I_\sigma,I_\tau) ( σ , τ , I σ , I τ ) be a witness. Then, ( L σ , U τ ) (L_\sigma,U_\tau) ( L σ , U τ ) is an ε \varepsilon ε -approximation of val λ \operatorname{val}_\lambda val λ , i.e., val λ ( s ) ∈ [ L σ ( s ) , U τ ( s ) ] \operatorname{val}_\lambda(s) \in[L_\sigma(s), U_\tau(s)] val λ ( s ) ∈ [ L σ ( s ) , U τ ( s )] and U τ ( s ) − L σ ( s ) ≤ ε U_\tau(s) - L_\sigma(s) \le\varepsilon U τ ( s ) − L σ ( s ) ≤ ε for all states s ∈ S s \in S s ∈ S . Moreover, σ \sigma σ and τ \tau τ are ε \varepsilon ε -optimal.
Proof. The intervals are shrinking. Hence, by Theorem 5.5, we have L σ ⪯ val λ G σ ⪯ U σ L_\sigma\preceq\operatorname{val}^{G_\sigma}_\lambda\preceq U_\sigma L σ ⪯ val λ G σ ⪯ U σ and L τ ⪯ val λ G τ ⪯ U τ L_\tau\preceq\operatorname{val}^{G_\tau}_\lambda\preceq U_\tau L τ ⪯ val λ G τ ⪯ U τ . In particular, L σ L_\sigma L σ is a lower bound on the value of G G G , since σ \sigma σ guarantees at least L σ L_\sigma L σ . Similarly, U τ U_\tau U τ is an upper bound on the value of G G G , since τ \tau τ guarantees at most U τ U_\tau U τ . Since I σ I_\sigma I σ and I τ I_\tau I τ intersect and both intervals have size at most ε / 2 \varepsilon/2 ε /2 , we have U τ − L σ ≤ ε U_\tau- L_\sigma\le\varepsilon U τ − L σ ≤ ε . Therefore, ( L σ , U τ ) (L_\sigma,U_\tau) ( L σ , U τ ) is an ε \varepsilon ε -approximation of the value. Lastly, for all states s ∈ S s \in S s ∈ S , we have val λ G σ ( s ) ≥ L σ ( s ) ≥ U τ ( s ) − ε ≥ val λ ( s ) − ε \operatorname{val}^{G_\sigma}_\lambda(s) \ge L_\sigma(s) \ge U_\tau(s) - \varepsilon\ge\operatorname{val}_\lambda(s) - \varepsilon val λ G σ ( s ) ≥ L σ ( s ) ≥ U τ ( s ) − ε ≥ val λ ( s ) − ε , i.e., σ \sigma σ is ε \varepsilon ε -optimal, and symmetrically, τ \tau τ is ε \varepsilon ε -optimal.
The size of a witness is the number of bits of its power-series representation. The following result shows the completeness of witnesses, i.e., every game has a witness of polynomial size.
Theorem 5.8 (Existence of polynomial-size witness). Consider a game G G G with a reward function r r r , a succinct discount factor λ \lambda λ , and additive error ε = 2 − B ε \varepsilon= 2^{-B_\varepsilon} ε = 2 − B ε . Then, there exists a witness ( σ , τ , I σ , I τ ) (\sigma,\tau,I_\sigma,I_\tau) ( σ , τ , I σ , I τ ) whose size is polynomial in n n n , m m m , B i n p B_{\mathrm{inp}} B inp , B ε B_\varepsilon B ε , and B λ B_\lambda B λ .
Theorem 5.8 is our main technical result. We dedicate § 6 to the proof.
Verifier. Given a game G G G , a reward function, a discount factor, additive error ε \varepsilon ε , and a tuple ( σ , τ , I σ , I τ ) (\sigma,\tau,I_{\sigma},I_{\tau}) ( σ , τ , I σ , I τ ) , the verifier checks that the tuple satisfies all the conditions to be a witness. Algorithm 1 describes such a verifier. Theorem 5.9 states that Algorithm 1 accepts a tuple if and only if it is a witness, and that it runs in polynomial time.
Algorithm 1 A polynomial verifier for CsgApproxValue
Input: Game G G G , reward function r r r , discount factor λ \lambda λ , additive error ε \varepsilon ε , tuple ( σ , τ , I σ , I τ ) (\sigma,\tau,I_{\sigma},I_{\tau}) ( σ , τ , I σ , I τ )
Output: Returns true if and only if the tuple is a valid witness
procedure VERIFIER ( G , r , λ , ε , ( σ , τ , I σ , I τ ) ) \operatorname{VERIFIER}(G,r,\lambda,\varepsilon,(\sigma,\tau,I_{\sigma},I_{\tau})) VERIFIER ( G , r , λ , ε , ( σ , τ , I σ , I τ ))
Check σ \sigma σ and τ \tau τ are stationary strategies (non-negative probabilities that sum to one) and all entries are power-series representable as required
Check I σ I_{\sigma} I σ and I τ I_{\tau} I τ are interval bounds, i.e., L σ ⪯ U σ L_{\sigma} \preceq U_{\sigma} L σ ⪯ U σ and L τ ⪯ U τ L_{\tau} \preceq U_{\tau} L τ ⪯ U τ
I σ ′ ← ( Ψ G σ ( L σ ) , Ψ G σ ( U σ ) ) I'_{\sigma} \leftarrow(\Psi_{G_{\sigma}}(L_{\sigma}),\Psi_{G_{\sigma}}(U_{\sigma})) I σ ′ ← ( Ψ G σ ( L σ ) , Ψ G σ ( U σ ))
I τ ′ ← ( Ψ G τ ( L τ ) , Ψ G τ ( U τ ) ) I'_{\tau} \leftarrow(\Psi_{G_{\tau}}(L_{\tau}),\Psi_{G_{\tau}}(U_{\tau})) I τ ′ ← ( Ψ G τ ( L τ ) , Ψ G τ ( U τ ))
if I σ ′ ⊈ I σ I'_{\sigma} \not\subseteq I_{\sigma} I σ ′ ⊆ I σ or I τ ′ ⊈ I τ I'_{\tau} \not\subseteq I_{\tau} I τ ′ ⊆ I τ then ▷ shrinking property
return false
if U σ − L σ ⪯̸ ε 2 ⋅ 1 ⃗ U_{\sigma}-L_{\sigma} \not\preceq\frac{\varepsilon}{2}\cdot\vec{1} U σ − L σ ⪯ 2 ε ⋅ 1 or U τ − L τ ⪯̸ ε 2 ⋅ 1 ⃗ U_{\tau}-L_{\tau} \not\preceq\frac{\varepsilon}{2}\cdot\vec{1} U τ − L τ ⪯ 2 ε ⋅ 1 then ▷ ε 2 \frac{\varepsilon}{2} 2 ε -closeness property
return false
if I σ ∩ I τ ≠ ∅ I_{\sigma}\cap I_{\tau}\ne\varnothing I σ ∩ I τ = ∅ then ▷ interval intersection
return true
else
return false
Theorem 5.9 (Polynomial-time verifier). Consider a game G G G with a reward function r r r , a succinct discount factor λ \lambda λ , additive error ε = 2 − B ε \varepsilon=2^{-B_{\varepsilon}} ε = 2 − B ε , and a tuple ( σ , τ , I σ , I τ ) (\sigma,\tau,I_{\sigma},I_{\tau}) ( σ , τ , I σ , I τ ) . Then, the following assertions hold.
(Correctness) Algorithm 1 returns true if and only if the tuple is a witness.
(Running time) Algorithm 1 runs in time polynomial in the size of the input.
Proof. We present the proof of the two items.
(Correctness) Algorithm 1 checks the conditions of the definition of a witness. All its computations are exact, since they use exact arithmetic with power-series numbers and rational numbers (Theorems 5.1 and 5.2). Hence, it returns true if and only if the tuple is a witness.
(Running time) We show that the verifier performs polynomially many checks, and that every check decides the sign of a linear combination of polynomially many power-series numbers of polynomial size with rational coefficients from the input. Then, every check takes polynomial time by Theorem 5.2.
(Power-series numbers) The numbers of the tuple are power-series numbers whose size is at most the size of the tuple. Moreover, λ \lambda λ and 1 − λ 1-\lambda 1 − λ are power-series numbers with at most two terms (§ 5.1 ), and ε 2 = 2 − ( B ε + 1 ) \frac{\varepsilon}{2}=2^{-(B_{\varepsilon}+1)} 2 ε = 2 − ( B ε + 1 ) is a power-series number with one term. By Theorem 5.1, products of a constant number of these numbers are power-series numbers of polynomial size.
(Basic checks) Checking that the numbers of the tuple are power-series numbers is syntactic. The remaining conditions on the strategies, the interval bounds, the ε 2 \frac{\varepsilon}{2} 2 ε -closeness, and the intersection are O ( n m ) O(nm) O ( nm ) comparisons between sums of numbers of the tuple and ε 2 \frac{\varepsilon}{2} 2 ε .
(Shrinking property) Consider the player-2 MDP G σ G_{\sigma} G σ and a state s s s . By the definitions of
Ψ G σ \Psi_{G_\sigma} Ψ G σ and G σ G_\sigma G σ , we have Ψ G σ ( L σ ) ( s ) ≥ L σ ( s ) \Psi_{G_\sigma}(L_\sigma)(s) \ge L_\sigma(s) Ψ G σ ( L σ ) ( s ) ≥ L σ ( s ) if and only if, for all actions b ∈ B b \in\mathcal{B} b ∈ B ,
L σ ( s ) ≥ ∑ a ∈ A σ ( s ) ( a ) ( ( 1 − λ ) r ( s , a , b ) + λ ∑ s ′ ∈ S δ ( s , a , b ) ( s ′ ) L σ ( s ′ ) ) . (1) L_\sigma(s) \ge\sum_{a\in\mathcal{A}} \sigma(s)(a)\left((1-\lambda)r(s,a,b)+\lambda\sum_{s'\in\mathcal{S}}\delta(s,a,b)(s')L_\sigma(s')\right). \tag*{(1)} L σ ( s ) ≥ a ∈ A ∑ σ ( s ) ( a ) ( ( 1 − λ ) r ( s , a , b ) + λ s ′ ∈ S ∑ δ ( s , a , b ) ( s ′ ) L σ ( s ′ ) ) . (1)
Similarly, Ψ G σ ( U σ ) ( s ) ≤ U σ ( s ) \Psi_{G_\sigma}(U_\sigma)(s) \le U_\sigma(s) Ψ G σ ( U σ ) ( s ) ≤ U σ ( s ) if and only if the analogous inequality, with U σ U_\sigma U σ in place of L σ L_\sigma L σ and ≥ \ge ≥ in place of ≤ \le ≤ , holds for some action b ∈ B b \in\mathcal{B} b ∈ B . For the player-1 MDP G τ G_\tau G τ , the roles of “for all” and “for some” are exchanged. Hence, the shrinking property consists of at most 4 n m 4nm 4 nm inequalities of the form of Equation (1) .
∑ a ∈ A r ( s , a , b ) ( ( 1 − λ ) σ ( s ) ( a ) ) + ∑ a ∈ A ∑ s ′ ∈ S δ ( s , a , b ) ( s ′ ) ( λ σ ( s ) ( a ) L σ ( s ′ ) ) − L σ ( s ) ≥ 0. \sum_{a\in\mathcal{A}}r(s,a,b)\left((1-\lambda)\sigma(s)(a)\right)+\sum_{a\in\mathcal{A}}\sum_{s'\in\mathcal{S}}\delta(s,a,b)\left(s'\right)\left(\lambda\sigma(s)(a)L_\sigma(s')\right)-L_\sigma(s)\ge0. a ∈ A ∑ r ( s , a , b ) ( ( 1 − λ ) σ ( s ) ( a ) ) + a ∈ A ∑ s ′ ∈ S ∑ δ ( s , a , b ) ( s ′ ) ( λσ ( s ) ( a ) L σ ( s ′ ) ) − L σ ( s ) ≥ 0.
The left-hand side is a linear combination of ( n + 1 ) m + 1 (n+1)m+1 ( n + 1 ) m + 1 products of at most three power-series numbers, with the rewards and transition probabilities of the input as coefficients. Hence, by the first item, it is a linear combination of polynomially many power-series numbers of polynomial size with rational coefficients from the input, which completes the proof.
The soundness and completeness of witnesses (Theorem 5.7 and Theorem 5.8 ) and the polynomial-time verifier (Theorem 5.9 ) yield Theorem 3.2 . Formally, we show that CSGAPPROXVALUE reduces in polynomial time to the search problem of finding a witness, which is in TFNP [45 ] . To do so, we compute an ε \varepsilon ε -approximation v ^ \hat{v} v ^ of the value from the witness in polynomial time.
Proof of Theorem 3.2 . Consider a game G G G , a reward function, a succinct discount factor, and an additive error ε = 2 − B ε \varepsilon=2^{-B_\varepsilon} ε = 2 − B ε . By Theorem 5.8 , there exists a polynomial p p p such that a witness for the additive error ε 2 \frac{\varepsilon}{2} 2 ε of size at most p ( n , m , B i n p , B ε , B λ ) p(n,m,B_{\mathrm{inp}},B_\varepsilon,B_\lambda) p ( n , m , B inp , B ε , B λ ) exists. By Theorem 5.9 , such witnesses are checked in polynomial time, and hence finding one is in TFNP. Moreover, by Theorem 5.7, every such witness satisfies, for all states s ∈ S s\in S s ∈ S ,
L σ ( s ) ≤ val λ ( s ) ≤ U τ ( s ) ≤ L σ ( s ) + ε 2 . L_\sigma(s)\le\operatorname{val}_\lambda(s)\le U_\tau(s)\le L_\sigma(s)+\frac{\varepsilon}{2}. L σ ( s ) ≤ val λ ( s ) ≤ U τ ( s ) ≤ L σ ( s ) + 2 ε .
Value approximation. For every state s s s , let v ^ ( s ) \hat{v}(s) v ^ ( s ) be the largest integer multiple of 2 − ( B ε + 2 ) 2^{-(B_\varepsilon+2)} 2 − ( B ε + 2 ) in [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] that is at most L σ ( s ) L_\sigma(s) L σ ( s ) , which is computed by binary search (Theorem 5.1). Then, ∣ v ^ ( s ) − val λ ( s ) ∣ ≤ ε 4 + ε 2 ≤ ε |\hat{v}(s)-\operatorname{val}_\lambda(s)|\le\frac{\varepsilon}{4}+\frac{\varepsilon}{2}\le\varepsilon ∣ v ^ ( s ) − val λ ( s ) ∣ ≤ 4 ε + 2 ε ≤ ε . Hence, CSGAPPROXVALUE reduces in polynomial time to finding such a witness.
Gap problem. Consider a state s s s and a threshold α \alpha α . If val λ ( s ) ≥ α + ε \operatorname{val}_\lambda(s)\ge\alpha+\varepsilon val λ ( s ) ≥ α + ε , then L σ ( s ) ≥ val λ ( s ) − ε 2 > α L_\sigma(s)\ge\operatorname{val}_\lambda(s)-\frac{\varepsilon}{2}>\alpha L σ ( s ) ≥ val λ ( s ) − 2 ε > α , and if val λ ( s ) ≤ α − ε \operatorname{val}_\lambda(s)\le\alpha-\varepsilon val λ ( s ) ≤ α − ε , then U τ ( s ) ≤ val λ ( s ) + ε 2 < α U_\tau(s)\le\operatorname{val}_\lambda(s)+\frac{\varepsilon}{2}<\alpha U τ ( s ) ≤ val λ ( s ) + 2 ε < α . Hence, guessing such a witness and accepting if and only if L σ ( s ) ≥ α L_\sigma(s)\ge\alpha L σ ( s ) ≥ α (resp. U τ ( s ) ≤ α U_\tau(s)\le\alpha U τ ( s ) ≤ α ) shows membership in NP (resp. coNP), where the comparisons with α \alpha α are decided in polynomial time by Theorem 5.2 .
Existence of Power-Series Representable Witness
In this section, we prove the completeness of witnesses (Theorem 5.8 ). First, we show that both players have power-series representable ε \varepsilon ε -optimal stationary strategies (Section 6.1). Second, we discuss natural candidates for power-series representable ε \varepsilon ε -close shrinking interval bounds that fail (§ 6.3 ). Third, we show that every MDP has power-series representable ε \varepsilon ε -close shrinking interval bounds (§ 6.4 ). Lastly, we combine these results to prove Theorem 5.8 (§ 6.5 ).
Power-Series Representable ε \varepsilon ε -Optimal Strategies
In this subsection, we show that both players have power-series representable ε \varepsilon ε -optimal stationary strategies (Theorem 6.5). We obtain them from optimal stationary strategies in two steps.
(Removing small probabilities) We remove the probabilities below a threshold, which bounds the exponents in the power-series representation. We bound the resulting error by an absolute continuity property of MDPs (Theorems 6.1 and 6.2).
(Truncation) We truncate the remaining probabilities with a fixed relative precision, which bounds the number of terms. We bound the resulting error, independently of the discount factor, by interpreting discounted-sum objectives as reachability objectives and applying a relative continuity property of Markov chains (Theorems 6.3 to 6.5).
Markov chains of MDPs. For p ∈ { 1 , 2 } p \in\{1,2\} p ∈ { 1 , 2 } , consider a player-p p p MDP P P P with a reward function r r r and a discount factor λ \lambda λ . A pure stationary strategy π \pi π for Player p p p assigns an action π ( s ) ∈ A \pi(s) \in\mathcal{A} π ( s ) ∈ A to every state s s s . By fixing π \pi π , we obtain the MC P π P_\pi P π with transition function δ ( s , π ( s ) ) \delta(s,\pi(s)) δ ( s , π ( s )) , reward function r ( s , π ( s ) ) r(s,\pi(s)) r ( s , π ( s )) , and the same discount factor. Since Player p p p has an optimal pure stationary strategy in P P P [50 , 30 ] , for all states s ∈ S s \in S s ∈ S , we have
val λ P ( s ) = op π val λ P π ( s ) , (2) \operatorname{val}_{\lambda}^{P}(s)=\underset{\pi}{\operatorname{op}}\ \operatorname{val}_{\lambda}^{P_{\pi}}(s), \tag*{(2)} val λ P ( s ) = π op val λ P π ( s ) , (2)
where op is max (resp. min) for player-1 (resp. player-2) MDPs, and π \pi π ranges over the pure stationary strategies of Player p p p .
Absolute continuity. The following continuity property of MDPs generalizes [30 Eq. (4.19)] and [4 Lemma 36] .
Lemma 6.1 (Continuity). For p ∈ { 1 , 2 } p \in\{1,2\} p ∈ { 1 , 2 } , let P P P and P ~ \widetilde{P} P be player-p p p MDPs with identical state and action sets and discount factor λ \lambda λ , with transition functions δ \delta δ and δ ~ \widetilde{\delta} δ , and reward functions r r r and r ~ \widetilde{r} r , respectively. Let
η : = max s ∈ S , a ∈ A max { ∣ r ( s , a ) − r ~ ( s , a ) ∣ , ∑ s ′ ∈ S ∣ δ ( s , a ) ( s ′ ) − δ ~ ( s , a ) ( s ′ ) ∣ } . \eta:= \max_{s\in S,a\in\mathcal{A}} \max\left\{ \lvert r(s,a)-\widetilde{r}(s,a)\rvert,\ \sum_{s'\in S}\lvert\delta(s,a)(s')-\widetilde{\delta}(s,a)(s')\rvert\right\}. η := s ∈ S , a ∈ A max max { ∣ r ( s , a ) − r ( s , a )∣ , s ′ ∈ S ∑ ∣ δ ( s , a ) ( s ′ ) − δ ( s , a ) ( s ′ )∣ } . Then, ∣ val λ P ( s ) − val λ P ~ ( s ) ∣ ≤ η / ( 1 − λ ) \lvert\operatorname{val}_{\lambda}^{P}(s)-\operatorname{val}_{\lambda}^{\widetilde{P}}(s)\rvert\le\eta/(1-\lambda) ∣ val λ P ( s ) − val λ P ( s )∣ ≤ η / ( 1 − λ ) for all states s ∈ S s \in S s ∈ S .
Proof. Note that val λ P \operatorname{val}_{\lambda}^{P} val λ P and val λ P ~ \operatorname{val}_{\lambda}^{\widetilde{P}} val λ P take values in [ 0 , 1 ] [0,1] [ 0 , 1 ] . For every state s ∈ S s \in S s ∈ S , we have
∣ val λ P ( s ) − val λ P ~ ( s ) ∣ = ∣ Ψ P ( val λ P ) ( s ) − Ψ P ~ ( val λ P ~ ) ( s ) ∣ ≤ max a ∈ A ( ( 1 − λ ) ∣ r ( s , a ) − r ~ ( s , a ) ∣ + λ ∑ s ′ ∈ S ∣ δ ( s , a ) ( s ′ ) val λ P ( s ′ ) − δ ~ ( s , a ) ( s ′ ) val λ P ~ ( s ′ ) ∣ ) ≤ max a ∈ A ( ( 1 − λ ) ∣ r ( s , a ) − r ~ ( s , a ) ∣ + λ ∑ s ′ ∈ S ∣ δ ( s , a ) ( s ′ ) − δ ~ ( s , a ) ( s ′ ) ∣ val λ P ( s ′ ) + λ ∑ s ′ ∈ S δ ~ ( s , a ) ( s ′ ) ∣ val λ P ( s ′ ) − val λ P ~ ( s ′ ) ∣ ) ≤ ( 1 − λ ) η + λ η + λ ∥ val λ P − val λ P ~ ∥ ∞ = η + λ ∥ val λ P − val λ P ~ ∥ ∞ , \begin{aligned}
\left\lvert\operatorname{val}_{\lambda}^{P}(s)-\operatorname{val}_{\lambda}^{\widetilde{P}}(s)\right\rvert
&=\left\lvert\Psi_{P}(\operatorname{val}_{\lambda}^{P})(s)-\Psi_{\widetilde{P}}(\operatorname{val}_{\lambda}^{\widetilde{P}})(s)\right\rvert\\
&\le\max_{a\in\mathcal{A}}\left((1-\lambda)\left\lvert r(s,a)-\widetilde{r}(s,a)\right\rvert\right.\\
&\qquad\left.+\lambda\sum_{s'\in S}\left\lvert\delta(s,a)(s')\operatorname{val}_{\lambda}^{P}(s')-\widetilde{\delta}(s,a)(s')\operatorname{val}_{\lambda}^{\widetilde{P}}(s')\right\rvert\right)\\
&\le\max_{a\in\mathcal{A}}\left((1-\lambda)\left\lvert r(s,a)-\widetilde{r}(s,a)\right\rvert\right.\\
&\qquad+\lambda\sum_{s'\in S}\left\lvert\delta(s,a)(s')-\widetilde{\delta}(s,a)(s')\right\rvert\operatorname{val}_{\lambda}^{P}(s')\\
&\qquad\left.+\lambda\sum_{s'\in S}\widetilde{\delta}(s,a)(s')\left\lvert\operatorname{val}_{\lambda}^{P}(s')-\operatorname{val}_{\lambda}^{\widetilde{P}}(s')\right\rvert\right)\\
&\le(1-\lambda)\eta+\lambda\eta+\lambda\left\lVert\operatorname{val}_{\lambda}^{P}-\operatorname{val}_{\lambda}^{\widetilde{P}}\right\rVert_{\infty}\\
&=\eta+\lambda\left\lVert\operatorname{val}_{\lambda}^{P}-\operatorname{val}_{\lambda}^{\widetilde{P}}\right\rVert_{\infty},
\end{aligned} val λ P ( s ) − val λ P ( s ) = Ψ P ( val λ P ) ( s ) − Ψ P ( val λ P ) ( s ) ≤ a ∈ A max ( ( 1 − λ ) ∣ r ( s , a ) − r ( s , a ) ∣ + λ s ′ ∈ S ∑ δ ( s , a ) ( s ′ ) val λ P ( s ′ ) − δ ( s , a ) ( s ′ ) val λ P ( s ′ ) ) ≤ a ∈ A max ( ( 1 − λ ) ∣ r ( s , a ) − r ( s , a ) ∣ + λ s ′ ∈ S ∑ δ ( s , a ) ( s ′ ) − δ ( s , a ) ( s ′ ) val λ P ( s ′ ) + λ s ′ ∈ S ∑ δ ( s , a ) ( s ′ ) val λ P ( s ′ ) − val λ P ( s ′ ) ) ≤ ( 1 − λ ) η + λ η + λ val λ P − val λ P ∞ = η + λ val λ P − val λ P ∞ ,
where the first equality follows from val λ P = Ψ P ( val λ P ) \operatorname{val}^{P}_{\lambda}=\Psi_{P}(\operatorname{val}^{P}_{\lambda}) val λ P = Ψ P ( val λ P ) and val λ P ~ = Ψ P ~ ( val λ P ~ ) \operatorname{val}^{\widetilde{P}}_{\lambda}=\Psi_{\widetilde{P}}(\operatorname{val}^{\widetilde{P}}_{\lambda}) val λ P = Ψ P ( val λ P ) , the first inequality follows from the fact that op \operatorname{op} op is 1-Lipschitz, the second inequality follows from the triangle inequality, and the third inequality follows from the definition of η \eta η , val λ P ⪯ 1 ⃗ \operatorname{val}^{P}_{\lambda}\preceq\vec{1} val λ P ⪯ 1 , and δ ~ ( s , a ) ∈ Δ ( S ) \widetilde{\delta}(s,a)\in\Delta(S) δ ( s , a ) ∈ Δ ( S ) . Taking the maximum over all states s s s yields ∥ val λ P − val λ P ~ ∥ ∞ ≤ η + λ ∥ val λ P − val λ P ~ ∥ ∞ \lVert\operatorname{val}^{P}_{\lambda}-\operatorname{val}^{\widetilde{P}}_{\lambda}\rVert_{\infty}\leq\eta+\lambda\lVert\operatorname{val}^{P}_{\lambda}-\operatorname{val}^{\widetilde{P}}_{\lambda}\rVert_{\infty} ∥ val λ P − val λ P ∥ ∞ ≤ η + λ ∥ val λ P − val λ P ∥ ∞ , i.e., ∥ val λ P − val λ P ~ ∥ ∞ ≤ η 1 − λ \lVert\operatorname{val}^{P}_{\lambda}-\operatorname{val}^{\widetilde{P}}_{\lambda}\rVert_{\infty}\leq\frac{\eta}{1-\lambda} ∥ val λ P − val λ P ∥ ∞ ≤ 1 − λ η .
Lemma 6.2 (Bounded patience). Consider a game G G G with a reward function r r r and a discount factor λ \lambda λ . Let ϵ ∈ ( 0 , 1 ] \epsilon\in(0,1] ϵ ∈ ( 0 , 1 ] and p min : = ( 1 − λ ) ϵ / ( 2 m ) p_{\min}:=(1-\lambda)\epsilon/(2m) p m i n := ( 1 − λ ) ϵ / ( 2 m ) . Then, there exist ϵ \epsilon ϵ -optimal stationary strategies σ \sigma σ and τ \tau τ such that all their non-zero probabilities are at least p min p_{\min} p m i n . In particular, their patience is at most 1 / p min 1/p_{\min} 1/ p m i n .
Proof. We present the proof for Player 1, and the proof for Player 2 is symmetric. Let σ ∗ \sigma^* σ ∗ be an optimal stationary strategy [50 ] . For every state s s s , let a s ∗ ∈ A a_s^*\in\mathcal{A} a s ∗ ∈ A be such that σ ∗ ( s ) ( a s ∗ ) \sigma^*(s)(a_s^*) σ ∗ ( s ) ( a s ∗ ) is maximal. Therefore, we have σ ∗ ( s ) ( a s ∗ ) ≥ 1 / m \sigma^*(s)(a_s^*)\geq1/m σ ∗ ( s ) ( a s ∗ ) ≥ 1/ m . For all states s s s and actions a a a , we define
σ ( s ) ( a ) : = { 1 − ∑ a ′ ≠ a s ∗ σ ( s ) ( a ′ ) a = a s ∗ , σ ∗ ( s ) ( a ) a ≠ a s ∗ and σ ∗ ( s ) ( a ) ≥ p min , 0 otherwise. \sigma(s)(a):=
\begin{cases}
1-\sum_{a'\ne a_s^*}\sigma(s)(a') & a=a_s^*,\\
\sigma^*(s)(a) & a\ne a_s^*\text{ and }\sigma^*(s)(a)\geq p_{\min},\\
0 & \text{otherwise.}
\end{cases} σ ( s ) ( a ) := ⎩ ⎨ ⎧ 1 − ∑ a ′ = a s ∗ σ ( s ) ( a ′ ) σ ∗ ( s ) ( a ) 0 a = a s ∗ , a = a s ∗ and σ ∗ ( s ) ( a ) ≥ p m i n , otherwise.
First, we show that σ \sigma σ is a stationary strategy whose non-zero probabilities are at least p min p_{\min} p m i n . For all states s s s and actions a ≠ a s ∗ a\ne a_s^* a = a s ∗ , by definition, we have σ ( s ) ( a ) ≤ σ ∗ ( s ) ( a ) \sigma(s)(a)\leq\sigma^*(s)(a) σ ( s ) ( a ) ≤ σ ∗ ( s ) ( a ) . Therefore, for every state s s s , we have
σ ( s ) ( a s ∗ ) = 1 − ∑ a ≠ a s ∗ σ ( s ) ( a ) ≥ 1 − ∑ a ≠ a s ∗ σ ∗ ( s ) ( a ) = σ ∗ ( s ) ( a s ∗ ) ≥ 1 m ≥ p min . \sigma(s)(a_s^*)=1-\sum_{a\ne a_s^*}\sigma(s)(a)\geq1-\sum_{a\ne a_s^*}\sigma^*(s)(a)=\sigma^*(s)(a_s^*)\geq\frac{1}{m}\geq p_{\min}. σ ( s ) ( a s ∗ ) = 1 − a = a s ∗ ∑ σ ( s ) ( a ) ≥ 1 − a = a s ∗ ∑ σ ∗ ( s ) ( a ) = σ ∗ ( s ) ( a s ∗ ) ≥ m 1 ≥ p m i n .
Moreover, by definition, we have ∑ a ∈ A σ ( s ) ( a ) = 1 \sum_{a\in\mathcal{A}}\sigma(s)(a)=1 ∑ a ∈ A σ ( s ) ( a ) = 1 , and the other non-zero probabilities of σ ( s ) \sigma(s) σ ( s ) are at least p min p_{\min} p m i n . Second, we bound the L 1 L_1 L 1 distance between σ ( s ) \sigma(s) σ ( s ) and σ ∗ ( s ) \sigma^*(s) σ ∗ ( s ) . For every state s s s , we have
∑ a ∈ A ∣ σ ( s ) ( a ) − σ ∗ ( s ) ( a ) ∣ = 2 ∑ a ≠ a s ∗ ( σ ∗ ( s ) ( a ) − σ ( s ) ( a ) ) ≤ 2 m p min = ( 1 − λ ) ϵ , \sum_{a\in\mathcal{A}}\left|\sigma(s)(a)-\sigma^*(s)(a)\right|=2\sum_{a\ne a_s^*}\left(\sigma^*(s)(a)-\sigma(s)(a)\right)\leq2m p_{\min}=(1-\lambda)\epsilon, a ∈ A ∑ ∣ σ ( s ) ( a ) − σ ∗ ( s ) ( a ) ∣ = 2 a = a s ∗ ∑ ( σ ∗ ( s ) ( a ) − σ ( s ) ( a ) ) ≤ 2 m p m i n = ( 1 − λ ) ϵ ,
where the equality follows from σ ( s ) ( a ) ≤ σ ∗ ( s ) ( a ) \sigma(s)(a)\leq\sigma^*(s)(a) σ ( s ) ( a ) ≤ σ ∗ ( s ) ( a ) for all actions a ≠ a s ∗ a\ne a_s^* a = a s ∗ and ∑ a ∈ A σ ( s ) ( a ) = ∑ a ∈ A σ ∗ ( s ) ( a ) = 1 \sum_{a\in\mathcal{A}}\sigma(s)(a)=\sum_{a\in\mathcal{A}}\sigma^*(s)(a)=1 ∑ a ∈ A σ ( s ) ( a ) = ∑ a ∈ A σ ∗ ( s ) ( a ) = 1 , and the inequality follows from the fact that every non-zero term of the sum is σ ∗ ( s ) ( a ) < p min \sigma^*(s)(a)<p_{\min} σ ∗ ( s ) ( a ) < p m i n . Lastly, we show that σ \sigma σ is ϵ \epsilon ϵ -optimal. For all states s s s and actions b ∈ B b\in\mathcal{B} b ∈ B , we have
∣ r σ ( s , b ) − r σ ∗ ( s , b ) ∣ ≤ ∑ a ∈ A ∣ σ ( s ) ( a ) − σ ∗ ( s ) ( a ) ∣ r ( s , a , b ) ≤ ( 1 − λ ) ϵ , \left|r_{\sigma}(s,b)-r_{\sigma^*}(s,b)\right|\leq\sum_{a\in\mathcal{A}}\left|\sigma(s)(a)-\sigma^*(s)(a)\right|r(s,a,b)\leq(1-\lambda)\epsilon, ∣ r σ ( s , b ) − r σ ∗ ( s , b ) ∣ ≤ a ∈ A ∑ ∣ σ ( s ) ( a ) − σ ∗ ( s ) ( a ) ∣ r ( s , a , b ) ≤ ( 1 − λ ) ϵ ,
∑ s ′ ∈ S ∣ δ σ ( s , b ) ( s ′ ) − δ σ ∗ ( s , b ) ( s ′ ) ∣ ≤ ∑ a ∈ A ∣ σ ( s ) ( a ) − σ ∗ ( s ) ( a ) ∣ ∑ s ′ ∈ S δ ( s , a , b ) ( s ′ ) ≤ ( 1 − λ ) ϵ , \sum_{s'\in S}\left|\delta_{\sigma}(s,b)(s')-\delta_{\sigma^*}(s,b)(s')\right|\leq\sum_{a\in\mathcal{A}}\left|\sigma(s)(a)-\sigma^*(s)(a)\right|\sum_{s'\in S}\delta(s,a,b)(s')\leq(1-\lambda)\epsilon, s ′ ∈ S ∑ ∣ δ σ ( s , b ) ( s ′ ) − δ σ ∗ ( s , b ) ( s ′ ) ∣ ≤ a ∈ A ∑ ∣ σ ( s ) ( a ) − σ ∗ ( s ) ( a ) ∣ s ′ ∈ S ∑ δ ( s , a , b ) ( s ′ ) ≤ ( 1 − λ ) ϵ ,
where the first inequalities follow from the definition of G σ G_{\sigma} G σ and the triangle inequality, and the second inequalities follow from r ( s , a , b ) ≤ 1 r(s,a,b)\leq1 r ( s , a , b ) ≤ 1 , δ ( s , a , b ) ∈ Δ ( S ) \delta(s,a,b)\in\Delta(S) δ ( s , a , b ) ∈ Δ ( S ) , and the previous step. Hence, G σ G_{\sigma} G σ and G σ ∗ G_{\sigma^*} G σ ∗ satisfy the condition of Theorem 6.1 with η ≤ ( 1 − λ ) ϵ \eta\leq(1-\lambda)\epsilon η ≤ ( 1 − λ ) ϵ . Therefore, for all states s s s , we have val λ G σ ( s ) ≥ val λ G σ ∗ ( s ) − ϵ = val λ ( s ) − ϵ \operatorname{val}^{G_{\sigma}}_{\lambda}(s)\geq\operatorname{val}^{G_{\sigma^*}}_{\lambda}(s)-\epsilon=\operatorname{val}_{\lambda}(s)-\epsilon val λ G σ ( s ) ≥ val λ G σ ∗ ( s ) − ϵ = val λ ( s ) − ϵ , i.e., σ \sigma σ is ϵ \epsilon ϵ -optimal, which completes the proof.
Relative continuity
To bound the error of truncation with a fixed relative precision, we interpret discounted-sum objectives as reachability objectives in Markov chains (Theorem 6.3). An MC is absorbing if, from every state, it reaches an absorbing state with probability one.
Lemma 6.3 (Discounted-sum as reachability). Consider an MC C = ( S , δ ) C=(S,\delta) C = ( S , δ ) with a reward function r : S → [ 0 , 1 ] r:S\to[0,1] r : S → [ 0 , 1 ] and a discount factor λ \lambda λ . Let C a b s C^{\mathrm{abs}} C abs be the MC with states S ∪ { ⊤ , ⊥ } S\cup\{\top,\bot\} S ∪ { ⊤ , ⊥ } , where ⊤ \top ⊤ and ⊥ \bot ⊥ are absorbing, and, for all states s , s ′ ∈ S s,s'\in S s , s ′ ∈ S ,
δ a b s ( s ) ( s ′ ) : = λ δ ( s ) ( s ′ ) , δ a b s ( s ) ( ⊤ ) : = ( 1 − λ ) r ( s ) , δ a b s ( s ) ( ⊥ ) : = ( 1 − λ ) ( 1 − r ( s ) ) . \delta^{\mathrm{abs}}(s)(s'):=\lambda\delta(s)(s'),\qquad\delta^{\mathrm{abs}}(s)(\top):=(1-\lambda)r(s),\qquad\delta^{\mathrm{abs}}(s)(\bot):=(1-\lambda)(1-r(s)). δ abs ( s ) ( s ′ ) := λ δ ( s ) ( s ′ ) , δ abs ( s ) ( ⊤ ) := ( 1 − λ ) r ( s ) , δ abs ( s ) ( ⊥ ) := ( 1 − λ ) ( 1 − r ( s )) . Then, C a b s C^{\mathrm{abs}} C abs is absorbing, and, for all states s ∈ S s\in S s ∈ S , we have val λ C ( s ) = val ⊤ C a b s ( s ) \operatorname{val}^{C}_{\lambda}(s)=\operatorname{val}^{C^{\mathrm{abs}}}_{\top}(s) val λ C ( s ) = val ⊤ C abs ( s ) .
Proof. First, from every state s ∈ S s\in S s ∈ S , the MC C a b s C^{\mathrm{abs}} C abs moves to { ⊤ , ⊥ } \{\top,\bot\} { ⊤ , ⊥ } with probability 1 − λ > 0 1-\lambda>0 1 − λ > 0 . Hence, it reaches an absorbing state with probability one, i.e., C a b s C^{\mathrm{abs}} C abs is absorbing. Second, by conditioning on the first step, we have val ⊤ C a b s ( s ) = ( 1 − λ ) r ( s ) + λ ∑ s ′ ∈ S δ ( s ) ( s ′ ) val ⊤ C a b s ( s ′ ) \operatorname{val}^{C^{\mathrm{abs}}}_{\top}(s)=(1-\lambda)r(s)+\lambda\sum_{s'\in S}\delta(s)(s')\operatorname{val}^{C^{\mathrm{abs}}}_{\top}(s') val ⊤ C abs ( s ) = ( 1 − λ ) r ( s ) + λ ∑ s ′ ∈ S δ ( s ) ( s ′ ) val ⊤ C abs ( s ′ ) for all states s ∈ S s\in S s ∈ S . Hence, the restriction of val ⊤ C a b s \operatorname{val}^{C^{\mathrm{abs}}}_{\top} val ⊤ C abs to S S S is a fixed point of the Bellman operator of C C C , whose unique fixed point is val λ C \operatorname{val}^{C}_{\lambda} val λ C .
Lemma 6.4 ([51 Theorem 6] , see also [4 Lemma 27] ). Consider absorbing MCs C C C and C ~ \widetilde{C} C with an identical finite set of states S ′ S' S ′ , transition functions δ \delta δ and δ ~ \widetilde{\delta} δ , and an absorbing state ⊤ \top ⊤ . Let η : = max s , s ′ ∈ S ′ rel ( δ ( s ) ( s ′ ) , δ ~ ( s ) ( s ′ ) ) \eta:=\max_{s,s'\in S'}\operatorname{rel}(\delta(s)(s'),\widetilde{\delta}(s)(s')) η := max s , s ′ ∈ S ′ rel ( δ ( s ) ( s ′ ) , δ ( s ) ( s ′ )) . Then, for all states s ∈ S ′ s\in S' s ∈ S ′ , we have ∣ val ⊤ C ( s ) − val ⊤ C ~ ( s ) ∣ ≤ 4 ∣ S ′ ∣ η \lvert\operatorname{val}^{C}_{\top}(s)-\operatorname{val}^{\widetilde{C}}_{\top}(s)\rvert\leq4\lvert S'\rvert\eta ∣ val ⊤ C ( s ) − val ⊤ C ( s )∣ ≤ 4 ∣ S ′ ∣ η .
Lemma 6.5 (Polynomial-size ε \varepsilon ε -optimal strategies). Consider a game G G G with a reward function r r r and a succinct discount factor λ = 1 − 2 − 2 B λ \lambda=1-2^{-2B_{\lambda}} λ = 1 − 2 − 2 B λ . Let ε = 2 − B ε \varepsilon=2^{-B_{\varepsilon}} ε = 2 − B ε , and let
ℓ s t r : = B ε + ⌈ log ( n + 2 ) ⌉ + ⌈ log m ⌉ + 5 and B s t r : = B λ + B ε + ⌈ log m ⌉ + ℓ s t r + 3. \ell_{\mathrm{str}}:=B_{\varepsilon}+\lceil\log(n+2)\rceil+\lceil\log m\rceil+5\qquad\text{and}\qquad B_{\mathrm{str}}:=B_{\lambda}+B_{\varepsilon}+\lceil\log m\rceil+\ell_{\mathrm{str}}+3. ℓ str := B ε + ⌈ log ( n + 2 )⌉ + ⌈ log m ⌉ + 5 and B str := B λ + B ε + ⌈ log m ⌉ + ℓ str + 3. Then, there exist ε \varepsilon ε -optimal stationary strategies σ \sigma σ and τ \tau τ such that σ ( s ) , τ ( s ) ∈ D ( m ℓ s t r , B s t r ) \sigma(s),\tau(s)\in D(m\ell_{\mathrm{str}},B_{\mathrm{str}}) σ ( s ) , τ ( s ) ∈ D ( m ℓ str , B str ) for all states s ∈ S s\in S s ∈ S .
Proof. We present the proof for Player 1, and the proof for Player 2 is symmetric.
Patience ( σ ) ≤ 4 m ( 1 − λ ) ε (xref‘Theorem 6.2‘ for ε 2 ) = m ⋅ 2 2 B λ + B ε + 2 ( 1 − λ = 2 − 2 B λ , ε = 2 − B ε ) ≤ 2 2 B λ + B ε + ⌈ log m ⌉ + 2 ( m ≤ 2 ⌈ log m ⌉ ) = 2 2 B λ + ( B s t r − B λ ) − ℓ s t r − 1 (definition of B s t r ) ≤ 2 2 B s t r − ℓ s t r − 1 ( 2 a + b ≤ 2 a + b for a , b ∈ N 0 ) < 2 2 B s t r − ℓ s t r . \begin{aligned}
\operatorname{Patience}(\sigma)&\leq\frac{4m}{(1-\lambda)\varepsilon} &&\text{({xref}`Theorem 6.2` for }\frac{\varepsilon}{2}\text{)}\\
&=m\cdot2^{2B_{\lambda}+B_{\varepsilon}+2} &&(1-\lambda=2^{-2B_{\lambda}},\ \varepsilon=2^{-B_{\varepsilon}})\\
&\leq2^{2B_{\lambda}+B_{\varepsilon}+\lceil\log m\rceil+2} &&(m\leq2^{\lceil\log m\rceil})\\
&=2^{2B_{\lambda}+(B_{\mathrm{str}}-B_{\lambda})-\ell_{\mathrm{str}}-1} &&\text{(definition of }B_{\mathrm{str}}\text{)}\\
&\leq2^{2B_{\mathrm{str}}-\ell_{\mathrm{str}}-1} &&(2^a+b\leq2^{a+b}\text{ for }a,b\in\mathbb{N}_0)\\
&<2^{2B_{\mathrm{str}}-\ell_{\mathrm{str}}}.
\end{aligned} Patience ( σ ) ≤ ( 1 − λ ) ε 4 m = m ⋅ 2 2 B λ + B ε + 2 ≤ 2 2 B λ + B ε + ⌈ l o g m ⌉ + 2 = 2 2 B λ + ( B str − B λ ) − ℓ str − 1 ≤ 2 2 B str − ℓ str − 1 < 2 2 B str − ℓ str . ( xref ‘Theorem 6.2‘ for 2 ε ) ( 1 − λ = 2 − 2 B λ , ε = 2 − B ε ) ( m ≤ 2 ⌈ l o g m ⌉ ) (definition of B str ) ( 2 a + b ≤ 2 a + b for a , b ∈ N 0 ) (Truncation) By Theorem 5.4 applied to every distribution σ ( s ) \sigma(s) σ ( s ) , there exists a stationary strategy σ ′ \sigma' σ ′ such that, for all states s ∈ S s\in S s ∈ S , we have σ ′ ( s ) ∈ D ( m ℓ s t r , B s t r ) \sigma'(s)\in D(m\ell_{\mathrm{str}},B_{\mathrm{str}}) σ ′ ( s ) ∈ D ( m ℓ str , B str ) and
rel ( σ ( s ) , σ ′ ( s ) ) ≤ m ⋅ 2 1 − ℓ s t r (xref‘Theorem 5.4‘) ≤ 2 ⌈ log m ⌉ + 1 − ℓ s t r ( m ≤ 2 ⌈ log m ⌉ ) = 2 − ( B ε + ⌈ log ( n + 2 ) ⌉ + 4 ) (definition of ℓ s t r ) = ε 16 ⋅ 2 ⌈ log ( n + 2 ) ⌉ ( ε = 2 − B ε ) ≤ ε 16 ( n + 2 ) ( n + 2 ≤ 2 ⌈ log ( n + 2 ) ⌉ ) . \begin{aligned}
\operatorname{rel}(\sigma(s),\sigma'(s))&\leq m\cdot2^{1-\ell_{\mathrm{str}}} &&\text{({xref}`Theorem 5.4`)}\\
&\leq2^{\lceil\log m\rceil+1-\ell_{\mathrm{str}}} &&(m\leq2^{\lceil\log m\rceil})\\
&=2^{-(B_{\varepsilon}+\lceil\log(n+2)\rceil+4)} &&\text{(definition of }\ell_{\mathrm{str}}\text{)}\\
&=\frac{\varepsilon}{16\cdot2^{\lceil\log(n+2)\rceil}} &&(\varepsilon=2^{-B_{\varepsilon}})\\
&\leq\frac{\varepsilon}{16(n+2)} &&(n+2\leq2^{\lceil\log(n+2)\rceil}).
\end{aligned} rel ( σ ( s ) , σ ′ ( s )) ≤ m ⋅ 2 1 − ℓ str ≤ 2 ⌈ l o g m ⌉ + 1 − ℓ str = 2 − ( B ε + ⌈ l o g ( n + 2 )⌉ + 4 ) = 16 ⋅ 2 ⌈ l o g ( n + 2 )⌉ ε ≤ 16 ( n + 2 ) ε ( xref ‘Theorem 5.4‘) ( m ≤ 2 ⌈ l o g m ⌉ ) (definition of ℓ str ) ( ε = 2 − B ε ) ( n + 2 ≤ 2 ⌈ l o g ( n + 2 )⌉ ) .
C : = ( ( G σ ) π ) a b s and C ~ : = ( ( G σ ′ ) π ) a b s , C := ((G_{\sigma})_{\pi})^{\mathrm{abs}} \qquad\text{and}\qquad\widetilde{C} := ((G_{\sigma'})_{\pi})^{\mathrm{abs}}, C := (( G σ ) π ) abs and C := (( G σ ′ ) π ) abs ,
which have the n + 2 n+2 n + 2 states S ∪ { ⊤ , ⊥ } S \cup\{\top,\bot\} S ∪ { ⊤ , ⊥ } , and denote their transition functions by δ C \delta_C δ C and δ C ~ \delta_{\widetilde{C}} δ C , respectively. Then, for all states s ∈ S s \in S s ∈ S and s ′ ∈ S ∪ { ⊤ , ⊥ } s' \in S \cup\{\top,\bot\} s ′ ∈ S ∪ { ⊤ , ⊥ } , we have
δ C ( s ) ( s ′ ) = { λ ∑ a ∈ A σ ( s ) ( a ) δ ( s , a , π ( s ) ) ( s ′ ) s ′ ∈ S , ( 1 − λ ) ∑ a ∈ A σ ( s ) ( a ) r ( s , a , π ( s ) ) s ′ = ⊤ , ( 1 − λ ) ∑ a ∈ A σ ( s ) ( a ) ( 1 − r ( s , a , π ( s ) ) ) s ′ = ⊥ . \delta_C(s)(s') =
\begin{cases}
\lambda\sum_{a\in A}\sigma(s)(a)\delta(s,a,\pi(s))(s') & s' \in S,\\
(1-\lambda)\sum_{a\in A}\sigma(s)(a)r(s,a,\pi(s)) & s'=\top,\\
(1-\lambda)\sum_{a\in A}\sigma(s)(a)(1-r(s,a,\pi(s))) & s'=\bot.
\end{cases} δ C ( s ) ( s ′ ) = ⎩ ⎨ ⎧ λ ∑ a ∈ A σ ( s ) ( a ) δ ( s , a , π ( s )) ( s ′ ) ( 1 − λ ) ∑ a ∈ A σ ( s ) ( a ) r ( s , a , π ( s )) ( 1 − λ ) ∑ a ∈ A σ ( s ) ( a ) ( 1 − r ( s , a , π ( s ))) s ′ ∈ S , s ′ = ⊤ , s ′ = ⊥.
and δ C ~ ( s ) ( s ′ ) \delta_{\widetilde{C}}(s)(s') δ C ( s ) ( s ′ ) is obtained by replacing σ \sigma σ with σ ′ \sigma' σ ′ . Therefore, for all states s , s ′ ∈ S s,s' \in S s , s ′ ∈ S , we have
δ C ~ ( s ) ( s ′ ) = λ ∑ a ∈ A σ ′ ( s ) ( a ) δ ( s , a , π ( s ) ) ( s ′ ) (definition of δ C ~ ) ≤ λ ∑ a ∈ A ( 1 + ε 16 ( n + 2 ) ) σ ( s ) ( a ) δ ( s , a , π ( s ) ) ( s ′ ) (rel ( σ ( s ) , σ ′ ( s ) ) ≤ ε 16 ( n + 2 ) ) = ( 1 + ε 16 ( n + 2 ) ) δ C ( s ) ( s ′ ) (definition of δ C ) . \begin{aligned}
\delta_{\widetilde{C}}(s)(s') = \lambda\sum_{a\in A}\sigma'(s)(a)\delta(s,a,\pi(s))(s')
\qquad\text{(definition of }\delta_{\widetilde{C}}\text{)} \\
&\leq\lambda\sum_{a\in A}\left(1+\frac{\varepsilon}{16(n+2)}\right)\sigma(s)(a)\delta(s,a,\pi(s))(s')
\qquad\text{(rel}(\sigma(s),\sigma'(s)) \leq\frac{\varepsilon}{16(n+2)}\text{)} \\
&= \left(1+\frac{\varepsilon}{16(n+2)}\right)\delta_C(s)(s')
\qquad\text{(definition of }\delta_C\text{)}.
\end{aligned} δ C ( s ) ( s ′ ) = λ a ∈ A ∑ σ ′ ( s ) ( a ) δ ( s , a , π ( s )) ( s ′ ) (definition of δ C ) ≤ λ a ∈ A ∑ ( 1 + 16 ( n + 2 ) ε ) σ ( s ) ( a ) δ ( s , a , π ( s )) ( s ′ ) (rel ( σ ( s ) , σ ′ ( s )) ≤ 16 ( n + 2 ) ε ) = ( 1 + 16 ( n + 2 ) ε ) δ C ( s ) ( s ′ ) (definition of δ C ) .
The cases s ′ = ⊤ s'=\top s ′ = ⊤ and s ′ = ⊥ s'=\bot s ′ = ⊥ are analogous, since r ( s , a , π ( s ) ) r(s,a,\pi(s)) r ( s , a , π ( s )) and 1 − r ( s , a , π ( s ) ) 1-r(s,a,\pi(s)) 1 − r ( s , a , π ( s )) are non-negative. Symmetrically, we have δ C ( s ) ( s ′ ) ≤ ( 1 + ε 16 ( n + 2 ) ) δ C ~ ( s ) ( s ′ ) \delta_C(s)(s') \leq\left(1+\frac{\varepsilon}{16(n+2)}\right)\delta_{\widetilde{C}}(s)(s') δ C ( s ) ( s ′ ) ≤ ( 1 + 16 ( n + 2 ) ε ) δ C ( s ) ( s ′ ) . Hence, by the definition of rel, for all states s ∈ S s \in S s ∈ S , we have
rel ( δ C ( s ) , δ C ~ ( s ) ) ≤ ε 16 ( n + 2 ) . (3) \operatorname{rel}(\delta_C(s),\delta_{\widetilde{C}}(s)) \leq\frac{\varepsilon}{16(n+2)}. \tag*{(3)} rel ( δ C ( s ) , δ C ( s )) ≤ 16 ( n + 2 ) ε . (3)
Moreover, the transitions from ⊤ \top ⊤ and ⊥ \bot ⊥ are identical in C C C and C ~ \widetilde{C} C . Therefore, for all states s ∈ S s \in S s ∈ S , we have
∣ val λ ( G σ ) π ( s ) − val λ ( G σ ′ ) π ( s ) ∣ = ∣ val λ C ( s ) − val λ C ~ ( s ) ∣ (xref‘Theorem 6.3‘) \left|\operatorname{val}^{(G_{\sigma})_{\pi}}_{\lambda}(s)-\operatorname{val}^{(G_{\sigma'})_{\pi}}_{\lambda}(s)\right|
=
\left|\operatorname{val}^{C}_{\lambda}(s)-\operatorname{val}^{\widetilde{C}}_{\lambda}(s)\right|
\qquad\text{({xref}`Theorem 6.3`)} val λ ( G σ ) π ( s ) − val λ ( G σ ′ ) π ( s ) = val λ C ( s ) − val λ C ( s ) ( xref ‘Theorem 6.3‘)
≤ 4 ( n + 2 ) ⋅ ε 16 ( n + 2 ) (xref‘Theorem 6.4‘, xref‘Equation (3)‘) = ε 4 . (4) \begin{aligned}
\leq4(n+2)\cdot\frac{\varepsilon}{16(n+2)}
\qquad\text{({xref}`Theorem 6.4`, {xref}`Equation (3)`)} \\
&= \frac{\varepsilon}{4}. \tag*{(4)}
\end{aligned} ≤ 4 ( n + 2 ) ⋅ 16 ( n + 2 ) ε ( xref ‘Theorem 6.4‘, xref ‘Equation (3)‘) = 4 ε . (4)
Lastly, for all states s ∈ S s \in S s ∈ S , we have
∣ val λ G σ ( s ) − val λ G σ ′ ( s ) ∣ = ∣ min π val λ ( G σ ) π ( s ) − min π val λ ( G σ ′ ) π ( s ) ∣ (xref‘Equation (2)‘) ≤ max π ∣ val λ ( G σ ) π ( s ) − val λ ( G σ ′ ) π ( s ) ∣ (min is 1-Lipschitz) ≤ ε 4 (xref‘Equation (4)‘) . \begin{aligned}
\left|\operatorname{val}^{G_{\sigma}}_{\lambda}(s)-\operatorname{val}^{G_{\sigma'}}_{\lambda}(s)\right|
=
\left|\min_{\pi}\operatorname{val}^{(G_{\sigma})_{\pi}}_{\lambda}(s)-\min_{\pi}\operatorname{val}^{(G_{\sigma'})_{\pi}}_{\lambda}(s)\right|
\qquad\text{({xref}`Equation (2)`)} \\
&\leq\max_{\pi}\left|\operatorname{val}^{(G_{\sigma})_{\pi}}_{\lambda}(s)-\operatorname{val}^{(G_{\sigma'})_{\pi}}_{\lambda}(s)\right|
\qquad\text{(min is 1-Lipschitz)} \\
&\leq\frac{\varepsilon}{4}
\qquad\text{({xref}`Equation (4)`)}.
\end{aligned} val λ G σ ( s ) − val λ G σ ′ ( s ) = π min val λ ( G σ ) π ( s ) − π min val λ ( G σ ′ ) π ( s ) ( xref ‘Equation (2)‘) ≤ π max val λ ( G σ ) π ( s ) − val λ ( G σ ′ ) π ( s ) (min is 1-Lipschitz) ≤ 4 ε ( xref ‘Equation (4)‘) .
where π \pi π ranges over the pure stationary strategies of Player 2. Therefore, since σ \sigma σ is ε 2 \frac{\varepsilon}{2} 2 ε -optimal, σ ′ \sigma' σ ′ is ε \varepsilon ε -optimal, which completes the proof.
It remains to show that the MDPs G σ G_{\sigma} G σ and G τ G_{\tau} G τ have power-series representable ε \varepsilon ε -close shrinking interval bounds. We first discuss natural candidates for such bounds that fail in § 6.3 , and then we prove the existence of such bounds for every MDP in § 6.4 .
Failed Natural Candidates for Interval Bounds
In this subsection, we discuss three natural candidates for power-series representable ε \varepsilon ε -close shrinking interval bounds, namely, (1) independent truncation, (2) shifts by order, and (3) a greedy construction, and we show by examples why they fail.
Setting. Throughout this subsection, we consider a player-2 MDP P P P with a reward function r r r , a succinct discount factor λ = 1 − 2 − 2 2 B λ \lambda= 1 - 2^{-2^{2^{B_\lambda}}} λ = 1 − 2 − 2 2 B λ , and an additive error ε ∈ ( 0 , 1 4 ) \varepsilon\in(0,\frac{1}{4}) ε ∈ ( 0 , 4 1 ) . We focus on the lower bounds of ε \varepsilon ε -close shrinking interval bounds, i.e., on functions L : S → R L \colon S \to\mathbb{R} L : S → R such that L ⪯ Ψ P ( L ) L \preceq\Psi_P(L) L ⪯ Ψ P ( L ) and val λ − ε ⋅ 1 ⃗ ⪯ L ⪯ val λ \operatorname{val}_\lambda- \varepsilon\cdot\vec{1} \preceq L \preceq\operatorname{val}_\lambda val λ − ε ⋅ 1 ⪯ L ⪯ val λ , since shrinking interval bounds contain the value (Theorem 5.5).
Challenges. The existence of power-series representable lower bounds is challenging. On the one hand, the values are in general not power-series numbers, e.g., 1 3 \frac{1}{3} 3 1 , and hence the lower bounds must deviate from the values. On the other hand, the lower bounds must approximate the values, and hence they must be close to the values. Moreover, distinct values may be double exponentially close to each other. Since the inequalities of lower bounds compare the bound of every state with a λ \lambda λ -weighted average of the bounds of its successors, where λ \lambda λ is double exponentially close to one, these challenges make many natural candidates fail. We illustrate this with the following two examples, shown in Figure 2 .
Figure 2. The MDPs of Theorems 6.6 and 6.7. Every action is labeled by its reward. In (b), the action of s 1 s_1 s 1 moves from the black dot to s 2 s_2 s 2 and s 3 s_3 s 3 with the given probabilities.
Example 6.6. Consider the player-2 MDP in Figure 2 (a) with three states s 1 s_1 s 1 , s 2 s_2 s 2 , and s 3 s_3 s 3 , where every state has a single action. The state s 1 s_1 s 1 moves to s 2 s_2 s 2 with the reward 1 1 1 , and the state s 2 s_2 s 2 moves to s 3 s_3 s 3 with the reward 0 0 0 . The state s 3 s_3 s 3 is absorbing, and its self-loop has the reward 1 3 \frac{1}{3} 3 1 . The values of the states are
val λ ( s 1 ) = ( 1 − λ ) + λ val λ ( s 2 ) = ( 1 − λ ) + λ 2 3 , \operatorname{val}_{\lambda}(s_1) = (1-\lambda) + \lambda\operatorname{val}_{\lambda}(s_2) = (1-\lambda) + \frac{\lambda^2}{3}, val λ ( s 1 ) = ( 1 − λ ) + λ val λ ( s 2 ) = ( 1 − λ ) + 3 λ 2 ,
val λ ( s 2 ) = λ val λ ( s 3 ) = λ 3 , \operatorname{val}_{\lambda}(s_2) = \lambda\operatorname{val}_{\lambda}(s_3) = \frac{\lambda}{3}, val λ ( s 2 ) = λ val λ ( s 3 ) = 3 λ ,
val λ ( s 3 ) = 1 3 . \operatorname{val}_{\lambda}(s_3) = \frac{1}{3}. val λ ( s 3 ) = 3 1 .
Example 6.7. Consider the player-2 MDP in Figure 2 (b) with three states s 1 s_1 s 1 , s 2 s_2 s 2 , and s 3 s_3 s 3 , where every state has a single action. The state s 1 s_1 s 1 moves to s 2 s_2 s 2 and s 3 s_3 s 3 with probabilities 3 5 \frac{3}{5} 5 3 and 2 5 \frac{2}{5} 5 2 , respectively, and with the reward 2 3 \frac{2}{3} 3 2 . The states s 2 s_2 s 2 and s 3 s_3 s 3 are absorbing, and their self-loops have the rewards 1 1 1 and 1 6 \frac{1}{6} 6 1 , respectively. The values of the states are
val λ ( s 1 ) = ( 1 − λ ) 2 3 + λ ( 3 5 val λ ( s 2 ) + 2 5 val λ ( s 3 ) ) = 2 3 , \operatorname{val}_{\lambda}(s_1) = (1-\lambda)\frac{2}{3} + \lambda\left(\frac{3}{5}\operatorname{val}_{\lambda}(s_2) + \frac{2}{5}\operatorname{val}_{\lambda}(s_3)\right) = \frac{2}{3}, val λ ( s 1 ) = ( 1 − λ ) 3 2 + λ ( 5 3 val λ ( s 2 ) + 5 2 val λ ( s 3 ) ) = 3 2 ,
val λ ( s 2 ) = 1 , \operatorname{val}_{\lambda}(s_2) = 1, val λ ( s 2 ) = 1 ,
val λ ( s 3 ) = 1 6 . \operatorname{val}_{\lambda}(s_3) = \frac{1}{6}. val λ ( s 3 ) = 6 1 .
Candidate 1: Independent truncation. A natural candidate is to truncate every value independently to a power-series number with few terms, and to shift all values by a common amount to obtain a lower bound. Formally, for ℓ ∈ N \ell\in\mathbb{N} ℓ ∈ N and c ∈ R c \in\mathbb{R} c ∈ R , the candidate lower bound is L : = Trunc ℓ ∘ val λ − c ⋅ 1 ⃗ L := \operatorname{Trunc}_{\ell} \circ\operatorname{val}_{\lambda} - c \cdot\vec{1} L := Trunc ℓ ∘ val λ − c ⋅ 1 , where Trunc ℓ \operatorname{Trunc}_{\ell} Trunc ℓ is the truncation of Theorem 5.3. This candidate fails in Theorem 6.6, because it truncates the double exponentially close values of s 2 s_2 s 2 and s 3 s_3 s 3 to the same number, whereas the inequalities of shrinking bounds require a positive difference between their bounds. Indeed, every function L L L with L ⪯ Ψ P ( L ) L \preceq\Psi_P(L) L ⪯ Ψ P ( L ) satisfies L ( s 2 ) ≤ Ψ P ( L ) ( s 2 ) = λ L ( s 3 ) L(s_2) \le\Psi_P(L)(s_2) = \lambda L(s_3) L ( s 2 ) ≤ Ψ P ( L ) ( s 2 ) = λ L ( s 3 ) , i.e.,
L ( s 3 ) − L ( s 2 ) ≥ ( 1 − λ ) L ( s 3 ) . L(s_3) - L(s_2) \ge(1-\lambda)L(s_3). L ( s 3 ) − L ( s 2 ) ≥ ( 1 − λ ) L ( s 3 ) .
However, since 1 − λ = 2 − 2 B λ 1-\lambda=2^{-2^{B_\lambda}} 1 − λ = 2 − 2 B λ , the binary expansions of val λ ( s 2 ) \operatorname{val}_\lambda(s_2) val λ ( s 2 ) and val λ ( s 3 ) \operatorname{val}_\lambda(s_3) val λ ( s 3 ) coincide in their first 2 B λ − 2 2^{B_\lambda}-2 2 B λ − 2 digits. Moreover, the closeness at s 3 s_3 s 3 , i.e., L ( s 3 ) ≥ val λ ( s 3 ) − ϵ L(s_3)\ge\operatorname{val}_\lambda(s_3)-\epsilon L ( s 3 ) ≥ val λ ( s 3 ) − ϵ , implies c ≤ ϵ < 1 4 c\le\epsilon<\frac{1}{4} c ≤ ϵ < 4 1 . Hence, for all ℓ ≤ 2 B λ − 3 \ell\le2^{B_\lambda}-3 ℓ ≤ 2 B λ − 3 , the candidate satisfies L ( s 2 ) = L ( s 3 ) > 0 L(s_2)=L(s_3)>0 L ( s 2 ) = L ( s 3 ) > 0 , and therefore it violates the inequality above. This suggests that the bounds of different states should be chosen jointly.
Candidate 2: Shifts by order. To choose the bounds of different states jointly, a natural candidate is to shift the values down by amounts that increase as the values decrease, which preserves the order of the values, and to truncate the shifted values within the slack Ψ P ( L ) − L \Psi_P(L)-L Ψ P ( L ) − L that the shifts create. Formally, for η > 0 \eta>0 η > 0 and c : S → R > 0 c:S\to\mathbb{R}_{>0} c : S → R > 0 such that c ( s ′ ) ≥ ( 1 + η ) c ( s ) c(s')\ge(1+\eta)c(s) c ( s ′ ) ≥ ( 1 + η ) c ( s ) for all states s , s ′ s,s' s , s ′ with val λ ( s ′ ) < val λ ( s ) \operatorname{val}_\lambda(s')<\operatorname{val}_\lambda(s) val λ ( s ′ ) < val λ ( s ) , the candidate lower bound is obtained by truncating val λ − c \operatorname{val}_\lambda-c val λ − c . This candidate fails in Theorem 6.6, because the slack at s 1 s_1 s 1 is double exponentially small compared to the shifts, and hence the candidate either violates L ⪯ Ψ P ( L ) L\preceq\Psi_P(L) L ⪯ Ψ P ( L ) or requires truncation with an absolute precision. Indeed, consider L : = val λ − c L:=\operatorname{val}_\lambda-c L := val λ − c before truncation. Since val λ ( s 2 ) < val λ ( s 1 ) \operatorname{val}_\lambda(s_2)<\operatorname{val}_\lambda(s_1) val λ ( s 2 ) < val λ ( s 1 ) , we have c ( s 2 ) ≥ ( 1 + η ) c ( s 1 ) c(s_2)\ge(1+\eta)c(s_1) c ( s 2 ) ≥ ( 1 + η ) c ( s 1 ) , and therefore
Ψ P ( L ) ( s 1 ) − L ( s 1 ) = ( 1 − λ ) + λ L ( s 2 ) − L ( s 1 ) (definition of Ψ P ) = c ( s 1 ) − λ c ( s 2 ) ( L = val λ − c , val λ = Ψ P ( val λ ) ) ≤ ( 1 − λ ( 1 + η ) ) c ( s 1 ) ( c ( s 2 ) ≥ ( 1 + η ) c ( s 1 ) ). \begin{aligned}
\Psi_P(L)(s_1)-L(s_1)&=(1-\lambda)+\lambda L(s_2)-L(s_1) &&\text{(definition of }\Psi_P\text{)}\\
&=c(s_1)-\lambda c(s_2) &&\text{(}L=\operatorname{val}_\lambda-c,\ \operatorname{val}_\lambda=\Psi_P(\operatorname{val}_\lambda)\text{)}\\
&\le(1-\lambda(1+\eta))c(s_1) &&\text{(}c(s_2)\ge(1+\eta)c(s_1)\text{).}
\end{aligned} Ψ P ( L ) ( s 1 ) − L ( s 1 ) = ( 1 − λ ) + λ L ( s 2 ) − L ( s 1 ) = c ( s 1 ) − λ c ( s 2 ) ≤ ( 1 − λ ( 1 + η )) c ( s 1 ) (definition of Ψ P ) ( L = val λ − c , val λ = Ψ P ( val λ ) ) ( c ( s 2 ) ≥ ( 1 + η ) c ( s 1 ) ).
Hence, if η > 1 − λ λ \eta>\frac{1-\lambda}{\lambda} η > λ 1 − λ , e.g., if η > 2 1 − 2 B λ \eta>2^{1-2^{B_\lambda}} η > 2 1 − 2 B λ , then L L L violates L ⪯ Ψ P ( L ) L\preceq\Psi_P(L) L ⪯ Ψ P ( L ) already before truncation. Otherwise, the slack at s 1 s_1 s 1 is at most ( 1 − λ ) c ( s 1 ) = 2 − 2 B λ c ( s 1 ) (1-\lambda)c(s_1)=2^{-2^{B_\lambda}}c(s_1) ( 1 − λ ) c ( s 1 ) = 2 − 2 B λ c ( s 1 ) , and hence the truncation requires an absolute precision of 2 − 2 B λ c ( s 1 ) 2^{-2^{B_\lambda}}c(s_1) 2 − 2 B λ c ( s 1 ) , whereas power-series numbers with few terms only guarantee a relative precision (Theorem 5.3). This suggests that the bounds should be built from the gaps between consecutive values, truncated with a relative precision.
Candidate 3: Greedy construction. Following these observations, a natural candidate is to process the distinct values in decreasing order, and to obtain the bound of every value from the bound of the previous value by subtracting the gap between the two values, truncated with a fixed relative precision. Formally, let v 1 > v 2 > ⋯ > v J v_1>v_2>\cdots>v_J v 1 > v 2 > ⋯ > v J be the distinct values of P P P , and, for j ≥ 2 j\ge2 j ≥ 2 , let g j : = v j − 1 − v j g_j:=v_{j-1}-v_j g j := v j − 1 − v j be the gap between consecutive values and d j : = Trunc ℓ ( g j ) d_j:=\operatorname{Trunc}_\ell(g_j) d j := Trunc ℓ ( g j ) its truncation, where Trunc ℓ \operatorname{Trunc}_\ell Trunc ℓ is the truncation of Theorem 5.3. Then, for c ∈ R c\in\mathbb{R} c ∈ R , the candidate lower bound is L ( s ) : = v 1 − c − ∑ i = 2 j d i L(s):=v_1-c-\sum_{i=2}^{j}d_i L ( s ) := v 1 − c − ∑ i = 2 j d i for all states s s s with val λ ( s ) = v j \operatorname{val}_\lambda(s)=v_j val λ ( s ) = v j . These bounds have polynomial size, since every gap is truncated with a relative precision and the gaps are at least double exponentially small (Theorem 6.9). This candidate fails in Theorem 6.7, because the gaps are truncated with different relative errors, and hence the lower bound is not a convex function of the values. Indeed, the values are v 1 = 1 v_1=1 v 1 = 1 , v 2 = 2 3 v_2=\frac{2}{3} v 2 = 3 2 , and v 3 = 1 6 v_3=\frac{1}{6} v 3 = 6 1 . The first gap g 2 = 1 3 g_2=\frac{1}{3} g 2 = 3 1 is not a power-series number, and hence d 2 = 1 3 − ρ d_2=\frac{1}{3}-\rho d 2 = 3 1 − ρ for some ρ ≥ 1 2 2 − ( ℓ + 1 ) \rho\ge\frac{1}{2}2^{-(\ell+1)} ρ ≥ 2 1 2 − ( ℓ + 1 ) , whereas the second gap g 3 = 1 2 g_3=\frac{1}{2} g 3 = 2 1 is truncated exactly, i.e., d 3 = 1 2 d_3=\frac{1}{2} d 3 = 2 1 . Then, we have L ( s 2 ) = 1 − c L(s_2)=1-c L ( s 2 ) = 1 − c , L ( s 1 ) = 2 3 − c + ρ L(s_1)=\frac{2}{3}-c+\rho L ( s 1 ) = 3 2 − c + ρ , and L ( s 3 ) = 1 6 − c + ρ L(s_3)=\frac{1}{6}-c+\rho L ( s 3 ) = 6 1 − c + ρ , and therefore
L ( s 1 ) − Ψ P ( L ) ( s 1 ) = 2 3 − c + ρ − ( 1 − λ ) 2 3 − λ ( 3 5 ( 1 − c ) + 2 5 ( 1 6 − c + ρ ) ) = ( 1 − 2 5 ) ρ − ( 1 − λ ) c . L(s_1)-\Psi_P(L)(s_1)=\frac{2}{3}-c+\rho-(1-\lambda)\frac{2}{3}-\lambda\left(\frac{3}{5}(1-c)+\frac{2}{5}\left(\frac{1}{6}-c+\rho\right)\right)=\left(1-\frac{2}{5}\right)\rho-(1-\lambda)c. L ( s 1 ) − Ψ P ( L ) ( s 1 ) = 3 2 − c + ρ − ( 1 − λ ) 3 2 − λ ( 5 3 ( 1 − c ) + 5 2 ( 6 1 − c + ρ ) ) = ( 1 − 5 2 ) ρ − ( 1 − λ ) c .
Moreover, the closeness at s 2 s_2 s 2 , i.e., 1 − ε ≤ L ( s 2 ) ≤ 1 1-\varepsilon\le L(s_2) \le1 1 − ε ≤ L ( s 2 ) ≤ 1 , implies 0 ≤ c ≤ ε < 1 0 \le c \le\varepsilon< 1 0 ≤ c ≤ ε < 1 . Hence, since 1 − 2 λ ≥ 2 3 1-\frac{2}{\lambda} \ge\frac{2}{3} 1 − λ 2 ≥ 3 2 , for all ℓ ≤ 2 B λ − 5 \ell\le2^{B_\lambda}-5 ℓ ≤ 2 B λ − 5 , the candidate violates L ⪯ Ψ P ( L ) L \preceq\Psi_P(L) L ⪯ Ψ P ( L ) . Note that, as a function of the values, the bounds have the slope 1 1 1 between 1 6 \frac{1}{6} 6 1 and 2 3 \frac{2}{3} 3 2 , and the smaller slope 1 − 3 ρ 1-3\rho 1 − 3 ρ between 2 3 \frac{2}{3} 3 2 and 1 1 1 .
Our construction. Our construction in § 6.4 also builds the lower bound from the truncated gaps between consecutive values, but it multiplies the gaps by increasing factors before truncation. Hence, the slopes increase, i.e., the lower bound is a convex function of the values. Then, Jensen’s inequality yields L ⪯ Ψ P ( L ) L \preceq\Psi_P(L) L ⪯ Ψ P ( L ) (Theorem 6.8).
Power-Series Representable ε \varepsilon ε -Close Shrinking Interval Bounds in MDPs
In this subsection, we show that every MDP with a discounted-sum objective has power-series representable ε \varepsilon ε -close shrinking interval bounds (Theorem 6.10). To do so, we apply a convex piecewise-linear function to the value function to obtain a lower bound, and we obtain the upper bound symmetrically.
(Convex transformations) We show that, for every non-decreasing convex function f f f with f ( x ) ≤ x f(x) \le x f ( x ) ≤ x , the function L : = f ∘ val λ L := f \circ\operatorname{val}_\lambda L := f ∘ val λ satisfies L ⪯ Ψ P ( L ) L \preceq\Psi_P(L) L ⪯ Ψ P ( L ) (Theorem 6.8).
(Separation of values) We show that two distinct values of an MDP differ by at least a double exponentially small amount (Theorem 6.9).
(Power-series representable interval bounds) We choose f f f piecewise linear with breakpoints at the values. Its increments between consecutive values are the gaps between these values, multiplied by increasing factors and truncated with a fixed relative precision, which makes f f f convex (Theorem 6.10). The truncation requires few terms regardless of how small the gaps are, and Theorem 6.9 bounds the exponents, so the lower bound is power-series representable.
In contrast to the candidates of § 6.3 , these bounds satisfy the inequalities of shrinking bounds exactly, regardless of how close the values are.
Lemma 6.8 (Convex transformations). For p ∈ { 1 , 2 } p \in\{1,2\} p ∈ { 1 , 2 } , let P P P be a player-p p p MDP with a reward function and a discount factor λ \lambda λ , and let f : [ 0 , 1 ] → R f\colon[0,1] \to\mathbb{R} f : [ 0 , 1 ] → R be a non-decreasing convex function such that f ( x ) ≤ x f(x) \le x f ( x ) ≤ x for all x ∈ [ 0 , 1 ] x \in[0,1] x ∈ [ 0 , 1 ] . Then, f ∘ val λ ⪯ Ψ P ( f ∘ val λ ) f \circ\operatorname{val}_\lambda\preceq\Psi_P(f \circ\operatorname{val}_\lambda) f ∘ val λ ⪯ Ψ P ( f ∘ val λ ) .
Proof. Note that val λ \operatorname{val}_\lambda val λ takes values in [ 0 , 1 ] [0,1] [ 0 , 1 ] , since rewards are in [ 0 , 1 ] [0,1] [ 0 , 1 ] . Consider a state s ∈ S s \in S s ∈ S . If p = 1 p=1 p = 1 , let a ∈ A a \in A a ∈ A be an action that attains the maximum in the definition of Ψ P ( val λ ) ( s ) \Psi_P(\operatorname{val}_\lambda)(s) Ψ P ( val λ ) ( s ) , and if p = 2 p=2 p = 2 , let a ∈ A a \in A a ∈ A be an arbitrary action. Since val λ = Ψ P ( val λ ) \operatorname{val}_\lambda= \Psi_P(\operatorname{val}_\lambda) val λ = Ψ P ( val λ ) , in both cases, we have
val λ ( s ) ≤ ( 1 − λ ) r ( s , a ) + λ ∑ s ′ ∈ S δ ( s , a ) ( s ′ ) val λ ( s ′ ) . \operatorname{val}_\lambda(s) \le(1-\lambda)r(s,a) + \lambda\sum_{s' \in S} \delta(s,a)(s')\operatorname{val}_\lambda(s'). val λ ( s ) ≤ ( 1 − λ ) r ( s , a ) + λ s ′ ∈ S ∑ δ ( s , a ) ( s ′ ) val λ ( s ′ ) .
Therefore, we have
f ( val λ ( s ) ) ≤ f ( ( 1 − λ ) r ( s , a ) + λ ∑ s ′ ∈ S δ ( s , a ) ( s ′ ) val λ ( s ′ ) ) ( f is non-decreasing ) ≤ ( 1 − λ ) f ( r ( s , a ) ) + λ ∑ s ′ ∈ S δ ( s , a ) ( s ′ ) f ( val λ ( s ′ ) ) ( f is convex , δ ( s , a ) ∈ Δ ( S ) ) ≤ ( 1 − λ ) r ( s , a ) + λ ∑ s ′ ∈ S δ ( s , a ) ( s ′ ) f ( val λ ( s ′ ) ) ( f ( x ) ≤ x ) . (5) \begin{aligned}
f(\operatorname{val}_\lambda(s)) &\le f\left((1-\lambda)r(s,a) + \lambda\sum_{s' \in S} \delta(s,a)(s')\operatorname{val}_\lambda(s')\right) && (f\text{ is non-decreasing})\\
&\le(1-\lambda)f(r(s,a)) + \lambda\sum_{s' \in S} \delta(s,a)(s')f(\operatorname{val}_\lambda(s')) && (f\text{ is convex},\ \delta(s,a) \in\Delta(S))\\
&\le(1-\lambda)r(s,a) + \lambda\sum_{s' \in S} \delta(s,a)(s')f(\operatorname{val}_\lambda(s')) && (f(x) \le x). \tag*{(5)}
\end{aligned} f ( val λ ( s )) ≤ f ( ( 1 − λ ) r ( s , a ) + λ s ′ ∈ S ∑ δ ( s , a ) ( s ′ ) val λ ( s ′ ) ) ≤ ( 1 − λ ) f ( r ( s , a )) + λ s ′ ∈ S ∑ δ ( s , a ) ( s ′ ) f ( val λ ( s ′ )) ≤ ( 1 − λ ) r ( s , a ) + λ s ′ ∈ S ∑ δ ( s , a ) ( s ′ ) f ( val λ ( s ′ )) ( f is non-decreasing ) ( f is convex , δ ( s , a ) ∈ Δ ( S )) ( f ( x ) ≤ x ) . (5)
It remains to compare the right-hand side of Equation (5) with Ψ P ( f ∘ val λ ) ( s ) \Psi_P(f \circ\operatorname{val}_\lambda)(s) Ψ P ( f ∘ val λ ) ( s ) . If p = 1 p=1 p = 1 , then we have
f ( val λ ( s ) ) ≤ ( 1 − λ ) r ( s , a ) + λ ∑ s ′ ∈ S δ ( s , a ) ( s ′ ) f ( val λ ( s ′ ) ) ≤ max a ′ ∈ A ( ( 1 − λ ) r ( s , a ′ ) + λ ∑ s ′ ∈ S δ ( s , a ′ ) ( s ′ ) f ( val λ ( s ′ ) ) ) = Ψ P ( f ∘ val λ ) ( s ) \begin{aligned}
f(\operatorname{val}_{\lambda}(s)) \le(1-\lambda)r(s,a)+\lambda\sum_{s'\in S}\delta(s,a)(s')f(\operatorname{val}_{\lambda}(s')) \\
&\le\max_{a'\in A}\left((1-\lambda)r(s,a')+\lambda\sum_{s'\in S}\delta(s,a')(s')f(\operatorname{val}_{\lambda}(s'))\right) \\
&= \Psi_P(f\circ\operatorname{val}_{\lambda})(s)
\end{aligned} f ( val λ ( s )) ≤ ( 1 − λ ) r ( s , a ) + λ s ′ ∈ S ∑ δ ( s , a ) ( s ′ ) f ( val λ ( s ′ )) ≤ a ′ ∈ A max ( ( 1 − λ ) r ( s , a ′ ) + λ s ′ ∈ S ∑ δ ( s , a ′ ) ( s ′ ) f ( val λ ( s ′ )) ) = Ψ P ( f ∘ val λ ) ( s )
If p = 2 p=2 p = 2 , then Equation (5) holds for every action a ∈ A a\in A a ∈ A , since a a a is arbitrary, and therefore we have
f ( val λ ( s ) ) ≤ min a ∈ A ( ( 1 − λ ) r ( s , a ) + λ ∑ s ′ ∈ S δ ( s , a ) ( s ′ ) f ( val λ ( s ′ ) ) ) = Ψ P ( f ∘ val λ ) ( s ) \begin{aligned}
f(\operatorname{val}_{\lambda}(s))\le\min_{a\in A}\left((1-\lambda)r(s,a)+\lambda\sum_{s'\in S}\delta(s,a)(s')f(\operatorname{val}_{\lambda}(s'))\right) \\
&= \Psi_P(f\circ\operatorname{val}_{\lambda})(s)
\end{aligned} f ( val λ ( s )) ≤ a ∈ A min ( ( 1 − λ ) r ( s , a ) + λ s ′ ∈ S ∑ δ ( s , a ) ( s ′ ) f ( val λ ( s ′ )) ) = Ψ P ( f ∘ val λ ) ( s )
which completes the proof.
To bound the size of the representation of the interval bounds, we use that distinct values of an MDP cannot be arbitrarily close. Bounds of this kind are standard, see, e.g., [18 ] and [2 Theorem 23] . For completeness, we present the proof with an explicit bound in terms of the succinct discount factor.
Lemma 6.9 (Separation of values). For p ∈ { 1 , 2 } p\in\{1,2\} p ∈ { 1 , 2 } , let P P P be a player- p p p MDP with a reward function r r r and a succinct discount factor λ = 1 − 2 − 2 B λ \lambda=1-2^{-2^{B_{\lambda}}} λ = 1 − 2 − 2 B λ . Let B P ∈ N 0 B_P\in\mathbb{N}_0 B P ∈ N 0 be such that all rewards and transition probabilities of P P P have a common denominator at most 2 2 B P 2^{2^{B_P}} 2 2 B P , and let
B s e p : = B λ + B P + 2 ⌈ log n ⌉ + 1. B_{\mathrm{sep}}:=B_{\lambda}+B_P+2\lceil\log n\rceil+1. B sep := B λ + B P + 2 ⌈ log n ⌉ + 1. Then, two distinct elements of { val λ ( s ) ∣ s ∈ S } ∪ { 0 , 1 } \{\operatorname{val}_{\lambda}(s)\mid s\in S\}\cup\{0,1\} { val λ ( s ) ∣ s ∈ S } ∪ { 0 , 1 } differ by at least 2 − 2 B s e p 2^{-2^{B_{\mathrm{sep}}}} 2 − 2 B sep .
Proof. Let π \pi π be an optimal pure stationary strategy in P P P [50 , 30 ] , i.e., val λ P = val λ P π \operatorname{val}_{\lambda}^{P}=\operatorname{val}_{\lambda}^{P_{\pi}} val λ P = val λ P π . Let Q ≤ 2 2 B P Q\le2^{2^{B_P}} Q ≤ 2 2 B P be a common denominator of all rewards and transition probabilities of P P P . First, we write val λ \operatorname{val}_{\lambda} val λ as the solution of a linear system with integer coefficients. For every state s ∈ S s\in S s ∈ S , we have
2 2 B λ Q val λ ( s ) = 2 2 B λ Q ( ( 1 − λ ) r ( s , π ( s ) ) + λ ∑ s ′ ∈ S δ ( s , π ( s ) ) ( s ′ ) val λ ( s ′ ) ) = Q r ( s , π ( s ) ) + ( 2 2 B λ − 1 ) ∑ s ′ ∈ S Q δ ( s , π ( s ) ) ( s ′ ) val λ ( s ′ ) . \begin{aligned}
2^{2^{B_{\lambda}}}Q\operatorname{val}_{\lambda}(s)=2^{2^{B_{\lambda}}}Q\left((1-\lambda)r(s,\pi(s))+\lambda\sum_{s'\in S}\delta(s,\pi(s))(s')\operatorname{val}_{\lambda}(s')\right) \\
&=Qr(s,\pi(s))+(2^{2^{B_{\lambda}}}-1)\sum_{s'\in S}Q\delta(s,\pi(s))(s')\operatorname{val}_{\lambda}(s').
\end{aligned} 2 2 B λ Q val λ ( s ) = 2 2 B λ Q ( ( 1 − λ ) r ( s , π ( s )) + λ s ′ ∈ S ∑ δ ( s , π ( s )) ( s ′ ) val λ ( s ′ ) ) = Q r ( s , π ( s )) + ( 2 2 B λ − 1 ) s ′ ∈ S ∑ Q δ ( s , π ( s )) ( s ′ ) val λ ( s ′ ) .
Therefore, the vector x = val λ x=\operatorname{val}_{\lambda} x = val λ is a solution of the linear system A x = c Ax=c A x = c with the following equation for every state s ∈ S s\in S s ∈ S
2 2 B λ Q x s − ( 2 2 B λ − 1 ) ∑ s ′ ∈ S Q δ ( s , π ( s ) ) ( s ′ ) x s ′ = Q r ( s , π ( s ) ) . (6) 2^{2^{B_{\lambda}}}Qx_s-(2^{2^{B_{\lambda}}}-1)\sum_{s'\in S}Q\delta(s,\pi(s))(s')x_{s'}=Qr(s,\pi(s)). \tag*{(6)} 2 2 B λ Q x s − ( 2 2 B λ − 1 ) s ′ ∈ S ∑ Q δ ( s , π ( s )) ( s ′ ) x s ′ = Q r ( s , π ( s )) . (6)
By the choice of Q Q Q , the matrix A A A and the vector c c c have integer entries. Moreover, dividing Equation (6) by $2^{2^{B_{\lambda}}}Q$ yields the fixed-point equations of the Bellman operator of P π P_{\pi} P π , whose unique solution is val λ \operatorname{val}_{\lambda} val λ . Hence, val λ \operatorname{val}_{\lambda} val λ is the unique solution of A x = c Ax=c A x = c , and therefore A A A is invertible. Moreover, since Q r ( s , π ( s ) ) Qr(s,\pi(s)) Q r ( s , π ( s )) and Q δ ( s , π ( s ) ) ( s ′ ) Q\delta(s,\pi(s))(s') Q δ ( s , π ( s )) ( s ′ ) are in [ 0 , Q ] [0,Q] [ 0 , Q ] and Q ≤ 2 2 B P Q\le2^{2^{B_P}} Q ≤ 2 2 B P , all entries of A A A and c c c are at most 2 2 B λ + 2 B P 2^{2^{B_{\lambda}}+2^{B_P}} 2 2 B λ + 2 B P in absolute value. Second, we bound the common denominator of the solution. By Cramer’s rule, for all states s ∈ S s\in S s ∈ S , we have x s = det ( A s ) / det ( A ) x_s=\det(A_s)/\det(A) x s = det ( A s ) / det ( A ) , where A s A_s A s is obtained from $A by replacing the column of s s s with c c c . Both determinants are integers. Since every row of A A A has n n n entries, we have
∣ det ( A ) ∣ ≤ ( n ⋅ 2 2 B λ + 2 B P ) n (Hadamard’s inequality) ≤ 2 n ( 2 B λ + 2 B P + ⌈ log n ⌉ ) ( n ≤ 2 ⌈ log n ⌉ ) ≤ 2 2 ⌈ log n ⌉ ( 2 B λ + B P + 1 + ⌈ log n ⌉ ) ( n ≤ 2 ⌈ log n ⌉ , 2 a + 2 b ≤ 2 a + b + 1 ) ≤ 2 2 ⌈ log n ⌉ ⋅ 2 B λ + B P + 1 + ⌈ log n ⌉ ( 2 a + b ≤ 2 a + b ) = 2 2 B s e p (definition of B s e p ). \begin{aligned}
|\det(A)| &\le\left(\sqrt{n}\cdot2^{2B_\lambda+2B_P}\right)^n &&\text{(Hadamard's inequality)}\\
&\le2^{n(2B_\lambda+2B_P+\lceil\log n\rceil)} &&\text{(}\sqrt{n}\le2^{\lceil\log n\rceil}\text{)}\\
&\le2^{2^{\lceil\log n\rceil}(2B_\lambda+B_P+1+\lceil\log n\rceil)} &&\text{(}\,n\le2^{\lceil\log n\rceil},\ 2^a+2^b\le2^{a+b+1}\text{)}\\
&\le2^{2^{\lceil\log n\rceil}\cdot2^{B_\lambda+B_P+1+\lceil\log n\rceil}} &&\text{(}\,2^a+b\le2^{a+b}\text{)}\\
&=2^{2^{B_{\mathrm{sep}}}} &&\text{(definition of }B_{\mathrm{sep}}\text{).}
\end{aligned} ∣ det ( A ) ∣ ≤ ( n ⋅ 2 2 B λ + 2 B P ) n ≤ 2 n ( 2 B λ + 2 B P + ⌈ l o g n ⌉) ≤ 2 2 ⌈ l o g n ⌉ ( 2 B λ + B P + 1 + ⌈ l o g n ⌉) ≤ 2 2 ⌈ l o g n ⌉ ⋅ 2 B λ + B P + 1 + ⌈ l o g n ⌉ = 2 2 B sep (Hadamard’s inequality) ( n ≤ 2 ⌈ l o g n ⌉ ) ( n ≤ 2 ⌈ l o g n ⌉ , 2 a + 2 b ≤ 2 a + b + 1 ) ( 2 a + b ≤ 2 a + b ) (definition of B sep ).
Lastly, define q : = ∣ det ( A ) ∣ ≤ 2 2 B s e p q:=|\det(A)|\le2^{2^{B_{\mathrm{sep}}}} q := ∣ det ( A ) ∣ ≤ 2 2 B sep . Then, q ⋅ val λ ( s ) = ± det ( A s ) q\cdot\operatorname{val}_{\lambda}(s)=\pm\det(A_s) q ⋅ val λ ( s ) = ± det ( A s ) is an integer for all states s ∈ S s\in S s ∈ S . For two distinct elements v , v ′ v,v' v , v ′ of { val λ ( s ) ∣ s ∈ S } ∪ { 0 , 1 } \{\operatorname{val}_{\lambda}(s)\mid s\in S\}\cup\{0,1\} { val λ ( s ) ∣ s ∈ S } ∪ { 0 , 1 } , the numbers q ⋅ v q\cdot v q ⋅ v and q ⋅ v ′ q\cdot v' q ⋅ v ′ are distinct integers, and therefore ∣ v − v ′ ∣ ≥ 1 / q ≥ 2 − 2 B s e p |v-v'|\ge1/q\ge2^{-2^{B_{\mathrm{sep}}}} ∣ v − v ′ ∣ ≥ 1/ q ≥ 2 − 2 B sep , which completes the proof.
We are now ready to state the main result of this subsection.
Lemma 6.10 (Power-series representable interval bounds in MDPs). For p ∈ { 1 , 2 } p\in\{1,2\} p ∈ { 1 , 2 } , let P P P be a player-p p p MDP with a reward function and a succinct discount factor λ = 1 − 2 − 2 B λ \lambda=1-2^{-2^{B_\lambda}} λ = 1 − 2 − 2 B λ , and let B P ∈ N 0 B_P\in\mathbb{N}_0 B P ∈ N 0 and B s e p B_{\mathrm{sep}} B sep be as defined in Theorem 6.9. Let ε = 2 − B ε ∈ ( 0 , 1 ) \varepsilon=2^{-B_\varepsilon}\in(0,1) ε = 2 − B ε ∈ ( 0 , 1 ) , and let
ℓ b n d : = ( n + 1 ) ( B ε + ⌈ log ( n + 1 ) ⌉ + 8 ) + 1 and B b n d : = B s e p + B ε + ⌈ log ( n + 1 ) ⌉ + 10. \ell_{\mathrm{bnd}}:=(n+1)(B_\varepsilon+\lceil\log(n+1)\rceil+8)+1
\qquad\text{and}\qquad
B_{\mathrm{bnd}}:=B_{\mathrm{sep}}+B_\varepsilon+\lceil\log(n+1)\rceil+10. ℓ bnd := ( n + 1 ) ( B ε + ⌈ log ( n + 1 )⌉ + 8 ) + 1 and B bnd := B sep + B ε + ⌈ log ( n + 1 )⌉ + 10. Then, there exists an ε \varepsilon ε -close shrinking interval bound I = ( L , U ) I=(L,U) I = ( L , U ) such that L ( s ) , U ( s ) ∈ F ( ℓ b n d , B b n d ) L(s),U(s)\in\mathcal{F}(\ell_{\mathrm{bnd}},B_{\mathrm{bnd}}) L ( s ) , U ( s ) ∈ F ( ℓ bnd , B bnd ) for all states s ∈ S s\in S s ∈ S .
Proof. We construct the lower bound L L L by applying a convex function f f f to the value function, and the upper bound U U U by applying the same construction to a dual MDP. The function f f f is piecewise linear, and its breakpoints are the values of P P P , i.e., f f f is linear between every two consecutive values. Hence, f f f is determined by f ( 0 ) = 0 f(0)=0 f ( 0 ) = 0 and its increments , i.e., the differences between the values of f f f at consecutive values of P P P . The proof consists of the following four steps.
(Increments) We choose every increment by truncating the gap between the corresponding consecutive values, scaled by a factor, to a power-series number. For f f f to be convex, its slopes must increase from left to right. Truncation to power-series numbers decreases every slope slightly. Therefore, before truncation, we multiply every gap by a factor slightly smaller than one, and these factors increase from left to right by more than the truncation decreases the slopes. Hence, the slopes of f f f are close to one, at most one, and increasing, and therefore f f f is convex.
(Lower bound) We show that L : = f ∘ val λ L:=f\circ\operatorname{val}_{\lambda} L := f ∘ val λ satisfies L ⪯ Ψ P ( L ) L\preceq\Psi_P(L) L ⪯ Ψ P ( L ) , approximates val λ \operatorname{val}_{\lambda} val λ up to ε 2 \frac{\varepsilon}{2} 2 ε , and is power-series representable.
(Upper bound) We apply the construction to the MDP with rewards 1 − r 1-r 1 − r and the opposite player, whose value function is 1 ⃗ − val λ \vec{1}-\operatorname{val}_{\lambda} 1 − val λ , and we obtain the upper bound U U U .
(Interval bound) We show that ( L , U ) (L,U) ( L , U ) is an ε \varepsilon ε -close shrinking interval bound.
We now prove each step.
(Increments) Let 0 = v 0 < v 1 < ⋯ < v J = 1 0=v_0<v_1<\cdots<v_J=1 0 = v 0 < v 1 < ⋯ < v J = 1 be the distinct elements of { val λ ( s ) ∣ s ∈ S } ∪ { 0 , 1 } \{\operatorname{val}_{\lambda}(s)\mid s\in S\}\cup\{0,1\} { val λ ( s ) ∣ s ∈ S } ∪ { 0 , 1 } , and, for j ∈ [ J ] j\in[J] j ∈ [ J ] , let g j : = v j − v j − 1 g_j:=v_j-v_{j-1} g j := v j − v j − 1 be the gap between consecutive values. Note that J ≤ n + 1 J\le n+1 J ≤ n + 1 and, by Theorem 6.9, g j ≥ 2 − 2 B s e p g_j\ge2^{-2^{B_{\mathrm{sep}}}} g j ≥ 2 − 2 B sep for all j ∈ [ J ] j\in[J] j ∈ [ J ] . Let ℓ i n c : = B ε + ⌈ log ( n + 1 ) ⌉ + 8 \ell_{\mathrm{inc}}:=B_\varepsilon+\lceil\log(n+1)\rceil+8 ℓ inc := B ε + ⌈ log ( n + 1 )⌉ + 8
be the number of terms of every increment in power-series representation. Then, we have
2 1 − ℓ i n c = ε ⋅ 2 − ⌈ log ( n + 1 ) ⌉ − 7 (definition of ℓ i n c , ε = 2 − B ε ) ≤ ε 128 ( n + 1 ) ( n + 1 ≤ 2 ⌈ log ( n + 1 ) ⌉ ) ≤ ε 128 J ( J ≤ n + 1 ) . (7) \begin{aligned}
2^{1-\ell_{\mathrm{inc}}} &= \varepsilon\cdot2^{-\lceil\log(n+1)\rceil-7} &&\text{(definition of }\ell_{\mathrm{inc}}\text{, }\varepsilon=2^{-B_\varepsilon}\text{)}\\
&\le\frac{\varepsilon}{128(n+1)} &&(n+1 \le2^{\lceil\log(n+1)\rceil})\\
&\le\frac{\varepsilon}{128J} &&(J \le n+1). \tag*{(7)}
\end{aligned} 2 1 − ℓ inc = ε ⋅ 2 − ⌈ l o g ( n + 1 )⌉ − 7 ≤ 128 ( n + 1 ) ε ≤ 128 J ε (definition of ℓ inc , ε = 2 − B ε ) ( n + 1 ≤ 2 ⌈ l o g ( n + 1 )⌉ ) ( J ≤ n + 1 ) . (7)
For j ∈ [ J ] j \in[J] j ∈ [ J ] , define the factor γ j : = 1 − ε 4 + 2 3 − ℓ i n c j \gamma_j := 1-\frac{\varepsilon}{4}+2^{3-\ell_{\mathrm{inc}}}j γ j := 1 − 4 ε + 2 3 − ℓ inc j by which we multiply the gap g j g_j g j before truncation. Then, we have γ j ≥ 1 − ε 4 > 1 2 \gamma_j \ge1-\frac{\varepsilon}{4} > \frac{1}{2} γ j ≥ 1 − 4 ε > 2 1 and
γ j ≤ γ J ( j ≤ J ) = 1 − ε 4 + 4 ⋅ 2 1 − ℓ i n c J (definition of γ J ) ≤ 1 − ε 4 + ε 32 (Equation (7)) < 1. \begin{aligned}
\gamma_j &\le\gamma_J &&(j \le J)\\
&=1-\frac{\varepsilon}{4}+4\cdot2^{1-\ell_{\mathrm{inc}}}J &&\text{(definition of }\gamma_J\text{)}\\
&\le1-\frac{\varepsilon}{4}+\frac{\varepsilon}{32} &&\text{(Equation (7))}\\
&<1.
\end{aligned} γ j ≤ γ J = 1 − 4 ε + 4 ⋅ 2 1 − ℓ inc J ≤ 1 − 4 ε + 32 ε < 1. ( j ≤ J ) (definition of γ J ) (Equation (7))
Since 1 2 < γ j < 1 \frac{1}{2}<\gamma_j<1 2 1 < γ j < 1 and 2 − 2 B s e p ≤ g j ≤ 1 2^{-2B_{\mathrm{sep}}}\le g_j\le1 2 − 2 B sep ≤ g j ≤ 1 , we have γ j g j ∈ ( 2 − 2 B s e p − 1 , 1 ] \gamma_jg_j\in(2^{-2B_{\mathrm{sep}}-1},1] γ j g j ∈ ( 2 − 2 B sep − 1 , 1 ] . Moreover, since B b n d = B s e p + ℓ i n c + 2 B_{\mathrm{bnd}}=B_{\mathrm{sep}}+\ell_{\mathrm{inc}}+2 B bnd = B sep + ℓ inc + 2 and 2 a + b ≥ 2 a + b 2^{a+b}\ge2^a+b 2 a + b ≥ 2 a + b for all a , b ∈ N 0 a,b\in\mathbb{N}_0 a , b ∈ N 0 , we have 2 B b n d ≥ 2 B s e p + ℓ i n c + 2 2^{B_{\mathrm{bnd}}}\ge2^{B_{\mathrm{sep}}+\ell_{\mathrm{inc}}+2} 2 B bnd ≥ 2 B sep + ℓ inc + 2 , and therefore γ j g j ∈ ( 2 ℓ i n c − 2 B b n d , 1 ] \gamma_jg_j\in(2^{\ell_{\mathrm{inc}}-2^{B_{\mathrm{bnd}}}},1] γ j g j ∈ ( 2 ℓ inc − 2 B bnd , 1 ] . By Theorem 5.3, the increment d j : = Trunc ℓ i n c ( γ j g j ) d_j:=\operatorname{Trunc}_{\ell_{\mathrm{inc}}}(\gamma_jg_j) d j := Trunc ℓ inc ( γ j g j ) satisfies d j ∈ F + ( ℓ i n c , B b n d ) d_j\in\mathcal{F}_+(\ell_{\mathrm{inc}},B_{\mathrm{bnd}}) d j ∈ F + ( ℓ inc , B bnd ) and
( 1 − 2 1 − ℓ i n c ) γ j g j ≤ d j ≤ γ j g j . (8) (1-2^{1-\ell_{\mathrm{inc}}})\gamma_jg_j\le d_j\le\gamma_jg_j. \tag*{(8)} ( 1 − 2 1 − ℓ inc ) γ j g j ≤ d j ≤ γ j g j . (8)
We now show that the ratios d j / g j d_j/g_j d j / g j are close to one and increasing in j j j . On the one hand, for all j ∈ [ J ] j\in[J] j ∈ [ J ] , we have d j / g j ≤ γ j < 1 d_j/g_j\le\gamma_j<1 d j / g j ≤ γ j < 1 and
d j g j ≥ ( 1 − 2 1 − ℓ i n c ) γ j (xref‘Equation (8)‘) ≥ ( 1 − 2 1 − ℓ i n c ) ( 1 − ε 4 ) ( γ j ≥ 1 − ε 4 ) ≥ 1 − ε 4 − 2 1 − ℓ i n c ≥ 1 − ε 2 (xref‘Equation (7)‘) . \begin{aligned}
\frac{d_j}{g_j}&\ge(1-2^{1-\ell_{\mathrm{inc}}})\gamma_j &&\text{({xref}`Equation (8)`)}\\
&\ge(1-2^{1-\ell_{\mathrm{inc}}})\left(1-\frac{\varepsilon}{4}\right)&&\left(\gamma_j\ge1-\frac{\varepsilon}{4}\right)\\
&\ge1-\frac{\varepsilon}{4}-2^{1-\ell_{\mathrm{inc}}}\\
&\ge1-\frac{\varepsilon}{2}&&\text{({xref}`Equation (7)`)}.
\end{aligned} g j d j ≥ ( 1 − 2 1 − ℓ inc ) γ j ≥ ( 1 − 2 1 − ℓ inc ) ( 1 − 4 ε ) ≥ 1 − 4 ε − 2 1 − ℓ inc ≥ 1 − 2 ε ( xref ‘Equation (8)‘) ( γ j ≥ 1 − 4 ε ) ( xref ‘Equation (7)‘) .
On the other hand, for all j ∈ [ J − 1 ] j\in[J-1] j ∈ [ J − 1 ] , we have
d j g j ≤ γ j (xref‘Equation (8)‘) = ( 1 − 2 1 − ℓ i n c ) γ j + 1 − 2 1 − ℓ i n c ( 4 − γ j + 1 ) ( γ j + 1 − γ j = 4 ⋅ 2 1 − ℓ i n c ) < ( 1 − 2 1 − ℓ i n c ) γ j + 1 ( γ j + 1 < 1 ) ≤ d j + 1 g j + 1 (xref‘Equation (8)‘) . \begin{aligned}
\frac{d_j}{g_j}&\le\gamma_j &&\text{({xref}`Equation (8)`)}\\
&=(1-2^{1-\ell_{\mathrm{inc}}})\gamma_{j+1}-2^{1-\ell_{\mathrm{inc}}}(4-\gamma_{j+1})&&(\gamma_{j+1}-\gamma_j=4\cdot2^{1-\ell_{\mathrm{inc}}})\\
&<(1-2^{1-\ell_{\mathrm{inc}}})\gamma_{j+1}&&(\gamma_{j+1}<1)\\
&\le\frac{d_{j+1}}{g_{j+1}}&&\text{({xref}`Equation (8)`)}.
\end{aligned} g j d j ≤ γ j = ( 1 − 2 1 − ℓ inc ) γ j + 1 − 2 1 − ℓ inc ( 4 − γ j + 1 ) < ( 1 − 2 1 − ℓ inc ) γ j + 1 ≤ g j + 1 d j + 1 ( xref ‘Equation (8)‘) ( γ j + 1 − γ j = 4 ⋅ 2 1 − ℓ inc ) ( γ j + 1 < 1 ) ( xref ‘Equation (8)‘) .
Therefore, we have
1 − ε 2 ≤ d 1 g 1 < d 2 g 2 < ⋯ < d J g J ≤ 1. (9) 1-\frac{\varepsilon}{2}\le\frac{d_1}{g_1}<\frac{d_2}{g_2}<\cdots<\frac{d_J}{g_J}\le1. \tag*{(9)} 1 − 2 ε ≤ g 1 d 1 < g 2 d 2 < ⋯ < g J d J ≤ 1. (9)
(Lower bound) Let f : [ 0 , 1 ] → R f:[0,1]\to\mathbb{R} f : [ 0 , 1 ] → R be the continuous piecewise-linear function that is linear on [ v j − 1 , v j ] [v_{j-1},v_j] [ v j − 1 , v j ] for all j ∈ [ J ] j\in[J] j ∈ [ J ] and satisfies, for all j ∈ { 0 , 1 , … , J } j\in\{0,1,\ldots,J\} j ∈ { 0 , 1 , … , J } ,
f ( v j ) = ∑ l = 1 j d l . f(v_j)=\sum_{l=1}^{j}d_l. f ( v j ) = l = 1 ∑ j d l .
Then, the slope of f f f on [ v j − 1 , v j ] [v_{j-1},v_j] [ v j − 1 , v j ] is d j / g j d_j/g_j d j / g j . By Equation (9) , the slopes are positive and increasing, and therefore f f f is non-decreasing and convex. Moreover, since f ( 0 ) = 0 f(0)=0 f ( 0 ) = 0 and all slopes are at most 1, we have f ( x ) ≤ x f(x)\le x f ( x ) ≤ x for all x ∈ [ 0 , 1 ] x\in[0,1] x ∈ [ 0 , 1 ] . Define L : = f ∘ val λ L:=f\circ\operatorname{val}_\lambda L := f ∘ val λ . First, by Theorem 6.8, we have L ⪯ Ψ P ( L ) L\preceq\Psi_P(L) L ⪯ Ψ P ( L ) . Second, for every state s s s , let j j j be such that val λ ( s ) = v j \operatorname{val}_\lambda(s)=v_j val λ ( s ) = v j . Then, we have
val λ ( s ) − L ( s ) = ∑ l = 1 j g l − ∑ l = 1 j d l ( v j = ∑ l = 1 j g l , definition of f ) = ∑ l = 1 j ( 1 − d l g l ) g l ≤ ε 2 ∑ l = 1 j g l (xref‘Equation (9)‘) = ε 2 v j ≤ ε 2 ( v j ≤ 1 ) . \begin{aligned}
\operatorname{val}_\lambda(s)-L(s)
&=\sum_{l=1}^{j}g_l-\sum_{l=1}^{j}d_l &&(v_j=\sum_{l=1}^{j}g_l,\ \text{definition of }f)\\
&=\sum_{l=1}^{j}\left(1-\frac{d_l}{g_l}\right)g_l\\
&\le\frac{\varepsilon}{2}\sum_{l=1}^{j}g_l &&\text{({xref}`Equation (9)`)}\\
&=\frac{\varepsilon}{2}v_j\\
&\le\frac{\varepsilon}{2} &&(v_j\le1).
\end{aligned} val λ ( s ) − L ( s ) = l = 1 ∑ j g l − l = 1 ∑ j d l = l = 1 ∑ j ( 1 − g l d l ) g l ≤ 2 ε l = 1 ∑ j g l = 2 ε v j ≤ 2 ε ( v j = l = 1 ∑ j g l , definition of f ) ( xref ‘Equation (9)‘) ( v j ≤ 1 ) .
Moreover, by Equation (9) , we have ∑ l = 1 j ( 1 − d l / g l ) g l ≥ 0 \sum_{l=1}^{j}(1-d_l/g_l)g_l\ge0 ∑ l = 1 j ( 1 − d l / g l ) g l ≥ 0 , i.e., L ( s ) ≤ val λ ( s ) L(s)\le\operatorname{val}_\lambda(s) L ( s ) ≤ val λ ( s ) . Lastly, L ( s ) L(s) L ( s ) is the sum of at most J ≤ n + 1 J\le n+1 J ≤ n + 1 elements of F + ( ℓ i n c , B b n d ) \mathcal{F}^{+}(\ell_{\mathrm{inc}},B_{\mathrm{bnd}}) F + ( ℓ inc , B bnd ) . Therefore, by Theorem 5.1, we have L ( s ) ∈ F ( ( n + 1 ) ℓ i n c , B b n d ) ⊆ F ( ℓ b n d , B b n d ) L(s)\in\mathcal{F}((n+1)\ell_{\mathrm{inc}},B_{\mathrm{bnd}})\subseteq\mathcal{F}(\ell_{\mathrm{bnd}},B_{\mathrm{bnd}}) L ( s ) ∈ F (( n + 1 ) ℓ inc , B bnd ) ⊆ F ( ℓ bnd , B bnd ) .
(Upper bound ) Consider the player-( 3 − p ) (3-\mathfrak{p}) ( 3 − p ) MDP P ′ P' P ′ with the same states, actions, transition function, and discount factor as P P P , and with the reward function 1 − r 1-r 1 − r . Denote by op ‾ \overline{\operatorname{op}} op the operator of P ′ P' P ′ , i.e., op ‾ = min \overline{\operatorname{op}}=\min op = min if op = max \operatorname{op}=\max op = max , and op ‾ = max \overline{\operatorname{op}}=\max op = max if op = min \operatorname{op}=\min op = min . First, we relate the Bellman operators of P P P and P ′ P' P ′ . For every function ρ : S → R \rho:S\to\mathbb{R} ρ : S → R and state s ∈ S s\in S s ∈ S , we have
Ψ P ′ ( ρ ) ( s ) = op ‾ a ∈ A ( ( 1 − λ ) ( 1 − r ( s , a ) ) + λ ∑ s ′ ∈ S δ ( s , a ) ( s ′ ) ρ ( s ′ ) ) ( definition of Ψ P ′ ) = op ‾ a ∈ A ( 1 − ( 1 − λ ) r ( s , a ) − λ ∑ s ′ ∈ S δ ( s , a ) ( s ′ ) ( 1 − ρ ( s ′ ) ) ) ( δ ( s , a ) ∈ Δ ( S ) ) = 1 − op a ∈ A ( ( 1 − λ ) r ( s , a ) + λ ∑ s ′ ∈ S δ ( s , a ) ( s ′ ) ( 1 − ρ ( s ′ ) ) ) ( definition of op ‾ ) = 1 − Ψ P ( 1 ⃗ − ρ ) ( s ) ( definition of Ψ P ) . \begin{aligned}
\Psi_{P'}(\rho)(s)
&=\overline{\operatorname{op}}_{a\in A}\left((1-\lambda)(1-r(s,a))+\lambda\sum_{s'\in S}\delta(s,a)(s')\rho(s')\right)
&&(\text{definition of }\Psi_{P'})\\
&=\overline{\operatorname{op}}_{a\in A}\left(1-(1-\lambda)r(s,a)-\lambda\sum_{s'\in S}\delta(s,a)(s')(1-\rho(s'))\right)
&&(\delta(s,a)\in\Delta(S))\\
&=1-\operatorname{op}_{a\in A}\left((1-\lambda)r(s,a)+\lambda\sum_{s'\in S}\delta(s,a)(s')(1-\rho(s'))\right)
&&(\text{definition of }\overline{\operatorname{op}})\\
&=1-\Psi_P(\vec{1}-\rho)(s)
&&(\text{definition of }\Psi_P).
\end{aligned} Ψ P ′ ( ρ ) ( s ) = op a ∈ A ( ( 1 − λ ) ( 1 − r ( s , a )) + λ s ′ ∈ S ∑ δ ( s , a ) ( s ′ ) ρ ( s ′ ) ) = op a ∈ A ( 1 − ( 1 − λ ) r ( s , a ) − λ s ′ ∈ S ∑ δ ( s , a ) ( s ′ ) ( 1 − ρ ( s ′ )) ) = 1 − op a ∈ A ( ( 1 − λ ) r ( s , a ) + λ s ′ ∈ S ∑ δ ( s , a ) ( s ′ ) ( 1 − ρ ( s ′ )) ) = 1 − Ψ P ( 1 − ρ ) ( s ) ( definition of Ψ P ′ ) ( δ ( s , a ) ∈ Δ ( S )) ( definition of op ) ( definition of Ψ P ) .
Therefore, for every function ρ : S → R \rho:S\to\mathbb{R} ρ : S → R , we have
Ψ P ′ ( ρ ) = 1 ⃗ − Ψ P ( 1 ⃗ − ρ ) . (10) \Psi_{P'}(\rho)=\vec{1}-\Psi_P(\vec{1}-\rho). \tag*{(10)} Ψ P ′ ( ρ ) = 1 − Ψ P ( 1 − ρ ) . (10)
In particular, 1 ⃗ − val λ P \vec{1}-\operatorname{val}_\lambda^P 1 − val λ P is a fixed point of Ψ P ′ \Psi_{P'} Ψ P ′ , i.e., val λ P ′ = 1 ⃗ − val λ P \operatorname{val}_\lambda^{P'}=\vec{1}-\operatorname{val}_\lambda^P val λ P ′ = 1 − val λ P . Moreover, a common denominator of all rewards and transition probabilities of P P P is also a common denominator of all rewards and transition probabilities of P ′ P' P ′ , and therefore P ′ P' P ′ satisfies the assumptions of the lemma with the same B P B_P B P . Second, by the previous items applied to P ′ P' P ′ , there exists a function L ′ : S → R L':S\to\mathbb{R} L ′ : S → R such that L ′ ⪯ Ψ P ′ ( L ′ ) L'\preceq\Psi_{P'}(L') L ′ ⪯ Ψ P ′ ( L ′ ) , val λ P ′ − ε 2 ⋅ 1 ⃗ ⪯ L ′ ⪯ val λ P ′ \operatorname{val}_\lambda^{P'}-\frac{\varepsilon}{2}\cdot\vec{1}\preceq L'\preceq\operatorname{val}_\lambda^{P'} val λ P ′ − 2 ε ⋅ 1 ⪯ L ′ ⪯ val λ P ′ , and L ′ ( s ) ∈ F ( ( n + 1 ) ℓ i n c , B b n d ) L'(s)\in\mathcal{F}((n+1)\ell_{\mathrm{inc}},B_{\mathrm{bnd}}) L ′ ( s ) ∈ F (( n + 1 ) ℓ inc , B bnd ) for all states s s s . Define U : = 1 ⃗ − L ′ U:=\vec{1}-L' U := 1 − L ′ . Then, we have
Ψ P ( U ) = Ψ P ( 1 ⃗ − L ′ ) ( definition of U ) = 1 ⃗ − Ψ P ′ ( L ′ ) ( xref‘Equation (10)‘ ) ⪯ 1 ⃗ − L ′ ( L ′ ⪯ Ψ P ′ ( L ′ ) ) = U . \begin{aligned}
\Psi_P(U)&=\Psi_P(\vec{1}-L') &&(\text{definition of }U)\\
&=\vec{1}-\Psi_{P'}(L') &&(\text{{xref}`Equation (10)`})\\
&\preceq\vec{1}-L' &&(L'\preceq\Psi_{P'}(L'))\\
&=U.
\end{aligned} Ψ P ( U ) = Ψ P ( 1 − L ′ ) = 1 − Ψ P ′ ( L ′ ) ⪯ 1 − L ′ = U . ( definition of U ) ( xref ‘Equation (10)‘ ) ( L ′ ⪯ Ψ P ′ ( L ′ ))
Moreover, since U − val λ P = val λ P ′ − L ′ U-\operatorname{val}^{P}_{\lambda}=\operatorname{val}^{P'}_{\lambda}-L' U − val λ P = val λ P ′ − L ′ , we have val λ P ⪯ U ⪯ val λ P + ε 2 ⋅ 1 ⃗ \operatorname{val}^{P}_{\lambda}\preceq U\preceq\operatorname{val}^{P}_{\lambda}+\frac{\varepsilon}{2}\cdot\vec{1} val λ P ⪯ U ⪯ val λ P + 2 ε ⋅ 1 . Lastly, for every state s s s , since U ( s ) = 2 − 0 − L ′ ( s ) U(s)=2^{-0}-L'(s) U ( s ) = 2 − 0 − L ′ ( s ) , by Theorem 5.1, we have U ( s ) ∈ F ( ( n + 1 ) ℓ i n c + 1 , B b n d ) = F ( ℓ b n d , B b n d ) U(s)\in\mathcal{F}((n+1)\ell_{\mathrm{inc}}+1,B_{\mathrm{bnd}})=\mathcal{F}(\ell_{\mathrm{bnd}},B_{\mathrm{bnd}}) U ( s ) ∈ F (( n + 1 ) ℓ inc + 1 , B bnd ) = F ( ℓ bnd , B bnd ) .
(Interval bound) By the previous items, we have L ⪯ val λ ⪯ U L\preceq\operatorname{val}_{\lambda}\preceq U L ⪯ val λ ⪯ U , and therefore I = ( L , U ) I=(L,U) I = ( L , U ) is an interval bound. Moreover, I I I is shrinking, since L ⪯ Ψ P ( L ) L\preceq\Psi_{P}(L) L ⪯ Ψ P ( L ) and Ψ P ( U ) ⪯ U \Psi_{P}(U)\preceq U Ψ P ( U ) ⪯ U . Lastly, I I I is ε \varepsilon ε -close, since U ( s ) − L ( s ) ≤ ε 2 + ε 2 = ε U(s)-L(s)\le\frac{\varepsilon}{2}+\frac{\varepsilon}{2}=\varepsilon U ( s ) − L ( s ) ≤ 2 ε + 2 ε = ε for all states s ∈ S s\in S s ∈ S , which completes the proof.
Proof of Theorem 5.8
In this subsection, we prove Theorem 5.8 by combining Theorems 6.5, 6.9 and 6.10.
Proof of Theorem 5.8 . We construct the witness in four steps.
(Strategies) Let ℓ s t r \ell_{\mathrm{str}} ℓ str and B s t r B_{\mathrm{str}} B str be the constants of Theorem 6.5 for the additive error ε 4 = 2 − ( B ε + 2 ) \frac{\varepsilon}{4}=2^{-(B_{\varepsilon}+2)} 4 ε = 2 − ( B ε + 2 ) , i.e.,
ℓ s t r : = B ε + ⌈ log ( n + 2 ) ⌉ + ⌈ log m ⌉ + 7 and B s t r : = B λ + B ε + ⌈ log m ⌉ + ℓ s t r + 5. \ell_{\mathrm{str}}:=B_{\varepsilon}+\lceil\log(n+2)\rceil+\lceil\log m\rceil+7
\qquad\text{and}\qquad
B_{\mathrm{str}}:=B_{\lambda}+B_{\varepsilon}+\lceil\log m\rceil+\ell_{\mathrm{str}}+5. ℓ str := B ε + ⌈ log ( n + 2 )⌉ + ⌈ log m ⌉ + 7 and B str := B λ + B ε + ⌈ log m ⌉ + ℓ str + 5.
By Theorem 6.5, there exist ε 4 \frac{\varepsilon}{4} 4 ε -optimal stationary strategies σ \sigma σ and τ \tau τ such that σ ( s ) , τ ( s ) ∈ D ( m ℓ s t r , B s t r ) \sigma(s),\tau(s)\in\mathcal{D}(m^{\ell_{\mathrm{str}}},B_{\mathrm{str}}) σ ( s ) , τ ( s ) ∈ D ( m ℓ str , B str ) for all states s ∈ S s\in S s ∈ S . Since σ \sigma σ and τ \tau τ are ε 4 \frac{\varepsilon}{4} 4 ε -optimal, for all states s ∈ S s\in S s ∈ S , we have
val λ ( s ) − ε 4 ≤ val λ G σ ( s ) ≤ val λ ( s ) ≤ val λ G τ ( s ) ≤ val λ ( s ) + ε 4 . (11) \operatorname{val}_{\lambda}(s)-\frac{\varepsilon}{4}\le\operatorname{val}^{G_{\sigma}}_{\lambda}(s)\le\operatorname{val}_{\lambda}(s)\le\operatorname{val}^{G_{\tau}}_{\lambda}(s)\le\operatorname{val}_{\lambda}(s)+\frac{\varepsilon}{4}. \tag*{(11)} val λ ( s ) − 4 ε ≤ val λ G σ ( s ) ≤ val λ ( s ) ≤ val λ G τ ( s ) ≤ val λ ( s ) + 4 ε . (11)
(Common denominator) Let Q ≤ 2 B i n p n m 2 ( n + 1 ) Q\le2^{B_{\mathrm{inp}}nm^{2}(n+1)} Q ≤ 2 B inp n m 2 ( n + 1 ) be the product of the denominators of all rewards and transition probabilities of G G G , and let B P : = B s t r + B i n p n m 2 ( n + 1 ) B_{P}:=B_{\mathrm{str}}+B_{\mathrm{inp}}nm^{2}(n+1) B P := B str + B inp n m 2 ( n + 1 ) . For all states s s s and actions a a a , the exponents of σ ( s ) ( a ) ∈ F + ( m ℓ s t r , B s t r ) \sigma(s)(a)\in\mathcal{F}_{+}(m^{\ell_{\mathrm{str}}},B_{\mathrm{str}}) σ ( s ) ( a ) ∈ F + ( m ℓ str , B str ) are less than 2 B s t r 2^{B_{\mathrm{str}}} 2 B str , and therefore σ ( s ) ( a ) \sigma(s)(a) σ ( s ) ( a ) is an integer multiple of 2 − 2 B s t r 2^{-2^{B_{\mathrm{str}}}} 2 − 2 B str . Moreover, all rewards and transition probabilities of G G G are integer multiples of 1 / Q 1/Q 1/ Q . By the definition of G σ G_{\sigma} G σ , its rewards and transition probabilities are sums of products of these numbers, e.g., r σ ( s , b ) = ∑ a ∈ A σ ( s ) ( a ) r ( s , a , b ) r_{\sigma}(s,b)=\sum_{a\in A}\sigma(s)(a)r(s,a,b) r σ ( s , b ) = ∑ a ∈ A σ ( s ) ( a ) r ( s , a , b ) . Therefore, all rewards and transition probabilities of G σ G_{\sigma} G σ are integer multiples of 1 / ( 2 2 B s t r Q ) 1/(2^{2^{B_{\mathrm{str}}}}Q) 1/ ( 2 2 B str Q ) , where
2 2 B s t r Q ≤ 2 2 B s t r + B i n p n m 2 ( n + 1 ) 2^{2^{B_{\mathrm{str}}}}Q\le2^{2^{B_{\mathrm{str}}}+B_{\mathrm{inp}}nm^{2}(n+1)} 2 2 B str Q ≤ 2 2 B str + B inp n m 2 ( n + 1 )
≤ 2 2 B P = 2 2 B P . \begin{aligned}
\le2^{2^{B_{P}}} \\
&=2^{2^{B_{P}}}.
\end{aligned} ≤ 2 2 B P = 2 2 B P .
The same holds for G τ G_{\tau} G τ . Hence, G σ G_{\sigma} G σ and G τ G_{\tau} G τ satisfy the assumptions of Theorem 6.9 with B P B_{P} B P , and B s e p = B λ + B P + 2 ⌈ log n ⌉ + 1 B_{\mathrm{sep}}=B_{\lambda}+B_{P}+2\lceil\log n\rceil+1 B sep = B λ + B P + 2 ⌈ log n ⌉ + 1 as defined there.
ℓ b n d : = ( n + 1 ) ( B ε + ⌈ log ( n + 1 ) ⌉ + 10 ) + 1 and B b n d : = B s e p + B ε + ⌈ log ( n + 1 ) ⌉ + 12. \ell_{\mathrm{bnd}}:=(n+1)(B_{\varepsilon}+\lceil\log(n+1)\rceil+10)+1
\qquad\text{and}\qquad
B_{\mathrm{bnd}}:=B_{\mathrm{sep}}+B_{\varepsilon}+\lceil\log(n+1)\rceil+12. ℓ bnd := ( n + 1 ) ( B ε + ⌈ log ( n + 1 )⌉ + 10 ) + 1 and B bnd := B sep + B ε + ⌈ log ( n + 1 )⌉ + 12.
By Theorem 6.10, there exist ε 4 \frac{\varepsilon}{4} 4 ε -close shrinking interval bounds ( L σ , U σ ) (L_{\sigma},U_{\sigma}) ( L σ , U σ ) of G σ G_{\sigma} G σ and ( L τ , U τ ) (L_{\tau},U_{\tau}) ( L τ , U τ ) of G τ G_{\tau} G τ whose entries are in F ( ℓ b n d , B b n d ) \mathcal{F}(\ell_{\mathrm{bnd}},B_{\mathrm{bnd}}) F ( ℓ bnd , B bnd ) . Since these interval bounds are shrinking, by Theorem 5.5, for all states s ∈ S s\in S s ∈ S , we have
L σ ( s ) ≤ val λ G σ ( s ) ≤ U σ ( s ) and L τ ( s ) ≤ val λ G τ ( s ) ≤ U τ ( s ) . (12) L_{\sigma}(s)\le\operatorname{val}^{G_{\sigma}}_{\lambda}(s)\le U_{\sigma}(s)
\qquad\text{and}\qquad
L_{\tau}(s)\le\operatorname{val}^{G_{\tau}}_{\lambda}(s)\le U_{\tau}(s). \tag*{(12)} L σ ( s ) ≤ val λ G σ ( s ) ≤ U σ ( s ) and L τ ( s ) ≤ val λ G τ ( s ) ≤ U τ ( s ) . (12)
I σ : = ( L σ , U σ + ε 4 ⋅ 1 ⃗ ) and I τ : = ( L τ − ε 4 ⋅ 1 ⃗ , U τ ) . I_{\sigma}:=\left(L_{\sigma},U_{\sigma}+\frac{\varepsilon}{4}\cdot\vec{1}\right)
\qquad\text{and}\qquad
I_{\tau}:=\left(L_{\tau}-\frac{\varepsilon}{4}\cdot\vec{1},U_{\tau}\right). I σ := ( L σ , U σ + 4 ε ⋅ 1 ) and I τ := ( L τ − 4 ε ⋅ 1 , U τ ) .
Since L σ ⪯ U σ ⪯ U σ + ε 4 ⋅ 1 ⃗ L_\sigma\preceq U_\sigma\preceq U_\sigma+ \frac{\varepsilon}{4} \cdot\vec{1} L σ ⪯ U σ ⪯ U σ + 4 ε ⋅ 1 and L τ − ε 4 ⋅ 1 ⃗ ⪯ L τ ⪯ U τ L_\tau- \frac{\varepsilon}{4} \cdot\vec{1} \preceq L_\tau\preceq U_\tau L τ − 4 ε ⋅ 1 ⪯ L τ ⪯ U τ , the pairs I σ I_\sigma I σ and I τ I_\tau I τ are interval bounds. We show that ( σ , τ , I σ , I τ ) (\sigma, \tau, I_\sigma, I_\tau) ( σ , τ , I σ , I τ ) is a witness of polynomial size. First, we show that I σ I_\sigma I σ and I τ I_\tau I τ are shrinking. For every MDP P P P , function ρ : S → R \rho: S \to\mathbb{R} ρ : S → R , and constant c ∈ R c \in\mathbb{R} c ∈ R , since the transition probabilities from every state and action sum to one, we have
Ψ P ( ρ + c ⋅ 1 ⃗ ) = Ψ P ( ρ ) + λ c ⋅ 1 ⃗ . (13) \Psi_P(\rho+ c \cdot\vec{1}) = \Psi_P(\rho) + \lambda c \cdot\vec{1}. \tag*{(13)} Ψ P ( ρ + c ⋅ 1 ) = Ψ P ( ρ ) + λ c ⋅ 1 . (13)
Therefore, we have
Ψ G σ ( U σ + ε 4 ⋅ 1 ⃗ ) = Ψ G σ ( U σ ) + λ ε 4 ⋅ 1 ⃗ \Psi_{G_\sigma}\left(U_\sigma+ \frac{\varepsilon}{4} \cdot\vec{1}\right) = \Psi_{G_\sigma}(U_\sigma) + \lambda\frac{\varepsilon}{4} \cdot\vec{1} Ψ G σ ( U σ + 4 ε ⋅ 1 ) = Ψ G σ ( U σ ) + λ 4 ε ⋅ 1
((13) )
⪯ U σ + λ ε 4 ⋅ 1 ⃗ \preceq U_\sigma+ \lambda\frac{\varepsilon}{4} \cdot\vec{1} ⪯ U σ + λ 4 ε ⋅ 1
( ( L σ , U σ ) ((L_\sigma, U_\sigma) (( L σ , U σ ) is shrinking)
⪯ U σ + ε 4 ⋅ 1 ⃗ \preceq U_\sigma+ \frac{\varepsilon}{4} \cdot\vec{1} ⪯ U σ + 4 ε ⋅ 1
( λ < 1 ) (\lambda< 1) ( λ < 1 ) .
Moreover, since ( L σ , U σ ) (L_\sigma, U_\sigma) ( L σ , U σ ) is shrinking, we have L σ ⪯ Ψ G σ ( L σ ) L_\sigma\preceq\Psi_{G_\sigma}(L_\sigma) L σ ⪯ Ψ G σ ( L σ ) , and hence I σ I_\sigma I σ is shrinking. Symmetrically, I τ I_\tau I τ is shrinking. Second, I σ I_\sigma I σ and I τ I_\tau I τ are ε 2 \frac{\varepsilon}{2} 2 ε -close, since ( L σ , U σ ) (L_\sigma, U_\sigma) ( L σ , U σ ) and ( L τ , U τ ) (L_\tau, U_\tau) ( L τ , U τ ) are ε 4 \frac{\varepsilon}{4} 4 ε -close, and the widening adds ε 4 \frac{\varepsilon}{4} 4 ε . Third, we show that I σ I_\sigma I σ and I τ I_\tau I τ intersect. For every state s ∈ S s \in S s ∈ S , we have
L σ ( s ) ≤ val λ G σ ( s ) ≤ val λ ( s ) ≤ val λ G σ ( s ) + ε 4 ≤ U σ ( s ) + ε 4 . \begin{aligned}
L_\sigma(s) &\leq\operatorname{val}^{G_\sigma}_\lambda(s) \\
&\leq\operatorname{val}_\lambda(s) \\
&\leq\operatorname{val}^{G_\sigma}_\lambda(s) + \frac{\varepsilon}{4} \\
&\leq U_\sigma(s) + \frac{\varepsilon}{4}.
\end{aligned} L σ ( s ) ≤ val λ G σ ( s ) ≤ val λ ( s ) ≤ val λ G σ ( s ) + 4 ε ≤ U σ ( s ) + 4 ε .
i.e., val λ ( s ) \operatorname{val}_\lambda(s) val λ ( s ) is in the interval of I σ I_\sigma I σ at s s s . Symmetrically, val λ ( s ) \operatorname{val}_\lambda(s) val λ ( s ) is in the interval of I τ I_\tau I τ at $s, and hence I σ I_\sigma I σ and I τ I_\tau I τ intersect. Lastly, we bound the size of the witness. Since ε 4 = 2 − ( B ε + 2 ) \frac{\varepsilon}{4} = 2^{-(B_\varepsilon+2)} 4 ε = 2 − ( B ε + 2 ) and $2^{B_{\mathrm{bnd}}} > B_\varepsilon + 2$, by Theorem 5.1, the entries of I σ I_\sigma I σ and I τ I_\tau I τ are in F ( ℓ b n d + 1 , B b n d ) \mathcal{F}(\ell_{\mathrm{bnd}}+1, B_{\mathrm{bnd}}) F ( ℓ bnd + 1 , B bnd ) . The strategies consist of at most 2 n m 2nm 2 nm probabilities in F ( m ℓ s t r , B s t r ) \mathcal{F}(m\ell_{\mathrm{str}}, B_{\mathrm{str}}) F ( m ℓ str , B str ) , and the interval bounds consist of 4 n 4n 4 n numbers in F ( ℓ b n d + 1 , B b n d ) \mathcal{F}(\ell_{\mathrm{bnd}} + 1, B_{\mathrm{bnd}}) F ( ℓ bnd + 1 , B bnd ) . Therefore, the witness has size O ( n m ( m ℓ s t r B s t r + ℓ b n d B b n d ) ) O(nm(m\ell_{\mathrm{str}}B_{\mathrm{str}} + \ell_{\mathrm{bnd}}B_{\mathrm{bnd}})) O ( nm ( m ℓ str B str + ℓ bnd B bnd )) . This size is polynomial in n n n , m m m , B i n p B_{\mathrm{inp}} B inp , B ε B_\varepsilon B ε , and B λ B_\lambda B λ , since ℓ s t r \ell_{\mathrm{str}} ℓ str , B s t r B_{\mathrm{str}} B str , B P B_P B P , B s e p B_{\mathrm{sep}} B sep , ℓ b n d \ell_{\mathrm{bnd}} ℓ bnd , and B b n d B_{\mathrm{bnd}} B bnd are polynomial in these parameters, which completes the proof.
Limit-Average and Reachability Objectives
In this section, we prove Theorem 3.1 . To do so, we first reduce reachability objectives to limit-average objectives. Then, we approximate the values of limit-average objectives by the values of discounted-sum objectives with a succinct discount factor, and we apply Theorem 3.2 .
Lemma 7.1 (Reachability as limit-average). Consider a game G G G with transition function δ \delta δ and a target set T T T . Let G T G_T G T be the game obtained from G G G by making every target state absorbing, i.e., the game with the transition function δ T \delta_T δ T , and let r T r_T r T be the reward function defined, for all states s s s and actions a a a , b b b , by
δ T ( s , a , b ) : = { 1 [ s ] s ∈ T , δ ( s , a , b ) otherwise , and r T ( s , a , b ) : = { 1 s ∈ T , 0 otherwise . \delta_T(s,a,b) :=
\begin{cases}
\mathbb{1}[s] & s \in T,\\
\delta(s,a,b) & \text{otherwise},
\end{cases}
\qquad\text{and}\qquad
r_T(s,a,b) :=
\begin{cases}
1 & s \in T,\\
0 & \text{otherwise}.
\end{cases} δ T ( s , a , b ) := { 1 [ s ] δ ( s , a , b ) s ∈ T , otherwise , and r T ( s , a , b ) := { 1 0 s ∈ T , otherwise . where 1 [ s ] \mathbb{1}[s] 1 [ s ] is the Dirac distribution on s s s . Then, for all states s ∈ S s \in S s ∈ S , we have val T G ( s ) = val G T ( s ) \operatorname{val}^{G}_T(s) = \operatorname{val}^{G_T}(s) val T G ( s ) = val G T ( s ) , where val G T \operatorname{val}^{G_T} val G T is the value of LimAvg ( r T ) \operatorname{LimAvg}(r_T) LimAvg ( r T ) in G T G_T G T . In particular, if every target state is absorbing in G G G , then G T = G G_T = G G T = G .
Proof. Every play of G T G_T G T either never visits T T T , and then all its rewards are 0 0 0 , or it visits T T T and stays there forever, and then its limit-average is 1 1 1 . Moreover, the plays of G G G and G T G_T G T coincide until the first visit to T T T . Therefore, for all states s ∈ S s \in S s ∈ S , we have val T G ( s ) = val G T ( s ) \operatorname{val}_T^G(s) = \operatorname{val}^{G_T}(s) val T G ( s ) = val G T ( s ) . Lastly, if every target state is absorbing in G G G , then δ T = δ \delta_T = \delta δ T = δ , i.e., G T = G G_T = G G T = G .
The value of a limit-average objective is the limit of the values of the discounted-sum objectives as the discount factor tends to one [44 ] . The following result bounds how close to one the discount factor needs to be so that the two values are close. It follows from [46 Theorem 3] , where we replace the minimal number min { ∣ A ∣ n , ∣ B ∣ n } \min\{|A|^n, |B|^n\} min { ∣ A ∣ n , ∣ B ∣ n } of pure stationary strategies of a player by its upper bound m n m^n m n , and the numbers of bits of n n n , m n m^n m n , and Q Q Q by their upper bounds ⌈ log n ⌉ + 1 \lceil\log n\rceil+ 1 ⌈ log n ⌉ + 1 , n ⌈ log m ⌉ + 1 n\lceil\log m\rceil+ 1 n ⌈ log m ⌉ + 1 , and B Q + 1 B_Q + 1 B Q + 1 , respectively, which only increases B λ B_\lambda B λ .
Lemma 7.2 ([46 Theorem 3] ). Let G G G be a game and r r r a reward function such that all transition probabilities and rewards are integer multiples of 1 / Q 1/Q 1/ Q , for a positive integer Q ≤ 2 B Q Q \le2^{B_Q} Q ≤ 2 B Q . Let ε = 2 − B ε \varepsilon= 2^{-B_\varepsilon} ε = 2 − B ε , and let
B λ : = ⌈ log ( 4 n m n ( ⌈ log n ⌉ + n ⌈ log m ⌉ + B Q + 3 ) + B ε n m n ) ⌉ . B_\lambda:= \left\lceil\log\left(4nm^n\left(\lceil\log n\rceil+ n\lceil\log m\rceil+ B_Q + 3\right) + B_\varepsilon nm^n\right)\right\rceil. B λ := ⌈ log ( 4 n m n ( ⌈ log n ⌉ + n ⌈ log m ⌉ + B Q + 3 ) + B ε n m n ) ⌉ . Then, for every discount factor λ ∈ [ 1 − 2 − 2 B λ , 1 ) \lambda\in[1 - 2^{-2^{B_\lambda}},1) λ ∈ [ 1 − 2 − 2 B λ , 1 ) and state s ∈ S s \in S s ∈ S , we have ∣ val λ ( s ) − val ( s ) ∣ ≤ ε |\operatorname{val}_\lambda(s) - \operatorname{val}(s)| \le\varepsilon ∣ val λ ( s ) − val ( s ) ∣ ≤ ε .
We are now ready to prove our main result.
Proof of Theorem 3.1 . By Theorem 7.1, since G T G_T G T and r T r_T r T are computed in polynomial time, it suffices to prove the result for limit-average objectives. Consider an instance ( G , ϕ ) (G,\phi) ( G , ϕ ) with a limit-average objective ϕ = LimAvg ( r ) \phi= \operatorname{LimAvg}(r) ϕ = LimAvg ( r ) , and an additive error ε = 2 − B ε \varepsilon= 2^{-B_\varepsilon} ε = 2 − B ε . We proceed in three steps.
(Discount factor) We construct, in polynomial time, a succinct discount factor λ \lambda λ such that the values of Disc ( r , λ ) \operatorname{Disc}(r,\lambda) Disc ( r , λ ) approximate the values of ϕ \phi ϕ up to ε 4 \frac{\varepsilon}{4} 4 ε . Let Q Q Q be the product of the denominators of all transition probabilities and rewards of G G G . Since there are n m 2 ( n + 1 ) nm^2(n+1) n m 2 ( n + 1 ) such numbers, each with a denominator at most 2 B i n p 2^{B_{\mathrm{inp}}} 2 B inp , we have Q ≤ 2 B Q Q \le2^{B_Q} Q ≤ 2 B Q for B Q : = B i n p n m 2 ( n + 1 ) B_Q := B_{\mathrm{inp}}nm^2(n+1) B Q := B inp n m 2 ( n + 1 ) . Let B λ B_\lambda B λ be the constant of Theorem 7.2 for the additive error ε 4 = 2 − ( B ε + 2 ) \frac{\varepsilon}{4} = 2^{-(B_\varepsilon+2)} 4 ε = 2 − ( B ε + 2 ) , i.e.,
B λ : = ⌈ log ( 4 n m n ( ⌈ log n ⌉ + n ⌈ log m ⌉ + B Q + 3 ) + ( B ε + 2 ) n m n ) ⌉ , B_\lambda:= \left\lceil\log\left(4nm^n\left(\lceil\log n\rceil+ n\lceil\log m\rceil+ B_Q + 3\right) + (B_\varepsilon+ 2)nm^n\right)\right\rceil, B λ := ⌈ log ( 4 n m n ( ⌈ log n ⌉ + n ⌈ log m ⌉ + B Q + 3 ) + ( B ε + 2 ) n m n ) ⌉ ,
and let λ : = 1 − 2 − 2 B λ \lambda:= 1 - 2^{-2^{B_\lambda}} λ := 1 − 2 − 2 B λ . Since log ( n m n ) = log n + n log m \log(nm^n) = \log n + n\log m log ( n m n ) = log n + n log m , and B Q B_Q B Q is polynomial in n n n , m m m , and B i n p B_{\mathrm{inp}} B inp , the bit-size B λ B_\lambda B λ is polynomial in n n n , m m m , B i n p B_{\mathrm{inp}} B inp , and B ε B_\varepsilon B ε , and it is computed in polynomial time. By Theorem 7.2, for all states s ∈ S s \in S s ∈ S , we have
∣ val λ ( s ) − val ( s ) ∣ ≤ ε 4 . (14) |\operatorname{val}_\lambda(s) - \operatorname{val}(s)| \le\frac{\varepsilon}{4}. \tag*{(14)} ∣ val λ ( s ) − val ( s ) ∣ ≤ 4 ε . (14)
(Value approximation) By Theorem 3.2 , the CsgApproxValue problem for the discounted-sum objective Disc ( r , λ ) \operatorname{Disc}(r,\lambda) Disc ( r , λ ) and the additive error ε 2 \frac{\varepsilon}{2} 2 ε reduces in polynomial time to a search problem in TFNP. Let v ^ \hat{v} v ^ be a solution of this problem, i.e., ∣ v ^ ( s ) − val λ ( s ) ∣ ≤ ε 2 |\hat{v}(s) - \operatorname{val}_\lambda(s)| \le\frac{\varepsilon}{2} ∣ v ^ ( s ) − val λ ( s ) ∣ ≤ 2 ε for all states s ∈ S s \in S s ∈ S . Then, for all states s ∈ S s \in S s ∈ S , we have
∣ v ^ ( s ) − val ( s ) ∣ ≤ ∣ v ^ ( s ) − val λ ( s ) ∣ + ∣ val λ ( s ) − val ( s ) ∣ (triangle inequality) ≤ ε 2 + ε 4 (choice of v ^ , Equation (14)) ≤ ε . \begin{aligned}
\lvert\hat{v}(s) - \operatorname{val}(s)\rvert&\le\lvert\hat{v}(s) - \operatorname{val}_{\lambda}(s)\rvert+ \lvert\operatorname{val}_{\lambda}(s) - \operatorname{val}(s)\rvert&& \text{(triangle inequality)}\\
&\le\frac{\varepsilon}{2} + \frac{\varepsilon}{4} && \text{(choice of }\hat{v}\text{, Equation (14))}\\
&\le\varepsilon.
\end{aligned} ∣ v ^ ( s ) − val ( s )∣ ≤ ∣ v ^ ( s ) − val λ ( s )∣ + ∣ val λ ( s ) − val ( s )∣ ≤ 2 ε + 4 ε ≤ ε . (triangle inequality) (choice of v ^ , Equation (14))
Therefore, the CsgApproxValue problem for ϕ \phi ϕ is in TFNP.
(Gap problem) Consider a state s s s and a threshold α \alpha α , and suppose that val ( s ) ≥ α + ε \operatorname{val}(s) \ge\alpha+ \varepsilon val ( s ) ≥ α + ε or val ( s ) ≤ α − ε \operatorname{val}(s) \le\alpha- \varepsilon val ( s ) ≤ α − ε , since otherwise every answer is correct. If val ( s ) ≥ α + ε \operatorname{val}(s) \ge\alpha+ \varepsilon val ( s ) ≥ α + ε , then we have
val λ ( s ) ≥ val ( s ) − ε 4 ≥ α + ε 2 ( val ( s ) ≥ α + ε ) . (15) \begin{aligned}
\operatorname{val}_{\lambda}(s) \ge\operatorname{val}(s) - \frac{\varepsilon}{4} \\
&\ge\alpha+ \frac{\varepsilon}{2} \qquad(\operatorname{val}(s) \ge\alpha+ \varepsilon). \tag*{(15)}
\end{aligned} val λ ( s ) ≥ val ( s ) − 4 ε ≥ α + 2 ε ( val ( s ) ≥ α + ε ) . (15)
Symmetrically, if val ( s ) ≤ α − ε \operatorname{val}(s) \le\alpha- \varepsilon val ( s ) ≤ α − ε , then we have val λ ( s ) ≤ α − ε 2 \operatorname{val}_{\lambda}(s) \le\alpha- \frac{\varepsilon}{2} val λ ( s ) ≤ α − 2 ε . Therefore, the instance has the same answer as the instance of the CsgGapValue problem for the discounted-sum objective Disc ( r , λ ) \operatorname{Disc}(r,\lambda) Disc ( r , λ ) with the same state, the same threshold, and the additive error ε 2 \frac{\varepsilon}{2} 2 ε , which is computed in polynomial time. By Theorem 3.2 , the CsgGapValue problem for ϕ \phi ϕ is in NP ∩ \cap ∩ coNP, which completes the proof.
Value Decision
In this section, we prove Theorem 4.1 , i.e., that the CsgDecision problem is PosSLP-hard and in ∃ R ∩ c o - ∃ R \exists\mathbb{R} \cap\mathrm{co}\text{-}\exists\mathbb{R} ∃ R ∩ co - ∃ R for limit-average and reachability objectives. We prove the lower bound in § 8.1 and the upper bound in § 8.2 .
Lower Bound
In this subsection, we prove the lower bound of Theorem 4.1 . To do so, we simulate straight-line programs by games whose centered values encode the integers computed by the programs.
Proof of the lower bound of Theorem 4.1 . We reduce PosSLP to the CsgDecision problem for reachability objectives. By Theorem 7.1, reachability objectives reduce in polynomial time to limit-average objectives with the same values, and the reduction preserves the transitions of games in which the target states are absorbing. Hence, the same holds for limit-average objectives. We construct a game G G G with the action sets A = { a 1 , a 2 } \mathcal{A} = \{a_1,a_2\} A = { a 1 , a 2 } and B = { b 1 , b 2 } \mathcal{B} = \{b_1,b_2\} B = { b 1 , b 2 } and two absorbing states ⊤ \top ⊤ and ⊥ \bot ⊥ , and we consider the target set T : = { ⊤ } T := \{\top\} T := { ⊤ } . We add the states one by one, and every new state moves only to previously added states. Hence, every play reaches ⊤ \top ⊤ or ⊥ \bot ⊥ after at most n n n steps. For every state s ∉ { ⊤ , ⊥ } s \notin\{\top,\bot\} s ∈ / { ⊤ , ⊥ } , let M s M_s M s be the 2 × 2 2 \times2 2 × 2 matrix with entries M s ( a , b ) : = ∑ s ′ ∈ S δ ( s , a , b ) ( s ′ ) val T ( s ′ ) M_s(a,b) := \sum_{s' \in S} \delta(s,a,b)(s')\operatorname{val}_T(s') M s ( a , b ) := ∑ s ′ ∈ S δ ( s , a , b ) ( s ′ ) val T ( s ′ ) . By backward induction, val T ( s ) \operatorname{val}_T(s) val T ( s ) is the value val ( M s ) \operatorname{val}(M_s) val ( M s ) of the matrix game M s M_s M s , where Player 1 chooses a row and Player 2 chooses a column. For every state s s s , we denote by χ ( s ) : = 2 val T ( s ) − 1 ∈ [ − 1 , 1 ] \chi(s) := 2\operatorname{val}_T(s)-1 \in[-1,1] χ ( s ) := 2 val T ( s ) − 1 ∈ [ − 1 , 1 ] its centered value. The proof consists of the following steps.
(Gadgets) We construct states that negate, average, and multiply centered values.
(Straight-line programs) We represent the integer of every gate as the ratio of the centered values of two states.
(Reduction) We compare the value of the state of the output gate with the threshold 1 2 \frac{1}{2} 2 1 .
(Deterministic transitions) We replace every stochastic transition by deterministic transitions that preserve the values.
We now prove each step.
(Gadgets) First, for every new state s s s , we add a dual state s ‾ \overline{s} s that swaps the roles of the players and replaces every successor by its dual, i.e., the action pair ( a i , b j ) (a_i,b_j) ( a i , b j ) at s ‾ \overline{s} s leads to the duals of the successors of ( a j , b i ) (a_j,b_i) ( a j , b i ) at s s s . Formally, for all i , j ∈ { 1 , 2 } i,j \in\{1,2\} i , j ∈ { 1 , 2 } and states s ′ ∈ S s' \in S s ′ ∈ S , we define
δ ( s ‾ , a i , b j ) ( s ‾ ′ ) : = δ ( s , a j , b i ) ( s ′ ) , \delta(\overline{s},a_i,b_j)(\overline{s}') := \delta(s,a_j,b_i)(s'), δ ( s , a i , b j ) ( s ′ ) := δ ( s , a j , b i ) ( s ′ ) ,
where ⊤ ‾ : = ⊥ \overline{\top} := \bot ⊤ := ⊥ and ⊥ ‾ : = ⊤ \overline{\bot} := \top ⊥ := ⊤ , and the dual of s ‾ \overline{s} s is s s s . By induction over the construction, val T ( s ˉ ′ ) = 1 − val T ( s ′ ) \operatorname{val}_{T}(\bar{s}')=1-\operatorname{val}_{T}(s') val T ( s ˉ ′ ) = 1 − val T ( s ′ ) for all successors s ′ s' s ′ of s s s , and therefore, for all i , j ∈ { 1 , 2 } i,j\in\{1,2\} i , j ∈ { 1 , 2 } , we have
M s ˉ ( a i , b j ) = ∑ s ′ ∈ S δ ( s ˉ , a i , b j ) ( s ′ ) val T ( s ′ ) = ∑ s ′ ∈ S δ ( s , a j , b i ) ( s ′ ) ( 1 − val T ( s ′ ) ) = 1 − M s ( a j , b i ) . \begin{aligned}
M_{\bar{s}}(a_i,b_j)=\sum_{s'\in S}\delta(\bar{s},a_i,b_j)(s')\operatorname{val}_{T}(s') \\
&=\sum_{s'\in S}\delta(s,a_j,b_i)(s')\left(1-\operatorname{val}_{T}(s')\right) \\
&=1-M_s(a_j,b_i).
\end{aligned} M s ˉ ( a i , b j ) = s ′ ∈ S ∑ δ ( s ˉ , a i , b j ) ( s ′ ) val T ( s ′ ) = s ′ ∈ S ∑ δ ( s , a j , b i ) ( s ′ ) ( 1 − val T ( s ′ ) ) = 1 − M s ( a j , b i ) .
In the matrix game M s ˉ M_{\bar{s}} M s ˉ , Player 1 plays the role of Player 2 in M s M_s M s , and hence
val T ( s ˉ ) = 1 − val T ( s ) , i.e., χ ( s ˉ ) = − χ ( s ) . (16) \operatorname{val}_{T}(\bar{s})=1-\operatorname{val}_{T}(s),\qquad\text{i.e.,}\qquad\chi(\bar{s})=-\chi(s). \tag*{(16)} val T ( s ˉ ) = 1 − val T ( s ) , i.e., χ ( s ˉ ) = − χ ( s ) . (16)
Second, for all states s 1 s_1 s 1 and s 2 s_2 s 2 , let Avg ( s 1 , s 2 ) \operatorname{Avg}(s_1,s_2) Avg ( s 1 , s 2 ) be the state that moves to s 1 s_1 s 1 and s 2 s_2 s 2 with probability 1 2 \frac{1}{2} 2 1 each. Then, we have
χ ( Avg ( s 1 , s 2 ) ) = χ ( s 1 ) + χ ( s 2 ) 2 . (17) \chi(\operatorname{Avg}(s_1,s_2))=\frac{\chi(s_1)+\chi(s_2)}{2}. \tag*{(17)} χ ( Avg ( s 1 , s 2 )) = 2 χ ( s 1 ) + χ ( s 2 ) . (17)
In particular, since χ ( ⊤ ) = 1 \chi(\top)=1 χ ( ⊤ ) = 1 and χ ( ⊥ ) = − 1 \chi(\bot)=-1 χ ( ⊥ ) = − 1 , we have χ ( Avg ( ⊤ , ⊥ ) ) = 0 \chi(\operatorname{Avg}(\top,\bot))=0 χ ( Avg ( ⊤ , ⊥ )) = 0 . Third, for all states s 1 s_1 s 1 and s 2 s_2 s 2 , let Mul ( s 1 , s 2 ) \operatorname{Mul}(s_1,s_2) Mul ( s 1 , s 2 ) be the state s s s with the transitions
δ ( s , a 1 , b 1 ) : = 1 2 1 [ ⊤ ] + 1 4 1 [ s 1 ] + 1 4 1 [ s ˉ 2 ] , δ ( s , a 1 , b 2 ) : = 1 2 1 [ ⊥ ] + 1 4 1 [ s 1 ] + 1 4 1 [ s 2 ] , \delta(s,a_1,b_1):=\frac{1}{2}\mathbf{1}_{[\top]}+\frac{1}{4}\mathbf{1}_{[s_1]}+\frac{1}{4}\mathbf{1}_{[\bar{s}_2]},\qquad
\delta(s,a_1,b_2):=\frac{1}{2}\mathbf{1}_{[\bot]}+\frac{1}{4}\mathbf{1}_{[s_1]}+\frac{1}{4}\mathbf{1}_{[s_2]}, δ ( s , a 1 , b 1 ) := 2 1 1 [ ⊤ ] + 4 1 1 [ s 1 ] + 4 1 1 [ s ˉ 2 ] , δ ( s , a 1 , b 2 ) := 2 1 1 [ ⊥ ] + 4 1 1 [ s 1 ] + 4 1 1 [ s 2 ] ,
δ ( s , a 2 , b 1 ) : = 1 2 1 [ ⊥ ] + 1 4 1 [ s ˉ 1 ] + 1 4 1 [ s ˉ 2 ] , δ ( s , a 2 , b 2 ) : = 1 2 1 [ ⊤ ] + 1 4 1 [ s ˉ 1 ] + 1 4 1 [ s 2 ] . \delta(s,a_2,b_1):=\frac{1}{2}\mathbf{1}_{[\bot]}+\frac{1}{4}\mathbf{1}_{[\bar{s}_1]}+\frac{1}{4}\mathbf{1}_{[\bar{s}_2]},\qquad
\delta(s,a_2,b_2):=\frac{1}{2}\mathbf{1}_{[\top]}+\frac{1}{4}\mathbf{1}_{[\bar{s}_1]}+\frac{1}{4}\mathbf{1}_{[s_2]}. δ ( s , a 2 , b 1 ) := 2 1 1 [ ⊥ ] + 4 1 1 [ s ˉ 1 ] + 4 1 1 [ s ˉ 2 ] , δ ( s , a 2 , b 2 ) := 2 1 1 [ ⊤ ] + 4 1 1 [ s ˉ 1 ] + 4 1 1 [ s 2 ] .
These transitions are depicted in the following figure, where every cell is an action pair, and ⊤ \top ⊤ and ⊥ \bot ⊥ are drawn twice to avoid crossing arrows.
Figure 1 (PDF p. 35).
Let x : = χ ( s 1 ) x:=\chi(s_1) x := χ ( s 1 ) and y : = χ ( s 2 ) y:=\chi(s_2) y := χ ( s 2 ) . By Equation (16) , we have
M Mul ( s 1 , s 2 ) = ( 3 4 + x − y 8 1 4 + x + y 8 1 4 − x + y 8 3 4 − x − y 8 ) . M_{\operatorname{Mul}(s_1,s_2)}=
\begin{pmatrix}
\frac{3}{4}+\frac{x-y}{8} & \frac{1}{4}+\frac{x+y}{8}\\
\frac{1}{4}-\frac{x+y}{8} & \frac{3}{4}-\frac{x-y}{8}
\end{pmatrix}. M Mul ( s 1 , s 2 ) = ( 4 3 + 8 x − y 4 1 − 8 x + y 4 1 + 8 x + y 4 3 − 8 x − y ) .
If Player 1 chooses a 1 a_1 a 1 with probability 1 2 + y 4 \frac{1}{2}+\frac{y}{4} 2 1 + 4 y , then the expected payoff is 1 2 + x y 16 \frac{1}{2}+\frac{xy}{16} 2 1 + 16 x y against both b 1 b_1 b 1 and b 2 b_2 b 2 . Similarly, if Player 2 chooses b 1 b_1 b 1 with probability 1 2 − x 4 \frac{1}{2}-\frac{x}{4} 2 1 − 4 x , then the expected payoff is 1 2 + x y 16 \frac{1}{2}+\frac{xy}{16} 2 1 + 16 x y against both a 1 a_1 a 1 and a 2 a_2 a 2 . Since x , y ∈ [ − 1 , 1 ] x,y\in[-1,1] x , y ∈ [ − 1 , 1 ] , both numbers are in [ 0 , 1 ] [0,1] [ 0 , 1 ] , and hence these are mixed strategies that guarantee the expected payoff 1 2 + x y 16 \frac{1}{2}+\frac{xy}{16} 2 1 + 16 x y for Player 1 and Player 2, respectively. Therefore, we have val T ( Mul ( s 1 , s 2 ) ) = val ( M Mul ( s 1 , s 2 ) ) = 1 2 + x y 16 \operatorname{val}_{T}(\operatorname{Mul}(s_1,s_2))=\operatorname{val}(M_{\operatorname{Mul}(s_1,s_2)})=\frac{1}{2}+\frac{xy}{16} val T ( Mul ( s 1 , s 2 )) = val ( M Mul ( s 1 , s 2 ) ) = 2 1 + 16 x y , and hence
χ ( Mul ( s 1 , s 2 ) ) = χ ( s 1 ) χ ( s 2 ) 8 . (18) \chi(\operatorname{Mul}(s_1,s_2))=\frac{\chi(s_1)\chi(s_2)}{8}. \tag*{(18)} χ ( Mul ( s 1 , s 2 )) = 8 χ ( s 1 ) χ ( s 2 ) . (18)
(Straight-line programs) Consider a straight-line program with gates 1 , … , k 1,\ldots,k 1 , … , k , and recall that z i z_i z i is the integer computed by gate i i i . The integer z i z_i z i may be double exponentially large, whereas centered values are in [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] . Hence, we represent z i z_i z i as the ratio of the centered values of two states, i.e., for every gate i i i , we construct a numerator state s i n u m s_i^{\mathrm{num}} s i num and a denominator state s i d e n s_i^{\mathrm{den}} s i den such that
χ ( s i d e n ) > 0 and χ ( s i n u m ) = z i χ ( s i d e n ) . (19) \chi\left(s_i^{\mathrm{den}}\right)>0 \qquad\text{and}\qquad\chi\left(s_i^{\mathrm{num}}\right)=z_i\chi\left(s_i^{\mathrm{den}}\right). \tag*{(19)} χ ( s i den ) > 0 and χ ( s i num ) = z i χ ( s i den ) . (19)
We construct these states by induction over the gates, and we show Equation (19) for every type of gate.
(Constants) If z i = 0 z_i=0 z i = 0 , then let s i n u m : = Avg ( ⊤ , ⊥ ) s_i^{\mathrm{num}}:=\operatorname{Avg}(\top,\bot) s i num := Avg ( ⊤ , ⊥ ) and s i d e n : = ⊤ s_i^{\mathrm{den}}:=\top s i den := ⊤ . If z i = 1 z_i=1 z i = 1 , then let s i n u m : = ⊤ s_i^{\mathrm{num}}:=\top s i num := ⊤ and s i d e n : = ⊤ s_i^{\mathrm{den}}:=\top s i den := ⊤ . Since χ ( Avg ( ⊤ , ⊥ ) ) = 0 \chi(\operatorname{Avg}(\top,\bot))=0 χ ( Avg ( ⊤ , ⊥ )) = 0 and χ ( ⊤ ) = 1 \chi(\top)=1 χ ( ⊤ ) = 1 , Equation (19) holds.
s i n u m : = Mul ( s j n u m , s j ′ n u m ) and s i d e n : = Mul ( s j d e n , s j ′ d e n ) . s_i^{\mathrm{num}}:=\operatorname{Mul}\left(s_j^{\mathrm{num}},s_{j'}^{\mathrm{num}}\right)
\qquad\text{and}\qquad
s_i^{\mathrm{den}}:=\operatorname{Mul}\left(s_j^{\mathrm{den}},s_{j'}^{\mathrm{den}}\right). s i num := Mul ( s j num , s j ′ num ) and s i den := Mul ( s j den , s j ′ den ) .
By Equation (18) and the induction hypothesis, we have χ ( s i d e n ) = 1 8 χ ( s j d e n ) χ ( s j ′ d e n ) > 0 \chi\left(s_i^{\mathrm{den}}\right)=\frac{1}{8}\chi\left(s_j^{\mathrm{den}}\right)\chi\left(s_{j'}^{\mathrm{den}}\right)>0 χ ( s i den ) = 8 1 χ ( s j den ) χ ( s j ′ den ) > 0 and
χ ( s i n u m ) = χ ( s j n u m ) χ ( s j ′ n u m ) 8 (xref‘Equation (17)‘) = z j z j ′ χ ( s j d e n ) χ ( s j ′ d e n ) 8 (induction hypothesis) = z i χ ( s i d e n ) (xref‘Equation (17)‘) . \begin{aligned}
\chi\left(s_i^{\mathrm{num}}\right)
&=\frac{\chi\left(s_j^{\mathrm{num}}\right)\chi\left(s_{j'}^{\mathrm{num}}\right)}{8}
&&\text{({xref}`Equation (17)`)}\\
&=z_jz_{j'}\frac{\chi\left(s_j^{\mathrm{den}}\right)\chi\left(s_{j'}^{\mathrm{den}}\right)}{8}
&&\text{(induction hypothesis)}\\
&=z_i\chi\left(s_i^{\mathrm{den}}\right)
&&\text{({xref}`Equation (17)`)}.
\end{aligned} χ ( s i num ) = 8 χ ( s j num ) χ ( s j ′ num ) = z j z j ′ 8 χ ( s j den ) χ ( s j ′ den ) = z i χ ( s i den ) ( xref ‘Equation (17)‘) (induction hypothesis) ( xref ‘Equation (17)‘) .
s i n u m : = Avg ( Mul ( s j n u m , s j ′ d e n ) , Mul ( s j ′ n u m , s j d e n ) ) , s_i^{\mathrm{num}}:=\operatorname{Avg}\left(\operatorname{Mul}\left(s_j^{\mathrm{num}},s_{j'}^{\mathrm{den}}\right),\operatorname{Mul}\left(s_{j'}^{\mathrm{num}},s_j^{\mathrm{den}}\right)\right), s i num := Avg ( Mul ( s j num , s j ′ den ) , Mul ( s j ′ num , s j den ) ) ,
s i d e n : = Avg ( Mul ( s j d e n , s j ′ d e n ) , Avg ( ⊤ , ⊥ ) ) . s_i^{\mathrm{den}}:=\operatorname{Avg}\left(\operatorname{Mul}\left(s_j^{\mathrm{den}},s_{j'}^{\mathrm{den}}\right),\operatorname{Avg}(\top,\bot)\right). s i den := Avg ( Mul ( s j den , s j ′ den ) , Avg ( ⊤ , ⊥ ) ) .
By Equations (17) and (18) and the induction hypothesis, we have χ ( s i d e n ) = 1 16 χ ( s j d e n ) χ ( s j ′ d e n ) > 0 \chi\left(s_i^{\mathrm{den}}\right)=\frac{1}{16}\chi\left(s_j^{\mathrm{den}}\right)\chi\left(s_{j'}^{\mathrm{den}}\right)>0 χ ( s i den ) = 16 1 χ ( s j den ) χ ( s j ′ den ) > 0 and
χ ( s i n u m ) = χ ( s j n u m ) χ ( s j ′ d e n ) + χ ( s j ′ n u m ) χ ( s j d e n ) 16 (xref‘Equations (16) and (17)‘) = ( z j + z j ′ ) χ ( s j d e n ) χ ( s j ′ d e n ) 16 (induction hypothesis) = z i χ ( s i d e n ) (xref‘Equations (16) and (17)‘) . \begin{aligned}
\chi\left(s_i^{\mathrm{num}}\right)
&=\frac{\chi\left(s_j^{\mathrm{num}}\right)\chi\left(s_{j'}^{\mathrm{den}}\right)+\chi\left(s_{j'}^{\mathrm{num}}\right)\chi\left(s_j^{\mathrm{den}}\right)}{16}
&&\text{({xref}`Equations (16) and (17)`)}\\
&=(z_j+z_{j'})\frac{\chi\left(s_j^{\mathrm{den}}\right)\chi\left(s_{j'}^{\mathrm{den}}\right)}{16}
&&\text{(induction hypothesis)}\\
&=z_i\chi\left(s_i^{\mathrm{den}}\right)
&&\text{({xref}`Equations (16) and (17)`)}.
\end{aligned} χ ( s i num ) = 16 χ ( s j num ) χ ( s j ′ den ) + χ ( s j ′ num ) χ ( s j den ) = ( z j + z j ′ ) 16 χ ( s j den ) χ ( s j ′ den ) = z i χ ( s i den ) ( xref ‘Equations (16) and (17)‘) (induction hypothesis) ( xref ‘Equations (16) and (17)‘) .
s i n u m : = Avg ( Mul ( s j n u m , s j ′ d e n ) , Mul ( s j ′ n u m , s j d e n ) ) . s_i^{\mathrm{num}}:=\operatorname{Avg}\left(\operatorname{Mul}\left(s_j^{\mathrm{num}},s_{j'}^{\mathrm{den}}\right),\operatorname{Mul}\left(s_{j'}^{\mathrm{num}},s_j^{\mathrm{den}}\right)\right). s i num := Avg ( Mul ( s j num , s j ′ den ) , Mul ( s j ′ num , s j den ) ) .
As for addition, we have χ ( s i d e n ) = 1 16 χ ( s j d e n ) χ ( s j ′ d e n ) > 0 \chi\left(s_i^{\mathrm{den}}\right)=\frac{1}{16}\chi\left(s_j^{\mathrm{den}}\right)\chi\left(s_{j'}^{\mathrm{den}}\right)>0 χ ( s i den ) = 16 1 χ ( s j den ) χ ( s j ′ den ) > 0 and
χ ( s i n u m ) = χ ( s j n u m ) χ ( s j ′ d e n ) − χ ( s j ′ n u m ) χ ( s j d e n ) 16 (xref‘Equations (15) to (17)‘) = ( z j − z j ′ ) χ ( s j d e n ) χ ( s j ′ d e n ) 16 (induction hypothesis) = z i χ ( s i d e n ) (xref‘Equations (16) and (17)‘) . \begin{aligned}
\chi\left(s_i^{\mathrm{num}}\right)
&=\frac{\chi\left(s_j^{\mathrm{num}}\right)\chi\left(s_{j'}^{\mathrm{den}}\right)-\chi\left(s_{j'}^{\mathrm{num}}\right)\chi\left(s_j^{\mathrm{den}}\right)}{16}
&&\text{({xref}`Equations (15) to (17)`)}\\
&=(z_j-z_{j'})\frac{\chi\left(s_j^{\mathrm{den}}\right)\chi\left(s_{j'}^{\mathrm{den}}\right)}{16}
&&\text{(induction hypothesis)}\\
&=z_i\chi\left(s_i^{\mathrm{den}}\right)
&&\text{({xref}`Equations (16) and (17)`)}.
\end{aligned} χ ( s i num ) = 16 χ ( s j num ) χ ( s j ′ den ) − χ ( s j ′ num ) χ ( s j den ) = ( z j − z j ′ ) 16 χ ( s j den ) χ ( s j ′ den ) = z i χ ( s i den ) ( xref ‘Equations (15) to (17)‘) (induction hypothesis) ( xref ‘Equations (16) and (17)‘) .
The construction adds a constant number of states for every gate, and it does not compute the integers z i z_i z i .
(Reduction) We append a constant number of gates to the program that compute z ⋆ : = 2 z k − 1 z^\star:= 2z_k - 1 z ⋆ := 2 z k − 1 . Since z ⋆ z^\star z ⋆ is an odd integer, we have z ⋆ ≠ 0 z^\star\ne0 z ⋆ = 0 , and z k > 0 z_k > 0 z k > 0 if and only if z ⋆ > 0 z^\star> 0 z ⋆ > 0 . Let s ⋆ n u m s^\mathrm{num}_\star s ⋆ num and s ⋆ d e n s^\mathrm{den}_\star s ⋆ den be the states of the output gate. By Equation (19) , we have
val T ( s ⋆ n u m ) = 1 + χ ( s ⋆ n u m ) 2 = 1 2 + z ⋆ χ ( s ⋆ d e n ) 2 . \operatorname{val}_T\left(s^\mathrm{num}_\star\right) = \frac{1+\chi\left(s^\mathrm{num}_\star\right)}{2} = \frac{1}{2} + \frac{z^\star\chi\left(s^\mathrm{den}_\star\right)}{2}. val T ( s ⋆ num ) = 2 1 + χ ( s ⋆ num ) = 2 1 + 2 z ⋆ χ ( s ⋆ den ) .
where χ ( s ⋆ d e n ) > 0 \chi\left(s^\mathrm{den}_\star\right) > 0 χ ( s ⋆ den ) > 0 . Therefore, we have z k > 0 z_k > 0 z k > 0 if and only if val T ( s ⋆ n u m ) ≥ 1 2 \operatorname{val}_T\left(s^\mathrm{num}_\star\right) \ge\frac{1}{2} val T ( s ⋆ num ) ≥ 2 1 .
(Deterministic transitions) Stochastic transitions can be simulated by deterministic transitions in concurrent games, i.e., there is a polynomial-time reduction to concurrent games with deterministic transitions that preserves the values of reachability objectives [EY08, Proposition 2.1], see also [11 ] . The reduction replaces every probabilistic choice by new states in which both players have two actions and the successor depends only on whether their actions match. Since all transition probabilities above are integer multiples of 1 4 \frac{1}{4} 4 1 , these new states do not introduce cycles, and hence every play still reaches ⊤ \top ⊤ or ⊥ \bot ⊥ , which completes the proof. □
Remark 8.1 (Double exponentially close values). The values in the constructed games may be double exponentially close to the threshold 1 2 \frac{1}{2} 2 1 . For example, if every gate i ≥ 2 i \ge2 i ≥ 2 squares the previous gate, starting from the constant 1 1 1 , then χ ( s i n u m ) = 2 − 3 ( 2 i − 1 − 1 ) \chi\left(s^\mathrm{num}_i\right) = 2^{-3(2^{i-1}-1)} χ ( s i num ) = 2 − 3 ( 2 i − 1 − 1 ) . Hence, the lower bound of Theorem 4.1 does not contradict Theorem 3.1 , where the additive error is given in binary.
Upper Bound
In this subsection, we prove the upper bound of Theorem 4.1 . First, we show that strict comparisons between the values of discounted-sum objectives and real thresholds are witnessed by stationary strategies together with bounds on the value function (Theorem 8.2). Second, we show that the value of a limit-average objective differs from a rational threshold by at least a double exponentially small amount, unless they are equal (Theorems 8.3 and 8.4 ). Lastly, we combine these results to construct, in polynomial time, existential sentences over the reals that express val ( s ) ≥ α \operatorname{val}(s) \ge\alpha val ( s ) ≥ α and val ( s ) < α \operatorname{val}(s) < \alpha val ( s ) < α , which shows that the CsgDecision problem is in ∃ R ∩ co- ∃ R \exists\mathbb{R} \cap\operatorname{co-}\exists\mathbb{R} ∃ R ∩ co- ∃ R .
Real witnesses. The following result shows that strict comparisons between the value of a discounted-sum objective and a real threshold are witnessed by a stationary strategy together with a lower or an upper bound on the value function. Similar witnesses are used in [12 Theorem 39] and [16 ] , where a single existential sentence contains strategies for both players and certifies both a lower and an upper bound on the value. Our witnesses are similar to those of § 5.2 , but their strategies and bounds are arbitrary real numbers instead of power-series numbers. Since their conditions are polynomial inequalities, we use them to construct existential sentences over the reals. For completeness, we present the proof.
Lemma 8.2 (Real witnesses, cf. [12 Theorem 39] ). Let G G G be a game with a reward function and a discount factor λ \lambda λ , let s ∈ S s \in S s ∈ S be a state, and let c ∈ R c \in\mathbb{R} c ∈ R . Then, the following assertions hold.
(Lower witness) We have val λ ( s ) > c \operatorname{val}_\lambda(s) > c val λ ( s ) > c if and only if there exist a stationary strategy σ \sigma σ for Player 1 and a function L : S → R L:S \to\mathbb{R} L : S → R such that L ⪯ Ψ G ( L ) L \preceq\Psi_G(L) L ⪯ Ψ G ( L ) and L ( s ) > c L(s) > c L ( s ) > c .
(Upper witness) We have val λ ( s ) < c \operatorname{val}_\lambda(s) < c val λ ( s ) < c if and only if there exist a stationary strategy τ \tau τ for Player 2 and a function U : S → R U:S \to\mathbb{R} U : S → R such that Ψ G ( U ) ⪯ U \Psi_G(U) \preceq U Ψ G ( U ) ⪯ U and U ( s ) < c U(s) < c U ( s ) < c .
Proof. We present the proof for lower witnesses, and the proof for upper witnesses is symmetric. First, let σ \sigma σ and L L L be such that L ⪯ Ψ G σ ( L ) L \preceq\Psi_{G_\sigma}(L) L ⪯ Ψ G σ ( L ) and L ( s ) > c L(s)>c L ( s ) > c . Then, we have
\begin{aligned}
\operatorname{val}_{\lambda}(s) &\geq\operatorname{val}_{\lambda}^{G_\sigma}(s) &&(\sigma\text{ is a strategy for Player 1})\\
&\geq L(s) &&({\xref}`Theorem 5.5`)\\
&>c.
\end{aligned}
Second, suppose that val λ ( s ) > c \operatorname{val}_{\lambda}(s)>c val λ ( s ) > c . Let σ \sigma σ be an optimal stationary strategy for Player 1 [50 ] , and let L : = val λ G σ L:=\operatorname{val}_{\lambda}^{G_\sigma} L := val λ G σ . Since L L L is the fixed point of Ψ G σ \Psi_{G_\sigma} Ψ G σ , we have L = Ψ G σ ( L ) L=\Psi_{G_\sigma}(L) L = Ψ G σ ( L ) . Moreover, since σ \sigma σ is optimal, we have L ( s ) = val λ ( s ) > c L(s)=\operatorname{val}_{\lambda}(s)>c L ( s ) = val λ ( s ) > c , which completes the proof.
Separation from thresholds. To compare the value of a limit-average objective with a rational threshold, we show that, if they differ, then they differ by at least a double exponentially small amount. To do so, we use that the value is an algebraic number, i.e., a root of a nonzero polynomial with integer coefficients, whose degree and coefficients are bounded as follows. The result follows from [46 Proposition 3.3] , where we replace the minimal number of pure stationary strategies of a player by its upper bound m n m^n m n , and the numbers of bits of n n n , m n m^n m n , and Q Q Q by their upper bounds ⌈ log n ⌉ + 1 \lceil\log n\rceil+1 ⌈ log n ⌉ + 1 , n ⌈ log m ⌉ + 1 n\lceil\log m\rceil+1 n ⌈ log m ⌉ + 1 , and B Q + 1 B_Q+1 B Q + 1 , respectively, which only increases the bounds.
Lemma 8.3 ([46 Proposition 3.3] ). Let G G G be a game and r r r a reward function such that all transition probabilities and rewards are integer multiples of 1 / Q 1/Q 1/ Q , for a positive integer Q ≤ 2 B Q Q\leq2^{B_Q} Q ≤ 2 B Q , and let
B c o e f : = ⌈ log ( 4 n m n ( ⌈ log n ⌉ + n ⌈ log m ⌉ + B Q + 3 ) ) ⌉ . B_{\mathrm{coef}}:=\left\lceil\log\left(4nm^n\left(\lceil\log n\rceil+n\lceil\log m\rceil+B_Q+3\right)\right)\right\rceil. B coef := ⌈ log ( 4 n m n ( ⌈ log n ⌉ + n ⌈ log m ⌉ + B Q + 3 ) ) ⌉ . Then, for every state s ∈ S s\in S s ∈ S , there exist integers e 0 , … , e d e_0,\ldots,e_d e 0 , … , e d with e d ≠ 0 e_d\ne0 e d = 0 such that ∑ i = 0 d e i val ( s ) i = 0 \sum_{i=0}^{d}e_i\operatorname{val}(s)^i=0 ∑ i = 0 d e i val ( s ) i = 0 , d ≤ m n d\leq m^n d ≤ m n , and ∣ e i ∣ < 2 2 B c o e f |e_i|<2^{2^{B_{\mathrm{coef}}}} ∣ e i ∣ < 2 2 B coef for all i ∈ { 0 , … , d } i\in\{0,\ldots,d\} i ∈ { 0 , … , d } .
Lemma 8.4 (Separation from thresholds). Let G G G be a game and r r r a reward function such that all transition probabilities and rewards are integer multiples of 1 / Q 1/Q 1/ Q , for a positive integer Q ≤ 2 B Q Q\leq2^{B_Q} Q ≤ 2 B Q , and let α = p / q ∈ [ 0 , 1 ] \alpha=p/q\in[0,1] α = p / q ∈ [ 0 , 1 ] be a rational number defined using at most B i n p B_{\mathrm{inp}} B inp bits, for integers 0 ≤ p ≤ q 0\leq p\leq q 0 ≤ p ≤ q with q ≥ 1 q\geq1 q ≥ 1 . Let B c o e f B_{\mathrm{coef}} B coef be as defined in Theorem 8.3 , and let
B α : = B c o e f + ⌈ log ( m n ( B i n p + 3 ) ) ⌉ + 1. B_\alpha:=B_{\mathrm{coef}}+\left\lceil\log\left(m^n(B_{\mathrm{inp}}+3)\right)\right\rceil+1. B α := B coef + ⌈ log ( m n ( B inp + 3 ) ) ⌉ + 1. Then, for every state s ∈ S s\in S s ∈ S such that val ( s ) ≠ α \operatorname{val}(s)\ne\alpha val ( s ) = α , we have ∣ val ( s ) − α ∣ ≥ 2 − 2 B α |\operatorname{val}(s)-\alpha|\geq2^{-2^{B_\alpha}} ∣ val ( s ) − α ∣ ≥ 2 − 2 B α .
Proof. Consider a state s ∈ S s\in S s ∈ S such that val ( s ) ≠ α \operatorname{val}(s)\ne\alpha val ( s ) = α , and let β : = val ( s ) − α ≠ 0 \beta:=\operatorname{val}(s)-\alpha\ne0 β := val ( s ) − α = 0 . First, we transfer the algebraic bound to β \beta β . By Theorem 8.3 , there exist integers e 0 , … , e d e_0,\ldots,e_d e 0 , … , e d with e d ≠ 0 e_d\ne0 e d = 0 such that ∑ i = 0 d e i val ( s ) i = 0 \sum_{i=0}^{d}e_i\operatorname{val}(s)^i=0 ∑ i = 0 d e i val ( s ) i = 0 , d ≤ m n d\leq m^n d ≤ m n , and ∣ e i ∣ < 2 2 B c o e f |e_i|<2^{2^{B_{\mathrm{coef}}}} ∣ e i ∣ < 2 2 B coef for all i ∈ { 0 , … , d } i\in\{0,\ldots,d\} i ∈ { 0 , … , d } . Substituting val ( s ) = p q + β \operatorname{val}(s)=\frac{p}{q}+\beta val ( s ) = q p + β and multiplying by q d q^d q d , we obtain
∑ j = 0 d e j ′ β j = 0 , where e j ′ : = ∑ i = j d e i q d − i ( i j ) p i − j q j . (20) \sum_{j=0}^{d}e'_j\beta^j=0,\qquad\text{where}\qquad e'_j:=\sum_{i=j}^{d}e_iq^{d-i}\binom{i}{j}p^{i-j}q^j. \tag*{(20)} j = 0 ∑ d e j ′ β j = 0 , where e j ′ := i = j ∑ d e i q d − i ( j i ) p i − j q j . (20)
The numbers e j ′ e'_j e j ′ are integers, and e d ′ = e d q d ≠ 0 e'_d=e_dq^d\ne0 e d ′ = e d q d = 0 . Moreover, for all j ∈ { 0 , … , d } j\in\{0,\ldots,d\} j ∈ { 0 , … , d } , we have
∣ e j ′ ∣ ≤ ∑ i = j d 2 2 B c o e f q d ( i j ) ( ∣ e i ∣ < 2 2 B c o e f , p ≤ q ) ≤ ( d + 1 ) 2 2 B c o e f + d q d ( ( i j ) ≤ 2 d ) ≤ 2 2 B c o e f + 2 m n + m n B i n p ( d + 1 ≤ 2 d , d ≤ m n , q ≤ 2 B i n p ) ≤ 2 2 B c o e f + m n ( B i n p + 3 ) − 1 ( m n ≥ 1 ) ≤ 2 2 B α − 1 (definition of B α , 2 a + 2 b ≤ 2 a + b + 1 ) . \begin{aligned}
|e'_j| &\le\sum_{i=j}^{d}2^{2B_{\mathrm{coef}}}q^d\binom{i}{j} && (|e_i|<2^{2B_{\mathrm{coef}}},\ p\le q)\\
&\le(d+1)2^{2B_{\mathrm{coef}}+d}q^d && \left(\binom{i}{j}\le2^d\right)\\
&\le2^{2B_{\mathrm{coef}}+2m^n+mnB_{\mathrm{inp}}} && (d+1\le2^d,\ d\le m^n,\ q\le2^{B_{\mathrm{inp}}})\\
&\le2^{2B_{\mathrm{coef}}+m^n(B_{\mathrm{inp}}+3)-1} && (m^n\ge1)\\
&\le2^{2B_\alpha-1} && \text{(definition of }B_\alpha,\ 2^a+2^b\le2^{a+b+1}\text{)}.
\end{aligned} ∣ e j ′ ∣ ≤ i = j ∑ d 2 2 B coef q d ( j i ) ≤ ( d + 1 ) 2 2 B coef + d q d ≤ 2 2 B coef + 2 m n + mn B inp ≤ 2 2 B coef + m n ( B inp + 3 ) − 1 ≤ 2 2 B α − 1 ( ∣ e i ∣ < 2 2 B coef , p ≤ q ) ( ( j i ) ≤ 2 d ) ( d + 1 ≤ 2 d , d ≤ m n , q ≤ 2 B inp ) ( m n ≥ 1 ) (definition of B α , 2 a + 2 b ≤ 2 a + b + 1 ) .
Second, we bound ∣ β ∣ |\beta| ∣ β ∣ from below. Let j 0 j_0 j 0 be the smallest index such that e j 0 ′ ≠ 0 e'_{j_0}\ne0 e j 0 ′ = 0 , which exists since e d ′ ≠ 0 e'_d\ne0 e d ′ = 0 . Suppose towards a contradiction that ∣ β ∣ < 2 − 2 B α |\beta|<2^{-2B_\alpha} ∣ β ∣ < 2 − 2 B α . Then, we have
1 ≤ ∣ e j 0 ′ ∣ = ∣ ∑ j = j 0 + 1 d e j ′ β j − j 0 ∣ (21) \begin{aligned}
1\le|e'_{j_0}| \\
&= \left|\sum_{j=j_0+1}^{d}e'_j\beta^{j-j_0}\right| \tag*{(21)}
\end{aligned} 1 ≤ ∣ e j 0 ′ ∣ = j = j 0 + 1 ∑ d e j ′ β j − j 0 (21)
((21) , β ≠ 0 \beta\ne0 β = 0 )
≤ 2 2 B α − 1 ∑ j ≥ 1 ∣ β ∣ j \le2^{2B_\alpha-1}\sum_{j\ge1}|\beta|^j ≤ 2 2 B α − 1 j ≥ 1 ∑ ∣ β ∣ j
( ∣ e j ′ ∣ ≤ 2 2 B α − 1 ) (|e'_j|\le2^{2B_\alpha-1}) ( ∣ e j ′ ∣ ≤ 2 2 B α − 1 )
= 2 2 B α − 1 ∣ β ∣ 1 − ∣ β ∣ =2^{2B_\alpha-1}\frac{|\beta|}{1-|\beta|} = 2 2 B α − 1 1 − ∣ β ∣ ∣ β ∣
( ∣ β ∣ < 1 ) (|\beta|<1) ( ∣ β ∣ < 1 )
< 2 2 B α ∣ β ∣ <2^{2B_\alpha}|\beta| < 2 2 B α ∣ β ∣
( ∣ β ∣ < 1 2 ) \left(|\beta|<\frac{1}{2}\right) ( ∣ β ∣ < 2 1 )
( ∣ β ∣ < 2 − 2 B α ) (|\beta|<2^{-2B_\alpha}) ( ∣ β ∣ < 2 − 2 B α ) ,
which is a contradiction. Therefore, we have ∣ val ( s ) − α ∣ = ∣ β ∣ ≥ 2 − 2 B α |\operatorname{val}(s)-\alpha|=|\beta|\ge2^{-2B_\alpha} ∣ val ( s ) − α ∣ = ∣ β ∣ ≥ 2 − 2 B α , which completes the proof.
We are now ready to prove the upper bound of Theorem 4.1 .
Proof of the upper bound of Theorem 4.1 . By Theorem 7.1, reachability objectives reduce in polynomial time to limit-average objectives with the same values. Hence, it suffices to consider an instance ( G , ϕ ) (G,\phi) ( G , ϕ ) , where ϕ = LimAvg ( r ) \phi=\operatorname{LimAvg}(r) ϕ = LimAvg ( r ) is a limit-average objective, a state s s s , and a rational threshold α = p / q \alpha=p/q α = p / q . Since val ( s ) ∈ [ 0 , 1 ] \operatorname{val}(s)\in[0,1] val ( s ) ∈ [ 0 , 1 ] , the answer is positive if α ≤ 0 \alpha\le0 α ≤ 0 and negative if α > 1 \alpha>1 α > 1 , so we assume that α ∈ ( 0 , 1 ] \alpha\in(0,1] α ∈ ( 0 , 1 ] . We proceed in five steps.
(Separation) Let Q Q Q be the product of the denominators of all transition probabilities and rewards of G G G . As in the proof of Theorem 3.1 , we have Q ≤ 2 B Q Q\le2^{B_Q} Q ≤ 2 B Q for B Q : = B i n p n m 2 ( n + 1 ) B_Q:=B_{\mathrm{inp}}nm^2(n+1) B Q := B inp n m 2 ( n + 1 ) . Let B α B_\alpha B α be as defined in Theorem 8.4 , and let η : = 2 − 2 B α \eta:=2^{-2B_\alpha} η := 2 − 2 B α . By Theorem 8.4 , if val ( s ) ≠ α \operatorname{val}(s)\ne\alpha val ( s ) = α , then ∣ val ( s ) − α ∣ ≥ η |\operatorname{val}(s)-\alpha|\ge\eta ∣ val ( s ) − α ∣ ≥ η . Since log ( m n ) = n log m \log(m^n)=n\log m log ( m n ) = n log m , and B Q B_Q B Q is polynomial in the input size, B α B_\alpha B α is polynomial in the input size, and it is computed in polynomial time.
B λ : = ⌈ log ( 4 n m n ( ⌈ log n ⌉ + n ⌈ log m ⌉ + B Q + 3 ) ) + ( 2 B α + 2 ) n m n ⌉ . B_\lambda:=\left\lceil\log\left(4nm^n\left(\lceil\log n\rceil+n\lceil\log m\rceil+B_Q+3\right)\right)+(2B_\alpha+2)nm^n\right\rceil. B λ := ⌈ log ( 4 n m n ( ⌈ log n ⌉ + n ⌈ log m ⌉ + B Q + 3 ) ) + ( 2 B α + 2 ) n m n ⌉ .
and let λ : = 1 − 2 − 2 B λ \lambda:=1-2^{-2B_\lambda} λ := 1 − 2 − 2 B λ . Since B α B_\alpha B α is polynomial in the input size, B λ B_\lambda B λ is polynomial in the input size, and it is computed in polynomial time. By Theorem 7.2, we have
∣ val λ ( s ) − val ( s ) ∣ ≤ η 4 . (22) |\operatorname{val}_\lambda(s)-\operatorname{val}(s)|\le\frac{\eta}{4}. \tag*{(22)} ∣ val λ ( s ) − val ( s ) ∣ ≤ 4 η . (22)
val λ ( s ) ≥ val ( s ) − η 4 \operatorname{val}_{\lambda}(s) \ge\operatorname{val}(s) - \frac{\eta}{4} val λ ( s ) ≥ val ( s ) − 4 η
(Equation (22) )
≥ α − η 4 \ge\alpha- \frac{\eta}{4} ≥ α − 4 η
(val ( s ) ≥ α \operatorname{val}(s) \ge\alpha val ( s ) ≥ α )
(definition of c c c ).
If val ( s ) < α \operatorname{val}(s) < \alpha val ( s ) < α , then we have
val λ ( s ) ≤ val ( s ) + η 4 \operatorname{val}_{\lambda}(s) \le\operatorname{val}(s) + \frac{\eta}{4} val λ ( s ) ≤ val ( s ) + 4 η
(Equation (22) )
≤ α − η + η 4 \le\alpha- \eta+ \frac{\eta}{4} ≤ α − η + 4 η
(Theorem 8.4 )
(definition of c c c ).
Therefore, we have
val ( s ) ≥ α ⟺ val λ ( s ) > c and val ( s ) < α ⟺ val λ ( s ) < c . (23) \operatorname{val}(s) \ge\alpha\Longleftrightarrow\operatorname{val}_{\lambda}(s) > c \qquad\text{and} \qquad\operatorname{val}(s) < \alpha\Longleftrightarrow\operatorname{val}_{\lambda}(s) < c. \tag*{(23)} val ( s ) ≥ α ⟺ val λ ( s ) > c and val ( s ) < α ⟺ val λ ( s ) < c . (23)
Const ( λ , c , x ) : = 2 x 0 = 1 ∧ ⋀ i = 0 B max − 1 x i + 1 = x i 2 ∧ λ = 1 − x B λ ∧ 2 q c = 2 p − q x B α . \operatorname{Const}(\lambda,c,x) := 2x_0 = 1 \land\bigwedge_{i=0}^{B_{\max}-1} x_{i+1} = x_i^2 \land\lambda= 1 - x_{B_{\lambda}} \land2qc = 2p - qx_{B_{\alpha}}. Const ( λ , c , x ) := 2 x 0 = 1 ∧ i = 0 ⋀ B m a x − 1 x i + 1 = x i 2 ∧ λ = 1 − x B λ ∧ 2 q c = 2 p − q x B α .
By induction over i i i , the first two conjuncts hold if and only if x i = 2 − 2 i x_i = 2^{-2^i} x i = 2 − 2 i for all i ∈ { 0 , … , B max } i \in\{0,\ldots,B_{\max}\} i ∈ { 0 , … , B m a x } . Hence, Const ( λ , c , x ) \operatorname{Const}(\lambda,c,x) Const ( λ , c , x ) holds if and only if, in addition, λ = 1 − 2 − 2 B λ \lambda= 1 - 2^{-2^{B_{\lambda}}} λ = 1 − 2 − 2 B λ and c = α − η 2 c = \alpha- \frac{\eta}{2} c = α − 2 η , i.e., λ \lambda λ and c c c are the constants of the previous steps.
Strat ( σ ) : = ⋀ s ′ ∈ S ( ⋀ a ∈ A σ ( s ′ ) ( a ) ≥ 0 ∧ ∑ a ∈ A σ ( s ′ ) ( a ) = 1 ) . \operatorname{Strat}(\sigma) := \bigwedge_{s'\in S}\left(\bigwedge_{a\in A}\sigma(s')(a) \ge0 \land\sum_{a\in A}\sigma(s')(a) = 1\right). Strat ( σ ) := s ′ ∈ S ⋀ ( a ∈ A ⋀ σ ( s ′ ) ( a ) ≥ 0 ∧ a ∈ A ∑ σ ( s ′ ) ( a ) = 1 ) .
It holds if and only if σ \sigma σ is a stationary strategy for Player 1.
(Lower certificate) We define the following formula, where L ( s ′ ) L(s') L ( s ′ ) , for s ′ ∈ S s' \in S s ′ ∈ S , are additional real variables:
LowerCert ( σ , L , λ , c ) : = ⋀ s ′ ∈ S ⋀ a ∈ A L ( s ′ ) ≤ ∑ a ∈ A σ ( s ′ ) ( a ) ( ( 1 − λ ) r ( s ′ , a , b ) + λ ∑ s ′ ′ ∈ S δ ( s ′ , a , b ) ( s ′ ′ ) L ( s ′ ′ ) ) ∧ L ( s ) > c . \begin{aligned}
\operatorname{LowerCert}(\sigma,L,\lambda,c) := {}&
\bigwedge_{s'\in S}\bigwedge_{a\in A} L(s') \le\sum_{a\in A}\sigma(s')(a)\left((1-\lambda)r(s',a,b) + \lambda\sum_{s''\in S}\delta(s',a,b)(s'')L(s'')\right) \\
&\land L(s) > c.
\end{aligned} LowerCert ( σ , L , λ , c ) := s ′ ∈ S ⋀ a ∈ A ⋀ L ( s ′ ) ≤ a ∈ A ∑ σ ( s ′ ) ( a ) ( ( 1 − λ ) r ( s ′ , a , b ) + λ s ′′ ∈ S ∑ δ ( s ′ , a , b ) ( s ′′ ) L ( s ′′ ) ) ∧ L ( s ) > c .
It holds if and only if L ⪯ Ψ G σ ( L ) L \preceq\Psi_{G_\sigma}(L) L ⪯ Ψ G σ ( L ) and L ( s ) > c L(s) > c L ( s ) > c . Multiplying its inequalities by Q Q Q yields integer coefficients, since all rewards and transition probabilities are integer multiples of 1 / Q 1/Q 1/ Q .
By Equation (23) and the lower witness of Theorem 8.2, we have val ( s ) ≥ α \operatorname{val}(s) \ge\alpha val ( s ) ≥ α if and only if
∃ σ ∃ L ∃ λ ∃ c ∃ x : Const ( λ , c , x ) ∧ Strat ( σ ) ∧ LowerCert ( σ , L , λ , c ) , (24) \exists\sigma\ \exists L\ \exists\lambda\ \exists c\ \exists x:\ \operatorname{Const}(\lambda,c,x) \land\operatorname{Strat}(\sigma) \land\operatorname{LowerCert}(\sigma,L,\lambda,c), \tag*{(24)} ∃ σ ∃ L ∃ λ ∃ c ∃ x : Const ( λ , c , x ) ∧ Strat ( σ ) ∧ LowerCert ( σ , L , λ , c ) , (24)
where ∃ σ \exists\sigma ∃ σ , ∃ L \exists L ∃ L , and ∃ x \exists x ∃ x quantify over the real variables σ ( s ′ ) ( a ) \sigma(s')(a) σ ( s ′ ) ( a ) , L ( s ′ ) L(s') L ( s ′ ) , and x i x_i x i , for s ′ ∈ S s' \in S s ′ ∈ S , a ∈ A a \in A a ∈ A , and i ∈ { 0 , … , B max } i \in\{0,\ldots,B_{\max}\} i ∈ { 0 , … , B m a x } . Since B max B_{\max} B m a x is polynomial in the input size, Equation (24) is an existential sentence over the reals of polynomial size that is computed in polynomial time, and hence the CSGDecision problem is in ∃ R \exists\mathbb{R} ∃ R .
(Universal sentence) Symmetrically, let Strat ( τ ) \operatorname{Strat}(\tau) Strat ( τ ) be the formula obtained from Strat ( σ ) \operatorname{Strat}(\sigma) Strat ( σ ) by replacing σ \sigma σ and A \mathcal{A} A with τ \tau τ and B \mathcal{B} B , and define
UpperCert ( τ , U , λ , c ) : = ⋀ s ′ ∈ S a ∈ A U ( s ′ ) ≥ ∑ b ∈ B τ ( s ′ ) ( b ) ( ( 1 − λ ) r ( s ′ , a , b ) + λ ∑ s ′ ′ ∈ S δ ( s ′ , a , b ) ( s ′ ′ ) U ( s ′ ′ ) ) ∧ U ( s ) < c . \operatorname{UpperCert}(\tau,U,\lambda,c) := \bigwedge_{\substack{s'\in S\\a\in A}} U(s') \ge\sum_{b\in B} \tau(s')(b)\left((1-\lambda)r(s',a,b)+\lambda\sum_{s''\in S}\delta(s',a,b)(s'')U(s'')\right) \wedge U(s)<c. UpperCert ( τ , U , λ , c ) := s ′ ∈ S a ∈ A ⋀ U ( s ′ ) ≥ b ∈ B ∑ τ ( s ′ ) ( b ) ( ( 1 − λ ) r ( s ′ , a , b ) + λ s ′′ ∈ S ∑ δ ( s ′ , a , b ) ( s ′′ ) U ( s ′′ ) ) ∧ U ( s ) < c .
which holds if and only if Ψ G τ ( U ) ⪯ U \Psi_{G_\tau}(U) \preceq U Ψ G τ ( U ) ⪯ U and U ( s ) < c U(s)<c U ( s ) < c . By Equation (23) and the upper witness of Theorem 8.2, we have val ( s ) < α \operatorname{val}(s)<\alpha val ( s ) < α if and only if ∃ τ ∃ U ∃ λ ∃ c ∃ x : Const ( λ , c , x ) ∧ Strat ( τ ) ∧ UpperCert ( τ , U , λ , c ) \exists\tau\ \exists U\ \exists\lambda\ \exists c\ \exists x:\operatorname{Const}(\lambda,c,x)\wedge\operatorname{Strat}(\tau)\wedge\operatorname{UpperCert}(\tau,U,\lambda,c) ∃ τ ∃ U ∃ λ ∃ c ∃ x : Const ( λ , c , x ) ∧ Strat ( τ ) ∧ UpperCert ( τ , U , λ , c ) . Hence, we have val ( s ) ≥ α \operatorname{val}(s)\ge\alpha val ( s ) ≥ α if and only if
∀ τ ∀ U ∀ λ ∀ c ∀ x : ¬ ( Const ( λ , c , x ) ∧ Strat ( τ ) ∧ UpperCert ( τ , U , λ , c ) ) . (25) \forall\tau\ \forall U\ \forall\lambda\ \forall c\ \forall x:\ \neg\left(\operatorname{Const}(\lambda,c,x)\wedge\operatorname{Strat}(\tau)\wedge\operatorname{UpperCert}(\tau,U,\lambda,c)\right). \tag*{(25)} ∀ τ ∀ U ∀ λ ∀ c ∀ x : ¬ ( Const ( λ , c , x ) ∧ Strat ( τ ) ∧ UpperCert ( τ , U , λ , c ) ) . (25)
As before, Equation (25) is a universal sentence over the reals of polynomial size that is computed in polynomial time, and hence the CsgDecision problem is in co - ∃ R \operatorname{co}\text{-}\exists\mathbb{R} co - ∃ R , which completes the proof. □
Remark 8.5 (Implications). Two very recent preprints, which have not been verified yet, claim that ∃ R \exists\mathbb{R} ∃ R is contained in the counting hierarchy [43 , 47 ] . If these claims hold, then our result implies that the CsgDecision problem is in the counting hierarchy for limit-average and reachability objectives.
Extensions
In this section, we discuss extensions of our results.
Parity objectives. A parity objective is given by a priority function p : S → { 0 , 1 , … , d } p:S\to\{0,1,\ldots,d\} p : S → { 0 , 1 , … , d } , and Player 1 wins a play if the minimal priority that is visited infinitely often is even. All ω \omega ω -regular objectives that arise in the formal analysis of systems can be expressed by deterministic parity automata, and temporal logics such as LTL (linear-time temporal logic) can be translated to deterministic parity automata. The product of a game graph with a deterministic parity automaton is a game with a parity objective, and hence parity objectives are a canonical representation of ω \omega ω -regular objectives. The value of a parity objective is an iterated limit of the values of stateful-discounted objectives, where the reward is 1 in states with even priority and 0 otherwise, every priority i i i is associated with a discount factor λ i \lambda_i λ i , and the discount factors tend to one in the order of the priorities [24 , 34 ] . Moreover, the value of a parity objective is approximated up to ε \varepsilon ε by the value of such a stateful-discounted objective with succinct discount factors λ i = 1 − 2 − 2 B λ i \lambda_i=1-2^{-2^{B_{\lambda_i}}} λ i = 1 − 2 − 2 B λ i , where every B λ i ∈ N 0 B_{\lambda_i}\in\mathbb{N}_0 B λ i ∈ N 0 is polynomial in the input size, since the proof of Theorem 18 of [4 ] applies to all discount factors that are close enough to one and whose distances to one decrease fast enough with the priority. Our proof of Theorem 3.2 carries over to such objectives, where the Bellman operator of an MDP P P P uses the discount factor of the priority of the current state, i.e., for all functions ρ : S → R \rho:S\to\mathbb{R} ρ : S → R and states s s s ,
Ψ P ( ρ ) ( s ) = op a ∈ A ( ( 1 − λ p ( s ) ) r ( s , a ) + λ p ( s ) ∑ s ′ ∈ S δ ( s , a ) ( s ′ ) ρ ( s ′ ) ) . \Psi_P(\rho)(s)=\operatorname*{op}_{a\in A}\left((1-\lambda_{p(s)})r(s,a)+\lambda_{p(s)}\sum_{s'\in S}\delta(s,a)(s')\rho(s')\right). Ψ P ( ρ ) ( s ) = a ∈ A op ( ( 1 − λ p ( s ) ) r ( s , a ) + λ p ( s ) s ′ ∈ S ∑ δ ( s , a ) ( s ′ ) ρ ( s ′ ) ) .
First, the discount factors are power-series numbers with two terms, and this Bellman operator is monotone and a contraction, so shrinking interval bounds contain the value and are verified in polynomial time as before. Second, the existence of polynomial-size ε \varepsilon ε -optimal strategies follows as in Section 6.1, where the smallest probability that we keep depends on min i ( 1 − λ i ) \min_i(1-\lambda_i) min i ( 1 − λ i ) instead of 1 − λ 1-\lambda 1 − λ , and the relative continuity applies since stateful-discounted objectives are also reachability objectives in a game that stops with probability 1 − λ p ( s ) 1-\lambda_{p(s)} 1 − λ p ( s ) at every state s s s . Third, the existence of polynomial-size ε \varepsilon ε -close shrinking interval bounds follows as in § 6.4 . Indeed, the Bellman operator still takes a convex combination of the reward and the values of the successors at every state, so Jensen’s inequality yields Theorem 6.8, and Cramer’s rule and Hadamard’s inequality yield Theorem 6.9 with B λ B_\lambda B λ replaced by max i B λ i \max_i B_{\lambda_i} max i B λ i . Therefore, for parity objectives, the CsgApproxValue problem is in TFNP and the CsgGapValue problem is in NP ∩ \cap ∩ coNP, which improves the TFNP[NP] upper bound of [4 ] .
Partial-information games with restricted strategies. While our work focuses on perfect-information concurrent stochastic games, where strategies observe the states of the histories, our results also extend to special cases of partial-information games. For partial-information games, the values that bounded-memory strategies guarantee are approximated by guessing polynomial-size representations of such strategies, whose probabilities may be double exponentially small, and by verifying them with an NP oracle [8 ] . In general, the NP oracle cannot be avoided, since approximating these values is NP-hard and coNP-hard already for memoryless strategies [8 ] . However, if the opponent observes both the states and the memory of the guessed strategy, then fixing this strategy yields an MDP on the product of the states and the memory. We first approximate the limit-average values of this MDP by the values of a discounted-sum objective with a succinct discount factor (Theorem 7.2), where B λ B_\lambda B λ is polynomial, since the transition probabilities of this MDP have a common denominator Q ≤ 2 B Q Q \leq2^{B_Q} Q ≤ 2 B Q with log B Q \log B_Q log B Q polynomial, as in the proof of Theorem 5.8 . Then, our ε \varepsilon ε -close shrinking interval bounds verify the guessed strategy in polynomial time.
Stationary Nash equilibria. While our focus is on zero-sum games, our techniques also apply to the approximate constrained stationary Nash equilibrium problem in multi-player turn-based stochastic games with terminal rewards, where plays that never reach a terminal vertex have payoff zero [1 ] . This is a promise problem: if a stationary Nash equilibrium that satisfies given constraints on the payoffs exists, then the goal is to compute an ε \varepsilon ε -Nash equilibrium that satisfies the constraints up to ε \varepsilon ε . Under this promise, there exists such an equilibrium whose strategies have double-exponential patience [1 ] . Fixing the strategies of all players except one yields an MDP with double exponentially small transition probabilities. As in Theorem 7.1, its terminal-reward objectives are limit-average objectives, which we first approximate by discounted-sum objectives with a succinct discount factor (Theorem 7.2), as for partial-information games. Our ε \varepsilon ε -close shrinking interval bounds for the resulting discounted MDP and for the Markov chain obtained by fixing all strategies certify in polynomial time that, up to the approximation error of the discount factor, this player cannot improve its payoff by more than ε \varepsilon ε , by checking that an upper bound on its best-response payoff exceeds a lower bound on its payoff under the strategy profile by at most ε \varepsilon ε . The same bounds verify the constraints on the payoffs up to ε \varepsilon ε , and they replace the NP oracle used for this verification in [1 ] .
In summary, MDPs with double exponentially small transition probabilities arise in several settings, and they are captured by MDPs with succinct discount factors. Previous techniques verify witnesses for such MDPs with an NP oracle, whereas our ε \varepsilon ε -close shrinking interval bounds verify them in polynomial time.
Conclusion
We consider the fundamental problem of value approximation in concurrent stochastic games with limit-average objectives and improve its complexity from TFNP[NP] to TFNP. As a special case, the same improvement holds for reachability objectives. Our approach approximates limit-average values by discounted-sum values with a discount factor that is double exponentially close to one and is represented succinctly in power series. Our approach also extends to parity objectives via stateful-discounted objectives [24 , 4 ] (§ 9 ). We also show that the value-decision problem for limit-average and reachability objectives is in ∃ R ∩ co- ∃ R \exists\mathbb{R} \cap\operatorname{co-}\exists\mathbb{R} ∃ R ∩ co- ∃ R and is PosSLP-hard.
Further improvements are challenging open problems for future research. For the approximation problem, improving the TFNP upper bound to polynomial time remains a major long-standing open problem, even for turn-based stochastic games. For the value-decision problem, ∃ R \exists\mathbb{R} ∃ R has recently been claimed to be in low levels of the counting hierarchy [43 , 47 ] , and if these claims hold, then our ∃ R ∩ co- ∃ R \exists\mathbb{R} \cap\operatorname{co-}\exists\mathbb{R} ∃ R ∩ co- ∃ R upper bound places the value-decision problem for concurrent stochastic games in low levels of the counting hierarchy. Moreover, our PosSLP-hardness brings the upper and lower bounds close to each other, and establishing a tight complexity bound for this problem remains an interesting open problem.
Acknowledgments
We thank Raimundo Saona and Jakub Svoboda for helpful discussions at an early stage of this work. The research was partially supported by the Austrian Science Fund (FWF) 10.55776/COE12 and by the ERC CoG 863818 (ForM-SMArt) grant.
AI Methodologies
This project started several years ago, and its main ideas predate our use of AI tools. In particular, the power-series representation, the witnesses that consist of stationary strategies and ε \varepsilon ε -close shrinking interval bounds, and the resulting polynomial-time verifier are our own. We used AI tools as follows: (a) for calculations related to the ε \varepsilon ε -close shrinking intervals we used GPT-5.6 (OpenAI); (b) to edit the text of the paper we used Claude Opus 5.5 (Anthropic) and GPT-6 Astra; and (c) to check the proofs we used GPT-6 Astra. The authors verified the correctness and originality of all content, including the references, and take full responsibility for the paper.
References