March 06, 2025
Markov decision process over vector addition system with states (VASS MDP) is a finite state model combining non-deterministic and probabilistic behavior, augmented with non-negative integer counters that can be incremented or decremented during each state transition. VASS MDPs can be used as abstractions of probabilistic programs with many decidable properties. In this paper, we develop techniques for analyzing the asymptotic behavior of VASS MDPs. That is, for every initial configuration of size \(n\), we consider the number of transitions needed to reach a configuration with some counter negative. We show that given a strongly connected VASS MDP there either exists an integer \(k\leq 2^d\cdot 3^{|T|}\), where \(d\) is the dimension and \(|T|\) the number of transitions of the VASS MDP, such that for all \(\epsilon>0\) and all sufficiently large \(n\) it holds that the complexity of the VASS MDP lies between \(n^{k-\epsilon}\) and \(n^{k+\epsilon}\) with probability at least \(1-\epsilon\), or it holds for all \(\epsilon>0\) and all sufficiently large \(n\) that the complexity of the VASS MDP is at least \(2^{n^{\frac{1}{2}-\epsilon}}\) with probability at least \(1-\epsilon\). We show that it is decidable which case holds and the \(k\) is computable in time polynomial in the size of the considered VASS MDP. We also provide a full classification of asymptotic complexity for VASS Markov chains.
Vector Addition Systems with States (VASS) [1] are a model for discrete systems with multiple unbounded resources expressively equivalent to Petri nets [2]. Intuitively, a VASS with \(d \geq 1\) counters is a finite directed graph where the transitions are labeled by \(d\)-dimensional vectors of integers representing counter updates. A computation starts in some state for some initial vector of non-negative counter values and proceeds by selecting transitions non-deterministically and performing the associated counter updates. The computation terminates whenever any of the counters were to become negative.
In program analysis, VASS are used as abstractions for programs operating over unbounded integer variables. Input parameters are represented by initial counter values, and more complicated arithmetical functions, such as multiplication, are modeled by VASS gadgets computing these functions in a weak sense (see, e.g., [3]). Branching constructs, such as if-then-else, are usually replaced with non-deterministic choice. VASS are particularly useful for evaluating the asymptotic complexity of infinite-state programs, i.e., the dependency of the running time (and other complexity measures) on the size of the program input [4], [5]. Traditional VASS decision problems such as reachability, liveness, or boundedness are computationally hard [6]–[8], and other verification problems such as equivalence-checking [9] or model-checking [10] are even undecidable. In contrast to this, decision problems related to the asymptotic growth of VASS complexity measures are solvable with low complexity and sometimes even in polynomial time [11]–[15]; see [16] for a recent overview. The complexity measures of VASS for which the asymptotic growth is usually considered are termination complexity, which can be seen as an analogy of time complexity, and \(c\)-counter complexity, which is an analogy of space complexity of a single variable \(c\).
The existing results about VASS asymptotic analysis are applicable to programs with non-determinism (in demonic or angelic form, see [17]), but cannot be used to analyze the complexity of probabilistic programs. This motivates the study of Markov decision process over VASS (VASS MDP) with both non-deterministic and probabilistic states, where transitions in probabilistic states are selected according to fixed probability distributions. Here, the problems of asymptotic complexity analysis become even more challenging because VASS MDPs subsume infinite-state stochastic models that are notoriously hard to analyze. So far, there are only two existing results about asymptotic VASS MDP analysis. First is [18] where the linearity of expected termination complexity is shown decidable in polynomial time for VASS MDPs with DAG-like maximal end-component (MEC) decomposition, while showing that if the expected termination complexity is not linear then it is at least quadratic. The second is [19], which introduces a new notion of asymptotic estimates for analyzing the asymptotic behavior of probabilistic systems which consists of a bound on all but \(\epsilon\)-ratio of runs for all \(\epsilon>0\). Then it shows that we can fully classify one-dimensional VASS MDPs in terms of asymptotic estimates in polynomial time. Furthermore [19] also shows that for VASS MDPs with DAG-like MEC decomposition the termination/\(c\)-counter complexity has either a linear tight asymptotic estimate or a quadratic lower asymptotic estimate, and it is decidable in polynomial time which case holds.
Of special relevance to this paper is also [12] which shows that given a strongly connected \(d\)-dimensional VASS with demonic non-determinism the termination/\(c\)-counter complexity is either in \(\Theta(n^k)\) for some \(k\in\mathbb{N}, k\leq 2^{d}\) or in \(2^{\Omega(n)}\), while it is decidable in polynomial time which case holds, and \(k\) can be computed in polynomial time, both with respect to the size of the considered VASS.
Our Contribution: Our main result (Section 3) can be seen as an extension of [12] onto VASS MDPs for asymptotic estimates. That is, we show that given a strongly connected \(d\)-dimensional VASS MDP with demonic non-determinism and \(|T|\) transitions, the termination/\(c\)-counter complexity either has a tight asymptotic estimate of \(n^k\) for some \(k\in \mathbb{N}\), \(k\leq 2^d\cdot 3^{|T|}\) or a lower asymptotic estimate of \(2^{\sqrt{n}}\), while it is decidable in polynomial time which case holds, and \(k\) can be computed in polynomial time, both with respect to the size of the considered VASS MDP.
Our next result (Section 4) is a full classification of asymptotic complexity for strongly connected VASS Markov chains. We show that for every VASS Markov chain the termination/\(c\)-counter complexity is either unbounded or one of the functions \(n\), \(n^2\) is its tight asymptotic estimate.
We also present an alternative, more intuitive definition of asymptotic estimates using a natural notion of fixed probability bounds. (Section 2.4)
We use \(\mathbb{N}\), \(\mathbb{Z}\), \(\mathbb{Q}\), and \(\mathbb{R}\) to denote the sets of positive integers, integers, rational numbers, and real numbers, respectively. We use \(\mathbb{N}_\infty\) to denote the set \(\mathbb{N}\cup \{\infty\}\) where \(\infty\) is treated according to the standard conventions, and \(\mathbb{N}_0=\mathbb{N}\cup \{0\}\). Given a function \(f \colon \mathbb{R}\rightarrow \mathbb{R}\), we use \(\pazocal{O}(f)\) and \(\Omega(f)\) to denote the sets of all \(g \colon \mathbb{N}\rightarrow \mathbb{N}\) such that \(g(n) \leq a \cdot f(n)\) and \(g(n) \geq b \cdot f(n)\) for all sufficiently large \(n \in \mathbb{N}\), respectively, where \(a,b\) are some positive constants. If \(h \in O(f)\) and \(h \in \Omega(f)\), we write \(h \in \Theta(f)\). Given a function \(f: A\rightarrow B\) and a set \(X\subseteq A\), we use \(f(X)\) to denote the set \(\{f(x)\mid x\in X \}\).
Let \(A\) be a finite index set. The vectors of \(\mathbb{Q}^A\) are denoted by bold letters such as \(\mathbf{u},\mathbf{v},\mathbf{z},\ldots\). The component of \(\mathbf{v}\) of index \(i\in A\) is denoted by \(\mathbf{v}(i)\). If the index set is of the form \(A=\{1,2,\dots,d\}\) for some positive integer \(d\), we write \(\mathbb{Q}^d\) instead of \(\mathbb{Q}^A\). For every \(n \in \mathbb{R}\), we use \(\vec{n}\) to denote the constant vector where all components are equal to \(n\). The other standard operations and relations on \(\mathbb{Q}\) such as \(+\), \(\leq\), or \(<\) are extended to \(\mathbb{Q}^d\) in the component-wise way. In particular, \(\mathbf{v}\leq \mathbf{u}\) if \(\mathbf{v}(i) \leq \mathbf{u}(i)\) for every index \(i\).
A probability distribution over a finite set \(A\) is a vector \(\nu \in [0,1]^A\) such that \(\sum_{a \in A}\nu(a) = 1\). We say that \(\nu\) is \(\emph{Dirac}\) if \(\nu(a) =1\) for some \(a \in A\).
Definition 1.
Let \(d \geq 1\). A VASS MDP* with counters \(\mathit{Count}\) is a tuple \(\pazocal{A}= \left(Q, (Q_n,Q_p),T,P \right)\), where*
\(Q \neq \emptyset\) is a finite set of states* split into two disjoint subsets \(Q_n\) and \(Q_p\) of nondeterministic and probabilistic states,*
\(T \subseteq Q \times \mathbb{Z}^\mathit{Count}\times Q\) is a finite set of transitions* such that, for every \(p \in Q\), the set \(\mathit{Out}(p) \subseteq T\) of all transitions of the form \((p,\mathbf{u},q)\) is non-empty.*
\(P\) is a function assigning to each \(t \in \mathit{Out}(p)\) where \(p \in Q_p\) a positive rational probability so that \(\sum_{t \in \mathit{Out}(p)} P(t) =1\).
A VASS MDP \(\pazocal{A}\) is a VASS Markov chain if \(Q_n=\emptyset\). \(\pazocal{A}\) is a non-probabilistic VASS if \(Q_p=\emptyset\). We say \(\pazocal{A}\) is \(d\)-dimensional if \(|\mathit{Count}|=d\). The encoding size of \(\pazocal{A}\) is denoted by \(|\!|\pazocal{A}|\!|\), where the integers representing counter updates are written in binary and probability values are written as fractions of binary numbers. For every \(p \in Q\), we use \(\mathit{In}(p) \subseteq T\) to denote the set of all transitions of the form \((q,\mathbf{u},p)\). The update vector \(\mathbf{u}\) of a transition \(t = (p,\mathbf{u},q)\) is also denoted by \(\mathbf{u}_t\). Let \(C_1,\dots,C_n\) be subsets of \(\mathit{Count}\), we use \(\pazocal{A}^{C_1,\dots,C_n}\) to denote the VASS MDP obtained from \(\pazocal{A}\) by removing any counter not in \(\bigcup_{i=1}^n C_i\).
A configuration of \(\pazocal{A}\) is a pair \(p\mathbf{v}\), where \(p \in Q\) and \(\mathbf{v}\in \mathbb{Z}^\mathit{Count}\). If some component of \(\mathbf{v}\) is negative, then \(p\mathbf{v}\) is terminal.
A computation in \(\pazocal{A}\) is a finite sequence of the form \(\alpha=p_0\mathbf{v}_0, p_1 \mathbf{v}_1,\ldots, p_n \mathbf{v}_n\) where \((p_{i},\mathbf{v}_{i+1}-\mathbf{v}_i,p_{i+1}) \in T\) for all \(i<n\). The length of \(\alpha\) is defined as \(\mathit{len}(\alpha) = n\). An infinite computation in \(\pazocal{A}\) is an infinite sequence \(\pi = p_0\mathbf{v}_0, p_1 \mathbf{v}_1,p_2 \mathbf{v}_2,\ldots\) such that every finite prefix of \(\pi\) is a computation in \(\pazocal{A}\). Let \(\mathit{Term}(\pi)\) be the least \(j\) such that \(p_j\mathbf{v}_j\) is terminal. If there is no such \(j\), we put \(\mathit{Term}(\pi) = \mathit{len}(\pi)\). We say that a computation is terminal if it contains a terminal configuration.
We say that \(q\) is reachable from \(p\) in \(\pazocal{A}\) if there exists a computation \(p\mathbf{v},\ldots, q \mathbf{v}'\) in \(\pazocal{A}\). We say that \(\pazocal{A}\) is strongly connected if for each \(p,q\in Q\) \(q\) is reachable from \(p\) in \(\pazocal{A}\).
A strategy of \(\pazocal{A}\) is a function \(\sigma\) assigning to every computation \(p_0\mathbf{v}_0,p_1 \mathbf{v}_1,\ldots,p_n \mathbf{v}_n\) such that \(p_n \in Q_n\) a probability distribution over \(\mathit{Out}(p_n)\). A strategy is counterless-memoryless (cM) if it depends only on the last state \(p_n\), and deterministic (D) if it always returns a Dirac distribution. We denote by \(cMD(\pazocal{A})\) the set of all cMD strategies of \(\pazocal{A}\). Note that a cMD strategy \(\sigma\) selects the same outgoing transition in every \(p\in Q_n\) every time \(p\) is visited, and hence we can “apply” \(\sigma\) to \(\pazocal{A}\) by removing the other outgoing transitions, and declaring all states to be a probabilistic. The resulting VASS Markov chain is denoted by \(\pazocal{A}_\sigma\). Every initial configuration \(p\mathbf{v}\) and every strategy \(\sigma\) determine the probability space over computations initiated in \(p\mathbf{v}\) in the standard way.1 We use \(\mathbb{P}^\sigma_{p\mathbf{v}}\) to denote the associated probability measure. For a measurable function \(X\) over computations, we use \(\mathbb{E}^\sigma_{p \mathbf{v}}[X]\) to denote the expected value of \(X\).
An end component (EC) of \(\pazocal{A}\) is a pair \((C,L)\) where \(C \subseteq Q\) and \(L \subseteq T\) such that the following conditions are satisfied:
\(C \neq \emptyset\);
if \(p \in C \cap Q_n\), then \(\mathit{Out}(p)\cap L\neq \emptyset\);
if \(p \in C \cap Q_p\), then \(\mathit{Out}(p)\subseteq L\);
if \((p,\mathbf{u},q) \in L\), then \(p,q \in C\);
for all \(p,q \in C\) we have that \(q\) is reachable from \(p\) and vice versa using only transitions from \(L\).
Note that if \((C,L)\) and \((C',L')\) are ECs such that \(C \cap C' \neq \emptyset\), then \((C\cup C', L \cup L')\) is also an EC. Hence, every \(p\in Q\) either belongs to a unique maximal end component (MEC), or does not belong to any EC. Also observe that each MEC can be seen as a strongly connected VASS MDP.
A multi-component of \(\pazocal{A}\) is a vector \(\mathbf{x}\in \mathbb{Q}^{T}\) that satisfies all the following conditions:
\(\mathbf{x}\geq \vec{0}\);
for each \(p\in Q\) it holds \(\sum_{t\in \mathit{Out}(p)}\mathbf{x}(t)=\sum_{t \in \mathit{In}(p)} \mathbf{x}(t)\);
for each \(p\in Q_p\), \(t\in \mathit{Out}(p)\) it holds \(\mathbf{x}(t)=P(t)\cdot \sum_{t'\in\mathit{In}(p)}\mathbf{x}(t')\).
Intuitively, \(\mathbf{x}\) assigns non-negative flow to each transition, such that what flows into a state also flows out, while for each probabilistic state \(p\in Q_p\) the flow distribution on \(\mathit{Out}(p)\) has the the same ratios as the probability distribution on \(\mathit{Out}(p)\) given by \(P\).
The effect of a multi-component \(\mathbf{x}\) is defined as \(\Delta(\mathbf{x})=\sum_{t \in T} \mathbf{x}(t)\cdot \mathbf{u}_t\). Each multi-component induces a VASS MDP \(\pazocal{A}_\mathbf{x}\) created from \(\pazocal{A}\) by removing all transitions \(t\) with \(\mathbf{x}(t)=0\). We say that \(\mathbf{x}\) is centered in a state \(p\) if \(\sum_{t\in \mathit{Out}(p)}\mathbf{x}(t)=1\), and we use \(p_\mathbf{x}\) to denote some state in which \(\mathbf{x}\) is centered (if it exists). We say that \(\mathbf{x}\) is a component if \(\mathbf{x}\) is centered in some state \(p\), and \(\pazocal{A}_\mathbf{x}\) corresponds to a MEC of \(\pazocal{A}_\sigma\) for some \(\sigma\in cMD(\pazocal{A})\).
Given a component \(\mathbf{y}\) centered in \(p\) let \(E_\mathbf{y}\) be the random variable representing the counters vector in the computation under the only strategy \(\sigma\) of \(\pazocal{A}_\mathbf{y}\) from initial configuration \(p\vec{0}\) upon revisiting \(p\) for the first time. We use \(Support(\mathbf{y})=\{\mathbf{v}\mid \mathbb{P}_{p\vec{0}}^\sigma[E_\mathbf{y}=\mathbf{v}]\neq 0 \}\) to denote the support of \(E_\mathbf{y}\), and \(Support^{C_1,\dots,C_n}(\mathbf{y})\) to denote the restriction of \(Support(\mathbf{y})\) onto the counters from \(\bigcup_{i=1}^nC_i\). Given a counter \(c\) we say that:
\(\mathbf{y}\) is increasing on \(c\) if \(\mathbb{E}_{p\vec{0}}^\sigma[E_\mathbf{y}(c)]>0\),
\(\mathbf{y}\) is decreasing on \(c\) if \(\mathbb{E}_{p\vec{0}}^\sigma[E_\mathbf{y}(c)]<0\),
\(\mathbf{y}\) is zero-bounded on \(c\) if \(\mathbb{E}_{p\vec{0}}^\sigma[E_\mathbf{y}(c)]=0\) and \(\mathbb{P}_{p\vec{0}}^\sigma[E_\mathbf{y}(c)=0]=1\),
\(\mathbf{y}\) is zero-unbounded on \(c\) if \(\mathbb{E}_{p\vec{0}}^\sigma[E_\mathbf{y}(c)]=0\) and \(\mathbb{P}_{p\vec{0}}^\sigma[E_\mathbf{y}(c)=0]\neq 1\).
Given a component \(\mathbf{y}\) of \(\pazocal{A}\) centered in \(p\), we use \(\hat{\mathbf{y}}\) to denote the component of \(\pazocal{A}_{\hat{\mathbf{y}}}\) centered in \(p\) where \(\pazocal{A}_{\hat{\mathbf{y}}}\) is created from \(\pazocal{A}_\mathbf{y}\) by replacing every transition \((q,\mathbf{u},p)\in \mathit{In}(p)\) with \((q,\mathbf{u}-\mathbb{E}_{p\vec{0}}^\sigma[E_\mathbf{y}(c)],p)\). We use \(co-\hat{\mathbf{y}}\) to denote the component of \(\pazocal{A}_{co-\hat{\mathbf{y}}}\) centered in \(p\) where \(\pazocal{A}_{co-\hat{\mathbf{y}}}\) is created from \(\pazocal{A}_\mathbf{y}\) by replacing every transition \((q,\mathbf{u},r)\) with \((q,\mathbb{E}_{p\vec{0}}^\sigma[E_\mathbf{y}(c)],r)\) if \(r=p\) and with \((q,\vec{0},r)\) otherwise. Note that \(\hat{\mathbf{y}}\) is either zero-bounded or zero-unbounded on every \(c\), whereas \(co-\hat{\mathbf{y}}\) is never zero-unbounded on any \(c\).
Components are a generalization of simple cycles from non-probabilistic systems onto MDPs, and multi-components are a generalization of multi-cycles. Just as multi-cycles can be seen as a conical combination of simple cycles, so can multi-cycles be seen as a conical combination of components (see Appending 8.1). Also, just as we can say “we iterate a cycle \(k\) times” we also say “we iterate a component \(k\) times”, where a single iteration of a component \(\mathbf{y}\) represents a computation on \(\pazocal{A}_\mathbf{y}\) started from \(p_\mathbf{y}\) until the first time \(p_\mathbf{y}\) is revisited (hence \(E_\mathbf{y}\) represents the effect of a single iteration of \(\mathbf{y}\)). This is lifted onto multi-components in the same way as iterations of cycles are lifted onto multi-cycles.
Before we introduce asymptotic estimates, let us consider a simple motivating example. Consider the simple probabilistic program of Fig. 1. The program inputs a positive integer \(N\) and then repeatedly increments/decrements \(N\) with probability \(0.5\) until \(N=0\). One can easily show that for every \(N \geq 1\), the program terminates with probability one, and the expected termination time is infinite. Based on this, one may conclude that the execution takes a very long time, independently of the initial value of \(N\). However, this conclusion is not consistent with practical experience gained from trial runs. The program tends to terminate “relatively quickly” for small \(N\), and the termination time does depend on \(N\). Hence, the function assigning \(\infty\) to every \(N \geq 1\) is not a faithful characterization of the asymptotic growth of termination time. [19] proposes an alternative characterization based on the observations that:
For every \(\varepsilon >0\), the probability of all runs terminating after more than \(N^{2+\varepsilon}\) steps approaches zero as \(N \to \infty\).
For every \(\varepsilon >0\), the probability of all runs terminating after more than \(N^{2-\varepsilon}\) steps approaches one as \(N \to \infty\).
Since the execution time is “squeezed” between \(N^{2-\varepsilon}\) and \(N^{2+\varepsilon}\) for an arbitrarily small \(\varepsilon > 0\) as \(N \to \infty\), it can be characterized as “asymptotically quadratic”. This analysis is in accordance with experimental outcomes (see e.g. [21]).
Let \(\pazocal{A}= \left(Q, (Q_n,Q_p),T,P \right)\) be a VASS MDP with counters \(\mathit{Count}\), \(c \in \mathit{Count}\), and \(t \in T\). For every computation \(\pi = p_0 \mathbf{v}_0,p_1 \mathbf{v}_1,p_2 \mathbf{v}_2,\ldots\), we put \[\begin{align} \pazocal{L}_\pazocal{A}(\pi) & = & \mathit{Term}(\pi)\\ \pazocal{C}_\pazocal{A}[c](\pi) & = & \sup \{\mathbf{v}_i(c) \mid 0 \leq i < \mathit{Term}(\pi)\}\\ \pazocal{T}_\pazocal{A}[t](\pi) & = & the total number of all 0 \leq i < \mathit{Term}(\pi) such that (p_i,\mathbf{v}_{i{+}1}{-}\mathbf{v}_i,p_{i+1}) = t \end{align}\]
We refer to the functions \(\pazocal{L}_\pazocal{A}\), \(\pazocal{C}_\pazocal{A}[c]\), and \(\pazocal{T}_\pazocal{A}[t]\) as termination, \(c\)-counter, and \(t\)-transition complexity respectively.
Note that \(\pazocal{L}_\pazocal{A}\), \(\pazocal{C}_\pazocal{A}[c]\), and \(\pazocal{T}_\pazocal{A}[t]\) are the complexity measures for VASS runs used in previous works [11]–[15], [19]. These functions can be seen as variants of the standard time/space complexities for Turing machines.
Let \(\pazocal{F}\) be one of the complexity functions defined above. In VASS abstractions of computer programs, the input is represented by initial counter values, and the input size corresponds to the maximal initial counter value. The existing works on non-probabilistic VASS concentrate on analyzing the asymptotic growth of the functions \(\pazocal{F}_{\max} : \mathbb{N}\to \mathbb{N}_\infty\) where \[\begin{align} \pazocal{F}_{\max}(n) & = & \sup\{\pazocal{F}(\pi) \mid \pi{ is a computation initiated in p\vec{n} where p \in Q}\} \end{align}\] For VASS MDP, we can generalize \(\pazocal{F}_{\max}\) into \(\pazocal{F}_{\mathrm{exp}}\) as follows: \[\begin{align} \pazocal{F}_{\mathrm{exp}}(n) & = & \sup\{\mathbb{E}_{p\vec{n}}^{\sigma}[\pazocal{F}] \mid \sigma{ is a strategy of \pazocal{A}}, p \in Q\} \end{align}\] Note that for non-probabilistic VASS, the values of \(\pazocal{F}_{\max}(n)\) and \(\pazocal{F}_{\mathrm{exp}}(n)\) are the same. However, the function \(\pazocal{F}_{\mathrm{exp}}\) suffers from the deficiency illustrated in the motivating example at the beginning of Section 2.2. To see this, consider the one-dimensional VASS MDP \(\pazocal{A}\) modeling the simple probabilistic program (see Fig. 1). For every \(n \geq 1\) and the only (trivial) strategy \(\sigma\), we have that \(\mathbb{P}^\sigma_{p \mathbf{n}}[\mathit{Term}< \infty] = 1\) and \(\pazocal{L}_{\mathrm{exp}}(n) = \infty\). However, the practical experience with trial runs of \(\pazocal{A}\) is the same as with the original probabilistic program (see Section 2.2 above).
In this section, we introduce asymptotic estimates allowing for a precise analysis of the asymptotic growth of the termination, \(c\)-counter, and \(t\)-transition complexity, especially when their expected values are infinite for a sufficiently large input.
Definition 2. Let \(\pazocal{A}\) be a VASS MDP, \(f : \mathbb{R} \to \mathbb{R}\), and \(\pazocal{F}\) be one of \(\pazocal{L}_\pazocal{A}\), \(\pazocal{C}_\pazocal{A}[c]\) or \(\pazocal{T}_\pazocal{A}[t]\).
We say that \(f\) is a lower asymptotic estimate of \(\pazocal{F}\)* if for every \(\varepsilon > 0\) there exists \(p \in Q\) and a strategy \(\sigma\) such that \[\liminf_{n \to \infty} \;\mathbb{P}^{\sigma}_{p \vec{n}}[\pazocal{F}\geq f(n^{1-\varepsilon}) ] \;= \;1\,\] Similarly, we say that \(f\) is an upper asymptotic estimate of \(\pazocal{F}\) if for every \(\varepsilon>0\), every \(p \in Q\), and every strategy \(\sigma\) it holds \[\limsup_{n \to \infty} \;\mathbb{P}^{\sigma}_{p \vec{n}}[\pazocal{F}\geq f(n^{1+\varepsilon}) ] \;= \;0\] If there is no upper asymptotic estimate of \(\pazocal{F}\), we say that \(\pazocal{F}\) is unbounded from above. If every \(f:\mathbb{R}\rightarrow \mathbb{R}\) is a lower asymptotic estimate of \(\pazocal{F}\), we say that \(\pazocal{F}\) is unbounded from below. If \(\pazocal{F}\) is unbounded from below as well as unbounded from above we say that \(\pazocal{F}\) is unbounded. Finally, we say that \(f\) is a tight asymptotic estimate of \(\pazocal{F}\) if it is both a lower asymptotic estimate and an upper asymptotic estimate of \(\pazocal{F}\).*
The above definition is based on the one introduced in [19]. An alternative, more intuitive, definition of asymptotic estimates can be obtained using another natural notion, inspired by [21]. Consider once again the motivating example from Section 2.2. One can ask the following natural question:
How many steps of the program in Fig. 1 must be executed for a given initial value of \(N\) so that the probability of termination is at least \(p\)?
This question makes sense for every fixed \(p<1\). Formally, consider the function \(f_p^\pazocal{F}:\mathbb{N}\rightarrow \mathbb{N}_{\infty}\) defined for each \(n\) as the smallest integer such that for every \(q \in Q\), and every strategy \(\sigma\) it holds \(\mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}\leq f_p^\pazocal{F}(n)]\geq p\) (or \(f_p^\pazocal{F}(n)=\infty\) if no such integer exists). We call \(f_p^\pazocal{F}\) fixed probability bound. In the next theorem we show that fixed probability bounds are closely tied with asymptotic estimates.
Theorem 1. Let \(f:\mathbb{R}\rightarrow\mathbb{R}\) be such that \(\lim_{n\rightarrow\infty} \frac{f( n)}{f( n^{1+\epsilon})}=0\) for every \(\epsilon>0\). Then:
\(f\) is a lower asymptotic estimate of \(\pazocal{F}\) iff for every \(\epsilon>0\) and every \(p<1\) it holds \(f_p^\pazocal{F}\in \Omega(f(n^{1-\epsilon}))\);
\(f\) is an upper asymptotic estimate of \(\pazocal{F}\) iff for every \(\epsilon>0\) and every \(p<1\) it holds \(f_p^\pazocal{F}\in \pazocal{O}(f(n^{1+\epsilon}))\).
The proof of Theorem 1 can be found in Appendix 10. Note that the restriction of \(\lim_{n\rightarrow\infty} \frac{f( n)}{f( n^{1+\epsilon})}=0\) for all \(\epsilon>0\) is not particularly restrictive. For instance, it holds for any polynomial or exponential function.
In this section we present the following main theorem of this paper.
Theorem 2. Let \(\pazocal{A}=\left(Q, (Q_n,Q_p),T,P \right)\) be a strongly connected \(d\)-dimensional VASS MDP. Let \(c\) be a counter and \(t\) a transition of \(\pazocal{A}\). Then for each \(\pazocal{F}\in \{\pazocal{C}_\pazocal{A}[c],\pazocal{T}_\pazocal{A}[t],\pazocal{L}_\pazocal{A}\}\) one of the following holds:
there exists \(k\in \mathbb{N}\), \(k\leq 2^d\cdot 3^{|T|}\) such that \(n^k\) is a tight asymptotic estimate of \(\pazocal{F}\);
OR \(2^{\sqrt{n}}\) is a lower asymptotic estimate of \(\pazocal{F}\).
Furthermore, it is decidable in time polynomial in \(|\!|\pazocal{A}|\!|\) which of these cases holds, and for the first case the value of \(k\) can be computed in time polynomial in \(|\!|\pazocal{A}|\!|\).
Note that it suffices to prove Theorem 2 only for \(\pazocal{C}_\pazocal{A}[c]\) and \(\pazocal{T}_\pazocal{A}[t]\), as \(\pazocal{L}_\pazocal{A}\) can be expressed by adding a new step-counter \(sc\) to \(\pazocal{A}\) which is increased by every transition of \(\pazocal{A}\). It then holds that \(\pazocal{L}_\pazocal{A}(n)=\pazocal{C}_\pazocal{A}[sc](n)-n\). While we could similarly replace \(\pazocal{T}_\pazocal{A}[t]\) with a \(t\)-transition counter that is increased only by \(t\), our approach requires us to analyze \(\pazocal{T}_\pazocal{A}[t]\) separately.
The proof of Theorem 2 is split as follows: In Section 3.1 we give an informal description of the core ideas used in our approach. In Section 3.2 we describe constraint systems (I) and (II) that are a key concept to analyzing the asymptotic behavior of VASSes. We then give a formal proof of Theorem 2 in Section 3.3.
We combine the approaches of [12] and [19] together with novel methods. The main problem with applying the methods used in [12] for analyzing strongly connected non-probabilistic VASS onto VASS MDPs is that this method requires that any cycle/component whose effect on some counter \(c\) is \(0\) can be iterated sufficient number of times without decreasing \(c\) by more than a constant in total. While this is true for non-probabilistic VASS, on VASS MDPs this holds only for the class of VASS MDPs which contain no component that is zero-unbounded on some counter.
The main technique of [19] we utilize is then that of cMD decomposition, which allows us to view any computation on a VASS MDP \(\pazocal{A}\) as an interweaving of a constant number (that depends only on \(\pazocal{A}\)) of computations on VASS Markov chains \(\pazocal{A}_\sigma\) for various \(\sigma\in cMD(\pazocal{A})\), while every strategy of \(\pazocal{A}\) can be seen as if instead of selecting the next transition it selects which one of these VASS Markov chains is to take a single computational step next.2 These can in turn be seen as an interweaving of a constant number of computations on various \(\pazocal{A}_\mathbf{y}\) for components \(\mathbf{y}\) of \(\pazocal{A}\). This allows us to view any computation on a strongly connected VASS MDP as simply “switching” between a constant number of entirely separate computations, each of which takes place on the VASS Markov chain \(\pazocal{A}_\mathbf{y}\) for some component \(\mathbf{y}\) of \(\pazocal{A}\).
The main idea used in this paper is to split the computations on \(\pazocal{A}\) into two parallel parts by utilizing the cMD decomposition. First, using the cMD decomposition we split the computation into the individual computations on \(\pazocal{A}_\mathbf{y}\) for components \(\mathbf{y}\) of \(\pazocal{A}\), and then we split each of these individual computations into two parallel parts. The computation on \(\pazocal{A}_\mathbf{y}\) is split into a “probabilistic” part representing the same computation on \(\pazocal{A}_{\hat{\mathbf{y}}}\), and a second “deterministic” part representing the same computation on \(\pazocal{A}_{co-\hat{\mathbf{y}}}\). Note that the sum of the effects of both parts is exactly the effect on \(\pazocal{A}_\mathbf{y}\). An important observation is that the “probabilistic” part is either zero-bounded or zero-unbounded on each counter, whereas the “deterministic” part can never be zero-unbounded on any counter. Hence we can apply the method of [19] (with few modifications) to analyze the asymptotic behavior of the “deterministic” part, and it remains only to develop new techniques to analyze the asymptotic behavior of the “probabilistic” part.
We do this by analyzing each of the computations on \(\pazocal{A}_{\hat{\mathbf{y}}}\) separately. Since counters on which \(\hat{\mathbf{y}}\) is zero-bounded can never be decreased by more than a constant in \(\pazocal{A}_{\hat{\mathbf{y}}}\), it suffices to analyze the behavior for counters \(c\) on which \(\hat{\mathbf{y}}\) is zero-unbounded. The key notion behind analyzing the behavior of \(\pazocal{A}_{\hat{\mathbf{y}}}\) for such \(c\) is that of a reset. Note that a computation on \(\pazocal{A}_{\hat{\mathbf{y}}}\), when \(c\) is initialized to \(n\), reaches a negative value for \(c\) after roughly \(n^2\) steps as per [19] (i.e., the number of steps has a tight asymptotic estimate of \(n^2\)). Hence if we wanted to iterate \(\pazocal{A}_{\hat{\mathbf{y}}}\) for say \(n^{k+2}\) steps we would have to reset \(c\) back to its initial value of \(n\) every time it reaches \(0\), and we would need roughly \(n^k\) such resets. A reset represents a computation whose effect on \(c\) (and potentially other counters) on all of the “deterministic” parts summed together is exactly the opposite of the effect of the “probabilistic” part \(\pazocal{A}_{\hat{\mathbf{y}}}\) since its last reset, hence the two cancel themselves out. We show that either \(\pazocal{A}_{\hat{\mathbf{y}}}\) has an upper asymptotic estimate of \(n^k\) on its length, or the set \(Support_{\hat{\mathbf{y}}}\) restricted only to counters upper bounded by \(n^{\lfloor\frac{k}{2}\rfloor}\) (note that larger counters do not need resets yet as \((n^{\lfloor\frac{k}{2}\rfloor+1})^2\geq n^{k+1}\)) can be reset in \(\pazocal{A}\) sufficient number of times to iterate \(\pazocal{A}_{\hat{\mathbf{y}}}\) rooughly \(n^{k+1}\) times. We actually show that the set all the counter vectors that can be reset often enough forms a vector space, which allows for efficient computation.
Similarly to the approach of [12], our algorithm iteratively classifies each counter and transition as either having an upper asymptotic estimate of \(n^{k}\) or a lower asymptotic estimate of \(n^{k+1}\) for its complexity, starting with \(k=1\) and iteratively classifying for higher and higher \(k\) until it either clasifies every counter and transition with a tight asymptotic estimate, or it obtains a lower asymptotic estimate of \(n^{2^d\cdot 3^{|T|}}\) for the remainder. Then similarly to [12], we show that there exists a multi-component that is an exponential iteration scheme, which is a VASS MDP analogy to an iteration scheme for non-probabilistic VASS from [14], which can be used to iterate the transitions \(t\) and pump the counters \(c\) with a lower asymptotic estimate of \(n^{2^d\cdot 3^{|T|}}\) for \(\pazocal{T}_\pazocal{A}[t]\) and \(\pazocal{C}_\pazocal{A}[c]\) to \(2^{n^{\frac{1}{2}-\epsilon}}\) with high enough probability, thus obtaining the exponential lower asymptotic estimate.
The starting point of our analysis is the dual constraint system (Fig. 2) used in [12] and adapted to VASS MDPs in [19].
We observe that both (I) and (II) are always satisfiable (set all coefficients to zero) and that the solutions of both constraint systems are closed under addition. Hence for both (I) and (II), the set of inequalities for which the maximization objective is satisfied is the same for every optimal solution. The maximization objectives can be implemented by suitable linear objective functions. Thus both constraint systems can be solved in PTIME over the integers as we can use linear programming over the rationales and then scale rational solutions to the integers by multiplying with the least common multiple of the denominators.
For clarity, let us first discuss an intuitive interpretation of solutions of (I) and (II), starting with simplified variants obtained for non-probabilistic VASS.
In a non-probabilistic VASS, a solution of (I) can be interpreted as a multi-cycle, i.e., as a collection of simple cycles \(M_1,\dots, M_k\) together with weights \(a_1,\ldots ,a_k\) such that the total effect of the multi-cycle \(\sum_{i=1}^k a_i \cdot \mathit{effect}(M_i)\) is non-negative on every counter, where \(\mathit{effect}(M_i)\) is the effect of \(M_i\) on the counters. The objective of (I) ensures that this multi-cycle includes as many transitions as possible, and the total effect of the multi-cycle is positive on as many counters as possible. The VASS MDP analogy of a multi-cycle is that of a multi-component, and the \(M_1,\dots, M_k\) should be interpreted as components \(\mathbf{y}_1,\dots,\mathbf{y}_k\) with \(\mathit{effect}(\mathbf{y}_i)=\Delta(\mathbf{y}_i)\). The objective of (I) then maximizes the number of transitions included in the multi-component, and the number of counters where the effect of the multi-component is positive.
A solution of (II) for non-probabilistic VASS can be interpreted as a ranking function on configurations defined by \(\mathit{rank}(p\mathbf{v})=\mathbf{z}(p)+\sum_{c\in\mathit{Count}} \mathbf{y}(c)\cdot \mathbf{v}(c)\), such that the value of \(\mathit{rank}\) cannot increase when moving from a configuration \(p\mathbf{v}\) to a configuration \(q\mathbf{u}\) using a transition \(t=(p,\mathbf{u}-\mathbf{v},q)\) (i.e., effect of every transition on \(\mathit{rank}\) is non-positive). The objective of (II) ensures that as many transitions as possible decrease the value of \(\mathit{rank}\), and \(\mathit{rank}\) depends on as many counters as possible (i.e., \(\mathbf{y}(c)>0\) for as many counters \(c\) as possible). For VASS MDPs, this interpretation changes only for the outgoing transitions \(t\) of probabilistic states. Instead of considering the change of \(\mathit{rank}\) caused by such \(t\in \mathit{Out}(p)\), we now consider the expected change of \(\mathit{rank}\) caused by executing a single step from \(p\). The objective ensures that \(\mathit{rank}\) depends on as many counters as possible, the value of \(\mathit{rank}\) is decreased by as many outgoing transitions of non-deterministic states as possible, and the expected change of \(\mathit{rank}\) caused by performing a single step is negative in as many probabilistic states as possible.
The key tool for our analysis is the following dichotomy:
Lemma 1 (Cited from [19]). Let \(\mathbf{x}\) be a maximal solution to the constraint system (I) and \(\mathbf{y},\mathbf{z}\) be a maximal solution to the constraint system (II). Then, for each counter \(c\in \mathit{Count}\) we have that either \(\mathbf{y}(c)>0\) or \(\sum_{t \in T} \mathbf{x}(t)\cdot \mathbf{u}_t(c)>0\), and for each transition \(t = (p,\mathbf{u},q)\in T\) we have that
if \(p\in Q_n\) then either \(\mathbf{x}(t)>0\) or \(\mathbf{z}(q)-\mathbf{z}(p)+\sum_{c\in\mathit{Count}} \mathbf{u}(c)\cdot \mathbf{y}(c)<0\);
if \(p\in Q_p\) then either \(\mathbf{x}(t)>0\) or \[\sum_{t'=(p,\mathbf{u}',q') \in \mathit{Out}(p)}P(t')\cdot \big(\mathbf{z}(q')-\mathbf{z}(p)+\sum_{c\in\mathit{Count}} \mathbf{u}'(c)\cdot \mathbf{y}(c)\big)< 0\]
In this section we formally describe the procedure that performs the analysis as per Theorem 2. For the rest of the section we fix a strongly connected VASS MDP \(\pazocal{A}= \left(Q, (Q_n,Q_p),T,P \right)\) with counters \(\mathit{Count}\).
We use \(\tilde{C}_i\subseteq \mathit{Count}\) to denote the set of all counters with tight asymptotic estimate of \(n^i\) for \(\pazocal{C}_\pazocal{A}[c]\), \(\tilde{C}_{k+}\subseteq \mathit{Count}\) to denote the set of all counters with lower asymptotic estimate of \(n^k\) for \(\pazocal{C}_\pazocal{A}[c]\), and we use \(T_i\subseteq T\) to denote the set of all transitions with lower asymptotic estimate of \(n^i\) for \(\pazocal{T}_\pazocal{A}[t]\). We denote by \(\pazocal{A}_{T_i}\) the VASS MDP \(\pazocal{A}\) restricted only to transitions from \(T_i\).
Let VASS MDPs \(\pazocal{A}_1,\pazocal{A}_2,\dots\) be such that each \(\pazocal{A}_i\) is obtained from \(\pazocal{A}_{T_i}\) by “creating local copies” for each counter \(c\in \bigcup_{j=1}^{i-1}\tilde{C}_j\) in the following way: let \(1\leq j\leq i-1\), \(c\in \tilde{C}_j\), and let \(B_1,\dots,B_w\) be all the MECs of \(\pazocal{A}_{T_{i-j}}\). Then \(\pazocal{A}_i\) instead of the counter \(c\) contains counters \(c_1,\dots,c_w\) such that for every transition \(t=(p,\mathbf{u},q)\) of \(\pazocal{A}_{T_i}\), in \(\pazocal{A}_i\) this transition is changed into \((p,\mathbf{u}_i,q)\) where \(\mathbf{u}_i(c_x)=\mathbf{u}(c)\) if \(t\) is a transition of \(B_x\), and \(\mathbf{u}_i(c_x)=0\) otherwise. Formally, \(\pazocal{A}_i=\left(Q, (Q_n,Q_p),T',P' \right)\) is a VASS MDP with counters \(\mathit{Count}_i\) where:
\(\mathit{Count}_i=\tilde{C}_{i+}\cup \bigcup_{j=1}^{i-1} \bigcup_{B; B\textit{ is a MEC of }\pazocal{A}_{i-j}} \bigcup_{c\in \tilde{C}_j} \{c_B\}\),
for each \((p,\mathbf{u},q)\in T\) it holds \((p,\mathbf{u}_i,q)\in T'\) and \(P'((p,\mathbf{u}_i,q))=P((p,\mathbf{u},q))\) where \(\mathbf{u}_i\) is defined as \(\mathbf{u}_i(c)=\mathbf{u}(c)\) for all \(c\in \tilde{C}_{i+}\), and for each \(1\leq j\leq i-1\), each \(c\in \tilde{C}_{j}\), and each MEC \(B\) of \(\pazocal{A}_{i-j}\) it holds \(\mathbf{u}_i(c_B)=\mathbf{u}(c)\) if \(B\) contains \((p,\mathbf{u},q)\), and \(\mathbf{u}_i(c_B)=0\) otherwise.
\(T'\) contains no transitions other than the ones defined by the previous step.
Note that each transition of \(\pazocal{A}_i\) corresponds to a transition from \(\pazocal{A}\) and vice versa, hence we will use transitions of \(\pazocal{A}\) (\(\pazocal{A}_i\)) to also reference the corresponding transitions from \(\pazocal{A}_i\) (\(\pazocal{A}\)). Also note that \(\pazocal{A}_1=\pazocal{A}\).
We use \(C_i\subseteq \bigcup_{i=1}^\infty \mathit{Count}_i\) to denote the set of all counters with tight asymptotic estimate of \(n^i\) for \(\pazocal{C}_{\pazocal{A}_{i}}[c]\) where \(i\in \mathbb{N}\), and \(C_{k+}\subseteq \bigcup_{i=1}^\infty \mathit{Count}_i\) to denote the set of all counters with lower asymptotic estimate of \(n^k\) for \(\pazocal{C}_{\pazocal{A}_i}[c]\) where \(i\in \mathbb{N}\). We use \(\pazocal{A}^{C_1,\dots,C_j}_{i,T}\) to denote the VASS MDP \(\pazocal{A}_i\) restricted only to counters from \(\mathit{Count}_i\cap \bigcup_{l=1}^{j} C_l\) and only to transition from \(T\).
We say that we have classified \(\pazocal{A}\) up to \(k\) if for each counter \(c\) (transition \(t\)) of \(\pazocal{A}\) either we have that \(n^{a}\) is a tight asymptotic estimate of \(\pazocal{C}_\pazocal{A}[c]\) (\(\pazocal{T}_\pazocal{A}[t]\)) where \(1\leq a\leq k; a\in \mathbb{N}\) or we have a lower asymptotic estimate \(n^{k+1}\) for \(\pazocal{C}_\pazocal{A}[c]\) (\(\pazocal{T}_\pazocal{A}[t]\)). Note that classifying \(\pazocal{A}\) up to \(0\) is trivial since each \(\pazocal{C}_\pazocal{A}[c]\) (\(\pazocal{T}_\pazocal{A}[t]\)) has a trivial lower asymptotic estimate of \(n\).
Let us begin with the following Lemma.
Lemma 2. If we have classified \(\pazocal{A}\) up to \(k-1\), then classifying \(\pazocal{A}\) up to \(k\) can be done in time polynomial in \(|\!|\pazocal{A}|\!|\).
First step towards classifying \(\pazocal{A}\) up to \(k\) is the following Lemma.
Lemma 3. Let \(1\leq l \leq \lfloor\frac{k}{2}\rfloor\). Let \(\mathbf{y}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}},\mathbf{z}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) be a maximal solution of (II) for \(\pazocal{A}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\), and let \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) be the resulting ranking function defined by \(\mathbf{y}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}},\mathbf{z}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\). There exists a set of transitions \(R^{C_1,\dots,C_l}_{k-l}\) of \(\pazocal{A}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) such that both of these hold:
for each component \(\mathbf{y}\) of \(\pazocal{A}_{k-l,T_{k-l+1}}\) it holds that \(\hat{\mathbf{y}}\) is zero-bounded on \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) iff \(R^{C_1,\dots,C_l}_{k-l}\cap \{t\mid \mathbf{y}(t)>0 \}= \emptyset\);
\(\pazocal{T}_\pazocal{A}[t]\) has an upper asymptotic estimate of \(n^k\) for each \(t\in R^{C_1,\dots,C_l}_{k-l}\).
Furthermore, assuming we have a classification of \(\pazocal{A}\) up to \(k-1\), \(R_{k-l}\) can be computed in time polynomial in \(|\!|\pazocal{A}|\!|\).
Proof of Lemma 3 can be found in Appendix 13.1.5. The main idea behind this proof is that for each component \(\mathbf{y}\) of \(\pazocal{A}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) we show that \(\hat{\mathbf{y}}\) is zero-bounded on \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) iff the effect of every transition of \(\mathbf{y}\) on \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) is \(0\). For the second part, we show that \(\hat{\mathbf{y}}\) is not zero-bounded on \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) iff the number of times \(\hat{\mathbf{y}}\) can be iterated has an upper asymptotic estimate of \(n^k\). Then we divide the computations on \(\pazocal{A}\) into segments such that the transitions from \(R^{C_1,\dots,C_l}_{k-l}\) in each segment either decrease or increase \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) by it’s maximal possible value. We then show that if it were possible to iterate any component \(\mathbf{y}\) with \(R^{C_1,\dots,C_l}_{k-l}\cap \{t\mid \mathbf{y}(t)>0 \}\neq \emptyset\) at least \(n^{k+\epsilon}\) times in \(\pazocal{A}\) with sufficiently large probability, then the probability of all computations that contain “too many” segments that decrease \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) is larger than the maximal possible probability of all such computations, obtained by a bound on how much \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) can be increased in total with any non-negligible probability in \(\pazocal{A}\).0◻
Towards classifying \(\pazocal{A}\) up to \(k\) we first compute for each \(1\leq l \leq \lfloor \frac{k}{2}\rfloor\) the sets \(R^{C_1,\dots,C_l}_{k-l}\) using Lemma 3, thus finding the set \(T_k'=\bigcup_{l=1}^{\lfloor \frac{k}{2}\rfloor} R^{C_1,\dots,C_l}_{k-l}\) of all transitions \(t\) for which Lemma 3 gives an upper asymptotic estimate of \(n^k\) for \(\pazocal{T}_\pazocal{A}[t]\).
Note that here \(k\) can be arbitrarily large, thus naively computing the sets \(R^{C_1,\dots,C_l}_{k-l}\) for every \(1\leq l\leq \lfloor\frac{k}{2}\rfloor\) may not finish in polynomial time. However, it suffices to compute \(R^{C_1,\dots,C_l}_{k-l}\) only for polynomially many \(l\), as there are only polynomially many different VASS MDPs \(\pazocal{A}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\). To see this, consider the sets \(\mathit{Cbounds}=\{\mathit{a}< k\mid C_\mathit{a}\neq \emptyset \}\) and \(\mathit{Tbounds}=\{\mathit{b}< k\mid T_b\setminus T_{b+1}\neq \emptyset \}\). Notice that \(\pazocal{A}^{C_1,\dots,C_{l}}_{k-l,T_{k-l+1}}\) and \(\pazocal{A}^{C_1,\dots,C_{l-1}}_{k-l-1,T_{k-l}}\) differ only if one of these three holds:
\(\bigcup_{i=1}^lC_i \neq \bigcup_{i=1}^{l-1}C_i\) which is equivalent to \(l\in\mathit{Cbounds}\);
or there exists a transition \(t\in T_{k-l}\setminus T_{k-l+1}\) which is equivalent to \(k-l\in\mathit{Tbounds}\);
or there exists a counter \(c\in C_{a}\subseteq \bigcup_{i=1}^lC_i\) such that there exists a transition \(t\in T_{k-l-a}\setminus T_{k-l-a+1}\), which is equivalent to \(k-l-a\in\mathit{Tbounds}\) for some \(a\in \mathit{Cbounds};a\leq l\).
Thus \(\pazocal{A}^{C_1, \dots, C_l}_{k-l,T_{k-l+1}}\) and \(\pazocal{A}^{C_1, \dots, C_l}_{k-l-1,T_{k-l}}\) can differ only for \(l\in X=\mathit{Cbounds}\cup \{k-b\mid b\in \mathit{Tbounds}\} \cup \{k-b-a \mid a\in \mathit{Cbounds}, b\in \mathit{Tbounds}\}\). Since both \(\mathit{Cbounds}\) and \(\mathit{Tbounds}\) are polynomially large, \(X\) is also polynomially large. Thus we can simply compute the set \(X\) and then compute \(R^{C_1,\dots,C_l}_{k-l}\) only for \(1\leq l \leq \lfloor \frac{k}{2}\rfloor\) such that \(l\in X\). This allows us to compute the set \(T_k'=\bigcup_{l=1}^{\lfloor \frac{k}{2}\rfloor} R^{C_1,\dots,C_l}_{k-l}\) in polynomial time.
After this, we compute maximal solutions \(\mathbf{x}_k,\mathbf{y}_k\), and \(\mathbf{z}_k\) for the systems (I) and (II) for \(\pazocal{A}_{k,\hat{T}_{k+1}}\) where \(\hat{T}_{k+1}=T_{k}\setminus T_k'\). These can be computed in polynomial time as discussed in Section 3.2.
Note that \(\pazocal{A}_{k,\hat{T}_{k+1}}\) contains no component that is zero-unbounded on any counter \(c\in \bigcup_{i=1}^{\lfloor\frac{k}{2}\rfloor} C_i\). While this does not necessarily mean that there is no component of \(\pazocal{A}_{k,\hat{T}_{k+1}}\) that is zero-unbounded on some counter, this does imply that for every component \(\mathbf{y}\) of \(\pazocal{A}_{k,\hat{T}_{k+1}}\), \(\hat{\mathbf{y}}\) can be iterated at least \(n^{k+1}\) times with high probability (see Appendix 13.1). This is sufficient to apply a modification of the method used in [12] to obtain the remaining upper/lower asymptotic estimates towards classifying \(\pazocal{A}\) up to \(k\).
We obtain the additional upper asymptotic estimates of \(n^k\) from the following Lemma.
Lemma 4. Let \[\mathit{\tau}= \begin{cases} 1 & \text{if } k=1 \\ k & \text{if } k>1 \text{ and }T_k'\neq \emptyset \\ \max\{a+b\mid a\in \mathit{Cbounds},b\in \mathit{Tbounds}; a+b\leq k \} & \text{if } k>1 \text{ and }T_k'= \emptyset \end{cases}\]
Then for every counter \(c\in \mathit{Count}\) such that \(\mathbf{y}_k(c)>0\) it holds that \(n^\mathit{\tau}\) is an upper asymptotic estimate of \(\pazocal{C}_\pazocal{A}[c]\). Furthermore each transition \(t=(p,\mathbf{u},q)\) of \(\pazocal{A}_{k,\hat{T}_{k+1}}\) has an upper asymptotic estimate of \(n^\mathit{\tau}\) for \(\pazocal{T}_\pazocal{A}[t]\) if one of the following holds:
\(p\in Q_n\) and \(\mathbf{z}_k(q)-\mathbf{z}_k(p)+\sum_{c\in\mathit{Count}} \mathbf{u}(c)\cdot \mathbf{y}_k(c)<0\),
\(p\in Q_p\) and \(\sum_{t' = (p',\mathbf{u}',q') \in \mathit{Out}(p)}P(t')\cdot \big(\mathbf{z}_k(q')-\mathbf{z}_k(p')+\sum_{c\in\mathit{Count}} \mathbf{u}'(c)\cdot \mathbf{y}_k(c)\big)< 0\).
The proof of Lemma 4 can be found in the Appendix 11. The idea is that we can design a supermartingale that is upper bounded by \(n^{\mathit{\tau}+\epsilon}\), and which with very high probability upper bounds the ranking function \(rank_k\) defined by \(\mathbf{y}_k,\mathbf{z}_k\) and extended onto computations of \(\pazocal{A}\). Thus obtaining an upper asymptotic estimate of \(n^\mathit{\tau}\) for counters \(rank_k\) considers, as well as for transitions that strictly decrease the supermartingale on average. 0◻
We then obtain the remaining lower asymptotic estimates of \(n^{k+1}\) from the following Lemma.
Lemma 5. For every transition \(t\) with \(\mathbf{x}_k(t)>0\) and every counter \(c\in \mathit{Count}\) with \(\sum_{t' \in T} \mathbf{x}_k(t')\cdot \mathbf{u}_{t'}(c)>0\) it holds that \(n^{k+1}\) is a lower asymptotic estimate of \(\pazocal{T}_\pazocal{A}[t]\) and \(\pazocal{C}_\pazocal{A}[c]\).
Proof of Lemma 5 can be found in Appendix 12.1. The idea here is that we design a strategy, which iterates \(\mathbf{x}_k\) for a total of \(n^{k+1-\epsilon}\) times with very high probability. This is achieved by splitting the computation into two parallel computations, the “probabilistic” part as well as the “deterministic” part (see Section 3.1). We show that for every component \(\mathbf{y}\) of \(\pazocal{A}_{k,\hat{T}_{k+1}}\) we can iterate \(\hat{\mathbf{y}}\) at least \(n^{k+1-\epsilon}\) times with very high probability. This ensures that with high probability the “probabilistic” part cannot terminate before taking at least \(n^{k+1-\epsilon}\) steps in \(\pazocal{A}_{\hat{T}_{k+1}}\). This then allows us to use the same method used in [12] of “switching” between components of \(\pazocal{A}\) in such a way that that the “deterministic” part is guaranteed to not terminate before at least \(n^{k+1-\epsilon}\) steps as well, while simultaneously iterating \(\mathbf{x}_k\) roughly \(n^{k+1-\epsilon}\) times with very high probability. 0◻
From Lemma 1 we have for each counter \(c\in C_{k+}\) that either \(\mathbf{y}_k(c)>0\) or \(\sum_{t \in T} \mathbf{x}(t)\cdot \mathbf{u}_t(c)>0\). In the former case we obtain from Lemma [lemma-upper-bound-T] an upper asymptotic estimate of \(n^\mathit{\tau}\) for \(\pazocal{C}_\pazocal{A}[c]\) and in the latter case we obtain from Lemma 5 a lower asymptotic estimate of \(n^{k+1}\) for \(\pazocal{C}_\pazocal{A}[c]\). Similarly, from Lemma 1 we also have that for each transition \(t\in \hat{T}_{k+1}\) either Lemma 4 gives an upper asymptotic estimate \(n^\mathit{\tau}\) for \(\pazocal{T}_\pazocal{A}[t]\) or Lemma 5 gives a lower asymptotic estimate \(n^{k+1}\) for \(\pazocal{T}_\pazocal{A}[t]\). Thus classifying \(\pazocal{A}\) up to \(k\) can be done in polynomial time assuming we already have classified \(\pazocal{A}\) up to \(k-1\). This finishes the proof of Lemma 2. 0◻
Now we will show that it suffices to perform the classification for at most polynomially many \(k\). To see this, notice for any counter/transition for which we do not yet have an upper asymptotic estimate we can obtain an upper asymptotic estimate of \(n^{k}\) only either from Lemma 3 or from Lemma 4, and if we do not obtain an upper asymptotic estimate this way then we obtain a lower asymptotic estimate of \(n^{k+1}\) from Lemma 5. Furthermore, from Lemma 4 we can obtain an upper asymptotic estimate \(n^k\) only if either there exist \(a\in \mathit{Cbounds}\) and \(b\in \mathit{Tbounds}\) such that \(a+b=k\), or if \(T_k'\neq \emptyset\), or if \(k=1\). Similarly, from the Lemma 3 we can obtain an upper asymptotic estimate \(n^k\) only if \(R^{C_1,\dots,C_l}_{k-l} \neq \emptyset\) for some \(1\leq l\leq \lfloor\frac{k}{2}\rfloor\).
But for each \(r\in \mathbb{N}\) there exists \(a\in \mathit{Cbounds}\) such that \(C_1\cup \dots\cup C_r\) is the same as \(C_1\cup \dots\cup C_a\). Furthermore, \(\pazocal{A}_{s,T_{s+1}}^{C_1,\dots,C_r}\) differs from \(\pazocal{A}_{s-1,T_{s}}^{C_1,\dots,C_r}\) only if at least one of the following holds:
there exists a transition \(t\in T_{s}\setminus T_{s+1}\); (different set of transitions)
there exists a counter \(c\in C_a\subseteq C_{1}\cup \dots\cup C_{r}\) such that there exists a transition \(t\in T_{s-a}\setminus T_{s-a+1}\); (different local copies of \(c\))
Therefore each of the VASS MDPs \(\pazocal{A}_{s,T_{s+1}}^{C_1,\dots,C_r}\) is represented in the set \(M=\{\pazocal{A}_{s,T_{s+1}}^{C_1,\dots,C_r} \mid r\in \mathit{Cbounds}, s\in S_r \}\) where \(S_r=\mathit{Tbounds}\cup \{a+b \mid a\in \mathit{Cbounds}, b\in \mathit{Tbounds}, a\leq r \}\).
For each \(r\in \mathit{Cbounds}, s\in S_r\) let \(k_{s,r}\) denote the smallest \(k\) such that we can obtain an upper asymptotic estimate of \(n^k\) from \(\pazocal{A}_{s,T_{s+1}}^{C_1,\dots,C_r}\) using the Lemma 3. From the following Lemma it holds \(k_{s,r}=\max(s+r,2\cdot r)\).
Lemma 6. We can only obtain an upper asymptotic estimate of \(n^k\) from Lemma 3 for values of \(k\) satisfying \(k=\max(s+r,2\cdot r)\) where \(r\in \mathit{Cbounds}\) and \(s\in S_r\).
The proof of Lemma 6 can be found in the Appendix 13.1.5.0◻
Thus it suffices to perform classification of \(\pazocal{A}\) for only the polynomially many values \(k\in X_1\cup X_2\) where \(X_1=\mathit{Tbounds}\cup \{a+b\mid a\in \mathit{Cbounds},b\in \mathit{Tbounds}\}\cup \{1\}\) and \(X_2=\{\max(s+r,2\cdot r)\mid r\in \mathit{Cbounds}, s\in S_r \}\) which can also be written as \(X_2= \{\max(s+r,2\cdot r)\mid r\in \mathit{Cbounds},a\in \mathit{Cbounds},b\in \mathit{Tbounds}; \textit{ either }s=b \textit{ or }s=a+b\textit{ and }a\leq r \}\).
Therefore we can perform the full analysis in polynomial time as follows: First we perform the classification of \(\pazocal{A}\) up to \(k=1\), and each time we finish the classification of \(\pazocal{A}\) up to some \(k\) we recompute the sets \(\mathit{Cbounds},\mathit{Tbounds},X_1,X_2\) and then perform the classification of \(\pazocal{A}\) for the smallest \(k'>k\) with \(k'\in X_1\cup X_2\). Note that we add new elements to \(\mathit{Cbounds},\mathit{Tbounds},X_1,X_2\) only if we find a new upper estimate \(n^k\) for some \(\pazocal{C}_\pazocal{A}[c]\) or \(\pazocal{T}_\pazocal{A}[t]\), which can happen at most polynomially many times, and every time we add only polynomially many elements. We proceed this way until \(X_1\cup X_2 = \emptyset\) which happens in time polynomial in \(|\!|\pazocal{A}|\!|\) at which point the algorithm stops.
Whenever we add a new element to \(X_1\cup X_2\) the largest element of \(X_1\) (\(X_2\)) is at most double (triple) of the largest element of \(\mathit{Cbounds}\cup \mathit{Tbounds}\). Also we can add new elements to \(\mathit{Cbounds}\) at most \(|\mathit{Count}|\) times and to \(\mathit{Tbounds}\) at most \(|T|\) times. Furthermore, we can only obtain an upper asymptotic estimate of \(n^k\) for \(\pazocal{C}_\pazocal{A}[c]\) if either \(k\in X_1\) or there is a transition \(t\) with a tight asymptotic estimate of \(n^k\) for \(\pazocal{T}_\pazocal{A}[t]\). Thus we obtain the following Lemma.
Lemma 7. Given a counter \(c\in\mathit{Count}\) (a transition \(t\in T\)) either \(\pazocal{C}_\pazocal{A}[c]\) (\(\pazocal{T}_\pazocal{A}[t]\)) has an upper asymptotic estimate of \(n^{2^{|\mathit{Count}|}\cdot 3^{|T|}}\) or \(\pazocal{C}_\pazocal{A}[c]\) (\(\pazocal{T}_\pazocal{A}[t]\)) has a lower asymptotic estimate of \(n^k\) for every \(k\in \mathbb{N}\).
We now show that the counters/transitions for which we do not obtain an upper asymptotic estimate using the above have a lower asymptotic estimate \(2^{\sqrt{n}}\).
Lemma 8. Given a counter \(c\in\mathit{Count}\) (a transition \(t\in T\)) if \(\pazocal{C}_\pazocal{A}[c]\) (\(\pazocal{T}_\pazocal{A}[t]\)) has a lower asymptotic estimate of \(n^{k}\) for all \(k\in \mathbb{N}\) then \(\pazocal{C}_\pazocal{A}[c]\) (\(\pazocal{T}_\pazocal{A}[t]\)) has a lower asymptotic estimate \(2^{\sqrt{n}}\).
In this section, we give a full and effective classification of \(\pazocal{L}_\pazocal{A}\), \(\pazocal{C}_\pazocal{A}[c]\), and \(\pazocal{T}_\pazocal{A}[t]\) for VASS Markov chains. More precisely, we have the following:
Theorem 3.
Let \(\pazocal{A}\) be a strongly connected VASS Markov chain. Let \(c\) be a counter and \(t\) a transition of \(\pazocal{A}\). Then for each \(\pazocal{F}\in \{\pazocal{C}_\pazocal{A}[c],\pazocal{T}_\pazocal{A}[t],\pazocal{L}_\pazocal{A}\}\) exactly one of the following holds:
\(\pazocal{F}\) is unbounded.
\(n^2\) is a tight asymptotic estimate of \(\pazocal{F}\).
\(n\) is a tight asymptotic estimate of \(\pazocal{F}\).
It is decidable in time polynomial in \(|\!|\pazocal{A}|\!|\) which of the above cases holds.
The proof of Theorem 3 can be found in the Appendix 9. The main idea is to analyze for each individual counter \(c\) the \(1\)-dimensional VASS Markov chain restricted only to \(c\), by utilizing the results about \(1\)-dimensional VASS MDPs from [19], and then combine these into analysis of \(\pazocal{A}\). 0◻
Note that in general (i.e., not strongly connected) VASS Markov chains, the computation “very quickly” falls into a MEC. As the expected effect of the computation before reaching a MEC is upper bounded by a constant, the effect of the computation before reaching a MEC is asymptotically negligible with very high probability.3 Hence Theorem 3 can be extended onto general VASS Markov chains by analyzing all of its MECs individually, with the only difference being that for transitions \(t\) that are not part of any MEC, \(\pazocal{T}_\pazocal{A}[t]\) would be “asymptotically constant” (note that this does not mean that \(\pazocal{T}_\pazocal{A}[t]\) would have a constant function as its upper asymptotic estimate, however the expectation of \(\pazocal{T}_\pazocal{A}[t]\) would in \(\Theta(1)\)).
We presented a precise complexity classification for polynomial asymptotic estimates on strongly connected VASS MDPs, and we have shown that on this sub-class polynomial tight asymptotic estimates can be computed efficiently. We also presented full classification of asymptotic complexity for strongly connected VASS Markov chains, and showed an alternative definition of asymptotic estimates using a natural notion of fixed probability bounds. These results are especially encouraging given that the study of multi-dimensional VASS MDPs is notoriously difficult.
While our main result is only for strongly connected VASS MDPs, we hypothesize that it can can be extended onto general VASS MDPs by utilizing the notion of types introduced in [19] combined with the methods used in [15] for extending results about analysis of strongly connected non-probabilistic VASS onto general non-probabilistic VASS and VASS games. This approach might also be able to extend our results onto VASS MDP games which combine probabilistic states with both angelic and demonic non-determinism.
We presented a precise complexity classification for polynomial asymptotic estimates on strongly connected VASS MDPs, and we have shown that on this sub-class polynomial tight asymptotic estimates can be computed efficiently. We also presented full classification of asymptotic complexity for strongly connected VASS Markov chains, and showed an alternative definition of asymptotic estimates using a natural notion of fixed probability bounds. These results are especially encouraging given that the study of multi-dimensional VASS MDPs is notoriously difficult.
While our main result is only for strongly connected VASS MDPs, we hypothesize that it can can be extended onto general VASS MDPs by utilizing the notion of types introduced in [19] combined with the methods used in [15] for extending results about analysis of strongly connected non-probabilistic VASS onto general non-probabilistic VASS and VASS games. This approach might also be able to extend our results onto VASS MDP games which combine probabilistic states with both angelic and demonic non-determinism.
In this Section we introduce additional definitions that are used thorough the appendix.
Given subsets \(C_1,\dots,C_n\) of \(\mathit{Count}\) and a multi-component \(\mathbf{x}\) we use \(\Delta^{C_1,\dots,C_n}(\mathbf{x})\) to denote the vector \(\Delta(\mathbf{x})\) restricted only to the counters from \(\bigcup_{i=1}^n C_i\).
Concatenation: Given two computations \(\alpha=p_0\mathbf{v}_0, p_1 \mathbf{v}_1,\dots, p_a \mathbf{v}_a\) and \(\beta=p_0'\mathbf{v}_0', p_1' \mathbf{v}_1',\dots, p_b' \mathbf{v}_b'\) we define their concatenation \(\alpha\cdot\beta\) as \(\alpha\cdot\beta= p_0\mathbf{v}_0,\dots, p_a \mathbf{v}_a,p_1' \mathbf{v}_1',\dots, p_b' \mathbf{v}_b'\). Note that if \(p_a\mathbf{v}_a=p_0'\mathbf{v}_0'\) then \(\alpha\cdot \beta\) is also a computation.
We use the symbol \(\epsilon\) to denote an empty computation.
Pointing VASS: A pointing pair is a pair \((\mathcal{M},p)\) where \(\mathcal{M}\) is a VASS Markov chain and \(p\) is a state of \(\mathcal{M}\). A pointing VASS with counters \(\mathit{Count}\) is defined as \(\mathbb{B}=\big((\mathcal{M}_1,p_1),\dots,(\mathcal{M}_n,p_n)\big)\) where each \((\mathcal{M}_i,p_i)\) is a pointing pair such that \(\mathcal{M}_i\) is a VASS Markov chain with counters \(\mathit{Count}\). Note that the VASS Markov chains \(\mathcal{M}_1,\dots,\mathcal{M}_n\) may share states. A pointing configuration of \(\mathbb{B}\) is a tuple \((q_1,\dots,q_n)a\mathbf{v}\) where each \(q_i\) is a state of \(\mathcal{M}_i\), \(a\in \{1,\dots,n \}\) and \(\mathbf{v}\in \mathbb{Z}^\mathit{Count}\). We say that in the pointing configuration \((q_1,\dots,q_n)a\mathbf{v}\), each VASS Markov chain \(\mathcal{M}_i\) is in the state \(q_i\), \(\mathcal{M}_a\) is the VASS Markov chain that was pointed to last, and \(\mathbf{v}\) is the counters vector. The dynamics of a pointing VASS are such that in the pointing configuration \((q_1,\dots,q_n)a\mathbf{v}\) the allowed actions are \(\{b\in \{1,\dots,n\}\mid q_a=q_{b} \}\). Upon taking the action \(b\) from \((q_1,\dots,q_n)a\mathbf{v}\), the probability of the next pointing configuration being \((q_1,\dots,q_{b-1},q_b',q_{b+1},\dots,q_n)b\mathbf{v}'\) such that \(\mathbf{v}'=\mathbf{v}+\mathbf{u}\) is equal to the probability of the transition \((q_b,\mathbf{u},q_b')\) in \(\mathcal{M}_b\) (and any pointing configuration that is not assigned a probability this way has probability \(0\)).
If some component of \(\mathbf{v}\) is negative then \((q_1,\dots,q_n)a\mathbf{v}\) is terminal. A pointing computation is a sequence of pointing configurations \(\pi=(p_1,\dots,p_n)a_0\mathbf{v}_0,(q_1^1,\dots,q_n^1)a_1\mathbf{v}_1,(q_1^2,\dots,q_n^2)a_2\mathbf{v}_2,\dots\). Let \(\mathit{Term}(\pi)\) be the least \(j\) such that \((q_1^j,\dots,q_n^j)a_j\mathbf{v}_j\) is terminal.
A pointing strategy is a function \(\sigma\) assigning to every finite pointing computation \((p_1,\dots,p_n)a_0\mathbf{v}_0,(q_1^1,\dots,q_n^1)a_1\mathbf{v}_1,\dots,(q_1^m,\dots,q_n^m)a_m\mathbf{v}_m\) a probability distribution over \(\{b\in \{1,\dots,n\}\mid q_{b}^m=q_{a_m}^m \}\). Every initial counter vector \(\mathbf{v}\), every \(a\in\{1,\dots,n \}\), and every pointing strategy \(\sigma\) determine the probability space over pointing computations initiated in \((p_1,\dots,p_n)a\mathbf{v}\) in the standard way. We use \(\mathbb{P}^\sigma_{p_a\mathbf{v}}\) to denote the associated probability measure. For a measurable function \(X\) over computations, we use \(\mathbb{E}^\sigma_{p_a \mathbf{v}}[X]\) to denote the expected value of \(X\).
Note that from [19], for each VASS MDP \(\pazocal{A}\) there exists a pointing VASS \(\tilde{\pazocal{A}}\) that is bisimulation equivalent to \(\pazocal{A}\), and such that \(\tilde{\pazocal{A}}\) contains all the possible pointing pairs \((\pazocal{A}_\sigma,p)\) where \(p\) is a state of \(\pazocal{A}\) and \(\sigma\in cMD(\pazocal{A})\). Thus to each computation \(\pi\) on \(\pazocal{A}\) we can assign a corresponding pointing computation \(\tilde{\pi}\) on \(\tilde{\pazocal{A}}\) and vice versa. Especially, this allows us to assign to each computation \(\pi=p_0\mathbf{v}_0,\ldots, p_n \mathbf{v}_n\) on \(\pazocal{A}\) and a transition \(t\in \mathit{Out}(p_n)\) a unique pointing pair \((\mathcal{M},pone)\) that is being pointed at in \(\tilde{\pazocal{A}}\) at this step.4 We say that this step points to a MEC \(B\) of \(\pazocal{A}_\sigma\) for \(\sigma\in cMD(\pazocal{A})\) if \(B\) is entirely contained in \(\mathcal{M}\) and \(p\) is a state of \(B\). Note that since \(\mathcal{M}\) is a VASS Markov chain equal to \(\pazocal{A}_\sigma\) for some \(\sigma\in cMD(\pazocal{A})\), it either holds that no such \(B\) exists (if \(p\) is not a state of any MEC of \(\mathcal{M}\)) or \(B\) is determined uniquely.5
Given a VASS MDP \(\pazocal{A}\), as for a component \(\mathbf{y}\) of \(\pazocal{A}\) it holds that \(\pazocal{A}_\mathbf{y}\) is a VASS Markov chain, each component \(\mathbf{y}\) of \(\pazocal{A}\) defines uniquely a pointing pair \((\pazocal{A}_\mathbf{y},p_\mathbf{y})\). Given a component \(\mathbf{y}\) of \(\pazocal{A}\) we use \(\pazocal{A}_{+\mathbf{y}} =\big( (\mathcal{M}_1,p_1),\dots,(\mathcal{M}_w,p_w),(\pazocal{A}_\mathbf{y},p_\mathbf{y}) \big)\) to denote the pointing VASS where \(\tilde{\pazocal{A}}=\big( (\mathcal{M}_1,p_1),\dots,(\mathcal{M}_w,p_w) \big)\).
Pointing complexity: Let \(\mathbb{B}= \{(\mathcal{M}_1,p_1),\dots,(\mathcal{M}_n,p_n)\}\) be a pointing VASS, and \(a\in\{1,\dots,m \}\). For every pointing computation \(\pi=(q_1^0,\dots,q_n^0)a_0\mathbf{v}_0,(q_1^1,\dots,q_n^1)a_1\mathbf{v}_1,\dots\), we put \[\begin{align} \pazocal{P}_{\mathbb{B}}[\mathcal{M}_b](\pi) & = & the total number of all 0 \leq i < \mathit{Term}(\pi) such that a_i = b \end{align}\]
We refer to the function \(\pazocal{P}_{\mathbb{B}}[\mathcal{M}_a]\) as \(\mathcal{M}_a\)-pointing complexity.
We extend the notion of lower/upper/tight asymptotic estimates to \(\pazocal{P}_{\mathbb{B}}[\mathcal{M}_a]\) in the natural way.
Bin: We often use the term bin to simplify the definition of strategies. Intuitively, a bin contains a counters vector that is assigned to it (virtually) by the strategy. Note that this assignment is always deterministic, the strategy \(\sigma\) can always compute the counters vector it assigned to each bin for any finite computation generated by \(\sigma\), hence no memory is needed for \(\sigma\) to “remember” the bins. This allows us to define the behavior of \(\sigma\) based on the current counter vectors assigned to the bins. Note that we always ensure that the actual counters vector is always greater or equal than the sum of all the (virtual) counter vectors stored in all of the bins. Unless stated otherwise, we assume that if any counter becomes negative in any of the bins considered by \(\sigma\), then from that point on \(\sigma\) is undefined. Note that if all the counter vectors assigned to all of the bins are positive then this implies that also the actual counters vector is positive. We assign names to the bins to simplify referencing the individual bins.
When we say that \(\sigma\) plays/simulates some strategy \(\pi\) on the simulation-bin whose current counters vector is \(\mathbf{v}'\), what we actually mean, is that \(\sigma\) plays exactly the same as the strategy \(\pi\) initiated from the initial history \(p\mathbf{v}'\), where \(p\) is the current state. Furthermore, the effect on counters when simulating \(\pi\) on the simulation-bin is always added fully to the simulation-bin. That is, say after \(10\) steps the strategy \(\pi\) initiated in \(p\mathbf{v}'\) would have reached the configuration \(q\mathbf{u}\), then after \(\sigma\) simulates \(\pi\) on the simulation-bin as above for \(10\) steps, the counters vector in the simulation-bin will become \(\mathbf{u}\) (and all the other bins will have their counter vectors untouched). If we say that \(\sigma\) pauses the simulation of \(\pi\) on the simulation-bin, we mean that \(\sigma\) actually remembers (again, it can be computed from the history) the computation \(\alpha\) taken by \(\pi\) during this simulation so far, and if at any point in the future we say that \(\sigma\) unpauses/resumes the simulation of \(\pi\) on the simulation-bin then \(\sigma\) “resumes” by playing as \(\pi\) for the computation \(\alpha\) as above, as if no pause happened. Note that we will never modify the “paused” bin during the pause (except potentially if the strategy being simulated on this bin is \(cMD\)).
In this Section we prove several technical Lemmas we need thorough the paper. First we shall prove that all counters can be pumped “almost” to their lower asymptotic estimate simultaneously with very high probability.
Lemma 9. Let \(\pazocal{A}\) be a strongly connected VASS MDP. Let \(c_1,\dots,c_d\) be all the counters of \(\pazocal{A}\) and let \(k_1,\dots,k_d\) be such that \(n^{k_i}\) is a lower asymptotic estimate of \(\pazocal{C}_\pazocal{A}[c_i]\) for all \(1\leq i\leq d\). Then for each \(\epsilon>0\) there exists a strategy \(\sigma\) which from any initial configuration with counter values \(\vec{n}\) reaches with probability \(p_n\), such that \(\lim_{n\rightarrow\infty} p_n=1\), a configuration with counters vector \(\mathbf{v}_n\) with \(\mathbf{v}_n(c_i)\geq n^{k_i-\epsilon}\) for each \(1\leq i \leq d\).
Proof. For each \(n\in\mathbb{N}\) and \(1\leq i\leq d\), let \(\sigma_n^i\) the strategy which from initial configuration \(q^i_n\vec{n}\) for some state \(q^i_n\) reaches the counter value \(n^{k_i-\epsilon'}\) on counter \(c_i\) with probability \(p^i_n\) such that \(\lim_{n\rightarrow\infty} p^i_n=1\), where \(\epsilon>\epsilon'>0\). These strategies exist from \(\pazocal{C}_\pazocal{A}[c_i]\) having a lower asymptotic estimate of \(n^{k_i}\).
We will now give a high level description of \(\sigma\). When started in an initial configuration \(q\vec{n}\) the computation under \(\sigma\) behaves as follows. First, \(\sigma\) virtually divides the counters vector \(\vec{n}\) into \(d+1\) equally sized "bins", each “bin” therefore contains the vector \(\lfloor \frac{\vec{n}}{d+1} \rfloor\). Then \(\sigma\) repeats the following for each \(1\leq i\leq d\): Use the \((d+1)\)-st “bin” to move to configuration \(q^i_{\lfloor \frac{n}{d+1} \rfloor }\) using a strategy that minimizes the expected number of steps needed to reach it, and then run on the \(i\)-th “bin” a computation under \(\sigma^i_{\lfloor \frac{n}{d+1} \rfloor}\) for initial configuration \(q^i_{\lfloor \frac{n}{d+1} \rfloor }\vec{\lfloor \frac{n}{d+1} \rfloor }\) until this computation reaches at least the value \((\lfloor \frac{n}{d+1} \rfloor)^{k_i-\epsilon'}\) in the counter \(c_i\). Once this value is reached (or exceeded), the computation for this \(i\) ends, and the computation for the next \(i\) starts.
Computation in each “bin” never touches the counter values from other “bins” unless the computation in the given “bin” terminated, in which case \(\sigma\) behaves arbitrarily. After \(\sigma\) performs the above for all \(1\leq i\leq d\), unless one of the computations on the “bin” terminated we are guaranteed to reach a configuration where we have at least \((\lfloor \frac{n}{d+1} \rfloor )^{k_i-\epsilon'}\) for the value of counter \(c_i\) in the \(i\)-th “bin”. The probability of \(\sigma\) reaching such configuration is at least \(p_n=1-p_{d+1}-\sum_{i=1}^{d} (1-p^i_{\lfloor \frac{n}{d+1} \rfloor })\), where \(p_{d+1}\) is the probability the \((d+1)\)-st bin becomes negative on any counter at any point. Note that \(\lim_{n\rightarrow\infty} \sum_{i=1}^{d}(1-p^i_{\lfloor \frac{n}{d+1} \rfloor })=0\), and since \(\pazocal{A}\) is strongly connected, the only way \((d+1)\)-st “bin” gets depleted is if any of the \(d\) computations taking place on the \((d+1)\)-st “bin” take at least \(\frac{\lfloor \frac{n}{d+1} \rfloor}{d\cdot |u|}\) steps, where \(u\) is the maximal counter decrease per single transition in \(\pazocal{A}\). But the expected number of steps for each of these computations is constant. Therefore from Markov inequality we obtain that \(p_{d+1}\leq \frac{a\cdot d\cdot|u|}{\lfloor \frac{n}{d+1} \rfloor}\) for some constant \(a\). Thus \(\lim_{n \to \infty}p_{d+1}=0\). This means that \(\lim_{n\rightarrow\infty} p_n =1\).
All that remains is to show that \((\lfloor \frac{n}{d+1} \rfloor )^{k_i-\epsilon'} \geq n^{k_i-\epsilon}\) for each \(1\leq i\leq d\). As \(k_i-\epsilon<k_i-\epsilon'\) the left side of the inequality is dominated by the term \(n^{k_i-\epsilon'}\) which grows asymptotically faster than the right side term \(n^{k_i-\epsilon}\). Therefore for all sufficiently large \(n\) it holds \((\lfloor \frac{n}{d+1} \rfloor )^{k_i-\epsilon'} \geq n^{k_i-\epsilon}\). ◻
In this section we show basic results about arithmetic operations on multi-components used in this paper.
We begin by showing that the following operations on multi-components of \(\pazocal{A}\) produce another multi-component of \(\pazocal{A}\): addition (Lemma 10), multiplication by non-negative number (Lemma 11), and subtraction assuming the result is non-negative on every component (Lemma 12). Then we show that multi-components can be decomposed into a conical sum of components (Lemma 13), and finally that components can be turned into a component centered in any other state using multiplication by constant (Lemma 14).
Lemma 10. Let \(\mathbf{x}_1,\mathbf{x}_2\) be multi-components of \(\pazocal{A}\). Then \(\mathbf{x}'=\mathbf{x}_1+\mathbf{x}_2\) is also a multi-component of \(\pazocal{A}\).
Proof. Since both \(\mathbf{x}_1\) and \(\mathbf{x}_2\) are multi-components, it holds that \(\mathbf{x}_1\geq \vec{0}\) and \(\mathbf{x}_2\geq \vec{0}\). Hence also \(\mathbf{x}'=\mathbf{x}_1+\mathbf{x}_2\geq \vec{0}\).
Since both \(\mathbf{x}_1\) and \(\mathbf{x}_2\) are multi-components, for each \(p\in Q(\pazocal{A})\) both of these hold \[\sum_{t\in \mathit{Out}(p)}\mathbf{x}_1(t)= \sum_{t \in \mathit{In}(p)} \mathbf{x}_1(t)\] \[\sum_{t\in \mathit{Out}(p)}\mathbf{x}_2(t)= \sum_{t \in \mathit{In}(p)} \mathbf{x}_2(t)\] Therefore \[\begin{gather} \sum_{t\in \mathit{Out}(p)}\mathbf{x}'(t) = \sum_{t\in \mathit{Out}(p)}\big(\mathbf{x}_1(t)+\mathbf{x}_2(t)\big) = \sum_{t\in \mathit{Out}(p)}\mathbf{x}_1(t)+\sum_{t\in \mathit{Out}(p)}\mathbf{x}_2(t)=\\ \sum_{t \in \mathit{In}(p)} \mathbf{x}_1(t)+\sum_{t \in \mathit{In}(p)} \mathbf{x}_2(t)=\sum_{t \in \mathit{In}(p)} \big(\mathbf{x}_1(t)+ \mathbf{x}_2(t)\big)=\sum_{t \in \mathit{In}(p)} \mathbf{x}'(t) \end{gather}\] Hence \(\sum_{t\in \mathit{Out}(p)}\mathbf{x}'(t)= \sum_{t \in \mathit{In}(p)} \mathbf{x}'(t)\) for each \(p\in Q(\pazocal{A})\).
Since both \(\mathbf{x}_1\) and \(\mathbf{x}_2\) are multi-components, it holds for each \(p\in Q_p(\pazocal{A})\) and each \(t\in\mathit{Out}(p)\) that both of these hold \[\mathbf{x}_1(t)=P(t)\cdot \sum_{t'\in\mathit{Out}(p)}\mathbf{x}_1(t')\] \[\mathbf{x}_2(t)=P(t)\cdot \sum_{t'\in\mathit{Out}(p)}\mathbf{x}_2(t')\] Therefore \[\begin{gather} \mathbf{x}'(t)=\mathbf{x}_1(t)+\mathbf{x}_2(t) =P(t)\cdot \sum_{t'\in\mathit{Out}(p)}\mathbf{x}_1(t') + P(t)\cdot \sum_{t'\in\mathit{Out}(p)}\mathbf{x}_2(t') =\\ P(t)\cdot \sum_{t'\in\mathit{Out}(p)}\big(\mathbf{x}_1(t') + \mathbf{x}_2(t')\big)=P(t)\cdot \sum_{t'\in\mathit{Out}(p)}\mathbf{x}'(t') \end{gather}\] Hence \(\mathbf{x}'(t)=P(t)\cdot \sum_{t'\in\mathit{Out}(p)}\mathbf{x}'(t')\) for each \(p\in Q_p(\pazocal{A})\), \(t\in\mathit{Out}(p)\).
\(\mathbf{x}'\) is a multi-component of \(\pazocal{A}\).0◻ ◻
Lemma 11. Let \(\mathbf{x}\) be a multi-component of \(\pazocal{A}\) and let \(a\geq 0\). Then \(\mathbf{x}'=a\cdot \mathbf{x}\) is also a multi-component of \(\pazocal{A}\).
Proof. Since \(\mathbf{x}\) is a multi-component, it holds \(\mathbf{x}\geq \vec{0}\), therefore also \(\mathbf{x}'=a\cdot \mathbf{x}\geq 0\).
Since \(\mathbf{x}\) is a multi-component, for each \(p\in Q(\pazocal{A})\) it holds \[\sum_{t\in \mathit{Out}(p)}\mathbf{x}(t)= \sum_{t \in \mathit{In}(p)} \mathbf{x}(t)\] Therefore \[\begin{gather} \sum_{t\in \mathit{Out}(p)}\mathbf{x}'(t) = \sum_{t\in \mathit{Out}(p)}a\cdot \mathbf{x}(t) = a\cdot \sum_{t\in\mathit{Out}(p)} \mathbf{x}(t) =\\ a\cdot\sum_{t\in \mathit{In}(p)} \mathbf{x}(t) = \sum_{t\in \mathit{In}(p)} a\cdot\mathbf{x}(t)=\sum_{t \in \mathit{In}(p)} \mathbf{x}'(t) \end{gather}\] Hence \(\sum_{t\in \mathit{Out}(p)}\mathbf{x}'(t)= \sum_{t \in \mathit{In}(p)} \mathbf{x}'(t)\) for each \(p\in Q(\pazocal{A})\).
Since \(\mathbf{x}\) is a multi-component, it holds each \(p\in Q_p(\pazocal{A})\) and each \(t\in\mathit{Out}(p)\) that \[\mathbf{x}(t)=P(t)\cdot \sum_{t'\in\mathit{Out}(p)}\mathbf{x}(t')\] Therefore \[\begin{gather} \mathbf{x}'(t)=a\cdot \mathbf{x}(t)=a\cdot P(t)\cdot \sum_{t'\in\mathit{Out}(p)}\mathbf{x}(t') =\\ P(t)\cdot \sum_{t'\in\mathit{Out}(p)}a\cdot \mathbf{x}(t')=P(t)\cdot \sum_{t'\in\mathit{Out}(p)}\mathbf{x}'(t') \end{gather}\] Hence \(\mathbf{x}'(t)=P(t)\cdot \sum_{t'\in\mathit{Out}(p)}\mathbf{x}'(t')\) for each \(p\in Q_p(\pazocal{A})\), \(t\in\mathit{Out}(p)\).
\(\mathbf{x}'\) is a multi-component of \(\pazocal{A}\).0◻ ◻
Lemma 12. Let \(\mathbf{x}_1,\mathbf{x}_2\) be multi-components of \(\pazocal{A}\) such that \(\mathbf{x}_1-\mathbf{x}_2\geq \vec{0}\). Then \(\mathbf{x}'=\mathbf{x}_1-\mathbf{x}_2\) is also a multi-component of \(\pazocal{A}\).
Proof. We have \(\mathbf{x}'\geq \vec{0}\) straight from the definition of \(\mathbf{x}_1\) and \(\mathbf{x}_2\).
Since both \(\mathbf{x}_1\) and \(\mathbf{x}_2\) are multi-components, it holds that \(\mathbf{x}_1\geq \vec{0}\) and \(\mathbf{x}_2\geq \vec{0}\). Hence also \(\mathbf{x}'=\mathbf{x}_1+\mathbf{x}_2\geq \vec{0}\).
Since both \(\mathbf{x}_1\) and \(\mathbf{x}_2\) are multi-components, for each \(p\in Q(\pazocal{A})\) both of these hold \[\sum_{t\in \mathit{Out}(p)}\mathbf{x}_1(t)= \sum_{t \in \mathit{In}(p)} \mathbf{x}_1(t)\] \[\sum_{t\in \mathit{Out}(p)}\mathbf{x}_2(t)= \sum_{t \in \mathit{In}(p)} \mathbf{x}_2(t)\] Therefore \[\begin{gather} \sum_{t\in \mathit{Out}(p)}\mathbf{x}'(t) = \sum_{t\in \mathit{Out}(p)}\big(\mathbf{x}_1(t)-\mathbf{x}_2(t)\big) = \sum_{t\in \mathit{Out}(p)}\mathbf{x}_1(t)-\sum_{t\in \mathit{Out}(p)}\mathbf{x}_2(t)=\\ \sum_{t \in \mathit{In}(p)} \mathbf{x}_1(t)-\sum_{t \in \mathit{In}(p)} \mathbf{x}_2(t)=\sum_{t \in \mathit{In}(p)} \big(\mathbf{x}_1(t)- \mathbf{x}_2(t)\big)=\sum_{t \in \mathit{In}(p)} \mathbf{x}'(t) \end{gather}\] Hence \(\sum_{t\in \mathit{Out}(p)}\mathbf{x}'(t)= \sum_{t \in \mathit{In}(p)} \mathbf{x}'(t)\) for each \(p\in Q(\pazocal{A})\).
Since both \(\mathbf{x}_1\) and \(\mathbf{x}_2\) are multi-components, it holds for each \(p\in Q_p(\pazocal{A})\) and each \(t\in\mathit{Out}(p)\) that both of these hold \[\mathbf{x}_1(t)=P(t)\cdot \sum_{t'\in\mathit{Out}(p)}\mathbf{x}_1(t')\] \[\mathbf{x}_2(t)=P(t)\cdot \sum_{t'\in\mathit{Out}(p)}\mathbf{x}_2(t')\] Therefore \[\begin{gather} \mathbf{x}'(t)=\mathbf{x}_1(t)-\mathbf{x}_2(t) =P(t)\cdot \sum_{t'\in\mathit{Out}(p)}\mathbf{x}_1(t') - P(t)\cdot \sum_{t'\in\mathit{Out}(p)}\mathbf{x}_2(t') =\\ P(t)\cdot \sum_{t'\in\mathit{Out}(p)}\big(\mathbf{x}_1(t') - \mathbf{x}_2(t')\big)=P(t)\cdot \sum_{t'\in\mathit{Out}(p)}\mathbf{x}'(t') \end{gather}\] Hence \(\mathbf{x}'(t)=P(t)\cdot \sum_{t'\in\mathit{Out}(p)}\mathbf{x}'(t')\) for each \(p\in Q_p(\pazocal{A})\), \(t\in\mathit{Out}(p)\).
\(\mathbf{x}'\) is a multi-component of \(\pazocal{A}\).0◻ ◻
Lemma 13. A multi-component \(\mathbf{x}\) of \(\pazocal{A}\) can be decomposed into a conical sum of components, that is \(\mathbf{x}=\sum_{\mathbf{y}} a_\mathbf{y}\cdot\mathbf{y}\) where \(\mathbf{y}\) ranges over all components of \(\pazocal{A}\) and \(a_\mathbf{y}\geq 0\) for all \(\mathbf{y}\). Furthermore, the decomposition can be done in such a way that \(a_\mathbf{y}>0\) iff \(\mathbf{y}\) is a component of \(\pazocal{A}_\mathbf{x}\).
Proof. Let \(\mathbf{y}_1,\dots,\mathbf{y}_l\) be all the components of \(\pazocal{A}\). Let \(\mathbf{x}_0=\mathbf{x}\). For each \(1\leq i \leq l\) let \(\mathbf{x}_i=\mathbf{x}_{i-1}-a_i\cdot\mathbf{y}_i\) where \(a_i=\min_t a_i^t\) where \(t\) ranges over all transitions of \(\pazocal{A}_{\mathbf{y}_i}\) and \(a_i^t=\frac{\mathbf{x}_{i-1}(t)}{\mathbf{y}_i(t)}\).
First let us prove that \(\mathbf{x}_i\geq \vec{0}\) and \(a_i\geq 0\) for all \(1\leq i\leq l\). We will show this by induction on \(i\). For base case, consider \(i=0\), and let us set \(a_0=0\). Then it holds \(\mathbf{x}_0=\mathbf{x}\geq \vec{0}\) from \(\mathbf{x}\) being a multi-component, and \(a_0\geq 0\) by our definition. Now assume the induction holds up \(i-1\), and we want to show it works for \(i\). From induction assumption we have that \(\mathbf{x}_{i-1}\geq \vec{0}\), and since \(\mathbf{y}_i\) is a component it also holds \(\mathbf{y}\geq \vec{0}\). Hence it holds \(a_i^t\geq 0\) for each transition \(t\) of \(\pazocal{A}_{\mathbf{y}_i}\), implying \(a_i\geq 0\). Assume now towards contradiction that \(\mathbf{x}_i(t)<0\) for some transition \(t\) of \(\pazocal{A}\). If \(t\) is not a transition of \(\pazocal{A}_{\mathbf{y}_i}\), then \(\mathbf{x}_i(t)=\mathbf{x}_{i-1}(t)\geq 0\). Hence \(t\) is a transition of \(\pazocal{A}_{\mathbf{y}_i}\). Notice that \(\mathbf{x}_{i-1}(t)-a_i^t\cdot \mathbf{y}_i(t) = \mathbf{x}_{i-1}(t)-\frac{\mathbf{x}_{i-1}(t)}{\mathbf{y}_i(t)}\cdot \mathbf{y}_i(t)=0\). Since both \(\mathbf{x}_{i-1}(t)\geq 0\) and \(\mathbf{y}_i(t)\geq 0\), the only way for \(\mathbf{x}_i(t)<0\) to hold is if \(a_i> a_i^t\). But this is a contradiction with our definition of \(a_i\). Therefore \(\mathbf{x}_i\geq \vec{0}\).
Note that from from Lemma 11 we have that \(a_i\cdot \mathbf{y}_i\) is a multi-component of \(\pazocal{A}\), thus from Lemma 12 we then have that \(\mathbf{x}_i\) is also a multi-component of \(\pazocal{A}\).
Therefore, if \(\mathbf{x}_l=\vec{0}\) then it holds \(\mathbf{x}=\sum_{i=1}^{l}a_i\cdot\mathbf{y}_i\) with \(a_i\geq 0\) for all \(1\leq i\leq l\). Assume therefore that \(\mathbf{x}_l\neq \vec{0}\). Since \(\mathbf{x}_l\) is a multi-component of \(\pazocal{A}\) it induces a VASS Markov chain \(\pazocal{A}_{\mathbf{x}_l}\) which contains at least one MEC \(B\) of \(\pazocal{A}_\sigma\) for some \(\sigma\in cMD\). Since \(B\) is included also in \(\pazocal{A}\) there exists \(1\leq i\leq l\) such that \(\pazocal{A}_{\mathbf{y}_i}\) corresponds to \(B\), and therefore \(\mathbf{y}_i(t)>0\) implies \(\mathbf{x}_l(t)>0\) for each \(t\). But since \(\mathbf{x}_i\geq \mathbf{x}_l\) this also means that \(\mathbf{y}_i(t)>0\) implies \(\mathbf{x}_{i}(t)>0\) for each \(t\). Hence it holds for each transition \(t\) of \(\pazocal{A}_{\mathbf{y}_i}\) that \(a_i<a_i^t\), which is a contradiction with how \(a_i\) is defined. Hence it must hold that \(\mathbf{x}_l=\vec{0}\).
It remains to show that we can do this decomposition in such a way that \(a_\mathbf{y}>0\) iff \(\mathbf{y}\) is a component of \(\pazocal{A}_\mathbf{x}\). It holds trivially that \(a_\mathbf{y}=0\) if \(\mathbf{y}\) is not a component of \(\pazocal{A}_\mathbf{x}\) as that means there exists a transition \(t\) such that \(\mathbf{y}(t)>0\) while \(\mathbf{x}(t)=0\). Hence it suffices to show that we can do this decomposition in such a way that \(a_\mathbf{y}>0\) for every component \(\mathbf{y}\) of \(\pazocal{A}_\mathbf{x}\). We will show that if there exists a decomposition \(\mathbf{x}=\sum_{\mathbf{y}} a_\mathbf{y}\cdot \mathbf{y}\) for which there are exactly \(i\geq 1\) components \(\mathbf{y}\) of \(\pazocal{A}_\mathbf{x}\) with \(a_\mathbf{y}=0\) then there also exists a decomposition \(\mathbf{x}=\sum_{\mathbf{y}} a_\mathbf{y}' \cdot\mathbf{y}\) such that there are at most \(i-1\) components \(\mathbf{y}\) of \(\pazocal{A}_\mathbf{x}\) with \(a_\mathbf{y}'=0\).
Note that this would finish the proof of the Lemma, as there are only finitely many components in \(\pazocal{A}_\mathbf{x}\) and we have already shown that at least one decomposition does exist.
Let \(\mathbf{x}=\sum_{\mathbf{y}} a_\mathbf{y}\cdot \mathbf{y}\) be such that there are exactly \(i\geq 1\) components \(\mathbf{y}\) of \(\pazocal{A}_\mathbf{x}\) with \(a_\mathbf{y}=0\). Let \(\mathbf{y}'\) be a component of \(\pazocal{A}_{\mathbf{x}}\) such that \(a_{\mathbf{y}'}=0\).
From Lemma 11 it holds that \(\frac{\mathbf{x}}{2}\) is also a multi-component of \(\pazocal{A}\), and clearly one possible decomposition of \(\frac{\mathbf{x}}{2}\) is \(\frac{\mathbf{x}}{2}=\sum_{\mathbf{y}} \frac{a_\mathbf{y}}{2}\cdot \mathbf{y}\). Furthermore, Since \(\mathbf{y}'\) is a component of \(\pazocal{A}_{\mathbf{x}}\) it must hold for every transition \(t\) of \(\pazocal{A}\) that \(\mathbf{y}'(t)>0\) implies \(\mathbf{x}(t)>0\) which implies \(\frac{\mathbf{x}}{2}(t)>0\). Hence there exists \(b>0\) such that \(\frac{\mathbf{x}}{2}-b\cdot \mathbf{y}'\geq \vec{0}\). From Lemma 12 it holds that \(\frac{\mathbf{x}}{2}-b\cdot \mathbf{y}'\) is a multi-component of \(\pazocal{A}\). Therefore we can apply the first part of this Lemma to obtain a decomposition \(\frac{\mathbf{x}}{2}-b\cdot \mathbf{y}' =\sum_{\mathbf{y}} b_\mathbf{y}\cdot\mathbf{y}\) of \(\frac{\mathbf{x}}{2}-b\cdot \mathbf{y}'\) with \(b_\mathbf{y}\geq 0\) for all \(\mathbf{y}\). We can thus decompose \(\mathbf{x}\) as \(\mathbf{x}= \frac{\mathbf{x}}{2}+(\frac{\mathbf{x}}{2}-b\cdot \mathbf{y}') + b\cdot \mathbf{y}'=\sum_{\mathbf{y}} \frac{a_\mathbf{y}}{2}\cdot \mathbf{y}+\sum_{\mathbf{y}} b_\mathbf{y}\cdot \mathbf{y}+ b\cdot \mathbf{y}'=\sum_{\mathbf{y}} a_\mathbf{y}'\cdot \mathbf{y}\) where \(a_\mathbf{y}'=\frac{a_\mathbf{y}}{2}+b_\mathbf{y}\) if \(\mathbf{y}\neq \mathbf{y}'\) and \(a_{\mathbf{y}'}'=\frac{a_{\mathbf{y}'}}{2}+b_{\mathbf{y}'}+b\). Clearly \(a_\mathbf{y}>0\) implies \(a_{\mathbf{y}}'>0\), while \(a_{\mathbf{y}'}'>0\). Hence there are at most \(i-1\) components \(\mathbf{y}\) of \(\pazocal{A}_\mathbf{x}\) for which it holds \(a_{\mathbf{y}}'=0\). Lemma Holds. ◻
Lemma 14. Let \(\mathbf{y}\) be a component of \(\pazocal{A}\) centered in \(p\). Let \(q\) be a state of the MEC corresponding to \(\mathbf{y}\). Then there exists \(a>0\) such that \(a\cdot \mathbf{y}\) is a component of \(\pazocal{A}\) centered in \(q\).
Proof. Let \(a=\frac{1}{\sum_{t \in \mathit{Out}(q)} \mathbf{y}(t)}\). Note that \(a>0\) as \(\sum_{t \in \mathit{Out}(q)} \mathbf{y}(t)>0\) from the definitions of \(\mathbf{y}\) and \(q\). By Lemma 11 we have that \(a\cdot \mathbf{y}\) is a multi-component of \(\pazocal{A}\). It holds \(\sum_{t \in \mathit{Out}(q)} a\cdot \mathbf{y}(t) =a\cdot \sum_{t \in \mathit{Out}(q)} \mathbf{y}(t) =\frac{1}{\sum_{t \in \mathit{Out}(q)} \mathbf{y}(t)}\cdot \sum_{t \in \mathit{Out}(q)} \mathbf{y}(t)=1\), hence \(a\cdot \mathbf{y}\) is centered in \(q\). Since \(\mathbf{y}(t)>0\) iff \(a\cdot \mathbf{y}(t)>0\), the MECs corresponding to \(\mathbf{y}\) and \(a\cdot \mathbf{y}\) are the same. Hence \(a\cdot \mathbf{y}\) is a component of \(\pazocal{A}\) centered in \(q\). ◻
In this section we prove the Theorem 3 from Section 4. We begin by restating the theorem.
Theorem 1 (3). Let \(\pazocal{A}\) be a strongly connected VASS Markov chain. Let \(c\) be a counter and \(t\) a transition of \(\pazocal{A}\). Then for each \(\pazocal{F}\in \{\pazocal{C}_\pazocal{A}[c],\pazocal{T}_\pazocal{A}[t],\pazocal{L}_\pazocal{A}\}\) exactly one of the following holds:
\(\pazocal{F}\) is unbounded.
\(n^2\) is a tight asymptotic estimate of \(\pazocal{F}\).
\(n\) is a tight asymptotic estimate of \(\pazocal{F}\).
It is decidable in time polynomial in \(|\!|\pazocal{A}|\!|\) which of the above cases holds.
Proof. Note that for analyzing \(\pazocal{L}_\pazocal{A}\), we can simply add a new step-counter \(sc\) to \(\pazocal{A}\), that is a counter that is increased by \(+1\) by every single transition of \(\pazocal{A}\). Then it holds \(\pazocal{L}_\pazocal{A}=\pazocal{C}_\pazocal{A}[sc]-n\), while \(\pazocal{L}_\pazocal{A}\) has a trivial lower asymptotic estimate of \(n\). As such the asymptotic behavior of \(\pazocal{L}_\pazocal{A}\) is the same as that of \(\pazocal{C}_\pazocal{A}[sc]\). Similarly, we can express \(\pazocal{T}_\pazocal{A}[t]\) as \(\pazocal{C}_\pazocal{A}[c_t]-n\) where \(c_t\) is a fresh transition counter which is increased only by \(t\) and unchanged by any transition other than \(t\). It thus suffices to analyze \(\pazocal{C}_\pazocal{A}[c]\).
Let \(\mathit{Count}\) be the set of counters of \(\pazocal{A}\). Given a counter \(c\in \mathit{Count}\) we denote by \(\pazocal{A}_c\) the \(1\)-dim VASS Markov chain obtained from \(\pazocal{A}\) by removing all counters but \(c\). Let \(\mathbf{y}\) be some component corresponding to \(\pazocal{A}\).6 Let \(\sigma\) be the only strategy on \(\pazocal{A}\).
Let \(C_+=\{c\mid \Delta(\mathbf{y})(c)>0 \}\). There are three possibilities.
If \(c\notin C_+\) or \(\Delta(\mathbf{y})\ngeq \vec{0}\): in the former case we get from [19] that \(n\) is a tight asymptotic estimate of \(\pazocal{C}_{\pazocal{A}_{c}}[c]\). In the latter case we get that there exists a counter \(c'\) with \(\Delta(\mathbf{y})(c')<0\) which gives us from [19] that \(n\) is a tight asymptotic estimate of \(\pazocal{L}_{\pazocal{A}_{c'}}\). Thus in both cases \(n\) is a tight asymptotic estimate of \(\pazocal{C}_{\pazocal{A}}[c]\), as it holds \(\pazocal{C}_{\pazocal{A}}[c]\leq \pazocal{C}_{\pazocal{A}_c}[c]\) as well as \(\pazocal{C}_{\pazocal{A}}[c]\leq n+u\cdot \pazocal{L}_{\pazocal{A}_{c'}}\) where \(u\) is the maximal counter change per single transition in \(\pazocal{A}\).
If \(c\in C_+\), \(\Delta(\mathbf{y})\geq \vec{0}\), and \(\mathbf{y}\) is zero-bounded on every counter \(c'\notin C_+\): then each \(\pazocal{A}_{c'}\) is either increasing or zero-bounded. Thus from [19] we have that \(\pazocal{L}_{\pazocal{A}_{c'}}\) is unbounded for every counter \(c'\). Furthermore, as \(\pazocal{A}_{c}\) is increasing, from [19] we have that also \(\pazocal{C}_{\pazocal{A}_{c}}[c]\) is unbounded.
Assume that there exists \(f:\mathbb{R}\rightarrow\mathbb{R}\) such that \(f\) is not lower asymptotic estimate of \(\pazocal{C}_\pazocal{A}[c]\). Let \(g:\mathbb{N}\rightarrow\mathbb{N}\) be such that \(\lim_{n\rightarrow\infty} \mathbb{P}_{p\vec{n}}^\sigma[\pazocal{C}_\pazocal{A}[c]\geq f(n^{1-\epsilon})\textit{ and this happens within at most }g(n) \textit{ steps}]=1\). Note that the existence of \(g(n)\) follows from \(\pazocal{C}_{\pazocal{A}_{c}}[c]\) being unbounded. Then it holds \[\begin{gather} \lim_{n\rightarrow\infty} \mathbb{P}_{p\vec{n}}^\sigma[\pazocal{C}_\pazocal{A}[c]\geq f(n^{1-\epsilon})] \geq\\ \lim_{n\rightarrow\infty} \mathbb{P}_{p\vec{n}}^\sigma[\pazocal{C}_\pazocal{A}[c]\geq f(n^{1-\epsilon})\mid \textit{ for each } c'\in \mathit{Count}, \pazocal{L}_{\pazocal{A}_{c'}}\geq g(n)]\cdot \Pi_{c'\in \mathit{Count}} \mathbb{P}_{p\vec{n}}^\sigma[\pazocal{L}_{\pazocal{A}_{c'}}\geq g(n)]=\\=1 \end{gather}\]
Hence \(\pazocal{C}_\pazocal{A}[c]\) is also unbounded.
If \(c\in C_+\), \(\Delta(\mathbf{y})\geq \vec{0}\), and there exists a counter \(c'\) such that \(\mathbf{y}\) is zero-unbounded on \(c'\): then from [19] we have a tight asymptotic estimate of \(n^2\) for \(\pazocal{L}_{\pazocal{A}_{c'}}\). This gives us an upper asymptotic estimate of \(n^2\) for \(\pazocal{C}_\pazocal{A}[c]\).
Furthermore, for each counter \(r\) we have from [19] that \(\pazocal{L}_{\pazocal{A}_{r}}\) has a lower asymptotic estimate of \(n^2\). Thus it holds that \(\lim_{n\rightarrow\infty} \mathbb{P}_{p_\mathbf{y}\vec{n}}^\sigma(\pazocal{L}_\pazocal{A}\geq n^{2-\epsilon})=1\). Let \(\epsilon_1>0\), and let \(R_{\epsilon_1}\) be the set of all computations on \(\pazocal{A}\) that visit \(p_\mathbf{y}\) at least once every \(n^{\epsilon_1}\) steps within the first \(n^2\) steps. Let \(X\) be the random variable denoting the number of sub-paths, within the prefix of length \(n^2\) of the computation, of length \(n^{\epsilon_1}\) that do not contain \(p_\mathbf{y}\). Since every step there is a positive probability \(\kappa\) of reaching \(p_\mathbf{y}\) within the next \(a\) steps, it holds \(\mathbb{E}_{p_\mathbf{y}\vec{n}}^\sigma(X)\leq n^2\cdot (1-\kappa)^{n^{\epsilon_1}}\). From Markov inequality we obtain that \(\mathbb{P}_{p_\mathbf{y}\vec{n}}^\sigma(X\geq 1)\leq n^2\cdot (1-\kappa)^{n^{\epsilon_1}}\). Thus \(\lim_{n\rightarrow\infty}\mathbb{P}_{p_\mathbf{y}\vec{n}}^\sigma(R_{\epsilon_1})=1\).
Therefore \(\lim_{n\rightarrow\infty} \mathbb{P}_{p_\mathbf{y}\vec{n}}^\sigma(\pazocal{L}_\pazocal{A}\geq n^{2-\epsilon}\textit{ and }R_{\epsilon_1})=1\). Thus we can consider a (virtual) strategy \(\sigma'\) which on \(\pazocal{A}\) first splits the counter vector into three bins equally, and then performs the computation on \(\pazocal{A}\) in such way that for each counter other than \(c\) it puts the effect into the first bin, while the effect on the counter \(c\) is split between the second and third bin such that the effect of \(\hat{\mathbf{y}}\) on \(c\) is put into the second bin, while every time the computation revisits \(p_\mathbf{y}\) it adds \(\Delta(\mathbf{y})(c)\) to the third bin (note that the sum of all the three bins always sums up to the actual counters vector). Since \(\hat{\mathbf{y}}\) is either zero-bounded or zero-unbounded on \(c\), from [19] we have in both cases a lower asymptotic estimate of \((\lfloor\frac{n}{3}\rfloor)^2\) on the number of steps before the second bin depletes \(c\). Furthermore, for any computation in \(R_{\epsilon_1}\) the third bin reaches the value of at least \(n^{2-\epsilon_1}\cdot \Delta(\mathbf{y}_i)(c)\) for the value of \(c\). From \(\lim_{n\rightarrow\infty} \mathbb{P}_{p_\mathbf{y}\vec{n}}^{\sigma'}(\pazocal{L}_\pazocal{A}\geq n^{2-\epsilon}\textit{ and }R_{\epsilon_1})=1\) it therefore holds \(\lim_{n\rightarrow\infty} \mathbb{P}_{p_\mathbf{y}\vec{n}}^{\sigma'}(\pazocal{C}_\pazocal{A}[c]\geq n^{2-\epsilon-\epsilon_1-\epsilon_2})=1\) for some \(\epsilon_2>0\). Thus \(n^2\) is lower asymptotic estimate of \(\pazocal{C}_\pazocal{A}[c]\). Combined with the upper asymptotic estimate form above this gives a tight asymptotic estimate of \(n^2\) for \(\pazocal{C}_\pazocal{A}[c]\).
The decidability in polynomial time: When classifying the asymptotic estimate of \(\pazocal{C}_\pazocal{A}[c]\) for the counter \(c\), we can do so in polynomial time as follows: First we compute some component \(\mathbf{y}\). Then we ask if \(\Delta(\mathbf{y})(c)>0\), if not then \(\pazocal{C}_\pazocal{A}[c]\) has a tight asymptotic estimate of \(n\). If \(\Delta(\mathbf{y})(c)>0\) then we ask whether \(\mathbf{y}\) is either increasing or zero-bounded on every counter, and if yes then \(\pazocal{C}_\pazocal{A}[c]\) is unbounded, otherwise \(\pazocal{C}_\pazocal{A}[c]\) has a tight asymptotic estimate of \(n^2\). Note that deciding whether \(\mathbf{y}\) is increasing or zero-bounded can be done in polynomial time as per [19]. ◻
In this section we prove the Theorem 1 from Section 2.3. Let us start by restating the theorem.
Theorem 2 (1). Let \(f:\mathbb{R}\rightarrow\mathbb{R}\) be such that \(\lim_{n\rightarrow\infty} \frac{f( n)}{f( n^{1+\epsilon})}=0\) for every \(\epsilon>0\). Then:
\(f\) is a lower asymptotic estimate of \(\pazocal{F}\) iff for every \(\epsilon>0\) and every \(p<1\) it holds \(f_p^\pazocal{F}\in \Omega(f(n^{1-\epsilon}))\);
\(f\) is an upper asymptotic estimate of \(\pazocal{F}\) iff for every \(\epsilon>0\) and every \(p<1\) it holds \(f_p^\pazocal{F}\in \pazocal{O}(f(n^{1+\epsilon}))\).
This follows from the following four Lemmas, each proving one direction of one of the bullet points.
Lemma 15. Let \(f:\mathbb{R}\rightarrow\mathbb{R}\) be such that \(\lim_{n\rightarrow\infty} \frac{f( n)}{f( n^{1+\epsilon})}=0\) for every \(\epsilon>0\). If for every \(\epsilon>0\) and every \(p<1\) it holds \(f_p^\pazocal{F}\in \pazocal{O}(f(n^{1+\epsilon}))\) then \(f\) is an upper asymptotic estimate of \(\pazocal{F}\).
Proof. In such case, for each \(p<1\) and each \(\epsilon>0\) there exists \(a_{p,\epsilon}\in \mathbb{N}\) and \(n_{p,\epsilon}\in \mathbb{N}\) such that \(f_p^\pazocal{F}(n)\leq a_{p,\epsilon}\cdot f( n^{1+\epsilon} )\) for all \(n\geq n_{p,\epsilon}\). Hence for all \(n\geq n_{p,\epsilon}\), every \(q \in Q\), and every strategy \(\sigma\) it holds \(\mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}\leq a_{p,\epsilon}\cdot f( n^{1+\epsilon} )] \geq \mathbb{P}_n[\pazocal{F}\leq f_p^\pazocal{F}(n)]\geq p\). Since \(\lim_{n\rightarrow\infty} \frac{f( n)}{f( n^{1+\epsilon})}=0\) for every \(\epsilon>0\), it holds for each \(p<1\) and each \(\epsilon>0\) that \(f( n^{1+2\epsilon} )\geq a_{p,\epsilon}\cdot f( n^{1+\epsilon} )\) for all sufficiently large \(n\). Thus for each \(p<1\) and each \(\epsilon>0\) there exists \(n_{p,\epsilon}'\in \mathbb{N}\) such that for each \(n>n_{p,\epsilon}'\), every \(q \in Q\), and every strategy \(\sigma\) it holds \(\mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}\leq f( n^{1+2\epsilon} )] \geq \mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}\leq a_{p,\epsilon}\cdot f( n^{1+\epsilon} )] \geq p\).
Hence \[\begin{gather} \limsup_{n\rightarrow\infty} \mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}\geq f( n^{1+3\epsilon} )] = \limsup_{n\rightarrow\infty} 1-\mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}< f( n^{1+3\epsilon} )] \leq\\ \limsup_{n\rightarrow\infty} 1-\mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}\leq f( n^{1+2\epsilon} )]\leq \limsup_{n\rightarrow\infty} 1-\max \{p<1 \mid n> n_{p,\epsilon}' \}=0 \end{gather}\]
Hence \(f\) is an upper asymptotic estimate of \(\pazocal{F}\). ◻
Lemma 16. Let \(f:\mathbb{R}\rightarrow\mathbb{R}\) be such that \(\lim_{n\rightarrow\infty} \frac{f( n)}{f( n^{1+\epsilon})}=0\) for every \(\epsilon>0\). If for every \(\epsilon>0\) and every \(p<1\) it holds \(f_p^\pazocal{F}\in \Omega(f(n^{1-\epsilon}))\) then \(f\) is a lower asymptotic estimate of \(\pazocal{F}\).
Proof. In such case, for each \(p<1\) and each \(\epsilon>0\) there exists \(a_{p,\epsilon}\in \mathbb{N}\) and \(n_{p,\epsilon}\in \mathbb{N}\) such that \(f_p^\pazocal{F}(n)\geq a_{p,\epsilon} \cdot f( n^{1-\epsilon} )\) for all \(n\geq n_{p,\epsilon}\).
Hence for each \(p<1\) and each \(\epsilon>0\), as long as \(f^\pazocal{F}_p(n)\neq \infty\), it holds for every \(q \in Q\), and every strategy \(\sigma\) that \(\mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}\leq a_{p,\epsilon}\cdot f( n^{1-\epsilon} )-1]\leq \mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}\leq f^\pazocal{F}_p(n)-1]< p\) for all \(n\geq n_{p,\epsilon}\). From \(\lim_{n\rightarrow\infty} \frac{f( n)}{f( n^{1+\epsilon})}=0\) we get that for all sufficiently large \(n\) it holds \(a_{p,\epsilon}\cdot f( n^{1-\epsilon} )-1\geq f( n^{1-2\epsilon} )\).
Let \(p'<1\) be the largest value such that \(f_{p'}^\pazocal{F}\neq \infty\).
Then for each \(p<p'\), each \(\epsilon>0\), every \(q \in Q\), and every strategy \(\sigma\) there exists \(n_{p,\epsilon}'\in\mathbb{N}\) such that for each \(n>n_{p,\epsilon}'\) it holds \(p\geq \mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}\leq a_{p,\epsilon}\cdot f( n^{1-\epsilon} )-1] \geq \mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}\leq f( n^{1-2\epsilon} )]\).
If \(p'=0\) then it holds \(\mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}\geq f( n^{1-2\epsilon} )]=0\) trivially from the definition of \(f_{p'}^\pazocal{F}\).
If \(p'\neq 0\) then it holds \[\begin{gather} \liminf_{n\rightarrow\infty} \mathbb{P}_n[\pazocal{F}\geq f( n^{1-2\epsilon} )]= \liminf_{n\rightarrow\infty} 1-\mathbb{P}_n[\pazocal{F}< f( n^{1-2\epsilon} )]\geq \liminf_{n\rightarrow\infty} 1-\min \{p<p'\mid n> n_{p,\epsilon}' \} = 1 \end{gather}\]
Hence \(f\) is a lower asymptotic estimate of \(\pazocal{F}\). ◻
Lemma 17. Let \(f\) be an upper asymptotic estimate of \(\pazocal{F}\). Then for each \(\epsilon>0\) and \(p<1\) it holds \(f^\pazocal{F}_p(n)\in \pazocal{O}(f( n^{1+\epsilon} ))\).
Proof. Let us fix an \(\epsilon>0\) and \(p<1\). From the definition of the upper asymptotic estimate, we obtain \(\limsup_{n\rightarrow\infty} \mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}\geq f( n^{1+\epsilon} )]=0\) for any \(q\in Q\) and any strategy \(\sigma\). Therefore, for each \(\gamma>0\) there exists \(n_\gamma\in \mathbb{N}\) such that for all \(n\geq n_\gamma\) it holds \(\mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}\geq f( n^{1+\epsilon} )]<\gamma\). Thus, for \(\gamma=1-p\), we obtain \(\mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}\geq f( n^{1+\epsilon})]<1-p\) which implies \(\mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}< f( n^{1+\epsilon})]\geq p\), for all \(n\geq n_{1-p}\), any \(q\in Q\), and any strategy \(\sigma\). Hence, for all \(n\geq n_{1-p}\), it holds \(f_p^\pazocal{F}(n)\leq \lceil f( n^{1+\epsilon} ) \rceil\) which implies \(f^\pazocal{F}_p(n)\in \pazocal{O}(f( n^{1+\epsilon} ))\).0◻ ◻
Lemma 18. Let \(f:\mathbb{R}\rightarrow\mathbb{R}\) be such that \(\lim_{n\rightarrow\infty} \frac{f( n)}{f( n^{1+\epsilon})}=0\), and let \(f\) be a lower asymptotic estimate of \(\pazocal{F}\). Then for each \(\epsilon>0\) and \(p<1\) it holds \(f^\pazocal{F}_p(n)\in \Omega( f( n^{1-\epsilon} ))\).
Proof. Let us fix an \(\epsilon>0\) and \(p<1\). From the definition of the lower asymptotic estimate, we obtain that there exists \(q\in Q\) and a strategy \(\sigma\) such that \(\liminf_{n\rightarrow\infty} \mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}\geq f( n^{1-\frac{\epsilon}{2}} )]=1\). Hence, for each \(\gamma>0\) there exists \(n_\gamma\in \mathbb{N}\) such that for all \(n\geq n_\gamma\) it holds \(\mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}\geq f( n^{1-\frac{\epsilon}{2}} )]>1-\gamma\) which implies \(\mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}> f( n^{1-\epsilon} )]>1-\gamma\) for all sufficiently large \(n\) as \(f\) is increasing. This can be rewritten as \(\mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}\leq f( n^{1-\epsilon} )]\leq \gamma\). Therefore, if we put \(\gamma<p\), we obtain \(\mathbb{P}_{q\vec{n}}^\sigma[\pazocal{F}\leq f( n^{1-\epsilon} )]<\gamma<p\) for all sufficiently large \(n\), which implies \(f^\pazocal{F}_p(n)>f( n^{1-\epsilon} )\).
Hence \(f^\pazocal{F}_p(n)\in \Omega( f( n^{1-\epsilon} ))\). ◻
Lemma 1 (4). Let \[\mathit{\tau}= \begin{cases} 1 & \text{if } k=1 \\ k & \text{if } k>1 \text{ and }T_k'\neq \emptyset \\ \max\{a+b\mid a\in \mathit{Cbounds},b\in \mathit{Tbounds}; a+b\leq k \} & \text{if } k>1 \text{ and }T_k'= \emptyset \end{cases}\]
Then for every counter \(c\in \mathit{Count}\) such that \(\mathbf{y}_k(c)>0\) it holds that \(n^\mathit{\tau}\) is an upper asymptotic estimate of \(\pazocal{C}_\pazocal{A}[c]\). Furthermore each transition \(t=(p,\mathbf{u},q)\) of \(\pazocal{A}_{k,\hat{T}_{k+1}}\) has an upper asymptotic estimate of \(n^\mathit{\tau}\) for \(\pazocal{T}_\pazocal{A}[t]\) if one of the following holds:
\(p\in Q_n\) and \(\mathbf{z}_k(q)-\mathbf{z}_k(p)+\sum_{c\in\mathit{Count}} \mathbf{u}(c)\cdot \mathbf{y}_k(c)<0\),
\(p\in Q_p\) and \(\sum_{t' = (p',\mathbf{u}',q') \in \mathit{Out}(p)}P(t')\cdot \big(\mathbf{z}_k(q')-\mathbf{z}_k(p')+\sum_{c\in\mathit{Count}} \mathbf{u}'(c)\cdot \mathbf{y}_k(c)\big)< 0\).
Thorough this Section let us fix some strategy \(\sigma\) on \(\pazocal{A}\) and \(\epsilon>0\). Note that if \(\hat{T}_{k+1}=\emptyset\) the Lemma holds trivially, hence in the rest of this section we will assume \(\hat{T}_{k+1}\neq\emptyset\). Note that we can also wlog. assume that \(\mathbf{y}_k(c)\) is either \(0\) or at least \(1\) for each counter \(c\).
Let \(rank_{k,\hat{T}_{k+1}}(p\mathbf{v}')=\mathbf{z}_k(p)+\sum_{c\in \mathit{Count}_k} \mathbf{v}'(c)\cdot \mathbf{y}_k(c)\) be a ranking function given by \(\mathbf{y}_k,\mathbf{z}_k\) on \(\pazocal{A}_{k,\hat{T}_{k+1}}\), where \(\mathit{Count}_k\) are the counters and \(p\mathbf{v}'\) a configuration of \(\pazocal{A}_{k,\hat{T}_{k+1}}\). We will now extend \(rank_{k,\hat{T}_{k+1}}\) onto \(\pazocal{A}\) as follows: For a configuration \(p\mathbf{v}\) of \(\pazocal{A}\), let \(rank_k(p\mathbf{v})=\mathbf{z}_k(p)+\sum_{c\in \mathit{Count}_k} \mathbf{v}_{k}(c)\cdot \mathbf{y}_k(c)\) where \(\mathbf{v}_k\in \mathbb{Q}^{d_k}\) is a counters vector on \(\pazocal{A}_{k,\hat{T}_{k+1}}\) such that:
if \(c\in C_{k+}\) then \(\mathbf{v}_k(c)=\mathbf{v}(c)\),
if \(c\in \bigcup_{i=1}^{k-1} C_i\) and \(c_p\) is the local copy of \(c\) in \(\pazocal{A}_k\) in the MEC containing \(p\) then \(\mathbf{v}_k'(c_p)=\mathbf{v}(c)\),
otherwise \(\mathbf{v}_k'(c)=0\).
(intuitively \(rank_k\) corresponds to the value of \(rank_{k,\hat{T}_{k+1}}\) but it accounts for the fact that the counter \(c\) of \(\pazocal{A}\) might have different weights associated to it in different states, as \(\pazocal{A}_k\) may contain multiple copies of \(c\) and each copy \(c_k'\) may have different value of \(\mathbf{y}_k(c_k')\). Thus \(rank_k\) uses in configuration \(p\mathbf{v}\) for \(c\) the weight that is associated with the copy of \(c\) in \(\pazocal{A}_k\) in the state \(p\))
Let \(P_0V_0,P_1V_1,P_2V_2,\dots\) be the random variables encoding the computation under \(\sigma\) in \(\pazocal{A}\), and let \(\bar{T}_1,\bar{T}_2,\dots\) be the random variables encoding the transitions taken (i.e. \(P_iV_i\) represents the configuration at \(i\)-th step of the computation and \(\bar{T}_i\) the \(i\)-th transition taken by this computation). Let \(R_0,R_1,R_2,\dots\) represent the value of \(rank_k\) at \(i-\)th step (i.e. \(R_i=rank_k(P_iV_i)\)).
Let us define technical constants \(0<\epsilon_1,\epsilon_2,\dots\). As their exact values are not important we leave the assignment of their exact values to Table 1 at the end of the section where we also show that our assignment satisfies all the assumptions we make on \(\epsilon_1,\epsilon_2,\dots\) thorough this section.
Let \(E_{1}\) be the set of all computations \(\pi\) on \(\pazocal{A}\), such that:
\(\pazocal{T}_\pazocal{A}[t](\pi)\leq n^{i+\epsilon_1}\) for each transition \(t\in T_{i}\setminus T_{i+1}\) where \(i\in \{1,\dots,k-1 \}\),
AND \(\pazocal{T}_\pazocal{A}[t](\pi)\leq n^{k+\epsilon_1}\) for each transition \(t\in T_k'\),
AND \(\pazocal{C}_\pazocal{A}[c](\pi)\leq n^{i+\epsilon_1}\) for each counter \(c\in C_i\) where \(i\in \{1,\dots,k-1 \}\).
Note that \(\lim_{n\rightarrow\infty} \mathbb{P}_{p\vec{n}}^\sigma(E_1)=1\) as every counter and transition we restrict in \(E_{1}\) has a corresponding upper asymptotic estimate for \(\pazocal{C}_\pazocal{A}[c]\) and \(\pazocal{T}_\pazocal{A}[t]\).
Let \(R_0',R_1',R_2',\dots\) be random variables defined as follows: \[R_0'=R_0+\sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2}\] \[R_i'= \begin{cases} R_{i-1}'-R_{i-1}+R_i & \text{if } \bar{T}_i\in \hat{T}_{k+1} \text{ and } P_0V_0,P_1V_1,\dots,P_iV_i \in E_{1} \\ R_{i-1}' & \text{else } \end{cases}\] where \(u\) is the maximal change of a counter per single transition in \(\pazocal{A}\).
Furthermore, let \(X_1,X_2,\dots\) and \(X_1',X_2',\dots\) be random variables defined by \(R_i= R_{i-1}+X_i\) and \(R_{i}'=R_{i-1}'+X_{i}'\). That is \(X_i=R_i-R_{i+1}\) and \(X_i'=R_i'-R_{i+1}'\). Also let \(S_0,S_1,\dots\) and \(S_0',S_1',\dots\) be defined as \(S_0=S_0'=0\), \(S_i=S_{i-1}+X_i\), and \(S_i'=S_{i-1}'+X_i'\). Note that it holds \(R_i=R_0+S_i\) and \(R_i'=R_0'+S_i'\).
First let us show that \(R_0',R_1',\dots\) is a supermartingale.
Lemma 19. \(R_0',R_1',\dots\) is a supermartingale.
Proof. It holds \(\mathbb{E}^\sigma_{p\vec{n}}(R_{i}'|R_{i-1}')=\mathbb{E}^\sigma_{p\vec{n}}(R_{i-1}'|R_{i-1}')+\mathbb{E}^\sigma_{p\vec{n}}(X_{i}'|R_{i-1}')=R_{i-1}'+\mathbb{E}^\sigma_{p\vec{n}}(X_{i}'|R_{i-1}')\). Thus we want to show that \(\mathbb{E}^\sigma_{p\vec{n}}(X_{i}'|R_{i-1}')\leq 0\). It holds
\(X_{i}'=\begin{cases} -R_{i-1}+R_i &\text{if } \bar{T}_i\in \hat{T}_{k+1} \text{ and } P_0V_0,P_1V_1,\dots,P_iV_i \in E_{1} \\ 0 & \text{else } \end{cases}\)
Thus it holds \[\begin{gather} \mathbb{E}^\sigma_{p\vec{n}}(X_{i}'|R_{i-1}') = \sum_{t\in \hat{T}_{k+1}} \mathbb{P}_{p\vec{n}}^\sigma(\bar{T}_{i}=t \textit{ and } P_0V_0,P_1V_1,\dots,P_iV_i \in E_{1}|R_{i-1}')\cdot\mathit{RankEff}(t)+\\+ \sum_{t\in \hat{T}_{k+1}} \mathbb{P}_{p\vec{n}}^\sigma(\bar{T}_{i}=t \textit{ and } P_0V_0,P_1V_1,\dots,P_iV_i \notin E_{1} |R_{i-1}') \cdot 0 + \sum_{t\notin \hat{T}_{k+1}} \mathbb{P}_{p\vec{n}}^\sigma(\bar{T}_{i}=t|R_{i-1}')\cdot 0 =\\= \sum_{t\in \hat{T}_{k+1}} \mathbb{P}_{p\vec{n}}^\sigma(\bar{T}_{i}=t \textit{ and } P_0V_0,P_1V_1,\dots,P_iV_i \in E_{1}|R_{i-1}')\cdot\mathit{RankEff}(t) \end{gather}\]
where \(\mathit{RankEff}(t)\) represents the effect of \(t\) on \(rank_k\).
Let \(T_n=\hat{T}_{k+1}\cap\bigcup_{p\in Q_n} \mathit{Out}(p)\) and \(T_p=\hat{T}_{k+1}\cap \bigcup_{p\in Q_p} \mathit{Out}(p)\). We can write \[\begin{gather} \mathbb{E}^\sigma_{p\vec{n}}(X_{i}'|R_{i-1}') = \sum_{t\in \hat{T}_{k+1}} \mathbb{P}_{p\vec{n}}^\sigma(\bar{T}_{i}=t \textit{ and } P_0V_0,P_1V_1,\dots,P_iV_i \in E_{1}|R_{i-1}')\cdot\mathit{RankEff}(t) =\\= \sum_{t\in T_n} \mathbb{P}_{p\vec{n}}^\sigma(\bar{T}_{i}=t\textit{ and } P_0V_0,P_1V_1,\dots,P_iV_i \in E_{1}|R_{i-1}')\cdot \mathit{RankEff}(t)+\\+\sum_{t\in T_p} \mathbb{P}_{p\vec{n}}^\sigma(\bar{T}_{i}=t\textit{ and } P_0V_0,P_1V_1,\dots,P_iV_i \in E_{1}|R_{i-1}')\cdot \mathit{RankEff}(t) \end{gather}\]
Note that for each \(t\in \hat{T}_{k+1}\) the effect of \(t\) on \(rank_k\) is the same as the effect of \(t\) on \(rank_{k,\hat{T}_{k+1}}\). Hence for each \(t=(p,\mathbf{u},q)\in \hat{T}_{k+1}\) it holds that \(\mathit{RankEff}(t)=\mathbf{z}_k(q)-\mathbf{z}_k(p)+\sum_{c\in \mathit{Count}_k} \mathbf{y}_k(c)\cdot \mathbf{u}_k(c)\). Thus from \(\mathbf{y}_k,\mathbf{z}_k\) being a solution of (II) for \(\pazocal{A}_k'\) we have for each \(t\in T_n\) that \(\mathit{RankEff}(t)\leq 0\), and for each \(p\in Q_n\) that \(\sum_{t\in \mathit{Out}(p)} P(t)\cdot \mathit{RankEff}(t) \leq 0\) (See Section 3.2 for details). Therefore it holds \[\sum_{t\in T_n} \mathbb{P}_{p\vec{n}}^\sigma(\bar{T}_{i}=t\textit{ and } P_0V_0,P_1V_1,\dots,P_iV_i \in E_{1}|R_{i-1}')\cdot \mathit{RankEff}(t)\leq 0\] and \[\begin{gather} \sum_{t\in T_p} \mathbb{P}_{p\vec{n}}^\sigma(\bar{T}_{i}=t\textit{ and } P_0V_0,P_1V_1,\dots,P_iV_i \in E_{1}|R_{i-1}')\cdot \mathit{RankEff}(t) =\\= \sum_{p\in Q_p} \mathbb{P}_{p\vec{n}}^\sigma(P_{i-1}=p\textit{ and } P_0V_0,P_1V_1,\dots,P_iV_i \in E_{1}\mid R_{i-1}') \cdot \sum_{t\in \mathit{Out}(p)} P(t)\cdot \mathit{RankEff}(t) \leq 0 \end{gather}\] Thus \(E_{p\vec{n}}^\sigma[X_{i}'|R_{i-1}']\leq 0\) and so \(R_0',R_1',\dots\) is a supermartingale. ◻
Now let us prove the following Lemma.
Lemma 20. For all sufficiently large \(n\) it holds \(\mathbb{P}_{p\vec{n}}^\sigma(R_i> R_i'|E_{1})=0\) for all \(i\in \mathbb{N}_0\).
From \(R_0=R_0'-\sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2}\) we have \(\mathbb{P}_{p\vec{n}}^\sigma(R_i> R_i'|E_{1})=\mathbb{P}_{p\vec{n}}^\sigma(S_i- S_i'>\sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2}|E_{1})\).
Therefore Lemma 20 follows from the following Lemma.
Lemma 21. For all sufficiently large \(n\), conditioned on \(E_1\) it holds it holds \(|S_i- S_i'|<\sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2}\) for all \(i\in \mathbb{N}_0\).
Proof. Note that conditioned on \(E_{1}\) it holds that \(X_i\neq X_i'\) iff \(\bar{T}_i\notin \hat{T}_{k+1}\). And since there is an upper limit on how many times any transition \(t \notin \hat{T}_{k+1}\) can appear in \(E_{1}\), conditioned on \(E_{1}\) it holds that \(|S_i-S_i'|\leq \sum_{t \notin \hat{T}_{k+1}} \max_t(E_{1})\cdot |\mathit{RankEff}(t)|\) where \(\max_t(E_{1})\) is the maximal number of times \(t\) can appear along any computation from \(E_{1}\). We can rewrite this as \[\begin{gather} |S_i-S_i'| \leq \sum_{t\in T_k'}\max_t(E_{1})\cdot |\mathit{RankEff}(t)| + \sum_{i=1}^{k-1}\sum_{t \in T_{i}\setminus T_{i+1}} \max_t(E_{1})\cdot |\mathit{RankEff}(t)| \leq\\ \sum_{t\in T_k'}n^{k+\epsilon_1}\cdot r + \sum_{i=1}^{k-1}\sum_{t \in T_{i}\setminus T_{i+1}} n^{i+\epsilon_1}\cdot |\mathit{RankEff}(t)| \end{gather}\] for some constant \(r\). Notice that for any \(t \in T_{i}\setminus T_{i+1}\) the value of \(\mathit{RankEff}(t)\) consists of two parts, the first is the actual effect of the transition on the counters + the change of rank from changing the state, which can be bounded by a constant, and the second part consists in potentially changing the weights assigned to individual counters in \(rank_k\). But \(t \in T_{i}\setminus T_{i+1}\) can change the weights only for counters from \(C_1,\dots,C_{k-i}\) which in \(E_{1}\) are all upper bounded by \(n^{max(A\cap \{1,\dots,k-i \})+\epsilon_1}\). Thus \(|\mathit{RankEff}(t)|\leq r\cdot (1+n^{max(A\cap \{1,\dots,k-i \})+\epsilon_1})\).
Therefore assuming \[\label{equation-epsilon-bounds-something1} \epsilon_2>2\cdot \epsilon_3> \epsilon_3>2\cdot \epsilon_1\tag{1}\] we can write for all sufficiently large \(n\) \[\begin{gather} \sum_{t\in T_k'}n^{k+\epsilon_1}\cdot r + \sum_{i=1}^{k-1}\sum_{t \in T_{i}\setminus T_{i+1}} n^{i+\epsilon_1}\cdot |\mathit{RankEff}(t)| \leq \\ \sum_{t\in T_k'}n^{k+\epsilon_1}\cdot r + \sum_{i=1}^{k-1}\sum_{t \in T_{i}\setminus T_{i+1}} n^{i+\epsilon_1}\cdot r\cdot (1+n^{max(A\cap \{1,\dots,k-i \})+\epsilon_1}) \leq \\ |T_k'|\cdot n^{k+\epsilon_3} + \sum_{i=1}^{k-1}|T_i\setminus T_{i+1}|\cdot n^{i+\epsilon_3+max(A\cap \{1,\dots,k-i \})} \end{gather}\]
Consider now the three cases considered in the definition of \(l\) in Lemma 4.
In the case that \(k=1\) it holds \[\begin{gather} |T_k'|\cdot n^{k+\epsilon_3} + \sum_{i=1}^{k-1}|T_i\setminus T_{i+1}|\cdot n^{i+\epsilon_3+max(A\cap \{1,\dots,k-i \})} = |T_k'|\cdot n^{k+\epsilon_3} \leq \\ n^{k+2\cdot \epsilon_3} < n^{k+\epsilon_2} \leq \sum_{t\in \hat{T}_{k+1}}u\cdot n^{k+\epsilon_2} = \sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2} \end{gather}\]
In the case that \(k> 1\) and \(T_k'\neq \emptyset\) it holds \[\begin{gather} |T_k'|\cdot n^{k+\epsilon_3} + \sum_{i=1}^{k-1}|T_i\setminus T_{i+1}|\cdot n^{i+\epsilon_3+max(A\cap \{1,\dots,k-i \})} \leq \\ |T_k'|\cdot n^{k+\epsilon_3} + \sum_{i=1}^{k-1}|T_i\setminus T_{i+1}|\cdot n^{i+\epsilon_3+k-i} = |T_k'|\cdot n^{k+\epsilon_3} + \sum_{i=1}^{k-1}|T_i\setminus T_{i+1}|\cdot n^{k+\epsilon_3} \leq \\ n^{k+2\cdot \epsilon_3} < n^{k+\epsilon_2} \leq \sum_{t\in \hat{T}_{k+1}}u\cdot n^{k+\epsilon_2} = \sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2} \end{gather}\] we have \(l=\max\{a+b\mid a\in A,b\in B; a+b\leq k \}\) then And in the case that \(k>1\) and \(T_k'=\emptyset\) it holds \[\begin{gather} |T_k'|\cdot n^{k+\epsilon_3} + \sum_{i=1}^{k-1}|T_i\setminus T_{i+1}|\cdot n^{i+\epsilon_3+max(A\cap \{1,\dots,k-i \})} =\\ 0\cdot n^{k+\epsilon_3} + \sum_{i\in B\cap \{1,\dots,k-1 \}} |T_i\setminus T_{i+1}|\cdot n^{i+\epsilon_3+max(A\cap \{1,\dots,k-i \})} +\\+ \sum_{i\in \{1,\dots,k-1 \}\setminus B} |T_i\setminus T_{i+1}|\cdot n^{i+\epsilon_3+max(A\cap \{1,\dots,k-i \})} =\\ \sum_{i\in B\cap \{1,\dots,k-1 \}} |T_i\setminus T_{i+1}|\cdot n^{i+\epsilon_3+max(A\cap \{1,\dots,k-i \})} + \sum_{i\in \{1,\dots,k-1 \}\setminus B} 0\cdot n^{i+\epsilon_3+max(A\cap \{1,\dots,k-i \})} =\\ \sum_{i\in B\cap \{1,\dots,k-1 \}} |T_i\setminus T_{i+1}|\cdot n^{i+\epsilon_3+max(A\cap \{1,\dots,k-i \})} \leq \\ n^{2\cdot \epsilon_3+\max\{a+b\mid a\in A,b\in B; a+b\leq k \}} = n^{l+2\cdot \epsilon_3} < n^{l+\epsilon_2} \leq \sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2} \end{gather}\]
Thus conditioned on \(E_{1}\) in all three cases it holds for all sufficiently large \(n\) that \(|S_i-S_i'|< \sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2}\). ◻
Now let us consider the stopping rule \(\tau\) that stops when either any counter becomes negative, or any counter \(c\in C_{k+}\) with \(\mathbf{y}_k(c)>0\) becomes larger then \(n^{l+\epsilon}\) for the first time. (i.e. either \(V_\tau(c')<0\) for any counter \(c'\), or \(V_\tau(c)\geq n^{l+\epsilon}\) for any \(c\in C_{k+}\) with \(\mathbf{y}_k(c)>0\)). It holds for all \(i\in \mathbb{N}_0\) that \[R_{min(i,\tau)} \leq max_{p\in Q} \mathbf{z}_k(p) + max_{c; \mathbf{y}_k(c)>0} \mathbf{y}_k(c) \cdot d_k\cdot (n^{l+\epsilon}+u)\]
Furthermore, conditioned on \(E_{1}\) we can write \[\begin{gather} R_i' = R_0'+S_i' = R_0+\sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2} +S_i' = R_0+\sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2} +S_i'+S_i-S_i = \\ R_i+\sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2} +S_i'-S_i \leq R_i+\sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2} +|S_i'-S_i| < R_i+2\cdot \sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2} \end{gather}\] Thus conditioned on \(E_{1}\) we also have \[R_{min(i,\tau)}' \leq max_{p\in Q} \mathbf{z}_k(p) + max_{c; \mathbf{y}_k(c)>0} \mathbf{y}_k(c) \cdot d_k\cdot (n^{l+\epsilon}+u) +2\cdot \sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2}\] Since \(P_0V_0,P_1,V_1,\dots,P_iV_i\notin E_1\) implies that \(R_i'=R_{i+1}'=\dots\), the above holds also without the conditioning on \(E_1\). And as from Lemma 19 \(R_0',R_1',\dots\) is a supermartingale, we can apply the optional stopping theorem on \(R_0',R_1',\dots\) to obtain: \[\begin{gather} max_{p\in Q} \mathbf{z}_k(p) + max_{c; \mathbf{y}_k(c)>0} \mathbf{y}_k(c) \cdot d_k\cdot (n+u) + \sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2} \geq\\ \mathbb{E}_{p\vec{n}}^\sigma(R_0') \geq \mathbb{E}_{p\vec{n}}^\sigma(R_{\tau}') \geq p\cdot X_{n^{l+\epsilon}}+(1-p)\cdot X_0 \end{gather}\] where \(X_{n^{l+\epsilon}}\) represents the minimal possible value of \(R_\tau'\) if any counter \(c\in C_{k+}\) with \(\mathbf{y}_k(c)>0\) has \(V_\tau(c)\geq n^{l+\epsilon}\), \(p\) is the probability of any such counter being at least \(n^{l+\epsilon}\) upon stopping, and \(X_0\) represents the minimal value of \(R_\tau'\) if no such counter reached \(n^{l+\epsilon}\).
Assuming \[\label{equation-epsilons-fsdfsgh} \epsilon_4>\epsilon_2\tag{2}\] We can simplify this for all sufficiently large \(n\) as \[max_{p\in Q} \mathbf{z}_k(p) + max_{c; \mathbf{y}_k(c)>0} \mathbf{y}_k(c) \cdot d_k\cdot (n+u) + \sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2} \geq p\cdot X_{n^{l+\epsilon}}+(1-p)\cdot X_0\] \[max_{p\in Q} \mathbf{z}_k(p) + max_{c; \mathbf{y}_k(c)>0} \mathbf{y}_k(c) \cdot d_k\cdot (n+u) + \sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2} \geq p\cdot X_{n^{l+\epsilon}}-(1-p)\cdot max_{c\in\{1,\dots,d_k\}} \mathbf{y}_k(c)\cdot u\cdot d_k\] \[max_{p\in Q} \mathbf{z}_k(p) + max_{c; \mathbf{y}_k(c)>0} \mathbf{y}_k(c) \cdot d_k\cdot (n+u) + \sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2} +(1-p)\cdot max_{c\in\{1,\dots,d_k\}} \mathbf{y}_k(c)\cdot u\cdot d_k \geq p\cdot X_{n^{l+\epsilon}}\] \[n^{l+\epsilon_4} \geq p\cdot X_{n^{l+\epsilon}}\] \[n^{l+\epsilon_4} \geq p\cdot n^{l+\epsilon}\] \[n^{\epsilon_4-\epsilon} \geq p\] and assuming \[\label{equation-epsilons-somewheresomiubibh}\epsilon>\epsilon_4\tag{3}\] it holds \(\lim_{n\rightarrow\infty}n^{\epsilon_4-\epsilon}=0\).
Thus for any counter \(c\in C_{k+}\) with \(\mathbf{y}_k(c)>0\) it holds for any \(\epsilon>0\), any strategy \(\sigma\), any state \(p\), and all sufficiently large \(n\) that \(\mathbb{P}_{p\vec{n}}^\sigma[\pazocal{C}_\pazocal{A}[c]\geq n^{l+\epsilon}]\leq p + (1-\mathbb{P}_{p\vec{n}}^\sigma[E_{1}])\) and thus \(\lim_{n\rightarrow\infty}\mathbb{P}_{p\vec{n}}^\sigma[\pazocal{C}_\pazocal{A}[c]\geq n^{l+\epsilon}]\leq \lim_{n\rightarrow\infty}p + (1-\mathbb{P}_{p\vec{n}}^\sigma[E_{1}])= 0\). Thus \(\pazocal{C}_\pazocal{A}[c]\) has an upper asymptotic estimate of \(n^l\). This finishes the proof of Lemma 4 for counters. We proceed to extend the proof onto transitions as well.
Consider the \(1\)-dim VASS MDP \(\pazocal{A}_R'\) created from \(\pazocal{A}\) by replacing all counters with a single counter which “almost” corresponds to \(R_i'\). That is \(\pazocal{A}_R'\) has only one counter, the same set of states as \(\pazocal{A}\), and each transition \(t=(p,\mathbf{u},q)\) of \(\pazocal{A}\) is in \(\pazocal{A}_R'\) replaced with \(t'=(p,\mathbf{u}',q)\) where \[\mathbf{u}'(1)=\begin{cases} \mathit{RankEff}(t) & \text{if } t\in \hat{T}_{k+1} \\ 0 & \text{else } \end{cases}\]
Note that conditioned on \(E_{1}\) the counter of \(\pazocal{A}_R'\), when initialized in \(rank_k(p\vec{n})+\sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2}\), is after \(i\)-steps equal to the value of \(R_i'\) (assuming the equivalent computation on \(\pazocal{A}\)). And since \(R_i< 0\) implies the computation on \(\pazocal{A}\) has already terminated (since the only way to add a negative value to \(rank_k\) is if some counter is negative) we get from Lemma 20 that if \(\pazocal{A}_R'\) terminated then the equivalent computation on \(\pazocal{A}\) either also terminated or it is not in \(E_{1}\).
Let \(t=(p,\mathbf{u},q)\) be a transition of \(\pazocal{A}_{k,\hat{T}_{k+1}}\) such that one of the following holds:
\(p\in Q_n\) and \(\mathbf{z}_k(q)-\mathbf{z}_k(p)+\sum_{c\in \mathit{Count}_k} \mathbf{u}(c)\cdot \mathbf{y}_k(c)<0\),
\(p\in Q_p\) and \(\sum_{t' = (p',\mathbf{u}',q') \in \mathit{Out}(p)}P(t')\cdot \big(\mathbf{z}_k(q')-\mathbf{z}_k(p')+\sum_{c\in \mathit{Count}_k} \mathbf{u}'(c)\cdot \mathbf{y}_k(c)\big)< 0\).
Notice that from the way (II) is designed, it holds that every single MEC of \(\pazocal{A}'_{R,\sigma}\) with \(\sigma\in cMD(\pazocal{A})\) that contains \(t\) is decreasing (this is since such \(t\) either decreases \(rank_k\) if \(p\in Q_n\) or if \(p\in Q_p\) then \(rank_k\) decreases on average in a single computation step from \(p\), and this “average decrease” can never be compensated in \(\pazocal{A}_{R}'\)). Also, there is no MEC of \(\pazocal{A}'_{R,\sigma}\) with \(\sigma\in cMD(\pazocal{A})\) that is increasing (again, this is due to there being no transitions that “increase \(rank_k\) on average” in \(\pazocal{A}_{k,\hat{T}_{k+1}}\) and transitions not in \(\hat{T}_{k+1}\) have effect \(0\) in \(\pazocal{A}_{R}'\), we refer to Section 3.2 for more details). Thus from the results about \(1\)-dim VASS MDPs from [19] it holds that \(\pazocal{T}_{\pazocal{A}_R'}[t]\) has an upper asymptotic estimate of \(n\). Therefore \[\mathbb{P}_{p\vec{n}}^\sigma[\pazocal{T}_\pazocal{A}[t]\geq n^{l+\epsilon}]\leq (1-\mathbb{P}_{p\vec{n}}^\sigma[E_{1}])+\mathbb{P}_{p\vec{1}\cdot (rank_k(p\vec{n})+\sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2})}^\sigma[\pazocal{T}_{\pazocal{A}_R'}[t]\geq n^{l+\epsilon}]\]
But assuming \[\label{equation-epsilon-khviviguo} \epsilon_5>\epsilon_2\tag{4}\] it holds for all sufficiently large \(n\) that \(rank_k(p\vec{n})+\sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2}\leq n^{l+\epsilon_5}\). Thus assuming \[\label{equation-epsilon-khvivifsdfsguo} l+\epsilon>(l+\epsilon_5)(1+\epsilon_6)\tag{5}\] it holds
\[\begin{gather} \limsup_{n\rightarrow\infty} \mathbb{P}_{p\vec{n}}^\sigma[\pazocal{T}_\pazocal{A}[t]\geq n^{l+\epsilon}] \leq\\ \limsup_{n\rightarrow\infty}(1-\mathbb{P}_{p\vec{n}}^\sigma[E_{1}])+\mathbb{P}_{p\vec{1}\cdot (rank(p\vec{n})+\sum_{t\in \hat{T}_{k+1}}u\cdot n^{l+\epsilon_2})}^\sigma[\pazocal{T}_{\pazocal{A}_R'}[t]\geq n^{l+\epsilon}] \leq \\ \limsup_{n\rightarrow\infty}(1-\mathbb{P}_{p\vec{n}}^\sigma[E_{1}])+\mathbb{P}_{p\vec{1}\cdot n^{l+\epsilon_5}}^\sigma[\pazocal{T}_{\pazocal{A}_R'}[t]\geq (n^{l+\epsilon_5})^{1+\epsilon_6}] = 0 \end{gather}\]
Thus \(\pazocal{T}_\pazocal{A}[t]\) has an upper asymptotic estimate of \(n^l\) proving Lemma 4 for transitions.
It remains to show there exist values for \(\epsilon_1,\epsilon_2,\dots\) that satisfy all of our assumptions. We do this in Table 1.
| \(\epsilon\) assignment | restrictions | After substitution | |
|---|---|---|---|
| \(\epsilon_1=\nicefrac{\epsilon}{10000}\) | \(0<\epsilon_1,\epsilon_2,\dots\) | ||
| \(\epsilon_2=\nicefrac{\epsilon}{100}\) | \(\epsilont_2>2\cdot \epsilont_3> \epsilont_3>2\cdot \epsilont_1\) | [equation-epsilon-bounds-something1] | \(\nicefrac{\epsilon}{100}>2\cdot \nicefrac{\epsilon}{1000}> \nicefrac{\epsilon}{1000}>2\cdot \nicefrac{\epsilon}{10000}\) |
| \(\epsilon_{3}=\nicefrac{\epsilon}{1000}\) | \(\epsilont_4>\epsilont_2\) | [equation-epsilons-fsdfsgh] | \(\nicefrac{\epsilon}{10}>\nicefrac{\epsilon}{100}\) |
| \(\epsilon_{4}=\nicefrac{\epsilon}{10}\) | \(\epsilon>\epsilont_4\) | [equation-epsilons-somewheresomiubibh] | \(\epsilon>\nicefrac{\epsilon}{10}\) |
| \(\epsilon_{5}=\nicefrac{\epsilon}{90}\) | \(\epsilont_5>\epsilont_2\) | [equation-epsilon-khviviguo] | \(\nicefrac{\epsilon}{90}>\nicefrac{\epsilon}{100}\) |
| \(\epsilon_{6}=\nicefrac{\min(\epsilon,1)}{(2\cdot l)}\) | \(l+\epsilon>(l+\epsilont_5)(1+\epsilont_6)\) | [equation-epsilon-khvivifsdfsguo] | \(l+\epsilon>(l+\nicefrac{\epsilon}{90})(1+\nicefrac{\min(\epsilon,1)}{(2\cdot l)})\) |
Let us begin by stating the following technical definition:
Definition 3. We say that a computation \(\alpha\) is \(k\)-level \(m\)-cyclic if there exists a tree graph \(G=(V,E)\) along with a function \(f\) that assings to each vertex of \(G\) a path on \(\pazocal{A}\), and a function \(g\) that assigns to each vertex of \(G\) a MEC of some \(\pazocal{A}_i\) such that:
the root \(v_0\) of \(G\) has \(f(v_0)=\alpha\) and \(g(v_0)=\pazocal{A}\);
for each vertex \(v\) of \(G\), let \(v_1,\dots,v_i\) be all the children of \(v\), then it holds that \(f(v)=f(v_1)\cdot \ldots \cdot f(v_i)\);
every leaf \(v\) of \(G\) has distance exactly \(k\) from the root and \(\mathit{len}(f(v))>1\). (root has distance \(0\) to itself)
every non-leaf vertex \(v\) whose distance from root is \(i\) has exactly \(m\cdot l_i\) children \(v_1,\dots,v_{m\cdot l_i }\), where \(l_i\) is the number of MECs in \(\pazocal{A}_{i}^{g(v)}\), where \(\pazocal{A}_{i}^{g(v)}\) is the VASS MDP obtained by restricting \(\pazocal{A}_{i}\) only to the transitions included in \(g(v)\). For each each MEC \(B\) of \(\pazocal{A}_{i}^{g(v)}\) there exist exactly \(m\) children \(v_j\) of \(v\) such that \(f(v_j)\) contains every single state of \(B\) at least once (but not counting the very first state of \(f(v_j)\)), and such that \(g(v_j)=B\).
We call a tuple \((V,E,f,g)\) that satisfies the above conditions a \((k,m)\)-tree of \(\alpha\).
Note that if there exists a \((k,m)\)-tree of \(\alpha\) then we can decompose \(\alpha\) into "levels" such that at the \(i\)-th level we are guaranteed to cycle between all the states of any given MEC of \(A_i\) at least \(m^i\) times, and we do so in such a way that we “interweave” these cycles at different levels so that for every \(i<j\) we can only count at most \(m^{j-i}\) cycles on a MEC \(B\) of \(\pazocal{A}_{j}\) within a single cycle on a MEC \(B'\) of \(\pazocal{A}_i\) where \(B\) is contained in \(B'\).7
Most importantly, if \(\alpha\) has a \((k,n^{1-\epsilon})\)-tree, then \(\mathit{len}(\alpha)\geq n^{k-k\cdot \epsilon}\), and as we will show later, we will be able to use the \((k,n^{1-\epsilon})\)-tree to define a new strategy that with high enough probability produces a computation with a \((k+1,n^{1-\epsilon})\)-tree.
Let \(\alpha_{p\vec{n}}^{\sigma}\) be the random variable that represents the computation under the strategy \(\sigma\) in \(\pazocal{A}\) from initial configuration \(p\vec{n}\), let \(\alpha_{p\vec{n},..i}^{\sigma}\) be the prefix of \(\alpha_{p\vec{n}}^{\sigma}\) of length \(i\), let \(\alpha_{p\vec{n},i..j}^{\sigma}\) be the suffix of \(\alpha_{p\vec{n},..j}^{\sigma}\) of length \(j-i\) (and if \(j-i<0\) then we put \(\alpha_{p\vec{n},..j}^{\sigma}=\epsilon\)), and let \(\alpha_{p\vec{n},i..}^{\sigma}\) be the suffix of \(\alpha_{p\vec{n}}^{\sigma}\) obtained by removing the first \(i\) configurations from \(\alpha_{p\vec{n}}^{\sigma}\).
We will prove the following technical Lemma.
Lemma 22. Let \(\pazocal{A}\) be a strongly connected VASS MDP, then for each \(k\in \mathbb{N}_0\) all of the following hold:
Each transition \(t\) of \(\pazocal{A}\) has either an upper asymptotic estimate of \(n^{k}\) or a lower asymptotic estimate of \(n^{k+1}\) for \(\pazocal{T}_\pazocal{A}[t]\);
Each counter \(c\) of \(\pazocal{A}\) has either an upper asymptotic estimate of \(n^{k}\) or a lower asymptotic estimate of \(n^{k+1}\) for \(\pazocal{C}_\pazocal{A}[c]\);
There exists a multi-component \(\mathbf{x}\) on \(\pazocal{A}_k\) satisfying \(\Delta^{C_1,\dots,C_k}(\mathbf{x})=\vec{0}\) as well as \(\mathbf{x}(t)>0\) iff \(t\in T_{k+1}\);
For each component \(\mathbf{y}\) of \(\pazocal{A}\), either there exists a transition \(t\) with \(\mathbf{y}(t)>0\) and with an upper asymptotic estimate of \(n^{k}\) for \(\pazocal{T}_\pazocal{A}[t]\), or \(\pazocal{P}_{\pazocal{A}_{+\hat{\mathbf{y}}}}[\mathcal{M}_{\hat{\mathbf{y}}}]\) has a lower asymptotic estimate of \(n^{k+1}\);
Let \(1>\epsilon>0\) and let \(h_{\epsilon}:\mathbb{N}\rightarrow\mathbb{N}_0\) be such that \(h_{\epsilon}(n)\leq n^{1-\epsilon}\) for all \(n\in \mathbb{N}\) and \(\lim_{n\rightarrow\infty}h_{\epsilon}(n)=\infty\). Then there exist
a strategy \(\sigma_k^\epsilon\) on \(\pazocal{A}\),
a function \(g^{k,\epsilon}\) which assigns to each \(\alpha_{p\vec{n},..i}^{\sigma_k^\epsilon}\) either a MEC of \(\pazocal{A}_{k+1}\) or the symbol \(\bot\),
functions \(r_1^{k,\epsilon},\dots,r_{k+1}^{k,\epsilon}\) that to each each \(\alpha_{p\vec{n},..i}^{\sigma_k^\epsilon}\) assign either \(NEXT\) or \(SAME\), where \(0\leq i\leq \mathit{len}(\alpha_{p\vec{n}}^{\sigma_k^\epsilon} )\)
Which satisfy the following conditions.
\(r_{1}^{k,\epsilon}(\alpha_{p\vec{n},..0}^{\sigma_k^\epsilon} )=NEXT\);
for all \(1\leq i\leq k+1\) and all \(0\leq j\leq \mathit{len}(\alpha_{p\vec{n}}^{\sigma_k^\epsilon} )\): if \(r_i^{k,\epsilon}(\alpha_{p\vec{n},..j}^{\sigma_k^\epsilon} )=NEXT\) then \(r_{l}^{k,\epsilon}(\alpha_{p\vec{n},..j}^{\sigma_k^\epsilon} )=NEXT\) for all \(i\leq l\leq k+1\);
for all \(0\leq i< \mathit{len}(\alpha_{p\vec{n}}^{\sigma_k^\epsilon} )\): if \(r_{k+1}^{k,\epsilon}(\alpha_{p\vec{n},..i}^{\sigma_k^\epsilon} )=SAME\) and \(g^{k,\epsilon}(\alpha_{p\vec{n},..i}^{\sigma_k^\epsilon})\neq \bot\) then \(g^{k,\epsilon}(\alpha_{p\vec{n},..i+1}^{\sigma_k^\epsilon})= g^{k,\epsilon}(\alpha_{p\vec{n},..i}^{\sigma_k^\epsilon})\)
Furthermore with probability \(p_{p\vec{n}}^{\sigma_k^\epsilon}\) such that \(\lim_{n\rightarrow\infty}p_{p\vec{n}}^{\sigma_{k}^\epsilon}=1\) there exists a \((k+1,h_\epsilon(n))\)-tree \(G=(V,E,f,g)\) of \(\alpha_{p\vec{n}}^{\sigma_k^\epsilon}\) such that
for each \(1\leq l\leq k+1\): let \(v_1,\dots,v_{a}\) be all the vertices of \(G\) at distance \(l\) from root, and let \(i_0<i_1<i_2<\dots<i_b\) be all the indexes \(i\) such that \(r_l(\alpha_{p\vec{n},..i}^{\sigma_{k}^\epsilon})=NEXT\). Then
\(a=b\),
\(f(v_j)=\alpha_{p\vec{n},i_{j-1}\dots i_j}^{\sigma_{k}^\epsilon}\) for all \(0<j<a\),
\(f(v_a)=\alpha_{p\vec{n},i_b..}^{\sigma_{k}^\epsilon}\).
Let \(v_1,\dots,v_a\) be all the leaves of \(G\), and let \(i_0<i_1<i_2<\dots<i_b\) be all the indexes \(i\) such that \(r_{k+1}(\alpha_{p\vec{n},..i}^{\sigma_{k}^\epsilon})=NEXT\). Then for each \(0\leq x \leq b\) there exists \(j_x\) such that \(i_{x} \leq j_x<i_{x+1}\) (here we put \(i_{b+1}=n^{k+2}\)) such that
\(g(v_x)=g^{k,\epsilon}(\alpha_{p\vec{n},..j_x}^{\sigma_k^\epsilon})\neq \bot\),
\(\alpha_{p\vec{n},j_x..i_{x+1}}^{\sigma_k^\epsilon}\) contains every state of \(g(v_x)\) at least once,
for all \(j_x\leq y< i_{x+1}\) it holds \(g^{k,\epsilon}(\alpha_{p\vec{n},..y}^{\sigma_k^\epsilon})=g^{k,\epsilon}(\alpha_{p\vec{n},..j_x}^{\sigma_k^\epsilon})\).
The point [enum-main-5] deserves an explanation. Essentially it says that for each \(\epsilon>0\) and each function \(h_\epsilon\) with \(h_\epsilon(n)\leq n^{1-\epsilon}\) there exists a strategy \(\sigma_k^\epsilon\) on \(\pazocal{A}\) that with high enough probability produces a computation that is \((k+1)\)-level \(h_\epsilon(n)\)-cyclic, and furthermore, a \((k+1,h_\epsilon(n))\)-tree \(G\) of this computation can be created “along the computation”, that is at every step of the computation we know exactly to which leaf of \(G\) the next step will belong along with the MEC that corresponds to this leaf (except at some steps we are allowed to not know the MEC, but the states visited by these steps do not count toward the given leaf visiting each state of its MEC, i.e., the leaf is required to visit each state of the given MEC after we know the MEC). And we can do this in a such way that at the end of the computation the \(G\) created this way is with high enough probability a valid \((k+1,h_\epsilon(n))\)-tree of the resulting computation.
Proof. We prove Lemma 22 by induction over \(k\).
The base case \(k=0\):
Since \(\pazocal{A}\) is strongly connected, the strategy that at each step chooses the next transition uniformly at random induces a strongly connected VASS Markov chain \(\mathcal{M}\) that has single MEC that contains all transitions of \(\pazocal{A}\). Thus from Theorem 3 \(\pazocal{T}_\mathcal{M}[t]\) has a lower asymptotic estimate of \(n\) for every \(t\). Thus also \(\pazocal{T}_\pazocal{A}[t]\) has a lower asymptotic estimate of \(n\) for every transition \(t\).
\(\pazocal{C}_\pazocal{A}[c]\) has a trivial lower asymptotic estimate of \(n\) for each counter \(c\).
We define \(\pazocal{A}_0=\pazocal{A}\). Let \(\mathbf{x}\) be an arbitrary multi-component on \(\pazocal{A}\) that contains every transition of \(\pazocal{A}\) (for example we can take one that includes every single component of \(\pazocal{A}\) which exists from Lemma 13). Then this \(\mathbf{x}\) satisfies both \(\Delta^{C_0}(\mathbf{x})=\vec{0}\) and \(\mathbf{x}(t)>0\) iff \(t\in T_{1}\). This is due to \(C_0=\emptyset\) and \(T_1=T\).
For any component \(\mathbf{y}\) we can see \(\mathcal{M}_{\hat{\mathbf{y}}}\) as a strongly connected VASS MDP, and thus we have a trivial lower asymptotic estimate of \(n\) for \(\pazocal{L}_{\mathcal{M}_{\hat{\mathbf{y}}}}\). As the pointing strategy on \(\pazocal{A}_{+\hat{\mathbf{y}}}\) can simply ignore any VASS Markov chain other than \(\mathcal{M}_{\hat{\mathbf{y}}}\) (i.e., it always outputs \(\hat{\mathbf{y}}\)) this gives us a lower asymptotic estimate of \(n\) for \(\pazocal{P}_{\pazocal{A}_{+\hat{\mathbf{y}}}}[\mathcal{M}_{\hat{\mathbf{y}}}]\) for every component \(\mathbf{y}\) of \(\pazocal{A}\).
Let us have \(1>\epsilon>0\) and \(h_\epsilon:\mathbb{N}\rightarrow\mathbb{N}_0\) with \(h_\epsilon(n)\leq n^{1-\epsilon}\) and \(\lim_{n\rightarrow\infty}h_{\epsilon}(n)=\infty\). Consider the strategy \(\sigma^0_{\epsilon}\) on \(\pazocal{A}\) which at each step chooses the next transition uniformly at random.
Let \(p_1,\dots,p_w\) (and let \(p_0=p_w\)) be all the states of \(\pazocal{A}\), and assume that \(\alpha_{p\vec{n},..n^2}^{\sigma_0^\epsilon}\) can be divided into \(w\cdot h_\epsilon(n)\) sub-computations \(\alpha_{p\vec{n},..n^2}^{\sigma_0^\epsilon}=\alpha_{1}^1\cdot \ldots\cdot \alpha_1^w\cdot \alpha_{2}^1\cdot \ldots\cdot \alpha_2^w\cdot \ldots\cdot \alpha_{h_\epsilon(n)}^1\cdot \ldots\cdot \alpha_{h_\epsilon(n)}^w\) such that for all \(i,j\) it holds that \(\alpha_{i}^j\) starts in \(p_{j-1}\), ends in \(p_{j}\), and does not otherwise contain \(p_{j-1}\), with the only exceptions being that \(\alpha_{1}^1\) is not required to start in \(p_0\) and \(\alpha_{h_\epsilon(n)}^w\) is not required to end in \(p_w\) while being permitted to contain multiple instances of \(p_w\) (it is still required to contain at least one \(p_w\)). If such division exists then \(\alpha_{p\vec{n}}^{\sigma_0^\epsilon}\) is a \(1\)-level \(h_\epsilon(n)\)-cyclic computation, as we could simply take \(G=(V,E,f,g)\) with \(V=\{v_{root},v_1,\dots,v_{h_\epsilon(n)}\}\), \(E=\{(v_{root},v_1),\dots,(v_{root},v_{h_\epsilon(n)}) \}\) such that \(g(v)=\pazocal{A}\) for all \(v\in V\) and \(f(v_{root})=\alpha_{p\vec{n}}^{\sigma_1^\epsilon}\), \(f(v_i)=\alpha_{i}^1\cdot \ldots \cdot \alpha_{i}^w\) for \(i<h_\epsilon(n)\), and \(f(v_{h_\epsilon(n)})=\alpha_{h_\epsilon(n)}^1\cdot \ldots \cdot \alpha_{h_\epsilon(n)}^w \cdot \alpha_{p\vec{n},n^3..}^{\sigma_0^\epsilon}\). Furthermore, the division into the sub-paths is unique and given \(\alpha_{p\vec{n},..i}^{\sigma_0^\epsilon}\) we can compute the division of this prefix \(\alpha_{p\vec{n},..i}^{\sigma_0^\epsilon}=\alpha_{1,..i}^1\cdot \ldots\cdot\alpha_{1,..i}^w\cdot\alpha_{2,..i}^1\cdot\ldots\cdot\alpha_{2,..i}^w\cdot\ldots\cdot\alpha_{h_\epsilon(n),..i}^1\cdot\ldots\cdot\alpha_{h_\epsilon(n),..i}^w\) such that \(\alpha_{j,..n^2}^l=\alpha_{j}^l\) in the following way:
Let \(q_i\mathbf{u}_i\) be the last configuration of \(\alpha_{p\vec{n},..i}^{\sigma_0^\epsilon}\), let \(t_i\) be the last transition of \(\alpha_{p\vec{n},..i+1}^{\sigma_0^\epsilon}\), and let \(j_i,l_i\) be indexes such that \(\alpha_{j_i,..i}^{l_i}\neq \epsilon\) is the last non-empty computation of the division of \(\alpha_{p\vec{n},..i}^{\sigma_0^\epsilon}\) (i.e., the smallest \(j_i\leq h_\epsilon(n)\) such that there exists a smallest value of \(l_i\leq w\) for which it holds \[\alpha_{j_i+\lfloor\frac{l_i}{w}\rfloor,..i}^{(l_i\mod w)+1}=\epsilon\]). Then we can define: \[\alpha_{j,..i+1}^l=\begin{cases} \alpha_{j,..i}^l & \text{if } j<j_i \\ \alpha_{j,..i}^l & \text{if } j=j_i \textit{ and }l<l_i \\ \alpha_{j,..i}^l, q_{i+1}\mathbf{u}_{i+1} & \text{if } j=j_i \textit{ and }l=l_i\textit{ and } q_i\neq p_{l_i} \\ \alpha_{j,..i} & \text{if } j=j_i \textit{ and }l=l_i\textit{ and } q_i= p_{l_i} \\ q_{i}\mathbf{u}_i,q_{i+1}\mathbf{u}_{i+1 } & \text{if } j=j_i+\lfloor\frac{l_i}{w}\rfloor \textit{ and }l=(l_i \mod w)+1\textit{ and } q_i= p_{l_i} \\ \epsilon & \text{else } \end{cases}\]
Thus we can define \[r_1^{0,\epsilon}(\alpha_{p\vec{n},..i}^{\sigma_0^\epsilon})=\begin{cases} NEXT & \text{if } i=0\\ NEXT & \text{if } q_i= p_{l_i} \textit{ and }(l_i,j_i)\neq (w,h_\epsilon(n))\\ SAME & \text{else } \end{cases}\]
\[g^{0,\epsilon}(\alpha_{p\vec{n},..i}^{\sigma_0^\epsilon})=\pazocal{A}\]
Let \(E\) denote the event that \(\alpha_{p\vec{n},..n^2}^{\sigma_0^\epsilon}\) can be divided into sub-computations as described above, and let \(\pi_{p\vec{n}}^{\sigma_0^\epsilon}\) be the random variable denoting the length of the shortest prefix of \(\alpha_{p\vec{n},..n^2}^{\sigma_0^\epsilon}\) that can be divided in such a way (or \(\pi_{p\vec{n}}^{\sigma_0^\epsilon}=n^2\) if no such prefix exists). It remains to show that \(\lim_{n\rightarrow\infty}\mathbb{P}_{p\vec{n}}^{\sigma_0^\epsilon}[E]=1\). To see this, notice that the expected length of \(\alpha_i^j\) is a constant (as the sub-path ends the moment \(p_j\) is reached, which happens in expected constant time), therefore \(\mathbb{E}_{p\vec{n}}^{\sigma_0^\epsilon}[\pi_{p\vec{n}}^{\sigma_0^\epsilon}]\leq a\cdot w\cdot h_\epsilon(n)\) for some constant \(a\). We can thus apply Markov inequality to obtain \(\mathbb{P}_{p\vec{n}}^{\sigma_0^\epsilon}[\pi_{p\vec{n}}^{\sigma_0^\epsilon}\geq n^{1-\epsilon_1} ]\leq \frac{a\cdot w\cdot h_\epsilon(n)}{n^{1-\epsilon_1} }\leq \frac{a\cdot w\cdot n^{1-\epsilon}}{n^{1-\epsilon_1} }\) and for \(0<\epsilon_1<\epsilon\) it holds \(\lim_{n\rightarrow\infty} \frac{a\cdot w\cdot n^{1-\epsilon}}{n^{1-\epsilon_1} } =0\). But since every transition of \(\pazocal{A}\) can decrease the counters by at most a constant \(u\) it holds \(\mathit{len}(\alpha_{p\vec{n}}^{\sigma_0^\epsilon})\geq \lfloor\frac{n}{u}\rfloor\geq n^{1-\epsilon_1}\) (for all sufficiently large \(n\)). Thus it holds \(\lim_{n\rightarrow\infty}\mathbb{P}_{p\vec{n}}^{\sigma_0^\epsilon}[E] =1\).
Therefore the base case for case [enum-main-5] holds.0◻
The induction step: Assume Lemma 22 holds for all \(k'<k\), we will now prove it holds for for \(k\) as well.
From Lemma 3 we obtain a set \(T_{k}'\) of transition with upper asymptotic estimate of \(n^k\) for \(\pazocal{T}_A[t]\) for each \(t\in T_{k}'\). Let \(\mathbf{x}_k,\mathbf{y}_k,\mathbf{z}_k\) be maximal solutions of systems (I) and (II) for \(\pazocal{A}_{k,\hat{T}_{k+1}}\). For every transition \(t=(p,\mathbf{u},q)\in \hat{T}_{k+1}=T_{k}\setminus T_{k}'\) we get from Lemma 5 that \(\mathbf{x}_k(t)>0\) implies a lower asymptotic estimate of \(n^{k+1}\) for \(\pazocal{T}_\pazocal{A}[t]\), while Lemma [lemma-upper-bound-T] together with Lemma 1 gives that \(\mathbf{x}_k(t)=0\) implies an upper asymptotic estimate of \(n^k\) for \(\pazocal{T}_\pazocal{A}[t]\).
Let \(\mathbf{x}_k,\mathbf{y}_k,\mathbf{z}_k\) be maximal solutions of systems (I) and (II) for \(\pazocal{A}_{k,\hat{T}_{k+1}}\). Lemma [lemma-upper-bound-T] gives an upper asymptotic estimate of \(n^k\) for \(\pazocal{C}_\pazocal{A}[c]\) for each counter \(c\) with \(\mathbf{y}_k(c)>0\) which from Lemma 1 implies \(\Delta(\mathbf{x}_k)(c)=0\), while Lemma 5 gives a lower asymptotic estimate of \(n^{k+1}\) for \(\pazocal{C}_\pazocal{A}[c]\) for each counter \(c\) with \(\Delta(\mathbf{x}_k)(c)>0\).
Let \(\mathbf{x}_k\) be a maximal solution of system (I) for \(\pazocal{A}_{k,\hat{T}_{k+1}}\). From point [enum-main-1] for \(k\) we have that \(t\in T_{k+1}\) iff \(\mathbf{x}_k(t)>0\) and from point [enum-main-2] for \(k\) we have \(c\in C_{1}\cup\dots\cup C_{k}\) iff \(\Delta(\mathbf{x}_k)(c)=0\). Thus \(\mathbf{x}_k\) has the desired property.
Let \(\mathbf{r}\) be a component of \(\pazocal{A}\). From Lemma 35 we have that if for each \(1\leq l<\frac{k}{2}\) it holds \(Support^{C_1,\dots,C_l}(\hat{\mathbf{r}})\subseteq \Delta^{C_1,\dots,C_l}(X_{k-l,T_{k+1-l}})\) then \(Support^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(\hat{\mathbf{r}})\subseteq R^{B_\mathbf{x},k}\), which from Lemma 25 implies a lower asymptotic estimate of \(n^{k+1}\) for \(\pazocal{P}_{\pazocal{A}_{+\hat{\mathbf{r}}}}[\mathcal{M}_{\hat{\mathbf{r}}}]\).
If on the other hand there exists \(1\leq l<\frac{k}{2}\) such that \(Support^{C_1,\dots,C_l}(\hat{\mathbf{r}})\nsubseteq \Delta^{C_1,\dots,C_l}(X_{k-l,T_{k+1-l}})\) then from Lemma 36 we have that \(\hat{\mathbf{r}}\) is not zero-bounded on \(rank_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}\), which then gives us from Lemma 3 that there exists a transition \(t\) with \(\mathbf{x}(t)>0\) such that \(\pazocal{T}_\pazocal{A}[t]\) has an upper asymptotic estimate of \(n^k\).
This is proven in the next Section. Specifically in Lemma 23.
◻
Lemma 2 (5). For every transition \(t\) with \(\mathbf{x}_k(t)>0\) and every counter \(c\in \mathit{Count}\) with \(\sum_{t' \in T} \mathbf{x}_k(t')\cdot \mathbf{u}_{t'}(c)>0\) it holds that \(n^{k+1}\) is a lower asymptotic estimate of \(\pazocal{T}_\pazocal{A}[t]\) and \(\pazocal{C}_\pazocal{A}[c]\).
In the following, we first describe for any \(\epsilon>0\) and function \(h_\epsilon:\mathbb{N}\rightarrow\mathbb{N}_0\) with \(h_\epsilon(n)<n^{1-\epsilon}\) a strategy \(\sigma^\epsilon_k\) and then in Lemma 23 we prove this strategy iterates any transition \(t\) with \(\mathbf{x}_k(t)>0\) at least \((h_\epsilon(n))^{k+1}\) times and increases every counter \(c\) with \(\sum_{t \in T} \mathbf{x}(t)\cdot \mathbf{u}_t(c)>0\) to at least \((h_\epsilon(n))^{k+1}\) with very high probability, thus for \(h_\epsilon(n)=\lfloor n^{1-\epsilon} \rfloor\) this gives us Lemma 5 .
Let us define \(\pazocal{A}_{k,\hat{T}_{k+1}}^{\mathbf{x}_k}\) as the VASS MDP created from \(\pazocal{A}_{k,\hat{T}_{k+1}}\) by removing any transition \(t\) with \(\mathbf{x}_k(t)=0\), and let \(B_1,\dots,B_w\) be all the MECs of \(\pazocal{A}_{k,\hat{T}_{k+1}}^{\mathbf{x}_k}\).
From Lemma 13 we can express \(\mathbf{x}_k\) as a conical sum of components, that is \(\mathbf{x}_k=\sum_{\mathbf{y}} a_\mathbf{y}\cdot \mathbf{y}\) where \(\mathbf{y}\) ranges over all the components of \(\pazocal{A}\), and \(a_\mathbf{y}>0\) iff \(\mathbf{y}\) is a component of \(\pazocal{A}_{k,\hat{T}_{k+1}}^{\mathbf{x}_k}\). We can wlog. assume that \(a_\mathbf{y}\in \mathbb{N}_0\) for all \(\mathbf{y}\), as if it is not we can simply take a multiple of \(\mathbf{x}_k\) instead of \(\mathbf{x}_k\).
For each \(1\leq i\leq w\) let \(\mathbf{y}_1^i,\dots,\mathbf{y}_{l_i}^i\) be all the components \(\mathbf{y}\) of \(B_i\). Let us consider the graph \(G^i=(V^i,E^i)\) where \(V^i=\{\mathbf{y}_1^i,\dots,\mathbf{y}_{l_i}^i \}\) and \(\{\mathbf{y}_a^i,\mathbf{y}_b^i\}\in E^i\) iff the MECs corresponding to \(\mathbf{y}^i_a\) and \(\mathbf{y}^i_b\) share any states. Clearly \(G^i\) is a strongly connected graph, so there exists a spanning tree \(G_T^i\) of \(G^i\).8 Wlog. we can declare \(\mathbf{y}_1^i\) the root of \(G_T^i\). For each \(\mathbf{y}_j^i\) let \(parent(\mathbf{y}_j^i)\) denote the parent of \(\mathbf{y}_j^i\) in \(G_T^i\) and \(children(\mathbf{x}_j^i)=\{\mathbf{x}_a^i \mid parent(\mathbf{x}_a^i)=\mathbf{x}_j^i \}\). We can wlog. also assume that \(p_{\mathbf{y}_j^i}\) is a state of the MEC corresponding to \(parent(\mathbf{y}_j^i)\) (this follows from Lemma 14).
Let us fix \(1>\epsilon>0\) and a function \(h_\epsilon:\mathbb{N}\rightarrow\mathbb{N}_0\) such that \(h_\epsilon(n)\leq n^{1-\epsilon}\) and \(\lim_{n\rightarrow\infty}h_{\epsilon}(n)=\infty\).
Let us define technical constants \(0<\epsilon_1,\epsilon_2,\dots\). As their exact values are not important we leave the assignment of their exact values to Table 2, where we also show that our assignment satisfies all the assumptions we make on \(\epsilon_{1},\epsilon_{2},\dots\).
Let \(h_{\epsilon_{1}}:\mathbb{N}\rightarrow \mathbb{N}_0\) be such that \(h_{\epsilon_{1}}(n)\leq n^{1-\epsilon_{1}}\) and \(\lim_{n\rightarrow\infty}h_{\epsilon_1}(n)=\infty\). Let \(\sigma_{k-1}^{\epsilon_1}\), \(g_{k-1}^{k-1,\epsilon_1}\), \(r_{1}^{k-1,\epsilon_1},\dots,r_{k}^{k-1,\epsilon_1}\) be the strategy and functions from the induction assumption on point [enum-main-5] of Lemma 22 for \(k-1\), for \(\epsilon_1\) and \(h_{\epsilon_{1}}\). Note that this requires \[\label{eq-epsbound-bvuycrvubh} \epsilon_1<1\tag{6}\]
For each component \(\mathbf{y}\) of \(\pazocal{A}_{k,\hat{T}_{k+1}}\) let \(\sigma_{\hat{\mathbf{y}}}^{\epsilon_3}\) be a pointing strategy on \(\pazocal{A}_{+\hat{\mathbf{y}}}\) such that \(\lim_{n\rightarrow\infty}\mathbb{P}_{p\vec{n}}^{\sigma_{\hat{\mathbf{y}}}^{\epsilon_{3}}}[\pazocal{P}_{\pazocal{A}_{+\hat{\mathbf{y}}}}[\mathcal{M}_{\hat{\mathbf{y}}}]\geq n^{k+1-\epsilon_{3}}]=1\). Note that the existence of \(\sigma_{\hat{\mathbf{y}}}^{\epsilon_{3}}\) follows from the following: from Lemma 35 we have that if for each \(1\leq l<\frac{k}{2}\) it holds \(Support^{C_1,\dots,C_l}(\hat{\mathbf{y}})\subseteq \Delta^{C_1,\dots,C_l}(X_{k-l,T_{k+1-l}})\) then \(Support^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(\hat{\mathbf{y}})\subseteq R^{B_\mathbf{x},k}\), which from Lemma 25 implies a lower asymptotic estimate of \(n^{k+1}\) for \(\pazocal{P}_{\pazocal{A}_{+\hat{\mathbf{y}}}}[\mathcal{M}_{\hat{\mathbf{y}}}]\). If on the other hand there exists \(1\leq l<\frac{k}{2}\) such that \(Support^{C_1,\dots,C_l}(\hat{\mathbf{y}})\nsubseteq \Delta^{C_1,\dots,C_l}(X_{k-l,T_{k+1-l}})\) then from Lemma 36 we have that \(\hat{\mathbf{y}}\) is not zero-bounded on \(rank_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}\), which then gives us from Lemma 3 that there exists a transition \(t\) with \(\mathbf{y}(t)>0\) such that \(t\notin \hat{T}_{k+1}\) which is a contradiction with \(\mathbf{y}\) being a component of \(\pazocal{A}_{k,\hat{T}_{k+1}}\). Also note that this implies that \(\hat{\mathbf{y}}\) is zero-bounded for every component \(\mathbf{y}\) of \(\pazocal{A}_{k,\hat{T}_{k+1}}\).
Description of \(\sigma_k^\epsilon\): We will now describe a strategy \(\sigma_k^\epsilon\) and functions \(g^{k,\epsilon}\), \(r_1^{k,\epsilon},\dots,r_{k+1}^{k,\epsilon}\) that satisfy point [enum-main-5] of Lemma 22 for \(k\), \(\epsilon\) and \(h_\epsilon\), and furthermore with probability \(p^{\sigma_k^\epsilon}_{p\vec{n}}\) such that \(\lim_{n\rightarrow\infty} p^{\sigma_k^\epsilon}_{p\vec{n}}=1\) it holds that \(\alpha_{p\vec{n}}^{\sigma_k^\epsilon}\) reaches at least \(n^{k+1-\epsilon}\) in every counter \(c\) with \(\Delta(\mathbf{x}_k)(c)>0\) and contains each transition \(t\) with \(\mathbf{x}_k(t)>0\) at least \(n^{k+1-\epsilon}\) times.
The strategy \(\sigma_k^\epsilon\) works as follows (we give only high level description):
\(\sigma_k^\epsilon\) remembers (note that all of these can always be computed from the history) a set of states \(P\) that is initialized to \(P=\emptyset\), a variable \(g_k^\epsilon\) initialized to \(g_k^\epsilon=\bot\), and variable \(procccessed\) that is initialed to \(procccessed=FALSE\). At each point let \(\alpha\) denote the current computation generated by \(\sigma_k^\epsilon\) so far. At each step we put \(g^{k,\epsilon}(\alpha)=g_k^\epsilon(\alpha)\) where \(g_k^\epsilon(\alpha)\) is the value of the variable \(g_k^\epsilon\) right before this step was taken by \(\sigma_k^\epsilon\). We also put \(r^{k,\epsilon}_1(\alpha)=\dots=r^{k,\epsilon}_{k+1}(\alpha)=SAME\) at each step unless stated otherwise.
Bins initialization: From Lemma 9 we have a strategy \(\pi\) that simultaneously pumps each counter \(c\), such that \(c\in C_i\) for \(i\leq k\) (here we use \(C_{k}=C_{k+}\)), to \(n^{i-\epsilon_{2}}\), and this is achieved with probability \(p_n'\) such that \(\lim_{n\rightarrow\infty} p_n'=1\). \(\sigma_k^\epsilon\) therefore starts by using \(\pi\) to reach such configuration, that is until the current counters vector \(\mathbf{v}_0\) is such that \(\mathbf{v}_0(c)\geq n^{i-\epsilon_{2}}\) for every counter \(c\in C_i\) for each \(i\leq k\) (here \(n\) is the initial size of the counters as usual). At this point, \(\sigma_k^\epsilon\) divides the counters vector into \(m\) bins of equal size (here \(m\) is some properly chosen constant that does not depend on \(n\)), that is each bin contains the vector \(\lfloor \frac{\mathbf{v}_0}{m} \rfloor\). If at any point any counter in any bin becomes negative, then \(\sigma_k^\epsilon\) is from that point on undefined, but we assume that from that point on all of the counter vectors in all of the bins are left untouched.
At this point \(\sigma_k^\epsilon\) virtually set every counter in every \(\hat{\mathbf{y}}\)-bin as well as the \((k-1)\)-tree-bin to \(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor\) (note that this new value is smaller than the previous counter value for all of these bins) and then \(\sigma_k^\epsilon\) starts playing as per \(\sigma_{k-1}^{\epsilon_1}\) on the \((k-1)\)-tree-bin, and it will occasionally pause this computation to perform something else.
After each step performed as per \(\sigma_{k-1}^{\epsilon_1}\) in the \((k-1)\)-tree-bin (and also right before taking the very first step according to \(\sigma_{k-1}^{\epsilon_1}\)) let \(\alpha_{k-1}^{\epsilon_1}\) denote the computation taken by \(\sigma_{k-1}^{\epsilon_1}\) in the \((k-1)\)-tree-bin so far, and let \(p\) be the current state. First \(\sigma_k^\epsilon\) checks whether \(r_k^{k-1,\epsilon_1}(\alpha_{k-1}^{\epsilon_1})=NEXT\), and if yes then \(\sigma_k^\epsilon\) sets \(processed=FALSE\), \(g_k^\epsilon=\bot\), as well as \(r_l^{k,\epsilon}(\alpha)=r_{l+1}^{k,\epsilon}(\alpha)=\dots=r_{k+1}^{k,\epsilon}(\alpha)=NEXT\), where \(1\leq l\leq k\) is the smallest index such that \(r_l^{k-1,\epsilon_1}(\alpha_{k-1}^{\epsilon_1})=NEXT\).
Second, \(\sigma_k^\epsilon\) checks whether \(g^{k-1,\epsilon_1}(\alpha_{k-1}^{\epsilon_1})= \bot\), and if yes then \(\sigma_k^\epsilon\) immediately performs another step according to \(\sigma_{k-1}^{\epsilon_1}\) in the \((k-1)\)-tree-bin, thus skipping steps three and four.
Third, \(\sigma_k^\epsilon\) checks if \(processed=FALSE\), and if yes then it sets \(P\) to the set of all states contained in the MEC \(g^{k-1,\epsilon_1}(\alpha_{k-1}^{\epsilon_1})\) of \(\pazocal{A}_k\), and also sets \(processed=TRUE\) (note that the second step ensures that \(g^{k-1,\epsilon_1}(\alpha_{k-1}^{\epsilon_1}) \neq \bot\)).
Fourth, \(\sigma_k^\epsilon\) asks if there exists \(1\leq i\leq w\) such that \(p=p_{\mathbf{y}_1^i}\) and \(p\in P\). If yes then \(\sigma_k^\epsilon\) pauses the computation under \(\sigma_{k-1}^{\epsilon_1}\) in the \((k-1)\)-tree-bin, removes \(p\) from \(P\), and performs a single \(B_i\)-cycling-procedure before unpausing the computation under \(\sigma_{k-1}^{\epsilon_1}\) in the \((k-1)\)-tree-bin. (if such \(i\) doesn’t exist then it continues by playing next step of \(\sigma_{k-1}^{\epsilon_1}\) in the \((k-1)\)-tree-bin)
\(B_i\)-cycling-procedure: A single \(B_i\)-cycling-procedure consists of first setting \(g_k^\epsilon=B_i\), and then repeating the \(\lfloor n^{\epsilon_4} \rfloor\)-iteration-of-\(B_i\)-procedure exactly \(h_\epsilon(n)\) times.
In the following, whenever we say that “\(\sigma_k^\epsilon\) plays a component \(\mathbf{y}\) for \(x\) times” (we will only do so when the current state is \(p_\mathbf{y}\)) what we mean is that \(\sigma_k^\epsilon\) actually simulates \(\sigma_{\hat{\mathbf{y}}}^{\epsilon_{3}}\) on the \(\hat{\mathbf{y}}\)-bin from the initial pointing configuration \((p_1,\dots,p_\kappa,p_\mathbf{y})\mathbf{y}\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor\) (where \(\pazocal{A}_{+\hat{\mathbf{y}}}=\big( (\mathcal{M}_1,p_1),\dots,(\mathcal{M}_\kappa,p_\kappa),(\mathcal{M}_\mathbf{y},p_\mathbf{y}) \big)\)) in such a way that whenever \(\sigma_{\hat{\mathbf{y}}}^{\epsilon_{3}}\) points to a Markov chain \(\mathcal{M}\) then \(\sigma_k^\epsilon\) actually chooses the next transition according to the cMD strategy corresponding to \(\mathcal{M}\) while adding the effect of this transition to the \(\hat{\mathbf{y}}\)-bin. Additionally, if the new state becomes \(p_\mathbf{y}\) right after \(\sigma_{\hat{\mathbf{y}}}^{\epsilon_{3}}\) pointed to \(\mathcal{M}_{\hat{\mathbf{y}}}\) then in addition to this \(\sigma_k^\epsilon\) also adds \(-\Delta(\mathbf{y})\) to the \(\hat{\mathbf{y}}\)-bin and \(+\Delta(\mathbf{y})\) to the \(\mathbf{y}\)-bin (thus the effect on \(\hat{\mathbf{y}}\)-bin will be exactly the same as the effect of the same step on \(\mathcal{M}_{\hat{\mathbf{y}}}\)). This proceeds until the state \(p_\mathbf{y}\) is revisited for exactly the \(x\)-th time right after \(\sigma_{\hat{\mathbf{y}}}^{\epsilon_{3}}\) last pointed to \(\mathcal{M}_{\hat{\mathbf{y}}}\) (if \(\sigma_{\hat{\mathbf{y}}}^{\epsilon_{3}}\) pointed elsewhere then visiting \(p_\mathbf{y}\) does not count), at which point this simulation of \(\sigma_{\hat{\mathbf{y}}}^{\epsilon_{3}}\) on the \(\hat{\mathbf{y}}\)-bin is paused. And if in the future “\(\sigma_k^\epsilon\) plays a component \(\mathbf{y}\) for \(x\) times” again, then it unpauses the previously paused simulation instead of starting a new one. Again until revisiting \(p_\mathbf{y}\) for the \(x\)-th time as above before pausing once again.
\(\lfloor n^{\epsilon_{4}} \rfloor\)-iteration-of-\(B_i\)-procedure: A single \(\lfloor n^{\epsilon_{4}} \rfloor\)-iteration-of-\(B_i\)-procedure consists of first setting \(r_{k+1}^{k,\epsilon}(\alpha)=NEXT\) and then of \(\sigma_k^\epsilon\) playing each component \(\mathbf{y}_1^i,\dots,\mathbf{y}^i_{l_i}\) of \(B_i\) exactly \(a_\mathbf{y}\cdot \lfloor n^{\epsilon_{4}} \rfloor\) times as follows:
First \(\sigma_k^\epsilon\) initializes variables \(P_{1},\dots,P_{l_i}\) where each \(P_j=children(\mathbf{y}_j^i)\).
Second \(\sigma_k^\epsilon\) starts playing \(\mathbf{y}_1^i\) exactly \(a_{\mathbf{y}_{1}^i}\cdot \lfloor n^{\epsilon_{4}} \rfloor\) times, except that this computation can be temporarily paused in favor of playing different components as described below.
Let \(\mathbf{y}^i_{j}\) be the component that is currently being played by \(\sigma_k^\epsilon\), then after every step taken \(\sigma_k^\epsilon\) asks whether there exists \(\mathbf{y}_a^i\in P_j\) such that the current state \(p\) satisfies \(p=p_{\mathbf{y}_a^i}\). If such \(\mathbf{y}_a^i\) exists then the playing of \(\mathbf{y}^i_{j}\) is paused and \(\sigma_k^\epsilon\) first sets \(P_j= P_j\setminus \{\mathbf{y}_a^i\}\) and then \(\sigma_k^\epsilon\) starts playing \(\mathbf{y}_a^i\) exactly \(a_{\mathbf{y}_{a}^i}\cdot \lfloor n^{\epsilon_{4}} \rfloor\) times. Note that once the playing of \(\mathbf{y}_a^i\) finishes \(\sigma_k^\epsilon\) moves to the step of "check whether there exists \(\mathbf{y}_a^i\in P_i\) such that..." (and this check is made as if \(\mathbf{y}^i_{j}\) was being played, not \(\mathbf{y}_a^i\)) before resuming playing of \(\mathbf{y}^i_{j}\).
The \(\lfloor n^{\epsilon_{4}} \rfloor\)-iteration-of-\(B_i\)-procedure ends once the playing of \(\mathbf{y}_1^i\) exactly \(a_{\mathbf{y}_{1}^i}\cdot \lfloor n^{\epsilon_{4}} \rfloor\) times finishes. At this point \(\sigma_k^\epsilon\) for each \(1\leq j\leq l_i\) adds \(-\Delta(\mathbf{y}_j^i) \cdot a_{\mathbf{y}_{j}^i}\cdot \lfloor n^{\epsilon_{4}} \rfloor\) to the \(\mathbf{y}_{j}^i\)-bin and \(+\Delta(\mathbf{y}_j^i) \cdot a_{\mathbf{y}_{j}^i}\cdot \lfloor n^{\epsilon_{4}} \rfloor\) to the main-bin. We say that this \(\lfloor n^{\epsilon_{4}} \rfloor\)-iteration-of-\(B_i\)-procedure succeeded if for each \(1\leq j\leq l_i\) the playing of \(\mathbf{y}_j^i\) visited at least once every single state of the MEC induced by \(\mathbf{y}_j^i\), otherwise it failed. Note that the procedure can end (unless the computation terminated during the procedure) only in the state \(p_{\mathbf{y}_1^i}\), and if it succeeded then its total effect on each \(\mathbf{y}_{j}^i\)-bin is exactly \(\vec{0}\).
Let \(\alpha_{p\vec{n}}^{\sigma_{k}^\epsilon}\) be the random variable that represents the computation generated by \(\sigma_{k}^\epsilon\) in \(\pazocal{A}\) from initial configuration \(p\vec{n}\), and let \(\alpha_{p\vec{n},..i}^{\sigma_k^\epsilon}\) be the prefix of \(\alpha_{p\vec{n}}^{\sigma_{k}^\epsilon}\) of length \(i\).
Let \(\alpha_{p\vec{n}}^{\sigma_{k-1}^{\epsilon_1}}\) be the random variable that represents the computation generated by \(\sigma_{k-1}^{\epsilon_1}\) in the \((k-1)\)-tree-bin when \(\sigma_{k}^\epsilon\) is started from the initial configuration \(p\vec{n}\), and let \(\alpha_{p\vec{n},..i}^{\sigma_{k-1}^{\epsilon_1}}\) be the prefix of \(\alpha_{p\vec{n}}^{\sigma_{k-1}^{\epsilon_1}}\) of length \(i\).
We will now prove the following Lemma.
Lemma 23. For \(\sigma_k^\epsilon\) and the functions \(g^{k,\epsilon}\), \(r_1^{k,\epsilon},\dots,r_{k+1}^{k,\epsilon}\) all of the following hold:
\(\lim_{n\rightarrow\infty} \mathbb{P}_{p\vec{n}}^{\sigma_k^\epsilon}[\pazocal{C}_\pazocal{A}[c]\geq (h_\epsilon(n))^{k+1} ]=1\) for every counter \(c\) with \(\Delta(\mathbf{x}_k)(c)>0\);
\(\lim_{n\rightarrow\infty} \mathbb{P}_{p\vec{n}}^{\sigma_k^\epsilon}[\pazocal{T}_\pazocal{A}[t]\geq (h_\epsilon(n))^{k+1} ]=1\) for every transition \(t\) with \(\mathbf{x}_k(t)>0\);
\(\sigma_k^\epsilon\), \(g^{k,\epsilon}\), \(r_{1}^{k,\epsilon},\dots,r_{k+1}^{k,\epsilon}\) satisfy point [enum-main-5] of Lemma 22 for \(k\), \(\epsilon\), and \(h_\epsilon\).
Proof. Event \(E_0\): Let \(E_0\) be the set of all computations \(\alpha\) generated by \(\sigma_k^\epsilon\) in \(\pazocal{A}\), initiated in a configuration with counters vector \(\vec{n}\), which does not terminate before the bins are initialized, that is it succesfully reaches a configuration with counters vector \(\mathbf{v}_0\). As discussed in the “bins initialization” above, it holds \(\lim_{n\rightarrow\infty}\mathbb{P}_{p\vec{n}}^{\sigma_k^\epsilon}[E_0]=1\).
Event \(E_1\): Let \(E_1\) be the set of all computations generated by \(\sigma_k^\epsilon\), initiated in a configuration with counters vector \(\vec{n}\), for which \(\sigma_{k-1}^{\epsilon_1}\) on the \((k-1)\)-tree-bin generates a computation that has the property from point [enum-main-5] of Lemma 22 for \(k-1\), \(\epsilon_1\), and \(h_{\epsilon_1}\). Additionally, if the computation under \(\sigma_k^\epsilon\) terminates before any counter in the \((k-1)\)-tree-bin becomes negative then we include such computation in \(E_{1}\) even if it does not meet the previous requirement. Note that from the way we chose \(\sigma_{k-1}^{\epsilon_1}\) it holds \(\lim_{n\rightarrow\infty} \mathbb{P}_{p\vec{n}}^{\sigma_k^\epsilon}(E_{1})=1\).
Event \(E_2\): Let \(E_2\) be the set of all computations generated by \(\sigma_k^\epsilon\) \(\pazocal{A}\), initiated in a configuration with counters vector \(\vec{n}\), which have the following property: for each component \(\mathbf{y}\) with \(a_\mathbf{y}>0\) no counter in the \(\hat{\mathbf{y}}\)-bin becomes negative before the pointing computation under \(\sigma^{\epsilon_{3}}_{\hat{\mathbf{y}}}\) in the \(\hat{\mathbf{y}}\)-bin points at \(\hat{\mathbf{y}}\) at least \(n^{k+1-\epsilon_{3}}\) times (note that computations which either are not in \(E_0\) or for which any counter became negative in any other bin are also in \(E_2\)). From how we chose the pointing strategies \(\sigma^{\epsilon_{3}}_{\hat{\mathbf{y}}}\) it holds for each \(\mathbf{y}\) that \(\lim_{n\rightarrow\infty}\mathbb{P}_{p\vec{1}\cdot \lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor }^{\sigma_{\hat{\mathbf{y}}}^{\epsilon_3}}[\pazocal{P}_{\pazocal{A}_{+\hat{\mathbf{y}}}}[\mathcal{M}_{\hat{\mathbf{y}}}]\geq (\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor)^{k+1-\epsilon_3}]=1\). Assuming \[\label{eq-epsbound-bhcftxfdsfsw} \epsilon_3\leq k+1\tag{7}\] it holds \((\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor)^{k+1-\epsilon_3} \leq ( \frac{n^{1-\epsilon_{2}}}{m} )^{k+1-\epsilon_3} = \frac{n^{k+1-\epsilon_3-(k+1-\epsilon_3)\cdot \epsilon_{2}}}{m^{k+1-\epsilon_3}} \leq n^{k+1-\epsilon_3}\). Hence \[\lim_{n\rightarrow\infty} \mathbb{P}_{p\vec{n}}^{\sigma_k^\epsilon}(E_2)\geq \lim_{n\rightarrow\infty} 1- \sum_{\mathbf{y}} \mathbb{P}_{p\vec{1}\cdot \lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor }^{\sigma_{\hat{\mathbf{y}}}^{\epsilon_3}}[\pazocal{P}_{\pazocal{A}_{+\hat{\mathbf{y}}}}[\mathcal{M}_{\hat{\mathbf{y}}}]< (\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor)^{k+1-\epsilon_3}] =1\]
Event \(E_3\): Let \(E_3\) be the set of all computations \(\alpha\) generated by \(\sigma_k^\epsilon\) in \(\pazocal{A}\), initiated in a configuration with counters vector \(\vec{n}\), for which for each \(1\leq i\leq w\) the first \(h_\epsilon(n)\cdot (h_{\epsilon_{1}}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^k\) \(\lfloor n^{\epsilon_{4}} \rfloor\)-iteration-of-\(B_i\)-procedures succeed (here we consider procedures which did not even start to have succeeded). Note that this condition is equivalent to saying that for each \(1\leq i\leq w\) and each \(1\leq j \leq l_i\), during each of the first \(h_\epsilon(n)\cdot (h_{\epsilon_{1}}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^k\) \(\lfloor n^{\epsilon_{4}} \rfloor\)-iteration-of-\(B_i\)-procedures, the pointing strategy \(\sigma_{\hat{\mathbf{y}}_{j}^i}^{\epsilon_3}\) simulated on the \(\hat{\mathbf{y}}_j^i\)-bin during the playing of \(\mathbf{y}_j^i\) visits, right after pointing to \(\hat{\mathbf{y}}_j^i\), every state of the MEC corresponding to \(\mathbf{y}_j^i\) during this procedure.
During a single \(\lfloor n^{\epsilon_{4}} \rfloor\)-iteration-of-\(B_i\)-procedure each counter \(c\) in a \(\mathbf{y}_j^i\)-bin can be changed by at most \(a_{\mathbf{y}}\cdot \Delta(\mathbf{y}_j^i)(c)\cdot \lfloor n^{\epsilon_{4}} \rfloor < \lfloor \frac{n^{1-\epsilon_{2}}}{m}\rfloor\) for all sufficiently large \(n\), assuming \[\label{eq-epsilonbound-jhjvgcgfxdysfsdfstjh} 1-\epsilon_{2}>\epsilon_{4}\tag{8}\] before being set back to \(\lfloor \frac{\mathbf{v}_0(c)}{m}\rfloor\geq \lfloor \frac{n^{1-\epsilon_{2}}}{m}\rfloor\). Hence for all sufficiently large \(n\) the procedure cannot fail by terminating unless a counter becomes negative on some \(\hat{\mathbf{y}}_{j}^i\)-bin. Conditioned on \(E_2\) it holds that a counter can only become negative in a \(\hat{\mathbf{y}}_{j}^i\)-bin after \(\sigma^{\epsilon_{3}}_{\hat{\mathbf{y}}}\) points at \(\hat{\mathbf{y}}_{j}^i\) at least \(n^{k+1-\epsilon_{3}}\) times.
All of the steps at which \(\sigma_{\hat{\mathbf{y}}_{j}^i}^{\epsilon_3}\) points at \(\hat{\mathbf{y}}_j^i\) during the first \(h_\epsilon(n)\cdot (h_{\epsilon_{1}}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^k\) \(\lfloor n^{\epsilon_{4}} \rfloor\)-iteration-of-\(B_i\)-procedures produce a computation \(\pi\) on \(\mathcal{M}_{\hat{\mathbf{y}}_{j}^i}\) (see description of pointing VASS in Appendix 7 for details). We will now show that with very high probability, \(\pi\) never takes more than \(\lfloor n^{\epsilon_5} \rfloor\) steps without visiting every single state of the MEC corresponding to \(\mathbf{y}_j^i\) at least once. Note that this would imply \(\lim_{n\rightarrow\infty}\mathbb{P}_{p\vec{n}}^{\sigma^\epsilon_k}[E_3]=1\) as that would imply that during each of the first \(h_\epsilon(n)\cdot (h_{\epsilon_{1}}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^k\) \(\lfloor n^{\epsilon_{4}} \rfloor\)-iteration-of-\(B_i\)-procedures \(\sigma^{\epsilon_{3}}_{\hat{\mathbf{y}}}\) points at \(\hat{\mathbf{y}}_{j}^i\) at most \(a_{\mathbf{y}_j^i}\cdot \lfloor n^{\epsilon_4}\rfloor \cdot \lfloor n^{\epsilon_5}\rfloor\) times, which implies \[\begin{gather} \mathit{len}(\pi) \leq h_\epsilon(n)\cdot (h_{\epsilon_{1}}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^k\cdot a_{\mathbf{y}_j^i}\cdot \lfloor n^{\epsilon_4}\rfloor \cdot \lfloor n^{\epsilon_5}\rfloor \leq\\ n^{1-\epsilon}\cdot \big((\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor)^{1- \epsilon_{1}}\big)^{k}\cdot a_{\mathbf{y}_j^i}\cdot \lfloor n^{\epsilon_4}\rfloor \cdot \lfloor n^{\epsilon_5}\rfloor \leq\\ n^{1-\epsilon}\cdot \frac{n^{k-k\cdot \epsilon_{1}-k\cdot (1- \epsilon_{1})\cdot\epsilon_{2}}}{m^{k-k\cdot \epsilon_{1}}} \cdot a_{\mathbf{y}_j^i}\cdot n^{\epsilon_4} \cdot n^{\epsilon_5} = \\ n^{1+k-\epsilon-k\cdot \epsilon_{1}-k\cdot (1- \epsilon_{1})\cdot\epsilon_{2}+\epsilon_4+\epsilon_5}\cdot \frac{1}{m^{k-k\cdot \epsilon_{1}}} \cdot a_{\mathbf{y}_j^i} < n^{k+1-\epsilon_{3}} \end{gather}\] where the last inequality holds for all sufficiently large \(n\) assuming \[\label{eq-eps-bound-jhcyrxfdsfsdfstycuv} -\epsilon_{3} > -\epsilon-k\cdot \epsilon_{1}-k\cdot (1- \epsilon_{1})\cdot\epsilon_{2}+\epsilon_4+\epsilon_5\tag{9}\] hence conditioned on \(E_2\) the procedure cannot fail by depleting any counter on any bin, and assuming \[\label{eq-eps-bound-jhcyrxtycuv} \epsilon_4 > \epsilon_5\tag{10}\] this would also imply that each of the first \(h_\epsilon(n)\cdot (h_{\epsilon_{1}}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^k\) \(\lfloor n^{\epsilon_{4}} \rfloor\)-iteration-of-\(B_i\)-procedures that are initiated succeed, assuming sufficiently large \(n\) (since \(\lfloor n^{\epsilon_4}\rfloor > \lfloor n^{\epsilon_5}\rfloor\) for all sufficiently large \(n\)).
Let \(r\) be the probability of \(\pi\) avoiding some state \(p'\) for a total of \(\lfloor n^{\epsilon_5}\rfloor\) steps within the first at most \(n^{k+1-\epsilon_{3}}\) steps. Since at every step, the probability of reaching \(p'\) within the next at most constant number of steps is bounded from below by a constant (remember that \(\pi\) is a computation on a strongly connected VASS Markov chain), it holds \(r\leq a^{\lfloor n^{\epsilon_5}\rfloor}\cdot n^{k+1-\epsilon_{3}}\) for some constant \(a<1\). Hence \[\begin{align} \lim_{n\rightarrow\infty}\mathbb{P}_{p\vec{n}}^{\sigma_k^\epsilon}[E_3\mid E_2] \geq \lim_{n\rightarrow\infty} 1-r \geq \lim_{n\rightarrow\infty} 1-a^{\lfloor n^{\epsilon_5}\rfloor}\cdot n^{k+1-\epsilon_{3}} = 1 \end{align}\] And since \(\lim_{n\rightarrow\infty}\mathbb{P}_{p\vec{n}}^{\sigma^\epsilon_k}[E_2]=1\) this also gives us \(\lim_{n\rightarrow\infty}\mathbb{P}_{p\vec{n}}^{\sigma^\epsilon_k}[E_1]=1\).
Number of \(\lfloor n^{\epsilon_{4}} \rfloor\)-iteration-of-\(B_i\)-procedures: We will now show that for each computation in \(E_0\cap E_1 \cap E_2 \cap E_3\), for each \(1\leq i\leq w\), the number of times \(\lfloor n^{\epsilon_{4}} \rfloor\)-iteration-of-\(B_i\)-procedure is performed is exactly \(h_\epsilon(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{k}\). Assume towards contradiction that there exists a computation \(\alpha\in E_0\cap E_1 \cap E_2 \cap E_3\) generated by \(\sigma_k^\epsilon\) from an initial configuration \(p\vec{n}\) that does not have this property, that is there exists \(1\leq i\leq w\) such that the \(\lfloor n^{\epsilon_{4}} \rfloor\)-iteration-of \(B_i\)-procedure is not performed exactly \(h_\epsilon(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{k}\) times along \(\alpha\).
Since \(\alpha\in E_1\) there exists a \((k,h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))\)-tree \(G=(V,E,f,g)\) of \(\alpha_{p\vec{n}}^{\sigma_{k-1}^{\epsilon_1}}\) satisfying the conditions of point [enum-main-5] of Lemma 22. Let \(v_1,\dots,v_a\) be all the leaves of \(G\). Notice that for each leaf \(v_j\) there exist indexes \(a_j,b_j,c_j\), such that all of the following hold:
\(\alpha_{p\vec{n},a_j,\dots,c_j}^{\sigma_{k-1}^{\epsilon_1}}=f(v)\),
\(\alpha_{p\vec{n},b_j,\dots,c_j}^{\sigma_{k-1}^{\epsilon_1}}\) contains every single state of \(g(v)\) at least once,
\(r_{k}^{k-1,\epsilon_1}(\alpha_{p\vec{n},..a_j}^{\sigma_{k-1}^{\epsilon_1}})=NEXT\),
for each \(a_j< l< c_j\) it holds \(r_{k}^{k-1,\epsilon_1}(\alpha_{p\vec{n},..l}^{\sigma_{k-1}^{\epsilon_1}})=SAME\),
for each \(b_j\leq l<c_j\) it holds \(g^{k-1,\epsilon_1}(\alpha_{p\vec{n},..l}^{\sigma_{k-1}^{\epsilon_1}})=g(v)\),
for each \(a_j\leq l<b_j\) it holds \(g^{k-1,\epsilon_1}(\alpha_{p\vec{n},..l}^{\sigma_{k-1}^{\epsilon_1}})=\bot\).
Therefore for each leaf of \(G\) \(\sigma_k^{\epsilon}\) sets the set \(P\) to the set of all states of \(g(v)\) exactly once, and then for each \(B_i\) that is included in \(g(v)\) perform exactly one \(B_i\)-cycling-procedure which consists of performing the \(\lfloor n^{\epsilon_{4}} \rfloor\)-iteration-of-\(B_i\)-procedure exactly \(h_\epsilon(n)\) times. Since each MEC \(B\) of \(\pazocal{A}_{k}\) satisfies \(B=g(v_j)\) for exactly \((h_{\epsilon_{1}}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{k}\) leaves, this means that assuming no counter becomes negative in the the main-bin then \(\alpha\) iterated exactly \(h_{\epsilon}(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{k}\) \(\lfloor n^{\epsilon_{4}} \rfloor\)-iteration-of \(B_i\)-procedures for each \(B_i\). Notice that from conditioning on \(E_3\) this also implies it is not possible for any \(\lfloor n^{\epsilon_{4}} \rfloor\)-iteration-of \(B_i\)-procedure to fail as long as no counter becomes negative in the main-bin.
Hence it must hold that some counter \(c\in C_\mathit{\tau}\) of \(\pazocal{A}_k\) for some \(1\leq \mathit{\tau}\leq k\) (here we put \(C_k=C_{k+}\)) becomes negative in the main-bin along \(\alpha\) before this happens. Notice that the main-bin is modified only by the \(\lfloor n^{\epsilon_{4}}\rfloor\)-iteration-of-\(B_i\)-procedures, and thus at each point along \(\alpha\) it holds that the value of \(c\) in the main-bin is equal to \(\lfloor \frac{n^{\mathit{\tau}-\epsilon_{2}}}{m} \rfloor + \sum_{i=1}^{w}\#_{i}\cdot \sum_{j=1}^{l_i} \Delta(\mathbf{y}_j^i)(c)\cdot a_{\mathbf{y}_j^i}\cdot \lfloor n^{\epsilon_{4}} \rfloor\) where \(\#_{i}\) represents the number of \(\lfloor n^{\epsilon_{4}}\rfloor\)-iteration-of-\(B_i\)-procedures performed so far.
Given two components \(\mathbf{y}_1\) and \(\mathbf{y}_2\) of \(\pazocal{A}_k\), we define the level-distance of \(\mathbf{y}_1\) and \(\mathbf{y}_2\) as the smallest value \(0\leq l\) such that both \(\mathbf{y}_1\) and \(\mathbf{y}_2\) belong to the same MEC of \(\pazocal{A}_{k-l}\) (note that the maximal possible level-distance is \(k-1\)). Also notice for any two components \(\mathbf{y}_1\) and \(\mathbf{y}_2\) of \(\pazocal{A}\) whose level distance is at least \(\mathit{\tau}\) it holds that either \(\Delta(\mathbf{y}_1)(c)=0\) or \(\Delta(\mathbf{y}_2)(c)=0\) since both \(\mathbf{y}_1\) and \(\mathbf{y}_2\) contain a different local copy of the counter of which \(c\) is a local copy of in \(\pazocal{A}_k\) (note that if \(\mathit{\tau}=k\) then it is not possible for the level-distance to be at least \(\mathit{\tau}\) hence in such case this implication holds trivially). Also notice that for any two \(B_i,B_j\) the level-distance between \(\mathbf{y}_a^i\) and \(\mathbf{y}_b^j\) is the same regardless of \(a\) and \(b\), allowing us to define the level-distance of \(B_i\) and \(B_j\) as the level-distance between \(\mathbf{y}_1^i\) and \(\mathbf{y}_1^j\).
But notice that for each vertex \(v\) of \(G\) at distance \(k-\mathit{\tau}+1\) from the root such that the sub-tree \(G_v\) rooted in \(v\) contains a leaf \(v'\) with the MEC \(g(v')\) that contains the counter \(c\), it holds for each MEC \(B\) of \(\pazocal{A}_k\) containing \(c\) that \(G_v\) has exactly \((h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{\mathit{\tau}-1}\) leafs \(v'\) with \(g(v')=B\). And since in each such \(v'\) \(\sigma_k^\epsilon\) performs the \(\lfloor n^{\epsilon_{4}}\rfloor\)-iteration-of-\(B_i\)-procedure exactly \(h_\epsilon(n)\) times, at each point it holds for each two \(B_i, B_j\) whose level-distance is at most \(\mathit{\tau}\) that \(|\#_{i}-\#_{j}|\leq 2\cdot h_\epsilon(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{\mathit{\tau}-1}\). Let us fix some \(B_b\) of \(\pazocal{A}_{k,\hat{T}_{k+1}}^{\mathbf{x}_k}\) that contains \(c\) and let \(M_{\mathit{\tau}}=\{i\in \{1,\dots,w \}\mid \textit{the level-distance of } B_b\textit{ and } B_i \textit{ is at most } \mathit{\tau}-1\}\). Let \(r=\min_{i\in M_\mathit{\tau}}\#_{i}\), then it holds for all \(i\in M_\mathit{\tau}\) that \(\#_i-\#_r\leq |\#_i-\#_r|\leq 2\cdot h_\epsilon(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{\mathit{\tau}-1}\).
Therefore the value of the counter \(c\) on the main-bin (after being initialized) at each point along \(\alpha\) satisfies \[\begin{gather} \lfloor \frac{n^{\mathit{\tau}-\epsilon_{2}}}{m} \rfloor + \sum_{i=1}^{w}\#_{i}\cdot \sum_{j=1}^{l_i} \Delta(\mathbf{y}_j^i)(c)\cdot a_{\mathbf{y}_j^i}\cdot \lfloor n^{\epsilon_{4}} \rfloor =\\ \lfloor \frac{n^{\mathit{\tau}-\epsilon_{2}}}{m} \rfloor + \sum_{i\in M_{\mathit{\tau}}}\#_{i}\cdot \sum_{j=1}^{l_i} \Delta(\mathbf{y}_j^i)(c)\cdot a_{\mathbf{y}_j^i}\cdot \lfloor n^{\epsilon_{4}} \rfloor + \sum_{i\notin M_{\mathit{\tau}}}\#_{i}\cdot \sum_{j=1}^{l_i} \Delta(\mathbf{y}_j^i)(c)\cdot a_{\mathbf{y}_j^i}\cdot \lfloor n^{\epsilon_{4}} \rfloor =\\ \lfloor \frac{n^{\mathit{\tau}-\epsilon_{2}}}{m} \rfloor + \sum_{i\in M_{\mathit{\tau}}}\#_{i}\cdot \sum_{j=1}^{l_i} \Delta(\mathbf{y}_j^i)(c)\cdot a_{\mathbf{y}_j^i}\cdot \lfloor n^{\epsilon_{4}} \rfloor + \sum_{i\notin M_{\mathit{\tau}}}\#_{i}\cdot \sum_{j=1}^{l_i} 0\cdot a_{\mathbf{y}_j^i}\cdot \lfloor n^{\epsilon_{4}} \rfloor =\\ \lfloor \frac{n^{\mathit{\tau}-\epsilon_{2}}}{m} \rfloor + \sum_{i\in M_{\mathit{\tau}}}\#_{i}\cdot \sum_{j=1}^{l_i} \Delta(\mathbf{y}_j^i)(c)\cdot a_{\mathbf{y}_j^i}\cdot \lfloor n^{\epsilon_{4}} \rfloor =\\ \lfloor \frac{n^{\mathit{\tau}-\epsilon_{2}}}{m} \rfloor + \sum_{i\in M_{\mathit{\tau}}}(\#_i-\#_r+\#_r)\cdot \sum_{j=1}^{l_i} \Delta(\mathbf{y}_j^i)(c)\cdot a_{\mathbf{y}_j^i} \cdot \lfloor n^{\epsilon_{4}} \rfloor =\\ \lfloor \frac{n^{\mathit{\tau}-\epsilon_{2}}}{m} \rfloor + \sum_{i\in M_{\mathit{\tau}}}\#_r\cdot \sum_{j=1}^{l_i} \Delta(\mathbf{y}_j^i)(c)\cdot a_{\mathbf{y}_j^i} \cdot \lfloor n^{\epsilon_{4}} \rfloor + \sum_{i\in M_{\mathit{\tau}}} (\#_i-\#_r)\cdot \sum_{j=1}^{l_i} \Delta(\mathbf{y}_j^i)(c)\cdot a_{\mathbf{y}_j^i}\cdot \lfloor n^{\epsilon_{4}} \rfloor \geq \\ \lfloor \frac{n^{\mathit{\tau}-\epsilon_{2}}}{m} \rfloor + \sum_{i\in M_{\mathit{\tau}}}\#_r\cdot \sum_{j=1}^{l_i} \Delta(\mathbf{y}_j^i)(c)\cdot a_{\mathbf{y}_j^i}\cdot \lfloor n^{\epsilon_{4}} \rfloor - \sum_{i\in M_{\mathit{\tau}}} (\#_i-\#_r)\sum_{j=1}^{l_i} |\Delta(\mathbf{y}_j^i)(c)|\cdot a_{\mathbf{y}_j^i}\cdot \lfloor n^{\epsilon_{4}} \rfloor \geq \\ \lfloor \frac{n^{\mathit{\tau}-\epsilon_{2}}}{m} \rfloor + \#_r\cdot \lfloor n^{\epsilon_{4}} \rfloor\cdot \sum_{i\in M_{\mathit{\tau}}}\sum_{j=1}^{l_i} \Delta(\mathbf{y}_j^i)(c)\cdot a_{\mathbf{y}_j^i} \\- \sum_{i\in M_{\mathit{\tau}}} 2\cdot h_\epsilon(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{\mathit{\tau}-1}\cdot \sum_{j=1}^{l_i} |\Delta(\mathbf{y}_j^i)(c)|\cdot a_{\mathbf{y}_j^i} \cdot \lfloor n^{\epsilon_{4}} \rfloor \end{gather}\] As it also holds that \(0\leq \Delta(\mathbf{x}_k)(c)=\sum_{\mathbf{y}} a_\mathbf{y}\cdot \Delta(\mathbf{y})(c) = \sum_{i\in M_{\mathit{\tau}}}\sum_{j=1}^{l_i}a_{\mathbf{y}_j^i}\cdot \Delta(\mathbf{y}_j^i)(c)\) we can write \[\begin{gather} \lfloor \frac{n^{\mathit{\tau}-\epsilon_{2}}}{m} \rfloor + \#_r\cdot \lfloor n^{\epsilon_{4}} \rfloor\cdot \sum_{i\in M_{\mathit{\tau}}}\sum_{j=1}^{l_i} \Delta(\mathbf{y}_j^i)(c)\cdot a_{\mathbf{y}_j^i} \\- \sum_{i\in M_{\mathit{\tau}}} 2\cdot h_\epsilon(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{\mathit{\tau}-1}\cdot \sum_{j=1}^{l_i} |\Delta(\mathbf{y}_j^i)(c)|\cdot a_{\mathbf{y}_j^i} \cdot \lfloor n^{\epsilon_{4}} \rfloor =\\ \lfloor \frac{n^{\mathit{\tau}-\epsilon_{2}}}{m} \rfloor + \#_r\cdot \lfloor n^{\epsilon_{4}} \rfloor\cdot \Delta(\mathbf{x}_k)(c) - \sum_{i\in M_{\mathit{\tau}}} 2\cdot h_\epsilon(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{\mathit{\tau}-1}\cdot \sum_{j=1}^{l_i} |\Delta(\mathbf{y}_j^i)(c)|\cdot a_{\mathbf{y}_j^i} \cdot \lfloor n^{\epsilon_{4}} \rfloor \geq \\ \lfloor \frac{n^{\cdot -\epsilon_{2}}}{m} \rfloor - \sum_{i\in M_{\mathit{\tau}}} 2\cdot h_\epsilon(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{\mathit{\tau}-1}\cdot\sum_{j=1}^{l_i} |\Delta(\mathbf{y}_j^i)(c)|\cdot a_{\mathbf{y}_j^i}\cdot \lfloor n^{\epsilon_{4}} \rfloor \geq\\ \lfloor \frac{n^{\mathit{\tau}-\epsilon_{2}}}{m} \rfloor - \sum_{i\in M_{\mathit{\tau}}} 2\cdot h_\epsilon(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{\mathit{\tau}-1}\cdot l_i \cdot \max_{\mathbf{y}}(a_{\mathbf{y}}\cdot |\Delta(\mathbf{y})(c)|)\cdot \lfloor n^{\epsilon_{4}} \rfloor =\\ \lfloor \frac{n^{\mathit{\tau}-\epsilon_{2}}}{m} \rfloor - |M_{\mathit{\tau}}|\cdot 2\cdot h_\epsilon(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{\mathit{\tau}-1}\cdot l_i \cdot \max_{\mathbf{y}}(a_{\mathbf{y}}\cdot |\Delta(\mathbf{y})(c)|)\cdot \lfloor n^{\epsilon_{4}} \rfloor \geq\\ \lfloor \frac{n^{\mathit{\tau}-\epsilon_{2}}}{m} \rfloor - w \cdot 2\cdot n^{1-\epsilon}\cdot \big((\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor)^{1-\epsilon_1}\big)^{\mathit{\tau}-1}\cdot l_i \cdot \max_{\mathbf{y}}(a_{\mathbf{y}}\cdot |\Delta(\mathbf{y})(c)|)\cdot n^{\epsilon_{4}} \geq\\ \lfloor \frac{n^{\mathit{\tau}-\epsilon_{2}}}{m} \rfloor - w \cdot 2\cdot n^{1-\epsilon}\cdot \big(( \frac{n^{1-\epsilon_{2}}}{m} )^{1-\epsilon_1}\big)^{\mathit{\tau}-1}\cdot l_i \cdot \max_{\mathbf{y}}(a_{\mathbf{y}}\cdot |\Delta(\mathbf{y})(c)|)\cdot n^{\epsilon_{4}} =\\ \lfloor \frac{n^{\mathit{\tau}-\epsilon_{2}}}{m} \rfloor - w \cdot 2\cdot n^{1-\epsilon}\cdot \frac{ n^{(1-\epsilon_{2})\cdot(1-\epsilon_1)\cdot(\mathit{\tau}-1) }}{m^{(1-\epsilon_1)\cdot(\mathit{\tau}-1)}} \cdot l_i \cdot \max_{\mathbf{y}}(a_{\mathbf{y}}\cdot |\Delta(\mathbf{y})(c)|)\cdot n^{\epsilon_{4}} =\\ \lfloor \frac{n^{\mathit{\tau}-\epsilon_{2}}}{m} \rfloor - w \cdot 2\cdot n^{1-\epsilon}\cdot \frac{ n^{ \mathit{\tau}-1-(\mathit{\tau}-1)\cdot\epsilon_1-(\mathit{\tau}-1)\cdot\epsilon_2\cdot(1-\epsilon_1) }}{m^{(1-\epsilon_1)\cdot(\mathit{\tau}-1)}} \cdot l_i \cdot \max_{\mathbf{y}}(a_{\mathbf{y}}\cdot |\Delta(\mathbf{y})(c)|)\cdot n^{\epsilon_{4}} =\\ \lfloor \frac{n^{\mathit{\tau}-\epsilon_{2}}}{m} \rfloor - w \cdot 2\cdot \frac{1}{m^{(1-\epsilon_{2})\cdot (1-\epsilon_{2}) }} \cdot l_i \cdot \max_{\mathbf{y}}(a_{\mathbf{y}}\cdot |\Delta(\mathbf{y})(c)|) \cdot n^{ \mathit{\tau}-\epsilon-(\mathit{\tau}-1)\cdot\epsilon_1-(\mathit{\tau}-1)\cdot\epsilon_2\cdot(1-\epsilon_1)+\epsilon_4} \end{gather}\]
And since \(w \cdot 2\cdot\frac{1}{m^{(1-\epsilon_{2})\cdot (1-\epsilon_{2}) }}\cdot l_i \cdot \max_{\mathbf{y}}(a_{\mathbf{y}}\cdot |\Delta(\mathbf{y})(c)|)\) is a constant, assuming \[\label{eq-epsbound-fsdhivuttrxtrx} -\epsilon_2>-\epsilon-(\mathit{\tau}-1)\cdot\epsilon_1-(\mathit{\tau}-1)\cdot\epsilon_2\cdot(1-\epsilon_1)+\epsilon_4\tag{11}\] it holds for all sufficiently large \(n\) that \[\lfloor \frac{n^{\mathit{\tau}-\epsilon_{2}}}{m} \rfloor - w \cdot 2\cdot \frac{1}{m^{(1-\epsilon_{2})\cdot (1-\epsilon_{2}) }} \cdot l_i \cdot \max_{\mathbf{y}}(a_{\mathbf{y}}\cdot |\Delta(\mathbf{y})(c)|) \cdot n^{ \mathit{\tau}-\epsilon-(\mathit{\tau}-1)\cdot\epsilon_1-(\mathit{\tau}-1)\cdot\epsilon_2\cdot(1-\epsilon_1)+\epsilon_4}\geq 0\] Therefore for all sufficiently large \(n\) no counter can get depleted on the main-bin during a computation \(\alpha \in E_0\cap E_1 \cap E_2 \cap E_3\) under \(\sigma_k^\epsilon\). Therefore assuming sufficiently large \(n\) and conditioned on \(E_0\cap E_1 \cap E_2 \cap E_3\) it holds for any computation produced by \(\sigma_k^\epsilon\) that \(\#_r=h_\epsilon(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{k}\) for each \(1\leq i \leq w\) which gives us that each counter \(c\) with \(\Delta(\mathbf{x}_k)(c)>0\) reaches in the main-bin at least the value \[\begin{gather} \lfloor \frac{n^{k-\epsilon_{2}}}{m} \rfloor + \#_r\cdot \lfloor n^{\epsilon_{4}} \rfloor\cdot \Delta(\mathbf{x}_k)(c) \\- |M_{k}|\cdot 2\cdot h_\epsilon(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{k-1}\cdot l_i \cdot \max_{\mathbf{y}}(a_{\mathbf{y}}\cdot |\Delta(\mathbf{y})(c)|)\cdot \lfloor n^{\epsilon_{4}} \rfloor \geq\\ \#_r\cdot \lfloor n^{\epsilon_{4}} \rfloor\cdot \Delta(\mathbf{x}_k)(c) - |M_{k}|\cdot 2\cdot h_\epsilon(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{k-1}\cdot l_i \cdot \max_{\mathbf{y}}(a_{\mathbf{y}}\cdot |\Delta(\mathbf{y})(c)|)\cdot \lfloor n^{\epsilon_{4}} \rfloor =\\ h_\epsilon(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{k}\cdot \lfloor n^{\epsilon_{4}} \rfloor\cdot \Delta(\mathbf{x}_k)(c) \\- |M_{k}|\cdot 2\cdot h_\epsilon(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{k-1}\cdot l_i \cdot \max_{\mathbf{y}}(a_{\mathbf{y}}\cdot |\Delta(\mathbf{y})(c)|)\cdot \lfloor n^{\epsilon_{4}} \rfloor =\\ h_\epsilon(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{k-1} \cdot \big( h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor)\cdot \lfloor n^{\epsilon_{4}} \rfloor\cdot \Delta(\mathbf{x}_k)(c)-|M_{k}|\cdot 2\cdot l_i \cdot \max_{\mathbf{y}}(a_{\mathbf{y}}\cdot |\Delta(\mathbf{y})(c)|)\cdot \lfloor n^{\epsilon_{4}} \rfloor \big) \geq \\ h_\epsilon(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{k-1} \cdot \big(h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor)\big)^{1-\epsilon_1} \geq \\ h_\epsilon(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{k-\epsilon_1} \end{gather}\]
Where the second to last inequality holds for all sufficiently large \(n\) from \(\lim_{n\rightarrow\infty}h_{\epsilon_1}(n)=\infty\).
Towards proving \(\lim_{n\rightarrow\infty} \mathbb{P}_{p\vec{n}}^{\sigma_k^\epsilon}[\pazocal{C}_\pazocal{A}[c]\geq (h_\epsilon(n))^{k+1} ]=1\) for every counter \(c\) with \(\Delta(\mathbf{x}_k)(c)>0\) it now suffices to show that \((h_\epsilon(n))^{k+1}\leq h_\epsilon(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{k-\epsilon_1}\) for some properly chosen \(h_{\epsilon_1}\). It holds \((h_\epsilon(n))^{k+1}\leq h_\epsilon(n)\cdot (n^{1-\epsilon})^{k}=h_\epsilon(n)\cdot n^{k-k\cdot\epsilon}\), whereas for \(h_{\epsilon_1}(n)=\lfloor n^{1-2\cdot \epsilon_1}\rfloor\) it holds for all sufficiently large \(n\) that \[\begin{align} h_\epsilon(n)\cdot (h_{\epsilon_1}(\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor))^{k-\epsilon_1} \geq h_\epsilon(n)\cdot \big(\lfloor (\lfloor \frac{n^{1-\epsilon_{2}}}{m} \rfloor)^{1-2\cdot \epsilon_1}\rfloor\big)^{k-\epsilon_1} \geq\\ h_\epsilon(n)\cdot \big( ( n^{1-\epsilon_{2}} )^{1-2\cdot \epsilon_1}\big)^{k-2\cdot\epsilon_1} = h_\epsilon(n)\cdot n^{k-2\cdot\epsilon_1-(k-2\cdot\epsilon_1)\cdot2\cdot \epsilon_1-(k-2\cdot\epsilon_1)\cdot(1-2\cdot \epsilon_1)\cdot\epsilon_{2}} \end{align}\] Hence assuming \[\label{eq-epsbound-jnhvgycukvhkb} -2\cdot\epsilon_1-(k-2\cdot\epsilon_1)\cdot2\cdot \epsilon_1-(k-2\cdot\epsilon_1)\cdot(1-2\cdot \epsilon_1)\cdot\epsilon_{2}>-k\cdot \epsilon\tag{12}\] it holds \(\lim_{n\rightarrow\infty} \mathbb{P}_{p\vec{n}}^{\sigma_k^\epsilon}[\pazocal{C}_\pazocal{A}[c]\geq (h_\epsilon(n))^{k+1} ]=1\).
This also proves
\(\lim_{n\rightarrow\infty} \mathbb{P}_{p\vec{n}}^{\sigma_k^\epsilon}[\pazocal{T}_\pazocal{A}[t]\geq (h_\epsilon(n))^{k+1} ]=1\) for every transition \(t\) with \(\mathbf{x}_k(t)>0\), as we can simply add a new \(t\)-transition-counter \(c_t\) to \(\pazocal{A}\) which is increased only by \(t\). Then it clearly holds \(\Delta(\mathbf{x}_k)(c_t)>0\) and \(\pazocal{T}_\pazocal{A}[t]=\pazocal{C}_\pazocal{A}[c_t]-n\).
It remains to show there exist values for \(\epsilon_1,\epsilon_2,\dots\) that satisfy all of our assumptions. We do this in Table 2.
| \(\epsilon\) assignment | restrictions | |
|---|---|---|
| \(\epsilon_1=\nicefrac{\epsilon}{1000}\) | \(0<\epsilon_1,\epsilon_2,\dots\) | |
| \(\epsilon_2=\nicefrac{\epsilon}{2}\) | \(\epsilont_1<1\) | [eq-epsbound-bvuycrvubh] |
| \(\epsilon_{3}=\epsilon\) | \(\epsilont_3\leq k+1\) | [eq-epsbound-bhcftxfdsfsw] |
| \(\epsilon_{4}=\nicefrac{\epsilon}{5000}\) | \(1-\epsilont_{2}>\epsilont_{4}\) | [eq-epsilonbound-jhjvgcgfxdysfsdfstjh] |
| \(\epsilon_{5}=\nicefrac{\epsilon}{10000}\) | \(-\epsilont_{3} > -\epsilon-k\cdot \epsilont_{1}-k\cdot (1- \epsilont_{1})\cdot\epsilont_{2}+\epsilont_4+\epsilont_5\) | [eq-eps-bound-jhcyrxfdsfsdfstycuv] |
| \(\epsilont_4 > \epsilont_5\) | [eq-eps-bound-jhcyrxtycuv] | |
| \(-\epsilont_2>-\epsilon-(\variable-1)\cdot\epsilont_1-(\variable-1)\cdot\epsilont_2\cdot(1-\epsilont_1)+\epsilont_4\) | [eq-epsbound-fsdhivuttrxtrx] | |
| \(-2\cdot\epsilont_1-(k-2\cdot\epsilont_1)\cdot2\cdot \epsilont_1-(k-2\cdot\epsilont_1)\cdot(1-2\cdot \epsilont_1)\cdot\epsilont_{2}>-k\cdot \epsilon\) | [eq-epsbound-jnhvgycukvhkb] | |
| after substitution | ||
| \(\nicefrac{\epsilon}{1000}<1\) | [eq-epsbound-bvuycrvubh] | |
| \(\nicefrac{\epsilon}{5000}\leq k+1\) | [eq-epsbound-bhcftxfdsfsw] | |
| \(1-\nicefrac{\epsilon}{2}>\nicefrac{\epsilon}{5000}\) | [eq-epsilonbound-jhjvgcgfxdysfsdfstjh] | |
| \(-\epsilon > -\epsilon-k\cdot \nicefrac{\epsilon}{1000}-k\cdot (1- \nicefrac{\epsilon}{1000})\cdot\nicefrac{\epsilon}{2}+\nicefrac{\epsilon}{5000}+\nicefrac{\epsilon}{10000}\) | [eq-eps-bound-jhcyrxfdsfsdfstycuv] | |
| \(\nicefrac{\epsilon}{5000} > \nicefrac{\epsilon}{10000}\) | [eq-eps-bound-jhcyrxtycuv] | |
| \(-\nicefrac{\epsilon}{2}>-\epsilon-(\variable-1)\cdot\nicefrac{\epsilon}{1000}-(\variable-1)\cdot\nicefrac{\epsilon}{2}\cdot(1-\nicefrac{\epsilon}{1000})+\nicefrac{\epsilon}{5000}\) | [eq-epsbound-fsdhivuttrxtrx] | |
| \(-2\cdot\nicefrac{\epsilon}{1000}-(k-2\cdot\nicefrac{\epsilon}{1000})\cdot2\cdot \nicefrac{\epsilon}{1000}-(k-2\cdot\nicefrac{\epsilon}{1000})\cdot(1-2\cdot \nicefrac{\epsilon}{1000})\cdot\nicefrac{\epsilon}{2}>-k\cdot \epsilon\) | [eq-epsbound-jnhvgycukvhkb] | |
◻
In this Section we prove the induction step for \(k\) for point [enum-main-4] of Lemma 22. That is we want to prove for a given component \(\mathbf{r}\) of \(\pazocal{A}\) that either there exists a transition \(t\) with \(\mathbf{r}(t)>0\) and with an upper asymptotic estimate of \(n^{k}\) for \(\pazocal{T}_\pazocal{A}[t]\), or \(\pazocal{P}_{\pazocal{A}_{+\hat{\mathbf{r}}}}[\mathcal{M}_{\hat{\mathbf{r}}}]\) has a lower asymptotic estimate of \(n^{k+1}\).
Given a counters vector \(\mathbf{v}\) and subsets of counters \(C_1,\dots, C_m\) we use \(\mathbf{v}^{C_1,\dots,C_m}=[\mathbf{u}_1,\dots,\mathbf{u}_m]^{C_1,\dots, C_m}\) to denote the vector \(\mathbf{v}\) restricted to the counters from \(C_1\cup\dots\cup C_m\) such that \(\mathbf{u}_i\) is the vector \(\mathbf{v}\) restricted to the counters from \(C_i\). (i.e., for each \(1\leq i\leq m\), for each \(c\in C_i\) we put \(\mathbf{u}_i(c)=\mathbf{v}(c)\) and \(\mathbf{u}_i\) is a \(|C_i|\)-dimensional vector. Also we treat \([\mathbf{u}_1,\dots,\mathbf{u}_m]^{C_1,\dots, C_m}\) as a \((|C_1|+\dots+|C_m|)\)-dimensional vector such that for each \(c\in C_i\) it holds \([\mathbf{u}_1,\dots,\mathbf{u}_m]^{C_1,\dots, C_m}(c)=\mathbf{v}^{C_1,\dots,C_m}(c)=\mathbf{u}_i(c)\))
We denote by \(Support^{C_1,\dots,C_m}(\mathbf{x})=\{\mathbf{v}^{C_1,\dots,C_m}\mid \mathbf{v}\in Support(\mathbf{x}) \}\) the set of vectors \(Support(\mathbf{x})\) restricted to the counters from \(C_1\cup \dots \cup C_m\).
Given a MEC \(B\) of \(\pazocal{A}_\sigma\) for \(\sigma\in cMD(\pazocal{A})\), we use \(X_{i,T_j}^{B,l}\) to denote the set of all multi-components \(\mathbf{x}\) on \(\pazocal{A}_{i,T_j}\) such that \(\mathbf{x}(t)=0\) for all transitions \(t\) that are not contained in the same MEC of \(\pazocal{A}_l\) as \(B\).
Given a MEC \(B\) of \(\pazocal{A}_\sigma\) for \(\sigma\in cMD(\pazocal{A})\), we define \[\begin{gather} R^{B,k}=\big\{[\mathbf{v}_1,\dots,\mathbf{v}_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}} \mid \exists [\mathbf{v}_1^1,\dots,\mathbf{v}^1_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}} \in \Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(X^{B,k-2+1}_{k-1,T_k}), \\ [\mathbf{v}_1^2,\dots,\mathbf{v}^2_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}} \in \Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(X^{B,k-2\cdot 2+1}_{k-2,T_{k-1}}),\dots \\ \dots,[\mathbf{v}_1^{\lfloor \frac{k}{2}\rfloor},\dots,\mathbf{v}^{\lfloor \frac{k}{2}\rfloor}_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}} \in \Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(X^{B,k-2\cdot {\lfloor \frac{k}{2}\rfloor}+1}_{k-{\lfloor \frac{k}{2}\rfloor},T_{k-\lfloor \frac{k}{2}\rfloor+1}}); \\ \forall j\in \{1,2,\dots,\lfloor \frac{k}{2}\rfloor \}: \sum_{i=1}^{{\lfloor \frac{k}{2}\rfloor}} \mathbf{v}_j^i=\mathbf{v}_j; \forall m<j: \mathbf{v}_m^j=\vec{0} \big\} \end{gather}\] where we assume that for each \(i\) the local copies of each counter \(c\in C_i\), for each transition \(t\in T_{k-i+1}\) the local copy of \(c\) used by \(t\) in \(\pazocal{A}_{k- i,T_{k-i+1}}\) is the same as the local copy of \(c\) used by \(t\) in \(\pazocal{A}_{k- j,T_{k-j+1}}\) for for each \(j\geq i\) (note that as \(j\) increases so does the number of transitions in \(\pazocal{A}_{k- j,T_{k-j+1}}\) and the number of local copies in \(\pazocal{A}_{k- j,T_{k-j+1}}\) decreases as \(j\) increases. But every multi-component from \(X^{B,k-2\cdot j+1}_{k-j,T_{k-j+1}}\) ever modifies only a single local copy of each counter \(c\in C_i\) for \(i\geq j\).)
We use \(B_\mathbf{r}\) to denote the MEC corresponding to \(\mathbf{r}\) in \(\pazocal{A}_\mathbf{r}\).
The induction step for \(k\) for point [enum-main-4] of Lemma 22 follows from the following Lemma.
Lemma 24. If for each \(1\leq l \leq \frac{k}{2}\) it holds \(Support^{C_1,\dots,C_l}(\hat{\mathbf{r}}) \subseteq \Delta^{C_1,\dots,C_l}(X_{k-l,T_{k-l+1}})\) then then \(\pazocal{P}_{\pazocal{A}_{+\hat{\mathbf{r}}}}[\mathcal{M}_{\hat{\mathbf{r}}}]\) has a lower asymptotic estimate of \(n^{k+1}\).
If on the other hand there exists \(1\leq l \leq \frac{k}{2}\) such that \(Support^{C_1,\dots,C_l} (\hat{\mathbf{r}}) \nsubseteq \Delta^{C_1,\dots,C_l}(X_{k-l,T_{k-l+1}})\) then there exists a transition \(t\) with \(\mathbf{r}(t)>0\) and an upper asymptotic estimate of \(n^{k}\) for \(\pazocal{T}_\pazocal{A}[t]\).
Proof. In the first case we get from Lemma 35 that \(Support^{C_1,\dots,C_{\lfloor\frac{k}{2}\rfloor}}(\hat{\mathbf{r}})\subseteq R^{B_\mathbf{r},k}\) and therefore from Lemma 25 we get that \(\pazocal{P}_{\pazocal{A}_{+\hat{\mathbf{r}}}}[\mathcal{M}_{\hat{\mathbf{r}}}]\) has a lower asymptotic estimate of \(n^{k+1}\).
Whereas in the second case we get from Lemma 36 that \(\hat{\mathbf{r}}\) is not zero-bounded on \(rank_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}\) which then gives us from Lemma 3 that there exists a transition \(t\) with \(\mathbf{r}(t)>0\) such that \(\pazocal{T}_\pazocal{A}[t]\) has an upper asymptotic estimate of \(n^{k}\). ◻
In this Section we prove the following Lemma.
Lemma 25. Let \(\mathbf{r}\) be a component of \(\pazocal{A}\). If \(Support^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(\hat{\mathbf{r}})\subseteq R^{B_\mathbf{r},k}\) then \(\pazocal{P}_{\pazocal{A}_{+\hat{\mathbf{r}}}}[\mathcal{M}_{\hat{\mathbf{r}}}]\) has a lower asymptotic estimate of \(n^{k+1}\).
Let us begin with the following technical Lemmas.
Lemma 26. Let \(1\leq i\leq \lfloor\frac{k}{2}\rfloor\) and let \(\mathbf{x}\in X_{k-i,T_{k-i+1}}\), then there exists \(\mathbf{y}\in X_{k-i,T_{k-i+1}}\) such that \(\Delta^{C_1,\dots,C_{k-i}}(\mathbf{x})=-\Delta^{C_1,\dots,C_{k-i}}(\mathbf{y})\).
Proof. From the induction assumption for \(k-i\) on point [enum-main-3] of Lemma 22 there exists a multi-component \(\mathbf{z}\) on \(\pazocal{A}_{k-i}\) such that \(\mathbf{z}(t)>0\) iff \(t\in T_{k-i+1}\), and \(\Delta^{C_1,\dots,C_{k-i}}(\mathbf{z})=\vec{0}\).
As \(A_{k-i,T_{k-i+1}}\) contains only transitions from \(T_{k-i+1}\) it thus holds that \(\mathbf{x}(t)>0\) implies \(\mathbf{z}(t)>0\), and thus there exists \(a>0\) such that \(\mathbf{y}=a\cdot \mathbf{z}-\mathbf{x}\geq \vec{0}\), thus from Lemmas 11 and 12 \(\mathbf{y}\) is a multi-component of \(\pazocal{A}_{k-i,T_{k-i+1}}\). Furthermore, it holds \(\Delta^{C_1,\dots,C_{k-i}}(\mathbf{y})=a\cdot \Delta^{C_1,\dots,C_{k-i}}(\mathbf{z})-\Delta^{C_1,\dots,C_{k-i}}(\mathbf{x})=a\cdot \vec{0}-\Delta^{C_1,\dots,C_{k-i}}(\mathbf{x})=-\Delta^{C_1,\dots,C_{k-i}}(\mathbf{x})\). ◻
For each \(1\leq i\leq \lfloor\frac{k}{2} \rfloor\) let \(Y_{k-i,T_{k-i+1}}\subseteq X_{k-i,T_{k-i+1}}\) be such that \(\mathbf{x}\in Y_{k-i,T_{k-i+1}}\) if \(\Delta^{C_1,\dots,C_{i-1}}(\mathbf{x})= \vec{0}\). We have the following:
\(\Delta^{C_1,\dots,C_{k-i}}(Y_{k-i,T_{k-i+1}})\) is closed under multiplication by \(-1\) from Lemma 26 since \(i\leq k-i\);
\(\Delta^{C_1,\dots,C_{k-i}}(Y_{k-i,T_{k-i+1}})\) is closed under addition from Lemma 10;
\(\Delta^{C_1,\dots,C_{k-i}}(Y_{k-i,T_{k-i+1}})\) is closed under multiplication by non-negative constant from Lemma 11.
Therefore \(\Delta^{C_1,\dots,C_{k-i}}(Y_{k-i,T_{k-i+1}})\) is a vector space and there exists an orthogonal basis \(BASIS_i\) of \(\Delta^{C_1,\dots,C_{k-i}}(Y_{k-i,T_{k-i+1}})\). Furthermore, for each \(\mathbf{u}\in BASIS_i\) there exist multi-components \(\mathbf{x}_{i,\mathbf{u}}^{+},\mathbf{x}_{i,\mathbf{u}}^- \in Y_{k-i,T_{k-i+1}}\) such that \(\Delta^{C_1,\dots,C_{k-i}}(\mathbf{x}_{i,\mathbf{u}}^+)=\mathbf{u}\) and \(\Delta^{C_1,\dots,C_{k-i}}(\mathbf{x}_{i,\mathbf{u}}^-)=-\mathbf{u}\). Let \(XBASIS_i=\{\mathbf{x}_{i,\mathbf{u}}^{+},\mathbf{x}_{i,\mathbf{u}}^- \mid \mathbf{u}\in BASIS_i \}\) and let \(XBASIS=\bigcup_{i=1}^{\lfloor \frac{k}{2}\rfloor } XBASIS_i\) and \(BASIS=\bigcup_{i=1}^{\lfloor \frac{k}{2}\rfloor } \Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(XBASIS_i)\). Note that we can wlog. assume that for each \(\mathbf{u}\in BASIS\) there exists exactly one \(1\leq i\leq \lfloor \frac{k}{2}\rfloor\) such that \(\mathbf{u}\in BASIS_i^{C_1, \dots, C_{\lfloor\frac{k}{2}\rfloor} }\cup (-BASIS_i^{C_1, \dots, C_{\lfloor\frac{k}{2}\rfloor} })\), as if there exists multiple such indexes we can simply replace one of the sets \(BASIS_i\) with a multiple of itself.
as a conical sum \[[\mathbf{v}_1^i,\dots,\mathbf{v}^i_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}} = \sum_{\mathbf{y}\in Z_i } b_{i,\mathbf{y}}\cdot \Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(\mathbf{y})\]
Lemma 27. Let \(\mathbf{v}=[\mathbf{v}_1,\dots,\mathbf{v}_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}\in R^{B_\mathbf{r},k}\), then \(\mathbf{v}\) can be expressed as a linear sum of elements from \(BASIS\).
Proof. From the definition of \(R^{B_\mathbf{r},k}\) we can write \[[\mathbf{v}_1,\dots,\mathbf{v}_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}=\sum_{i=1}^{\lfloor\frac{k}{2}\rfloor} [\mathbf{v}_1^i,\dots,\mathbf{v}^i_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}\] where \([\vec{0},\dots,\vec{0},\mathbf{v}^i_{i},\dots,\mathbf{v}^i_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}=[\mathbf{v}_1^i,\dots,\mathbf{v}^i_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}\in \Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(X^{B,k-2\cdot i+1}_{k-i,T_{k-i+1}})\). Therefore for each \(1\leq i\leq \lfloor \frac{k}{2}\rfloor\) there exists a multi-component \(\mathbf{x}_i\in X^{B,k-2\cdot i+1}_{k-i,T_{k-i+1}}\) such that \([\mathbf{v}_1^i,\dots,\mathbf{v}^i_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}= \Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(x_i)\). Since \(X^{B,k-2\cdot i+1}_{k-i,T_{k-i+1}}\subseteq X_{k-i,T_{k-i+1}}\) it holds \(\mathbf{x}_i\in Y_{k-i,T_{k-i+1}}\). Hence we can write \[[\mathbf{v}_1^i,\dots,\mathbf{v}^i_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}=\sum_{\mathbf{u}\in BASIS_i} a_{i,\mathbf{u}}\cdot \mathbf{u}^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}\] for some constants \(a_{i,\mathbf{u}}\). Hence we can express \(\mathbf{v}\) as a conical sum of elements from \(BASIS\) as follows: \[\begin{gather} [\mathbf{v}_1,\dots,\mathbf{v}_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}} = \sum_{i=1}^{\lfloor\frac{k}{2}\rfloor} [\mathbf{v}_1^i,\dots,\mathbf{v}^i_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}} = \sum_{i=1}^{\lfloor\frac{k}{2}\rfloor} \sum_{\mathbf{u}\in BASIS_i} a_{i,\mathbf{u}}\cdot \mathbf{u}^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}} =\\ \sum_{i=1}^{\lfloor\frac{k}{2}\rfloor} \big( \sum_{\mathbf{u}\in BASIS_i; a_{i,\mathbf{u}}\geq 0} a_{i,\mathbf{u}}\cdot \mathbf{u}^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}} + \sum_{\mathbf{u}\in BASIS_i; a_{i,\mathbf{u}}< 0} (-a_{i,\mathbf{u}})\cdot (-\mathbf{u}^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}) \big) \end{gather}\] ◻
Lemma 28. \(R^{B_\mathbf{r},k}\) is a vector space.
Proof. From Lemma 10 \(R^{B_\mathbf{r},k}\) is closed under addition and from Lemma 11 \(R^{B_\mathbf{r},k}\) is closed under multiplication by non-negative constant. It thus suffices to show that \(R^{B_\mathbf{r},k}\) is also closed under multiplication by \(-1\).
Let \(\mathbf{v}=[\mathbf{v}_1,\dots,\mathbf{v}_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}\in R^{B_\mathbf{r},k}\), we want to show that also \(-\mathbf{v}=[-\mathbf{v}_1,\dots,-\mathbf{v}_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}\in R^{B_\mathbf{r},k}\).
From the definition of \(R^{B_\mathbf{r},k}\) we can write \[[\mathbf{v}_1,\dots,\mathbf{v}_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}=\sum_{i=1}^{\lfloor\frac{k}{2}\rfloor} [\mathbf{v}_1^i,\dots,\mathbf{v}^i_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}\] where \([\vec{0},\dots,\vec{0},\mathbf{v}^i_{i},\dots,\mathbf{v}^i_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}=[\mathbf{v}_1^i,\dots,\mathbf{v}^i_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}\in \Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(X^{B,k-2\cdot i+1}_{k-i,T_{k-i+1}})\). Therefore for each \(1\leq i\leq \lfloor \frac{k}{2}\rfloor\) there exists a multi-component \(\mathbf{x}_i\in X^{B,k-2\cdot i+1}_{k-i,T_{k-i+1}}\) such that \([\mathbf{v}_1^i,\dots,\mathbf{v}^i_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}= \Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(x_i)\). Since \(X^{B,k-2\cdot i+1}_{k-i,T_{k-i+1}}\subseteq X_{k-i,T_{k-i+1}}\) it holds \(\mathbf{x}_i\in Y_{k-i,T_{k-i+1}}\). Since \(Y_{k-i,T_{k-i+1}}\) is closed under multiplication by \(-1\) there exists component \(\mathbf{x}_i^-\in Y_{k-i,T_{k-i+1}}\) such that \([-\mathbf{v}_1^i,\dots,-\mathbf{v}^i_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}=-\Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(\mathbf{x}_i)= \Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(\mathbf{x}_i^-)\)
For each \(i\) let us define multi-components \(\mathbf{y}_i,\mathbf{y}_i^{B_\mathbf{r}}, \mathbf{z}_i\) as follows:
for \(i=1\) we put: \(\mathbf{y}_1=\mathbf{x}_1^-\), \(\mathbf{y}_1^{B_\mathbf{r}}(t)=\mathbf{y}_1(t)\) if \(t\) is contained in the same MEC of \(\pazocal{A}_{k-1}\) as \(B_\mathbf{r}\) and \(\mathbf{y}_1^{B_\mathbf{r}}(t)=0\) otherwise, and \(\mathbf{z}_1=\mathbf{y}_1-\mathbf{y}_1^{B_\mathbf{r}}\).
for \(i>1\) we put: \(\mathbf{y}_i=\mathbf{x}_i^- + \mathbf{z}_{i-1}\), \(\mathbf{y}_i^{B_\mathbf{r}}(t)=\mathbf{y}_i(t)\) if \(t\) is contained in the same MEC of \(\pazocal{A}_{k-2\cdot i+1}\) as \(B_\mathbf{r}\) and \(\mathbf{y}_i^{B_\mathbf{r}}(t)=0\) otherwise, and \(\mathbf{z}_i=\mathbf{y}_i-\mathbf{y}_i^{B_\mathbf{r}}\).
Note that \(\mathbf{y}_i^{B_\mathbf{r}}\in X^{B,k-2\cdot i+1}_{k-i,T_{k-i+1}}\) for each \(1\leq i\leq \lfloor \frac{k}{2} \rfloor\).
Let \(c\in C_j\) where \(1\leq j\leq \lfloor \frac{k}{2}\rfloor\), we will now show that \(\Delta(\mathbf{z}_{\lfloor \frac{k}{2}\rfloor})(c)=0\).
If \(c\) is the local copy of a counter used in the MEC of \(\pazocal{A}_{k-j}\) containing \(B_\mathbf{r}\) then \(\Delta(\mathbf{z}_i)(c)=0\) for each \(j\leq i\leq \lfloor \frac{k}{2}\rfloor\) since every transition of \(\pazocal{A}_{k-i}\) which modifies \(c\) and is included in \(\mathbf{y}_i\) is by the definition of \(\mathbf{y}^{B_\mathbf{r}}_i\) included in \(\mathbf{y}^{B_\mathbf{r}}_i\), and thus these transitions can no longer be included in \(\mathbf{z}_i\). Hence in this case \(\Delta(\mathbf{z}_{\lfloor\frac{k}{2}\rfloor})(c)=0\)
If \(c\) is a not the local copy of a counter used in the MEC of \(\pazocal{A}_{k-j}\) containing \(B_\mathbf{r}\) \(\Delta(\mathbf{y})(c)=0\) for each multi-component \(\mathbf{y}\in X^{B,k-2\cdot i+1}_{k-i,T_{k-i+1}}\) where \(1\leq i\leq j\) (this is because none of the transitions modify \(c\) as they modify a different local copy), and thus from the definition of \(R^{B_\mathbf{r},k}\) it holds \(\mathbf{v}_i(c)=0\) for all \(1\leq i\leq \lfloor \frac{k}{2}\rfloor\). Thus we can apply inducition on \(i\) to prove \(\mathbf{z}_i(c)=0\) for all \(1\leq i\leq \lfloor \frac{k}{2}\rfloor\). Base case \(i=1\) we obtain straightforward \(\Delta(\mathbf{z}_1)(c)=\Delta(\mathbf{y}_1)(c)-\Delta(\mathbf{y}^{B_\mathbf{r}}_1)(c)=\mathbf{v}_1(c)-0=0\). Let \(\kappa\) be such that \(c\) is the local copy used in the MEC of \(\pazocal{A}_{k-\kappa}\) containing \(B_\mathbf{r}\). For the induction step for \(j<i< \kappa\) we obtain \(\Delta(\mathbf{z}_i)(c)=\Delta(\mathbf{y}_i)(c)-\Delta(\mathbf{y}^{B_\mathbf{r}}_i)(c)=\Delta(\mathbf{x}_i^-)(c)+\Delta(\mathbf{z}_{i-1})(c)-0=\mathbf{v}_i(c)-0=0\). And for the induction step for \(\kappa \leq i\leq \lfloor\frac{k}{2}\rfloor\) since every transition of \(\pazocal{A}_{k-i}\) which modifies \(c\) and is included in \(\mathbf{y}_i\) is by the definition of \(\mathbf{y}^{B_\mathbf{r}}_i\) included in \(\mathbf{y}^{B_\mathbf{r}}_i\), and thus these transitions can no longer be included in \(\mathbf{z}_i\). Hence in this case \(\Delta(\mathbf{z}_{\lfloor\frac{k}{2}\rfloor})(c)=0\) as well.
Therefore \(\Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(\mathbf{z}_{\lfloor \frac{k}{2}\rfloor})=\vec{0}\) and so it holds \[\begin{gather} -\mathbf{v}=\sum_{i=1}^{\lfloor \frac{k}{2} \rfloor} \Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(\mathbf{x}_i^-) =\\ \Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(\mathbf{y}_1)+ \sum_{i=2}^{\lfloor \frac{k}{2} \rfloor} \Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(\mathbf{y}_i)-\sum_{i=2}^{\lfloor \frac{k}{2} \rfloor}\Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(\mathbf{z}_{i-1}) =\\ \sum_{i=1}^{\lfloor \frac{k}{2} \rfloor} \big(\Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(\mathbf{y}_i^{B_\mathbf{r}}) +\Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(\mathbf{z}_i) \big) - \sum_{i=2}^{\lfloor \frac{k}{2} \rfloor}\Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(\mathbf{z}_{i-1}) =\\ \sum_{i=1}^{\lfloor \frac{k}{2} \rfloor} \Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(\mathbf{y}_i^{B_\mathbf{r}}) +\Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(\mathbf{z}_{\lfloor \frac{k}{2}\rfloor}) = \sum_{i=1}^{\lfloor \frac{k}{2} \rfloor} \Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(\mathbf{y}_i^{B_\mathbf{r}}) \end{gather}\] but since \(\mathbf{y}_i^{B_\mathbf{r}}\in X^{B,k-2\cdot i+1}_{k-i,T_{k-i+1}}\) for each \(1\leq i\leq \lfloor \frac{k}{2} \rfloor\), this implies that \(-\mathbf{v}\in R^{B_\mathbf{r},k}\). ◻
Since \(R^{B_\mathbf{r},k}\) is a vector space form Lemma 28 there exists an orthogonal basis \(BASIS_\bot\) of \(R^{B_\mathbf{r},k}\). Since \(BASIS_\bot\subseteq R^{B_\mathbf{r},k}\), from Lemma 27 we obtain that for each \(\mathbf{v}\in BASIS_\bot\) and each \(\mathbf{u}\in BASIS\) there exist constants \(b_{\mathbf{v},\mathbf{u}}\) (not necessarily unique, but we shall fix some such constants thorough this Section) such that for any \(\mathbf{v}\in BASIS_\bot\) it holds \(\sum_{\mathbf{u}\in BASIS} b_{\mathbf{v},\mathbf{u}}\cdot \mathbf{u}= \mathbf{v}\). This allows us to uniquely (for our fixed constants \(b_{\mathbf{v},\mathbf{u}}\)) express each \(\mathbf{s}\in R^{B_\mathbf{r},k}\) as a linear sum \(\mathbf{s}=\sum_{\mathbf{u}\in BASIS} b_{\mathbf{s},\mathbf{u}}\cdot \mathbf{u}\) for some constants \(b_{\mathbf{s},\mathbf{u}}\). Furthermore for each \(\mathbf{u}\in BASIS\) there exists a linear transformation \(f_\mathbf{u}\) such that for each \(\mathbf{s}\in R^{B_\mathbf{r},k}\) it holds \(f_\mathbf{u}(\mathbf{s})=b_{\mathbf{s},\mathbf{u}}\).9
Let us define technical constants \(0<\epsilon_1,\epsilon_2,\dots\). As their exact values are not important we leave the assignment of their exact values to Table 3, where we also show that our assignment satisfies all the assumptions we make on \(\epsilon_{1},\epsilon_{2},\dots\).
Lemma 29. Let \(\alpha_{\hat{\mathbf{r}}}\) be the random variable denoting the computation on \(\mathcal{M}_{\hat{\mathbf{r}}}\) initiated in the configuration \(p_{\mathbf{r}}\vec{0}\) under the cMD strategy \(\sigma\) corresponding to \(\mathbf{r}\) until \(p_{\mathbf{r}}\) is revisited for the first time. Let \[E_{\hat{\mathbf{r}}}^{\epsilon_{1}}=\begin{cases} E_{\hat{\mathbf{r}}} & \text{if } \mathit{len}(\alpha_{\hat{\mathbf{r}}})\leq n^{\epsilon_{1}} \\ 0 & \textit{else} \end{cases}\] Then for each \(\mathbf{u}\in BASIS\) it holds \(\mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[f_\mathbf{u}(E_{\hat{\mathbf{r}}})]=0\) as well as \(\big|\mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[f_\mathbf{u}(E_{\hat{\mathbf{r}}}^{\epsilon_{1}})]\big|\in O(a^{ n^{\epsilon_{2}}})\) for some \(a<1\).
Proof. Since \(f_\mathbf{u}\) is a linear transformation and \(\mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[E_{\hat{\mathbf{r}}}]=\vec{0}\) (see definition of \(\hat{\mathbf{r}}\) in Section 2) it holds from the linearity of expectation that \(\mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[f_\mathbf{u}(E_{\hat{\mathbf{r}}})]=0\). We can write \[\begin{gather} 0=\mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[f_\mathbf{u}(E_{\hat{\mathbf{r}}})] =\\ \mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[f_\mathbf{u}(E_{\hat{\mathbf{r}}})\mid \mathit{len}(\alpha_{\hat{\mathbf{r}}})\leq n^{\epsilon_{1}}]\cdot \mathbb{P}_{p_{\mathbf{r}}\vec{0}}^\sigma[ \mathit{len}(\alpha_{\hat{\mathbf{r}}})\leq n^{\epsilon_{1}}] + \mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[f_\mathbf{u}(E_{\hat{\mathbf{r}}})\mid \mathit{len}(\alpha_{\hat{\mathbf{r}}})> n^{\epsilon_{1}}]\cdot \mathbb{P}_{p_{\mathbf{r}}\vec{0}}^\sigma[ \mathit{len}(\alpha_{\hat{\mathbf{r}}})> n^{\epsilon_{1}}] =\\ \mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[f_\mathbf{u}(E^{\epsilon_{18}}_{\hat{\mathbf{r}}})\mid \mathit{len}(\alpha_{\hat{\mathbf{r}}})\leq n^{\epsilon_{1}}]\cdot \mathbb{P}_{p_{\mathbf{r}}\vec{0}}^\sigma[ \mathit{len}(\alpha_{\hat{\mathbf{r}}})\leq n^{\epsilon_{1}}] + \mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[f_\mathbf{u}(E_{\hat{\mathbf{r}}})\mid \mathit{len}(\alpha_{\hat{\mathbf{r}}})> n^{\epsilon_{1}}]\cdot \mathbb{P}_{p_{\mathbf{r}}\vec{0}}^\sigma[ \mathit{len}(\alpha_{\hat{\mathbf{r}}})> n^{\epsilon_{1}}] \end{gather}\]
Thus it suffices to show that \[\big|\frac{\mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[f_\mathbf{u}(E_{\hat{\mathbf{r}}})\mid \mathit{len}(\alpha_{\hat{\mathbf{r}}})> n^{\epsilon_{1}}]\cdot \mathbb{P}_{p_{\mathbf{r}}\vec{0}}^\sigma[ \mathit{len}(\alpha_{\hat{\mathbf{r}}})> n^{\epsilon_{1}}]}{\mathbb{P}_{p_{\mathbf{r}}\vec{0}}^\sigma[ \mathit{len}(\alpha_{\hat{\mathbf{r}}})\leq n^{\epsilon_{1}}]}\big| \in O(a^{ n^{\epsilon_{2}}})\]
For each for each \(i\in \mathbb{N}\) it holds \(|(f_\mathbf{u}(E_{\hat{\mathbf{r}}})\mid\mathit{len}(\alpha)\leq i)|\leq u\cdot i\) where \(u\) is the maximal change of a counter per single transition in \(\mathcal{M}_{\hat{\mathbf{r}}}\). Also it holds \(\mathbb{P}_{p_\mathbf{r},\vec{0}}^\sigma[\textit{len}(\alpha)\geq i]\leq a^i\) for some constant \(a<1\) since every step there is a positive probability of reaching \(p_\mathbf{r}\) within at most constantly many steps. Therefore \[\begin{gather} \big|\mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[f_\mathbf{u}(E_{\hat{\mathbf{r}}})\mid \mathit{len}(\alpha_{\hat{\mathbf{r}}})> n^{\epsilon_{1}})]\big| \leq \sum_{i=\lfloor n^{\epsilon_{1}}\rfloor+1}^{\infty} \big|\mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[f_\mathbf{u}(E_{\hat{\mathbf{r}}})\mid \mathit{len}(\alpha_{\hat{\mathbf{r}}})=i ]\big|\cdot \mathbb{P}_{p_{\mathbf{r}}\vec{0}}^\sigma[\mathit{len}(\alpha)=i] \leq \\ \sum_{i=\lfloor n^{\epsilon_{1}}\rfloor+1}^{\infty} u\cdot i\cdot a^i = u \cdot \frac{a^{\lfloor n^{\epsilon_{1}}\rfloor+1}\cdot (-a\cdot (\lfloor n^{\epsilon_{1}}\rfloor+1)+\lfloor n^{\epsilon_{1}}\rfloor+1)}{(a-1)^2} =\\ \frac{u}{(a-1)^2}\cdot a^{\lfloor n^{\epsilon_{1}}\rfloor+1}\cdot (-a\cdot (\lfloor n^{\epsilon_{1}}\rfloor+1)+\lfloor n^{\epsilon_{1}}\rfloor+1) \leq a^{n^{\epsilon_{3}}} \end{gather}\] Where the last inequality holds for all sufficiently large \(n\) assuming \[\label{eq-epsbound-kgvkvubbvgvgvgppp} \epsilon_{1}>\epsilon_{3}\tag{13}\]
Therefore assuming \[\label{eq-epsbound-kgfdsfvkvubbvgvgvgppp} \epsilon_{2}<\epsilon_{3}+\epsilon_{1}\tag{14}\] it holds \[\big|\frac{\mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[f_\mathbf{u}(E_{\hat{\mathbf{r}}})\mid \mathit{len}(\alpha_{\hat{\mathbf{r}}})> n^{\epsilon_{1}}]\cdot \mathbb{P}_{p_{\mathbf{r}}\vec{0}}^\sigma[ \mathit{len}(\alpha_{\hat{\mathbf{r}}})> n^{\epsilon_{1}}]}{\mathbb{P}_{p_{\mathbf{r}}\vec{0}}^\sigma[ \mathit{len}(\alpha_{\hat{\mathbf{r}}})\leq n^{\epsilon_{1}}]}\big| \leq \big|\frac{a^{n^{\epsilon_{3}}}\cdot a^{n^{\epsilon_{1}}}}{1-a^{n^{\epsilon_1}}}\big| \in O(a^{ n^{\epsilon_{2}}})\] Lemma holds. ◻
Let \(\epsilon>0\) be arbitrary but further fixed, we will now describe a pointing strategy \(\sigma_\epsilon\) such that the pointing computation under \(\sigma_\epsilon\) on the pointing VASS \(\pazocal{A}_{+\hat{B}}\) from any initial pointing configuration with all counters set at \(\vec{n}\) will point to \(\mathcal{M}_{\hat{\mathbf{r}}}\) at least \(n^{k+1-\epsilon}\) times with probability \(p_n\) such that \(\lim_{n\rightarrow\infty}p_n=1\), assuming \(Support^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(\hat{\mathbf{r}})\subseteq R^{B_\mathbf{r},k}\) holds. Note that this would prove Lemma 25. We will give only a high level description of \(\sigma_\epsilon\). To ease the description we assume \(\sigma_\epsilon\) remembers values \(a_\mathbf{u}\in \mathbb{Q}\) for each \(\mathbf{u}\in BASIS\) that are initialized to \(0\) (note that these can always be computed from the pointing history). Bins initialization: From Lemma 9 combined with the induction assumptions for all \(0\leq k'<k\) on points [enum-main-1] and [enum-main-2] of Lemma 22 we have a strategy \(\pi\) in \(\pazocal{A}\) that from any initial configuration with initial counters vector \(\vec{n}\) reaches a configuration with counters vector \(\mathbf{v}_0\) such that for each counter \(c\in C_i\) where \(i\leq k\) (here we put \(C_{k}=C_{k+}\)) it holds \(\mathbf{v}_0(c)\geq n^{i-\epsilon_{4}}\), and this is achieved with probability \(p_n'\) such that \(\lim_{n\rightarrow\infty} p_n'=1\). \(\sigma_\epsilon\) therefore starts by using \(\pi\) to reach such counters vector (remember that \(\pi\) can be seen as a pointing strategy on \(\tilde{\pazocal{A}}\) as per [19]). At this point, \(\sigma_\epsilon\) divides the counters vector into \(m\) bins of equal size (here \(m\) is some properly chosen constant, important thing is that \(m\) does not depend on \(n\)), that is each of the \(m\) bins contains the counters vector \(\lfloor \frac{\mathbf{v}_0}{m} \rfloor\).
Moving to \(p_{\mathbf{r}}\): At this point \(\sigma_\epsilon\) will start a computation on a \(p_{\mathbf{r}}\)-bin (that will never be used again) under a strategy that minimizes the expected number of steps needed to reach \(p_{\mathbf{r}}\) and \(\sigma_\epsilon\) will play according to this strategy until reaching \(p_{\mathbf{r}}\). (Again a strategy on \(\pazocal{A}\) can be seen as a pointing strategy on \(\tilde{\pazocal{A}}\). We say a state \(p\) is reached if the new state of the VASS Markov chain that was just pointed to is \(p\)).
At this point \(\sigma_\epsilon\) starts pointing at \(\mathcal{M}_{\hat{\mathbf{r}}}\) using the main-bin as well as an additional high-bin such that the effects on counters in \(C_1,\dots,C_{\lfloor \frac{k}{2} \rfloor}\) are added to the main-bin while the effects on the other counters are added to the high-bin. Every time \(\mathcal{M}_{\hat{\mathbf{r}}}\) revisits \(p_B\), let \(\alpha\) denote the path taken in \(\mathcal{M}_{\hat{\mathbf{r}}}\) since its last visit of \(p_B\), and let \(\mathbf{v}\) be the effect of \(\alpha\) on counters \(C_1 \cup \dots\cup C_{\lfloor \frac{k}{2}\rfloor}\) (i.e., the effect in the main-bin). If \(length(\alpha)> n^{\epsilon_{1}}\) then \(\sigma_\epsilon\) further behaves arbitrarily without changing the counter vectors in the bins. Otherwise \(\sigma_{\epsilon}\) adds the value \(f_\mathbf{u}(\mathbf{v}^{C_1,\dots,C_{\lfloor \frac{k}{2} \rfloor}})\) to \(a_\mathbf{u}\) for each \(\mathbf{u}\in BASIS\) (note that \(\mathbf{v}^{C_1,\dots,C_{\lfloor \frac{k}{2} \rfloor}}\in Support^{C_1,\dots,C_{\lfloor\frac{k}{2}\rfloor}}(\hat{\mathbf{r}})\) and thus from our assumption that \(Support^{C_1,\dots,C_{\lfloor\frac{k}{2}\rfloor}}(\hat{\mathbf{r}})\subseteq R^{B_\mathbf{r},k}\) the value \(f_\mathbf{u}(\mathbf{v}^{C_1,\dots,C_{\lfloor \frac{k}{2} \rfloor}})\) is defined). Next, \(\sigma_\epsilon\) virtually “distributes” the vector \(\mathbf{v}^{C_1,\dots,C_{\lfloor \frac{k}{2} \rfloor}}\) from the main-bin into individual \(\mathbf{u}\)-bins as follows: First it adds \(-\mathbf{v}^{C_1,\dots,C_{\lfloor \frac{k}{2} \rfloor}}\) to the main-bin, and then for each \(\mathbf{u}\in BASIS\) it adds \(f_\mathbf{u}(\mathbf{v}^{C_1,\dots,C_{\lfloor \frac{k}{2} \rfloor}})\cdot \mathbf{u}\) to the \(\mathbf{u}\)-bin. At this point \(\sigma_\epsilon\) checks whether there exists \(\mathbf{u}\in BASIS\) such that \(|a_\mathbf{u}|\geq n^{i-\epsilon_{5}}\) where \(i\) is such that \(\mathbf{u}\in BASIS_i^{C_1, \dots, C_{\lfloor\frac{k}{2}\rfloor} }\cup (-BASIS_i^{C_1, \dots, C_{\lfloor\frac{k}{2}\rfloor} })\) (note that the \(i\) is uniquely given by \(\mathbf{u}\) as discussed above). If such \(\mathbf{u}\) does not exist then \(\sigma_\epsilon\) continues by again pointing a \(\mathcal{M}_{\hat{\mathbf{y}}}\) in the same way as above (thus doing so until either such \(\mathbf{u}\) exists or termination). If such \(\mathbf{u}\in BASIS\) exists, then \(\sigma_\epsilon\) temporarily pauses the pointing \(\mathcal{M}_{\hat{\mathbf{r}}}\) on the main-bin and performs a reset procedure. After this reset procedure finishes, \(\sigma_\epsilon\) unpauses the pointing \(\mathcal{M}_{\hat{\mathbf{r}}}\) on the main-bin and moves right to the “\(\sigma_\epsilon\) checks whether there exists \(\mathbf{u}\in BASIS\) such that...”, thus looping in this way till termination.
Which reset procedure is chosen depends on whether \(a_\mathbf{u}\) is positive or negative. \(\sigma_\epsilon\) performs the \(\mathbf{s}\)-reset-procedure where \(\mathbf{s}=\mathbf{u}\) if \(a_\mathbf{u}<0\) and \(\mathbf{s}=-\mathbf{u}\) if \(a_\mathbf{u}>0\). The \(\mathbf{s}\)-reset-procedure is fully described below.
Let \(1\leq i\leq \frac{k}{2}\) and \(\mathbf{v}\in BASIS_i\) be such that either \(\mathbf{s}=\mathbf{v}^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}\) or \(\mathbf{s}=-\mathbf{v}^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}\). If \(\mathbf{s}=\mathbf{v}^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}\) then let \(\mathbf{x}=\mathbf{x}_{i,\mathbf{v}}^+\) and if \(\mathbf{s}=-\mathbf{v}^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}\) then let \(\mathbf{x}=\mathbf{x}_{i,\mathbf{v}}^-\).
When we say that the \(\mathbf{s}\)-reset-procedure uses an interface transition then \(\sigma_\epsilon\) doesn’t actually do anything in \(\pazocal{A}_{+\hat{\mathbf{r}}}\), instead it only virtually simulates the interface transition (whose effect is \(-\Delta(\mathbf{x})\) without changing the state) by adding \(\Delta^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}(\mathbf{x})\) to the \(\mathbf{u}\)-bin and \(\mathbf{s}^{C_{\lfloor \frac{k}{2}\rfloor+1},\dots,C_k}\) to the high-\(\mathbf{u}\)-bin while adding \(-\mathbf{s}\) to the bin on which the \(\mathbf{s}\)-reset-procedure performs the interface transition (thus effectively simulating it for the procedure), in addition to this, every time the interface transition gets used \(\sigma_\epsilon\) also adds \(+1\) to \(a_\mathbf{u}\) if \(\mathbf{s}=-\mathbf{u}\) or it adds \(-1\) to \(a_\mathbf{u}\) if \(\mathbf{s}=\mathbf{u}\) (i.e., it moves it by \(1\) towards \(0\)). Note that if the \(\mathbf{s}\)-reset-procedure selects the interface transition while \(|a_\mathbf{u}|<1\) then \(\sigma_\epsilon\) “pauses the \(\mathbf{s}\)-reset-procedure halfway during the interface transition”, that is \(\sigma_\epsilon\) changes the counters in the bins by only \(\mathbf{s}\cdot|a_\mathbf{u}|\) and sets \(a_\mathbf{u}\) to \(0\), then pauses the \(\mathbf{s}\)-reset-procedure and the next time it gets unpaused it performs the remaining portion of the interface transition (while changing the counters and modifying \(a_\mathbf{u}\) correspondingly)10 thus from the point of view of the \(\mathbf{s}\)-reset-procedure the entire interface transition was performed (assuming \(\mathbf{s}\)-reset-procedure gets used again later). \(\sigma_\epsilon\) keeps playing as per the \(\mathbf{s}\)-reset-procedure until \(a_\mathbf{u}\neq 0\), at which point the \(\mathbf{s}\)-reset-procedure gets paused (finished). If again at some point later \(\sigma_\epsilon\) performs the \(\mathbf{s}\)-reset-procedure again then it unpauses it from the last time (thus there is only one \(\mathbf{s}\)-reset procedure for each \(\mathbf{s}\in BASIS\) running for the entire computation).
We will describe the strategy \(\sigma_\mathbf{s}^{\epsilon_{6}}\) on the VASS MDP \(\pazocal{A}\) modified in such a way that we also add a new loop over \(p_{\mathbf{r}}\) that has the effect \(-\mathbf{s}\), we use \(\pazocal{A}^{+p_B(-\mathbf{s})}\) to denote this new VASS MDP. We use \(\mathbf{y}_B\) to denote a component corresponding to this loop (i.e., \(\mathbf{y}_B(t)=0\) for each \(t\) in \(\pazocal{A}\) and \(\mathbf{y}(t)=1\) for the newly added transition \(t\)). We will call this new added transition the "interface transition" whose behavior is described above.
From Lemma 13 we can express \(\mathbf{x}\) as a conical sum of components, that is \(\mathbf{x}=\sum_{j=1}^w a_j\cdot \mathbf{y}_j\) where \(w\) is the number of components on \(\pazocal{A}_{k-i}\), \(\mathbf{y}_j\) is the \(j\)-th component and \(a_j\geq 0\). Additionally, for the multi-component \(\mathbf{x}'=\mathbf{x}+\mathbf{y}_B\) on \(\pazocal{A}_{k-i}^{+p_B(-\mathbf{s})}\) it holds \(\Delta^{C_1,\dots,C_{k-i}}(\mathbf{x}')=\Delta^{C_1,\dots,C_{k-i}}(\mathbf{x})+\Delta^{C_1,\dots,C_{k-i}}(\mathbf{y}_B)=\mathbf{s}-\mathbf{s}=\vec{0}\) and it can be expressed as a conical sum of components as \(\mathbf{x}'=a_B\cdot \mathbf{y}_B + \sum_{j=1}^w a_j\cdot \mathbf{y}_j\) for \(a_B=1\).
Given two components \(\mathbf{y}_1\) and \(\mathbf{y}_2\) on \(\pazocal{A}_{k-i}^{+p_B(-\mathbf{s})}\), we define the level-distance of \(\mathbf{y}_1\) and \(\mathbf{y}_2\) as the smallest value \(l\in \mathbb{N}_0\) such that both \(\mathbf{y}_1\) and \(\mathbf{y}_2\) are contained in the same MEC of \(\pazocal{A}_{k-i-l}^{+p_B(-\mathbf{s})}\). (note that the maximal possible level-distance is \(k-i-1\))
From the induction assumption on point [enum-main-4] of Lemma 22 for \(k-i\), there exists for each component \(\mathbf{y}\) of \(\pazocal{A}_{k-i,T_{k-i+1}}\) a pointing strategy \(\sigma_{\hat{\mathbf{y}}}^{\epsilon_{7}}\) such that \(\lim_{n\rightarrow\infty}\mathbb{P}_{p\vec{n}}^{\sigma_{\hat{\mathbf{y}}}^{\epsilon_{7}}}[\pazocal{P}_{\pazocal{A}_{+\hat{\mathbf{y}}}}[\mathcal{M}_{\hat{\mathbf{y}}}]\geq n^{k+1+\epsilon_{7}}]=1\) . In addition to this, since \(\hat{\mathbf{y}}_B\) never changes any counter we define \(\sigma_{\hat{\mathbf{y}}_B}^{\epsilon_{7}}\) as a pointing strategy for \(\pazocal{A}^{+p_B(-\mathbf{s})}_{+\hat{\mathbf{y}}_B}\) that does nothing but keeps pointing to \(\mathcal{M}_{\hat{\mathbf{y}_B}}\), clearly this pointing strategy will result in termination when initiated in \(p_\mathbf{r}\).
From the induction assumption on point [enum-main-5] of Lemma 22 for \(k-i\) there exists a strategy \(\sigma_{k-i}^{\epsilon_{8}}\) which for \(h_{\epsilon_{8}}(n)=\lfloor n^{1-\epsilon_{8}}\rfloor\) produces with probability \(\lim_{n\rightarrow\infty} p_n=1\) a \((k-i)\)-level \(h_{\epsilon_{8}}(n)\)-cyclic computation when initialized with counters vector \(n\).
We will now describe the strategy \(\sigma_\mathbf{s}^{\epsilon_{6}}\) on \(\pazocal{A}^{+p_B(-\mathbf{s})}\) that starts in \(p_B\) and that we shall call the \(\mathbf{s}\)-reset-procedure (i.e., the \(\mathbf{s}\)-reset-procedure consists of playing as \(\sigma_\mathbf{s}^{\epsilon_{6}}\)).
The strategy \(\sigma_\mathbf{s}^{\epsilon_{6}}\) works as follows, once again we only give a high level description of the strategy:
It remembers (it can always compute these from the history) values \(b_B,b_1,\dots,b_w\) that are all initialized to \(0\).
It plays \(\sigma_{k-i}^{\epsilon_{8}}\) on a \((\mathbf{s},k,m)\)-tree-bin, except that occasionally this computation can be temporarily “paused” in favor of playing something else. Every time this computation under \(\sigma_{k-i}^{\epsilon_{8}}\) reaches some state \(p\) then \(\sigma_\mathbf{s}^{\epsilon_{6}}\) “processes” every component \(\mathbf{y}_a\) of \(\pazocal{A}_{k-i}^{+p_B(-\mathbf{s})}\) such that \(p=p_{\mathbf{y}_a}\) and \(a_a\neq 0\) before resuming playing as per \(\sigma_{k-i}^{\epsilon{8}}\), where the “processing” of \(\mathbf{y}_a\) looks as follows: \(\sigma_\mathbf{s}^{\epsilon_{6}}\) asks whether there exists another component \(\mathbf{y}_b\) of \(\pazocal{A}_{k-i}^{+p_B(-\mathbf{s})}\) such that \(a_a,a_b\neq 0\) and the level-distance of \(\mathbf{y}_a\) and \(\mathbf{y}_b\) is \(l\) such that it holds \(b_a - \frac{a_a}{a_b}\cdot (n^{1-\epsilon_{6}})^{l+1} \geq b_b\). If such \(\mathbf{y}_b\) exists then \(\mathbf{y}_a\) is declared “processed” without \(\sigma_\mathbf{s}^{\epsilon_{6}}\) doing anything.
If such \(\mathbf{y}_b\) does not exist, then \(\sigma_\mathbf{s}^{\epsilon_{6}}\) starts playing according to the strategy \(\sigma_{\hat{\mathbf{y}}_a}^{\epsilon_{7}}\) using a \((\mathbf{s},\hat{\mathbf{y}}_a)\)-bin (technically, we initialize this bin with the counter vector \(\lfloor \frac{n^{1-\epsilon_{5}}}{m}\rfloor\) instead of \(\lfloor \frac{\mathbf{v}_0}{m}\rfloor\)) in such a way that whenever \(\sigma_{\hat{\mathbf{y}}_a}^{\epsilon_{7}}\) points at \(\mathcal{M}_{ \hat{\mathbf{y}}_a}\) then \(\sigma_\mathbf{s}^{\epsilon_{6}}\) actually points at \(\mathcal{M}_{\mathbf{y}_a}\) while adding the resulting effect to the \((\mathbf{s},\hat{\mathbf{y}}_a)\)-bin, and if this pointing results in reaching the state \(p_{\mathbf{y}_a}\) then additionally the vector \(\Delta(\mathbf{y}_a)\) is added to the \(\mathbf{s}\)-main-bin (that is shared among all the components \(\mathbf{y}_a\)) and the same vector is subtracted from the \((\mathbf{s},\hat{\mathbf{y}}_a)\)-bin (these are done virtually, so in effect the computation on the \((\mathbf{s},\hat{\mathbf{y}}_a)\)-bin corresponds to a computation on \(\pazocal{A}_{+\hat{\mathbf{y}}_a}\)). This proceeds until this computation returns to \(p_{\mathbf{y}_a}\) after \(\sigma_{\hat{\mathbf{y}}_a}^{\epsilon_{7}}\) pointed at \(\mathcal{M}_{\hat{\mathbf{y}}_a}\) (if \(p_{\mathbf{y}_a}\) is reached after \(\sigma_{\hat{\mathbf{y}}_a}^{\epsilon_{7}}\) pointed at different VASS Markov chain then it does not count) for a total of \(n^{1-\epsilon_{6}}\) times (note that if this number is not an integer then what the strategy effectively does is it reaches \(p_{\mathbf{y}_a}\) a total of \(\lceil n^{1-\epsilon_{6}} \rceil\) times while remembering a value \(X\) equal to the difference from the number of times it reached \(p_{\mathbf{y}_a}\) and \(n^{1-\epsilon_{6}}\), and the next time it starts iterating \(\sigma_{\hat{\mathbf{y}}_a}^{\epsilon_{7}}\) then before any transition is even chosen it assumes that it already reached \(p_{\mathbf{y}_a}\) a total of \(X\) times, while these "extra" iterations happen on a completely separate bin that is not used anywhere else (thus this cannot ever kill the computation)). Once this happens \(\sigma_\mathbf{s}^{\epsilon_{6}}\) increases the value \(b_a\) by \(n^{1-\epsilon_{6}}\) and then declares \(\mathbf{y}_a\) to be “processed” (note that each component can be “proccessed” multiple times before unpausing \(\sigma_{k-i}^{\epsilon_{8}}\), thus at this point \(\mathbf{y}_a\) gets checked for processing again).
In this Section we prove some Lemmas pertaining the behavior of the \(\mathbf{s}\)-reset-procedure that will help us prove the main statement about \(\sigma_{\epsilon}\) later on.
Lemma 30.
For each counter \(c\in C_j\) for \(1\leq j \leq k-i\) (here we consider the counters on \(\pazocal{A}_{k-i}\)) the counter \(c\) can never become negative in the \(\mathbf{s}\)-main bin for all sufficiently large \(n\).
Proof. Notice that at any point it holds that the counter vector in the \(\mathbf{s}\)-main bin is equal to \(\lfloor\frac{\mathbf{v}_0}{m} \rfloor + b_B\cdot \Delta(\mathbf{y}_B) + \sum_{j=1}^{w}b_j\cdot \Delta(\mathbf{y}_j)\). Furthermore, notice that for each \(c\in C_j\) it holds for all \(\mathbf{y}_a,\mathbf{y}_b\) that if \(\Delta(\mathbf{y}_a)(c)\neq 0\) and the level-distance of \(\mathbf{y}_a,\mathbf{y}_b\) is at least \(j\) then \(\Delta(\mathbf{y}_b)(c)=0\) (this is because in such case \(\mathbf{y}_b\) lies in a different MEC of \(\pazocal{A}_{k-i-j}\) from \(\mathbf{y}_a\) and thus both consider different local copy of the counter corresponding to \(c\)). Let \(I_c=\{i\in \mathbb{N}\cup\{B\}\mid \textit{there exists a}\textit{ transition }t\textit{ of }\pazocal{A}_{k-i};\mathbf{y}_i(t)>0 \textit{ and }\mathbf{u}_t(c)\neq 0\}\) be the indexes of all the components of \(\pazocal{A}_{k-i}^{+p_B(-\mathbf{s})}\) that do modify \(c\) in any way (note that the interface transition modifies the local copies of counters that are present in the MEC containing \(p_B\)), then the maximal level-distance between any \(\mathbf{y}_a,\mathbf{y}_b\) for \(a,b\in I_c\) is \(j-1\), and thus at any point it holds for any \(a\in I_c\) that for any \(b\in I_c\) we have \(b_a - \frac{a_a}{a_b}\cdot (n^{1-\epsilon_{9}})^{j} \leq b_b + n^{1-\epsilon_{9}}\). Let \(\kappa\) be the largest value such that \(b_x-\kappa\cdot a_x\geq 0\) for all \(x\in I_c\), and for each \(a\in I_c\) let \(b_a'=b_a-\kappa\cdot a_a\). Notice that from from the definition of \(\kappa\) there exists at least one \(b\in I_c\) such that \(b_b'=0\). Thus by substituting \(b_x'+\kappa\cdot a_x\) for \(b_x\) we get
\(b_a'+\kappa\cdot a_a - \frac{a_a}{a_b}\cdot (n^{1-\epsilon_{9}})^{j} \leq b_b'+\kappa \cdot a_b + n^{1-\epsilon_{9}}\)
which can be simplified into
\(b_a'+\kappa\cdot a_a - \frac{a_a}{a_b}\cdot (n^{1-\epsilon_{9}})^{j} \leq 0+\kappa\cdot a_b + n^{1-\epsilon\cdot _{4}}\)
\(b_a' \leq \kappa\cdot a_b-\kappa \cdot a_a + n^{1-\epsilon_{9}}+ \frac{a_a}{a_b}\cdot (n^{1-\epsilon_{9}})^{j}\)
At any point it holds that the counter \(c\) in the \(\mathbf{s}\)-main bin is equal to \[\begin{gather} \lfloor\frac{\mathbf{v}_0(c)}{m} \rfloor + b_B\cdot \Delta(\mathbf{y}_B)(c) + \sum_{j=1}^{w}b_j\cdot \Delta(\mathbf{y}_j)(c) = \lfloor\frac{\mathbf{v}_0(c)}{m} \rfloor + \sum_{j\in I_c}b_j\cdot \Delta(\mathbf{y}_j)(c) = \\ \lfloor\frac{\mathbf{v}_0(c)}{m} \rfloor + \sum_{j\in I_c}(b_j'+\kappa\cdot a_j)\cdot \Delta(\mathbf{y}_j)(c) = \lfloor\frac{\mathbf{v}_0(c)}{m} \rfloor + \sum_{j\in I_c}\kappa\cdot a_j\cdot \Delta(\mathbf{y}_j)(c) + \sum_{j\in I_c}b_j'\cdot \Delta(\mathbf{y}_j)(c) \end{gather}\]
since \(\sum_{j\in I_c}\kappa \cdot a_j\cdot \mathbf{y}_j\) is a multi-component that matches \(\kappa\cdot \mathbf{x}'\) on the MEC of \(\pazocal{A}_{k-i-j+1}\) that contains \(c\), it holds \(\sum_{j\in I_c}\kappa a_j\cdot \Delta(\mathbf{y}_j)(c)=\kappa \cdot \Delta(\mathbf{x}')(c)=0\) thus we can write for \(u=\max_{i\in\{B,1,\dots,w\}}\{|\Delta(\mathbf{y}_i)(c)| \}\)
\[\begin{gather} \lfloor\frac{\mathbf{v}_0(c)}{m} \rfloor + \sum_{j\in I_c}\kappa\cdot a_j\cdot \Delta(\mathbf{y}_j)(c) + \sum_{j\in I_c}b_j'\cdot \Delta(\mathbf{y}_j)(c) = \lfloor\frac{\mathbf{v}_0(c)}{m} \rfloor + 0 + \sum_{j\in I_c}b_j'\cdot \Delta(\mathbf{y}_j)(c) \geq \\ \lfloor\frac{n^{j-\epsilon_{5}}}{m} \rfloor - \sum_{j\in I_c}b_j'\cdot u \geq \lfloor\frac{n^{j-\epsilon_{5}}}{m} \rfloor - \sum_{x\in I_c}u(\kappa \cdot a_b-\kappa\cdot a_x + n^{1-\epsilon_{9}}+ \frac{a_x}{a_b}\cdot (n^{1-\epsilon_{9}})^{j}) =\\ \lfloor\frac{n^{j-\epsilon_{5}}}{m} \rfloor - \sum_{x\in I_c}u\cdot \kappa\cdot a_b+\sum_{x\in I_c}u\cdot \kappa \cdot a_x -\sum_{x\in I_c}u \cdot n^{1-\epsilon_{9}}-\sum_{x\in I_c}u \cdot \frac{a_x}{a_b}\cdot (n^{1-\epsilon_{9}})^{j} =\\ \lfloor\frac{n^{j-\epsilon_{5}}}{m} \rfloor - |I_c|\cdot u\cdot \kappa\cdot a_b+u\cdot \kappa\cdot \sum_{x\in I_c} a_x -|I_c|\cdot u\cdot \cdot n^{1-\epsilon_{9}}-\frac{u}{a_b}\cdot (n^{1-\epsilon_{9}})^{j}\cdot \sum_{x\in I_c} a_x \geq\\ \lfloor\frac{n^{j-\epsilon_{5}}}{m} \rfloor - |I_c|\cdot u\cdot \kappa \cdot a_b -|I_c|\cdot u\cdot n^{1-\epsilon_{9}}-\frac{u}{a_b}\cdot (n^{1-\epsilon_{9}})^{j}\cdot \sum_{x\in I_c} a_x \geq\\ \lfloor\frac{n^{j-\epsilon_{5}}}{m} \rfloor - |I_c|\cdot u\cdot \kappa \cdot a_b -|I_c|\cdot u\cdot n^{1-\epsilon_{9}}-\frac{u}{a_b}\cdot (n^{1-\epsilon_{9}})^{j}\cdot |I_c|\cdot \max_{x\in I_c} a_x =\\ \lfloor\frac{n^{j-\epsilon_{5}}}{m} \rfloor - |I_c|\cdot u\cdot \kappa \cdot a_b -|I_c|\cdot u\cdot n^{1-\epsilon_{9}}-\frac{u}{a_b}\cdot n^{j-j\epsilon_{9}}\cdot |I_c|\cdot \max_{x\in I_c} a_x \end{gather}\]
Which is always non-negative for all sufficiently large \(n\) assuming \[\label{eq-epsbound-bvcyuviuib} \epsilon_{5}< k\cdot \epsilon_{9}\tag{15}\] since in such case \(\lfloor\frac{n^{j-\epsilon_{5}}}{m} \rfloor\) grows asymptotically faster than each of \(|I_c|\cdot u\cdot \kappa\cdot a_b\), \(|I_c|\cdot u\cdot n^{1-\epsilon_{9}}\), and \(\frac{u}{a_b}\cdot n^{j-j\epsilon_{9}}\cdot |I_c|\cdot \max_{j\in I_c} a_x\). ◻
Lemma 31.
Let \(I=\{a\in\{B,1,\dots,w\}\mid a_a\neq 0 \}\). The probability of \(\sigma_\mathbf{s}^{\epsilon_{9}}\) terminating while there exists \(a\in I\) such that \(b_a\leq n^{k-i+1-\epsilon_{10}}\) is \(p_\mathbf{s}\) such that \(\lim_{n\rightarrow\infty} p_\mathbf{s}=0\).
Proof. \(\sigma_\mathbf{s}^{\epsilon_{9}}\) can only terminate if at least one of the individual bins it uses reaches negative value on at least one counter. Hence it suffices to show that no counter gets depleted in any of those bins while there exists \(a\in I\) such that \(b_a\leq n^{k-i+1-\epsilon_{10}}\) with probability \(p_\mathbf{s}'\) such that \(\lim_{n\rightarrow\infty} p_\mathbf{s}'=0\). The bins on which \(\sigma_\mathbf{s}^{\epsilon_{9}}\) can terminate are the \((\mathbf{s},k,m)\)-tree-bin while using a \(\sigma_{k-i}^{\epsilon_{14}}\) strategy, on a \((\mathbf{s},\hat{\mathbf{y}}_a)\)-bin under \(\sigma_{\hat{\mathbf{y}}_a}^{\epsilon_{13}}\), or in the \(\mathbf{s}\)-main bin. From Lemma 30 the \(\mathbf{s}\)-main bin can never reach negative values on counters from \(C_1,\dots,C_{k-i}\), thus the computation on this bin is safe until at least one \(b_a\) reaches a minimum of \(n^{k-i+1-\epsilon_{4}-\epsilon_{11}}\) (this is due to the the smallest counter it can deplete being \(\lfloor\frac{n^{k-i+1-\epsilon_{4}}}{m}\rfloor\) and at any point counter vector in the \(\mathbf{s}\)-main bin is equal to \(\lfloor\frac{\mathbf{v}_0}{m} \rfloor + b_B\cdot \Delta(\mathbf{y}_B) + \sum_{j=1}^{w}b_j\cdot \Delta(\mathbf{y}_j)\)). The probability \(p_{n}^{\hat{\mathbf{y}_a}}\) of terminating in some \((\mathbf{r},\hat{\mathbf{y}}_a)\)-bin before \(b_a\geq n^{k-i+1-\epsilon_{13}-\epsilon_{11}}\) satisfies \(\lim_{n\rightarrow\infty} p_n^{\hat{\mathbf{y}_a}}=0\) from how we chose the strategy \(\sigma_{\hat{\mathbf{y}}_a}^{\epsilon_{13}}\).
As any two \(b_a,b_b\) always satisfy \(b_a - \frac{a_a}{a_b}\cdot (n^{1-\epsilon_{9}})^{l+1} \leq b_b + n^{1-\epsilon_{9}}\), where \(l\) is the level distance of \(\mathbf{y}_a\) and \(\mathbf{y}_b\), and the maximal level distance is \(k-i-1\), it holds \(b_a - \frac{a_a}{a_b}\cdot (n^{1-\epsilon_{9}})^{k-i-1+1} \leq b_b + n^{1-\epsilon_{9}}\).
Thus if it were to hold that there exists \(b_b\leq n^{k-i+1-\epsilon_{12}}\) with \[\label{eq-epsbound-bvcyuviuib2} \epsilon_{12}>\epsilon_{10}\tag{16}\] then for each \(b_a\) it holds \(b_a - \frac{a_a}{a_b}\cdot n^{k-i-(k-i)\cdot \epsilon_{9}} \leq b_b + n^{1-\epsilon_{9}} \leq n^{k-i+1-\epsilon_{12}} + n^{1-\epsilon_{9}}\) which gives us that \(b_a\leq \frac{a_a}{a_b}\cdot n^{k-i-(k-i)\epsilon_{9}}+ n^{k-i+1-\epsilon_{12}} + n^{1-\epsilon_{9}} \leq n^{k-i+1-\epsilon_{10}}\) assuming that \[\label{eq-epsbound-bvcyuviuib3} \epsilon_{10}<\epsilon_{12}<1\tag{17}\] Therefore assuming \[\label{eq-epsbound-bvcyuviuib4} \epsilon_{4}+\epsilon_{11}<\epsilon_{12}\tag{18}\] it holds that the probability of \(\sigma_\mathbf{s}\) depleting a counter on any \((\mathbf{s},\hat{\mathbf{y}}_a)\)-bin or \(\mathbf{s}\)-main-bin while there exists \(a\in \{B,1,\dots,w \}\) with \(a_a\neq 0\) and such that \(b_a\leq n^{k-i+1-\epsilon_{10}}\) is \(p_\mathbf{s}'\) such that \(\lim_{n\rightarrow\infty} p_\mathbf{s}'=0\).
Thus it remains to show that the computation will with high enough probability not die too early on the \((\mathbf{s},k,m)\)-tree-bin.
We will now show that if the computation under \(\sigma_{k-i}^{\epsilon_{14}}\) on the \((\mathbf{s},k,m)\)-tree-bin produces a \((k-i)\)-level \(h_{\epsilon_{14}} (\lfloor \frac{n^{1-\epsilon_{4}}}{m} \rfloor)\)-cyclic computation \(\alpha\) then assuming \(\sigma_\mathbf{s}\) does not reach negative value on any counter in a \((\mathbf{s},\hat{\mathbf{y}}_a)\)-bin before \(b_a\geq n^{k-i+1-\epsilon_{13}-\epsilon_{11}}\) for some \(a\in I\) then \(\sigma_\mathbf{s}\) will reach \(n^{k-i+1-\epsilon_{10}}\) in \(b_a\) for all \(a\in I\).
Assume towards contradiction that this does not happen.
Let \(G=(V,E,f,g)\) be the \((k-i,(\lfloor \frac{n^{1-\epsilon_{4}}}{m} \rfloor)^{1-\epsilon_{14}})\)-tree of \(\alpha\). Notice that the concatenation of the computations \(f(v)\) in the leaves of \(G\) is exactly \(\alpha\), thus to each \(\alpha_{..j}\) we can assign the leaves of \(G\) for whose the concatenation of \(f(v)\) corresponds to \(\alpha_{..j}\).
For each \(a\in I\) let \(c_a\) be a function such that \(c_a(\alpha_{..j})=\kappa_{\mathbf{y}_a}(\alpha_{..j}) n^{1-\epsilon_{9}}\) where \(\kappa_{\mathbf{y}_a}(\alpha_{..j})\) is the number of leaves \(v\) of \(G\) for which \(g(v)\) is the MEC of \(\pazocal{A}_{k-i}\) that contains \(p_{\mathbf{y}_a}\) and that is included in the leaves corresponding to \(\alpha_{..j}\). Furthermore, let \(b_a(\alpha_{..j})\) be the value of \(b_a\) right after \(\alpha_{..j}\).
We will now show the following Lemma.
Lemma 32. It holds \(c_a(\alpha_{..j})\leq b_a(\alpha_{..j})\) for all \(j\).
Note that this finishes the proof of the Lemma 31 since if \(\alpha\) is \((k-i, h_{\epsilon_{14}} (\lfloor \frac{n^{1-\epsilon_{4}}}{m} \rfloor))\)-cyclic then \[\begin{gather} c_a(\alpha)= (h_{\epsilon_{14}} (\lfloor \frac{n^{1-\epsilon_{4}}}{m} \rfloor))^{k-i}\cdot n^{1-\epsilon_{9}}= (\lfloor(\lfloor \frac{n^{1-\epsilon_{4}}}{m} \rfloor)^{1-\epsilon_{14}}\rfloor)^{k-i}\cdot n^{1-\epsilon_{9}} \leq \\ ((n^{1-\epsilon_{4}})^{1-\epsilon_{14}})^{k-i}\cdot n^{1-\epsilon_{9}} = (n^{1-\epsilon_{14}-(1-\epsilon_{14})\cdot \epsilon_{4}})^{k-i}\cdot n^{1-\epsilon_{9}} = n^{k-i-(k-i)\cdot (\epsilon_{14}-(1-\epsilon_{14})\cdot \epsilon_{4})}\cdot n^{1-\epsilon_{9}} =\\ n^{k-i+1-\epsilon_{9}-(k-i)\cdot (\epsilon_{14}-(1-\epsilon_{14})\cdot \epsilon_{4})} \leq n^{k-i+1-\epsilon_{10}} \end{gather}\]
for all sufficiently large \(n\) assuming that \[\label{eq-epsbound-bvcyuviuib5} \epsilon_{9}+(\epsilon_{14}-(1-\epsilon_{14})\epsilon_{4})>\epsilon_{10}\tag{19}\]
We prove Lemma 32 by induction on \(j\).
Base case \(j=0\): it holds \(c_a(\epsilon)=b_a(\epsilon)=0\), thus base case holds. (here \(\epsilon\) denotes an empty computation)
Induction step: assume Lemma 32 holds for all \(j\in\{0,\dots,j-1 \}\), we show it hold for \(j\) as well.
Notice that when \(\sigma_{k-i}^{\epsilon_{14}}\) reaches some state \(p_{\mathbf{y}_a}\) for \(a\in I\) after \(\alpha_{..j}\) then \(b_{\mathbf{y}_a}\) is either increased by at least \(n^{1-\epsilon_{9}}\) or there exists some other \(\mathbf{y}_b\) with \(b\in I\) such that \(b_a(\alpha_{..j}) - \frac{a_a}{a_b}(n^{1-\epsilon_{9}})^{l+1} \geq b_b(\alpha_{..j})\) with level distance between \(\mathbf{y}_a\) and \(\mathbf{y}_b\) being \(l\). In the former case \(c_a(\alpha_{..j})\leq c_a(\alpha_{..j-1})+n^{1-\epsilon_{9}}\leq b_a(\alpha_{..j-1})+n^{1-\epsilon_{9}}=b_a(\alpha_{..j})\) and thus the induction step holds. Assume therefore the later case. Then both \(p_{\mathbf{y}_a}\) and \(p_{\mathbf{y}_b}\) are part of the same MEC \(B_{a,b}\) in \(\pazocal{A}_{k-i-l}\), and thus \(\kappa_{\mathbf{y}_a}\) and \(\kappa_{\mathbf{y}_b}\) both count only leaves that belong to a sub-tree for vertices \(v\) of \(G\) that have distance of \(k-i-l\) from the root and with \(g(v)=B_{a,b}\). But for each such \(v\) the entire sub-tree of \(v\) cycles between \(p_{\mathbf{y}_a}\) and \(p_{\mathbf{y}_b}\) at least \((h_{\epsilon_{14}}(\lfloor\frac{n^{1-\epsilon_{4}}}{m}\rfloor))^l\) times, while containing at most \((h_{\epsilon_{14}}(\lfloor\frac{n^{1-\epsilon_{4}}}{m}\rfloor))^l\) leaves that count towards \(\kappa_{\mathbf{y}_a}\) as well as at most \((h_{\epsilon_{14}}(\lfloor\frac{n^{1-\epsilon_{4}}}{m}\rfloor))^l\) leaves that count towards \(\kappa_{\mathbf{y}_b}\). Hence it holds
\[\begin{gather} |c_a(\alpha_{..j})-c_b(\alpha_{..j})|\leq 2(h_{\epsilon_{14}}(\lfloor\frac{n^{1-\epsilon_{4}}}{m}\rfloor))^l n^{1-\epsilon_{9}} = 2(\lfloor(\lfloor\frac{n^{1-\epsilon_{4}}}{m}\rfloor)^{1-\epsilon_{14}}\rfloor)^l n^{1-\epsilon_{9}} \leq \\ 2((n^{1-\epsilon_{4}})^{1-\epsilon_{14}})^l n^{1-\epsilon_{9}} = 2(n^{1-\epsilon_{14}-(1-\epsilon_{14})\epsilon_{4}})^l n^{1-\epsilon_{9}} = 2n^{l-l\epsilon_{14}-l(1-\epsilon_{14})\epsilon_{4}} n^{1-\epsilon_{9}} =\\ 2n^{l+1-\epsilon_{9}-l\epsilon_{14}-l(1-\epsilon_{14})\epsilon_{4}} \leq n^{l+1-\epsilon_{31}} \end{gather}\] assuming \[\label{eq-epsbound-bvcyuviuib6} -\epsilon_{31}>-\epsilon_{9}-k\epsilon_{14}-k(1-\epsilon_{14})\epsilon_{4}\tag{20}\]
If \(l=0\) then either there is some \(b'\) at level distance at least \(1\) from \(a\) that is also preventing \(b_a\) from being increased, or \(b_b(\alpha_{..j})>b_b(\alpha_{..j-1})\) which then contradicts that \(b_a(\alpha_{..j})=b_a(\alpha_{..j-1})\) (since in such case both \(b_a\) and \(b_b\) have the same constraints on when they are being increased). Thus we can wlog. assume that \(p_{\mathbf{y}_a}\neq p_{\mathbf{y}_b}\) and thus also \(b_{b}(\alpha_{..j})=b_b(\alpha_{..j-1})\).
And from the induction assumption, we have that \(b_b(\alpha_{..j})=b_b(\alpha_{..j-1}) \geq c_b(\alpha_{..j-1})\) as well as \(b_a(\alpha_{..j}) \geq c_a(\alpha_{..j-1})\)
If \(c_a(\alpha_{..j})=c_a(\alpha_{..j-1})\) then it holds \(b_a(\alpha_{..j})=b_a(\alpha_{..j-1})\leq c_a(\alpha_{..j-1})=c_a(\alpha_{..j})\). Thus we can assume that \(c_a(\alpha_{..j})=c_a(\alpha_{..j-1})+n^{1-\epsilon_{9}}\). But this means that \(c_a(\alpha_{..j-1})=c_a(\alpha_{..j})\) (since both \(\kappa_{\mathbf{y}_a}\) and \(\kappa_{\mathbf{y}_b}\) count different leaves).
Thus it holds \[\begin{gather} b_a(\alpha_{..j}) - \frac{a_a}{a_b}(n^{1-\epsilon_{9}})^{l+1}=b_a(\alpha_{..{j-1}}) - \frac{a_a}{a_b}(n^{1-\epsilon_{9}})^{l+1} \geq b_b(\alpha_{..j}) \geq c_b(\alpha_{..j-1}) = c_b(\alpha_{..j}) \end{gather}\]
which gives us \[b_a(\alpha_{..j}) \geq c_b(\alpha_{..j}) + \frac{a_a}{a_b}(n^{1-\epsilon_{9}})^{l+1} = c_b(\alpha_{..j}) + \frac{a_a}{a_b}n^{l+1-(l+1)\epsilon_{9}}\]
but from \(|c_a(\alpha_{..j})-c_b(\alpha_{..j})|\leq n^{l+1-\epsilon_{31}}\) we get \[c_a(\alpha_{..j}) \leq c_b(\alpha_{..j}) +n^{l+1-\epsilon_{31}} \leq c_b(\alpha_{..j}) + \frac{a_a}{a_b}n^{l+1-(l+1)\epsilon_{9}} \leq b_a(\alpha_{..j})\]
assuming \[\label{eq-epsbound-bvcyuviuib7} -\epsilon_{31}<-(k+1)\epsilon_{9}\tag{21}\] Thus the induction step holds for all sufficiently large \(n\). ◻
In this Section we show that the strategy \(\sigma_{\epsilon}\) as described above when initiated in a pointing configuration with counters set to \(\vec{n}\) points to \(\mathcal{M}_{\hat{\mathbf{r}}}\) at least \(n^{k+1-\epsilon}\) times with probability \(p_n\) such that \(\lim_{n\rightarrow\infty}p_n=1\).
We will show that probability of any bin depleting any counter before \(n^{k+1-\epsilon}\) pointings at \(\mathcal{M}_{\hat{\mathbf{r}}}\) goes to \(0\) as \(n\) goes to \(\infty\), which would prove our claim as the whole computation surely cannot terminate sooner then any of the individual bins (once \(\mathbf{v}_0\) is reached and the bins are formed).
First note that the probability of \(\sigma_\epsilon\) dying before reaching \(\mathbf{v}_0\), and subsequently forming the bins, using \(\pi\) is \(p_{n,1}\) satisfying \(\lim_{n \rightarrow \infty}p_{n,1}=0\).
The probability that moving to \(p_B\) needs more than \(n^{\epsilon_{30}}\) steps is \(p_{n,2}\) such that \(\lim_{n\rightarrow\infty} p_{n,2}=0\), this follows from Markov inequality since the expected number of steps to reach the destination state is a constant independent of \(n\).
Hence probability of \(\sigma_\epsilon\) dying before reaching \(p_B\) with all the bins initiated to \(\lfloor \frac{\mathbf{v}_0}{m} \rfloor\) is at most \(p_{n,1}+p_{n,2}\) and \(\lim_{n\rightarrow\infty}p_{n,1}+p_{n,2}=0\).
High-bin: Note that the probability \(p_{n,3}\) of any counter in the high-bin running out before \(n^{k+1-\epsilon}\) pointings at \(\mathcal{M}_{\hat{\mathbf{r}}}\) also goes to \(0\) as \(n\rightarrow\infty\), since this bin effectively simulates a computation on the VASS Markov chain \(\mathcal{M}_{\hat{\mathbf{r}}}\) restricted only to counters that are initialized to at least \(\lfloor \frac{n^{\lceil \frac{k+1}{2}\rceil-\epsilon_{4}}}{m} \rfloor\) while the effect of \(\mathcal{M}_{\hat{\mathbf{r}}}\) on all these counters is either zero-bounded or zero-unbounded. And from theorem 3 we have that this computation has a quadratic lower asymptotic estimate on it’s length before terminating. And for all sufficiently large \(n\) it holds \[\begin{gather} (\lfloor \frac{n^{\lceil \frac{k+1}{2}\rceil-\epsilon_{4}}}{m} \rfloor)^{2-\epsilon_{15}} \geq (\lfloor \frac{n^{\frac{k+1}{2}-\epsilon_{4}}}{m} \rfloor)^{2-\epsilon_{15}} \geq ( \frac{n^{\frac{k+1}{2}-\epsilon_{4}}}{m} -1)^{2-\epsilon_{15}} \geq ( \frac{n^{\frac{k+1}{2}-\epsilon_{4}}}{2m})^{2-\epsilon_{15}} \geq \\ \frac{n^{(2-\epsilon_{15})\frac{k+1}{2}-(2-\epsilon_{15})\epsilon_{4}}}{(2m)^{2-\epsilon_{15}}} = \frac{n^{k+1-\epsilon_{15}\frac{k+1}{2}-(2-\epsilon_{15})\epsilon_{4}}}{(2m)^{2-\epsilon_{15}}} \geq n^{k+1-\epsilon} \end{gather}\]
assuming \[\label{eq-epsbound-bvcyuviuib8} -\epsilon<-\epsilon_{15}\frac{k+1}{2}-(2-\epsilon_{15})\epsilon_{4}\tag{22}\] Thus probability \(p_{n,3}\) of any counter in the high-bin becoming negative before \(n^{k+1-\epsilon}\) pointings at \(\mathcal{M}_{\hat{\mathbf{r}}}\) satisfies \(\lim_{n\rightarrow\infty} p_{n,3}=0\).
Main-bin: The only way for the main-bin to drop below \(0\) in any counter \(c\) is if while iterating \(\mathcal{M}_{\hat{\mathbf{r}}}\) the effect on c between two visits of \(p_\mathbf{r}\) is at most \(-n^{1-\epsilon_{16}}\), for \[\label{eq-epsbound-bvcyuviuib9} \epsilon_{16}>\epsilon_{4}\tag{23}\] which is only possible if this computation is longer than \(n^{1-\epsilon_{17}}\) for \[\label{eq-epsbound-bvcyuviuib10} \epsilon_{17}>\epsilon_{16}\tag{24}\] (since each step can change the counters by at most a constant value). And the probability of the iterations of \(\mathcal{M}_{\hat{\mathbf{r}}}\) producing such a path within first \(n^{k+1-\epsilon}\) iterations goes to \(0\) as \(n\rightarrow \infty\) since each at most constant number of steps the probability of having returned to \(p_\mathbf{r}\) is lower bounded by a positive constant, and hence if \(X\) denotes the numbers of such sub-computations on \(\mathcal{M}_{\hat{\mathbf{r}}}\) that do not contain \(p_{\mathbf{r}}\) and are of length \(n^{1-\epsilon_{17}}\) withing the first \(n^{k+1-\epsilon}\) pointings has expectation \(\mathbb{E}_{p_\mathbf{r}\vec{n}}^{\sigma_\mathbf{r}}[X]\textit{len}^{k+1-\epsilon}a^{n^{1-\epsilon_{17}}}\) for some \(a<1\), and thus from the Markov inequality it holds \(\mathbb{E}_{p_\mathbf{r}\vec{n}}^{\sigma_\mathbf{r}}[X\geq 1]\leq n^{k+1-\epsilon}a^{n^{1-\epsilon_{17}}}\) and \(\lim_{n\rightarrow\infty}n^{k+1-\epsilon}a^{n^{1-\epsilon_{17}}}=0\).
\(\mathbf{u}\)-bin: Note that whenever \(\sigma_\epsilon\) points at \(\mathcal{M}_{\hat{\mathbf{r}}}\) while in \(p_\mathbf{r}\) it holds \(|a_\mathbf{u}|< n^{i-\epsilon_{5}}\) for each \(\mathbf{u}\in BASIS_i\). Hence the minimal value of each counter \(c\in C_j\) for \(j\leq k-i\) in any \(\mathbf{u}\)-bin at this point is \(\lfloor \frac{n^{j-\epsilon_{4}}}{m}\rfloor-n^{i-\epsilon_{18}}\) for \[\label{eq-epsbound-bvcyuviuib11} \epsilon_{18}<\epsilon_{5}\tag{25}\] which for \[\label{eq-epsbound-bvcyuviuib12} \epsilon_{4}< \epsilon_{18}\tag{26}\] is larger than \(0\) for all sufficiently large \(n\).
Thus if \(\sigma_{\epsilon}\) does not point at \(\mathcal{M}_{\hat{\mathbf{r}}}\) at least \(n^{k+1-\epsilon}\) times with high enough probability then it must die while performing some \(\mathbf{s}\)-reset-procedure.
We shall divide the following proof into three parts, first we will show that with high enough probability \(\sigma_{\epsilon}\) cannot deplete any counter from \(C_1,\dots,C_{\lfloor \frac{k}{2} \rfloor}\) during a \(\mathbf{s}\)-reset for \(\mathbf{s}\in BASIS_i\cup -BASIS_i\) before pointing to \(\mathcal{M}_{\mathbf{r}}\) at least \(n^{k+1-\epsilon}\) times, and then we shall show the same separately for the remaining counters from \(C_{\lfloor \frac{k}{2} \rfloor +1},\dots,C_{k-i}\) and then finally for the counters from \(C_{k-i+1},\dots,C_{k-1}, C_{k+}\).
For the \(C_1,\dots,C_{\lfloor \frac{k}{2} \rfloor}\) part: First let us show that the \(\mathbf{u}\)-bin corresponding to either \(\mathbf{s}\) or \(-\mathbf{s}\) (only one of these exists) cannot get depleted on these counters during a \(\mathbf{s}\)-reset-procedure. At each point it holds that the counters vector in the \(\mathbf{u}\)-bin is equal to \(\lfloor \frac{\mathbf{v}_0}{m} \rfloor + a_\mathbf{u}\mathbf{u}\), and since during the \(\mathbf{s}\)-reset-procedure the value \(|a_\mathbf{u}|\) can only decrease no counter from \(C_1,\dots,C_{\lfloor \frac{k}{2} \rfloor}\) can ever become negative during any reset procedure in the \(\mathbf{u}\)-bin unless this counter was negative before this reset procedure even began.
Thus from Lemmas 30 and 31 the probability \(p_{n,\mathbf{s}}\) of any counter \(c\in C_1,\dots,C_{\lfloor \frac{k}{2} \rfloor}\) becoming negative in any bin modified during the \(\mathbf{s}\)-reset-procedure before \(\mathbf{s}\)-reset-procedure takes the “interface transition” at least \(n^{k-i+1-\epsilon_{10}}\) times satisfies \(\lim_{n\rightarrow\infty} p_{n,\mathbf{s}}=0\). And since the \(\mathbf{s}\)-reset-procedure gets paused every at least \(n^{i-\epsilon_{5}}+n^{\epsilon_{17}}\leq n^{i-\epsilon_{19}}\) times it uses the “interface transition”, assuming \[\label{eq-epsbound-bvcyuviuib13} \epsilon_{19}<\epsilon_{5}\tag{27}\] \(None\) and \[\label{eq-epsbound-bvcyuviuib14} \epsilon_{17}<1-\epsilon_{5}\tag{28}\] it holds that \(p_{n,\mathbf{s}}\) is also an upper bound on the probability of of any counter \(c\in C_1,\dots,C_{\lfloor \frac{k}{2} \rfloor}\) becoming negative in any bin used by the \(\mathbf{s}\)-reset-procedure before this \(\mathbf{s}\)-reset-procedure procedure is paused and unpaused at least \(\frac{n^{k-i+1-\epsilon_{10}}}{n^{i-\epsilon_{19}} }=n^{k-2i+1-\epsilon_{10}+\epsilon_{19}}\leq n^{k-2i+1-\epsilon_{20}}\) times, where \[\label{eq-epsbound-bvcyuviuib15} \epsilon_{20}<\epsilon_{10}-\epsilon_{19}\tag{29}\] And from Lemma 34 there the probability of there being at least \(n^{k-2i+1-\epsilon_{20}}\) such resets converges to \(1\) as \(n\) goes to \(\infty\).
For the \(C_{\lfloor \frac{k}{2} \rfloor+1} ,\dots,C_{k-i}\) part: From Lemma 31 we have that the probability of any counter from \(C_{\lfloor \frac{k}{2} \rfloor+1} ,\dots,C_{k-i}\) being depleted in either bin directly modified by \(\sigma_\mathbf{s}^{\epsilon_{9}}\) in a \(\mathbf{s}\)-reset-procedure is \(p_{n,\mathbf{r},1}\) with \(\lim_{n\rightarrow\infty}p_{n,\mathbf{r},1}=0\). The only remaining bin where any counter from \(C_{\lfloor \frac{k}{2} \rfloor+1} ,\dots,C_{k-i}\) is modified during a \(\mathbf{s}\)-reset-procedure is the high-\(\mathbf{u}\)-bin, and it holds that the total effect of a \(\mathbf{s}\)-reset-procedure from the moment it gets unpaused until it gets paused again on the counter \(c\in C_j\) for \(j\in \{\lfloor \frac{k}{2} \rfloor+1 ,\dots,C_{k-1}\}\) in the high-\(\mathbf{u}\)-bin is \(a_\mathbf{u}\mathbf{u}(c)\) where \(\mathbf{u}\in BASIS_i\cap \{\mathbf{r},-\mathbf{r}\}\) and \(a_\mathbf{u}\) is the value of \(a_\mathbf{u}\) at the moment the \(\mathbf{s}\)-reset-procedure is unpaused. And let \(X_\mathbf{u}^\kappa\) be the random variable corresponding to the value of \(a_\mathbf{u}\) at the moment either \(\mathbf{s}\)-reset-procedure or the \((-\mathbf{s})\)-reset-procedure is unpaused for the \(\kappa\)-th time. Furthremore, let \(X_\kappa\) be the value of the counter \(c\) in the high-\(\mathbf{u}\)-bin at the moment of the \(\kappa\)-th pausing of either \(\mathbf{u}\)-reset-procedure or \((-\mathbf{u})\)-reset-procedure (i.e., either one counts).
Then since from the Lemma 33 we have \(\mathbb{E}_n(X_\mathbf{u})=0\) and it also holds that \(|X^\kappa_\mathbf{u}|\leq n^{i-\epsilon_{5}}+n^{\epsilon_{17}}\) as well as \(X_\kappa=X_{\kappa-1}+X^\kappa_\mathbf{u}\) it holds that \(X_0,X_1,X_2,\dots\) is a martingale with \(|X_{\kappa}-X_{\kappa+1}|\leq n^{i-\epsilon_{5}}+n^{\epsilon_{17}}\). Therefore we can apply Azuma’s inequality to obtain that \[\mathbb{P}_{p\vec{n}}^{\sigma_{\epsilon}}(|X_{\kappa}-X_0|\geq n^{j-\epsilon_{23}})\leq 2 \exp(\frac{-(n^{j-\epsilon_{23}})^2 }{2\sum_{r=1}^{\kappa} (n^{i-\epsilon_{5}}+n^{\epsilon_{17}})^2 })\] Which for \(\kappa=n^{k-2i+1-\epsilon_{22}}\) gives us \[\begin{gather} \mathbb{P}(|X_{n^{k-2i+1-\epsilon_{22}}}-X_0|\geq n^{j-\epsilon_{23}})\leq 2 \exp(\frac{-n^{2j-2\epsilon_{23}} }{2\sum_{r=1}^{n^{k-2i+1-\epsilon_{22}}} (n^{i-\epsilon_{5}}+n^{\epsilon_{17}})^2 }) =\\ 2 \exp(\frac{-n^{2j-2\epsilon_{23}} }{2n^{k-2i+1-\epsilon_{22}} (n^{i-\epsilon_{5}}+n^{\epsilon_{17}})^2 }) = 2 \exp(\frac{-n^{2j-k+2i-1+\epsilon_{22}-2\epsilon_{23}} }{2 (n^{i-\epsilon_{5}}+n^{\epsilon_{17}})^2 }) \leq \\ 2 \exp(\frac{-n^{2j-k+2i-1+\epsilon_{22}-2\epsilon_{23}} }{ (n^{i-\epsilon_{21}})^2 }) \end{gather}\]
where we assume \[\label{eq-epsbound-bvcyuviuib16} \epsilon_{21}<\epsilon_{5}\tag{30}\] and \[\label{eq-epsbound-bvcyuviuib17} \epsilon_{17}<1-\epsilon_{5}\tag{31}\] We can further rewrite
\[\begin{gather} 2 \exp(\frac{-n^{2j-k+2i-1+\epsilon_{22}-2\epsilon_{23}} }{ (n^{i-\epsilon_{21}})^2 }) = 2 \exp(\frac{-n^{2j-k+2i-1+\epsilon_{22}-2\epsilon_{23}} }{ n^{2i-2\epsilon_{21}} }) =\\ 2 \exp(-n^{2j-k+2i-2i-1+2\epsilon_{21}+\epsilon_{22}-2\epsilon_{23}} ) = 2 \exp(-n^{2j-k-1+2\epsilon_{21}+\epsilon_{22}-2\epsilon_{23}} ) \end{gather}\]
and since \(j\geq \lfloor\frac{k}{2} \rfloor+1\) it holds \(2j-k-1\geq 0\), thus
\[2 \exp(-n^{2j-k-1+2\epsilon_{21}+\epsilon_{22}-2\epsilon_{23}} ) \leq 2 \exp(-n^{0+2\epsilon_{21}+\epsilon_{22}-2\epsilon_{23}} )\]
which for \[\label{eq-epsbound-bvcyuviuib171} 2\epsilon_{21}+\epsilon_{22}-2\epsilon_{23}>0\tag{32}\] satisfies \(\lim_{n\rightarrow\infty} 2 \exp(-n^{0+2\epsilon_{21}+\epsilon_{22}-2\epsilon_{23}} ) =0\). And from Lemma 34 there the probability of there being at least \(n^{k-2i+1-\epsilon_{22}}\) such "resets" converges to \(1\) as \(n\) goes to \(\infty\).
For the \(C_{k+}\) part: From Lemma 31 we have that the probability of any counter from \(C_{k+}\) being depleted in any bin directly modified by \(\sigma_\mathbf{s}^{\epsilon_{9}}\) in a \(\mathbf{s}\)-reset-procedure is \(p_{n,\mathbf{s},1}\) with \(\lim_{n\rightarrow\infty}p_{n,\mathbf{s},1}=0\). The only remaining bin where any counter from \(C_{k+}\) is modified during a \(\mathbf{s}\)-reset-procedure is the high-\(\mathbf{u}\)-bin. But each counter \(c\in C_{k+}\) starts at at least \(\lfloor \frac{n^{k-\epsilon_{4}}}{m} \rfloor\) in the high-\(\mathbf{u}\)-bin and during every \(\mathbf{u}\)-reset or \((-\mathbf{u})\)-reset it gets decreased by at most \(u(n^{i-\epsilon_{5}}+n^{\epsilon_{24}})\), where \(\mathbf{u}\in BASIS_i\) and \(u=\max \{|\Delta(\mathbf{x}_{i,\mathbf{u}}^+)(c)|,|\Delta(\mathbf{x}_{i,\mathbf{u}}^-)(c)| \}\). Thus the counter \(c\) cannot get depleted in the high-\(\mathbf{u}\)-bin until a \(\mathbf{u}\)-reset or \((-\mathbf{u})\)-reset is performed at least \[\frac{\lfloor \frac{n^{k-\epsilon_{4}}}{m} \rfloor}{ u(n^{i-\epsilon_{5}}+n^{\epsilon_{24}}) } \geq \frac{\frac{n^{k-\epsilon_{4}}}{m}-1 }{ u(n^{i-\epsilon_{5}}+n^{\epsilon_{24}}) } \geq \frac{\frac{n^{k-\epsilon_{4}}}{m}-1 }{ n^{i-\epsilon_{25}} }\] assuming \[\label{eq-epsbound-bvcyuviuib18} \epsilon_{25}<\epsilon_{5}\tag{33}\] and\[\label{eq-epsbound-bvcyuviuib19} 1-\epsilon_{25}>\epsilon_{17}\tag{34}\]
\[\frac{\frac{n^{k-\epsilon_{4}}}{m}-1 }{ n^{i-\epsilon_{25}} } \geq \frac{\frac{n^{k-\epsilon_{4}}}{2m} }{ n^{i-\epsilon_{25}} } = \frac{n^{k-i+\epsilon_{25}-\epsilon_{4}} }{ 2m } \geq n^{k-i-\epsilon_{26}}\] assuming \[\label{eq-epsbound-bvcyuviuib20} \epsilon_{26}\leq \epsilon_{4}-\epsilon_{25}\tag{35}\] and\[\label{eq-epsbound-bvcyuviuib21} \epsilon_{17}<1\tag{36}\] And from Lemma 34 there the probability of there being at least \(n^{k-i-\epsilon_{26}}\) such "resets" converges to \(1\) as \(n\) goes to \(\infty\).
Lemma 33. let \(X_\mathbf{u}\) be the random variable corresponding to the value of \(a_\mathbf{u}\) at the moment either \(\mathbf{u}\)-reset-procedure or the \((-\mathbf{u})\)-reset-procedure is unpaused. Then it holds \(\mathbb{E}_n(X_\mathbf{u})=0\).
Proof. (note that this is not exactly true, but we can show that it does hold if we modify \(\sigma_{\epsilon}\) to always subtract a very small constant equal to \(\mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[f_\mathbf{u}(E_{\hat{\mathbf{r}}})]\) from \(a_\mathbf{u}\) whenever it modifies it upon reaching \(p_\mathbf{r}\) from the iterating on \(\mathcal{M}_{\hat{\mathbf{r}}}\), and over the first \(n^{k+1-\epsilon}\) pointings at \(\mathcal{M}_{\hat{\mathbf{r}}}\) the total effect of this addition will not even be enough to add up to \(1\), thus we can safely ignore it. We leave it out of the definition of \(\sigma_\epsilon\) as it would considerably increase the technical difficulty of all the above proofs)
Notice that \(X_\mathbf{u}\) (with the aforementioned modification) corresponds to the random variable \(S_\tau\) defined as follows: \(S_0=0\), \(S_i=S_{i-1}+f_\mathbf{u}(E_{\hat{\mathbf{r}}}^{\epsilon_{17}})-\mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[f_\mathbf{u}(E_{\hat{\mathbf{r}}})]\), where \(f_\mathbf{u}(E_{\hat{\mathbf{r}}}^{\epsilon_{17}})\) is as defined in Lemma 29, and \(\tau\) is a stopping time such that \(|S_\tau|\geq n^{i-\epsilon_{5}}\). From Lemma 29 we have that \(\big|\mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[f_\mathbf{u}(E_{\hat{\mathbf{r}}}^{\epsilon_{17}})]\big|\in O(a^{ n^{\epsilon_{27}}})\) for some \(a<1\) and \[\label{eq-epsbound-bvcyuviuib22} \epsilon_{17}>\epsilon_{27}\tag{37}\] and thus \(\big|\mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[f_\mathbf{u}(E_{\hat{\mathbf{r}}}^{\epsilon_{17}})]\leq ba^{n^{\epsilon_{27}}}\) for some constant \(b\) and for all sufficiently large \(n\).
Clearly it holds \(\mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[S_i]=0\) and therefore from the optional stopping theorem it holds \(0=\mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[S_0]=\mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[S_\tau]\). If \(\tau>n^{k+1-\epsilon}\) then \(\sigma_{\epsilon}\) had to already point at \(\mathcal{M}_{\hat{\mathbf{r}}}\) at least \(n^{k+1-\epsilon}\) times, and thus we do not have to consider such case. And if \(\tau\leq n^{k+1-\epsilon}\) then it holds that \(\tau|\mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[f_\mathbf{u}(E_{\hat{\mathbf{r}}})]|\leq n^{k+1-\epsilon}ba^{n^{\epsilon_{27}}}\) and it holds \(\lim_{n\rightarrow\infty}n^{k+1-\epsilon}ba^{n^{\epsilon_{27}}}=0\), thus the difference caused by our modification of \(\sigma_\epsilon\) is negligible. ◻
Number of resets: Thus it now suffices to show that the probability of there being at least \(n^{k+1-\epsilon}\) pointings at \(\mathcal{M}_{\hat{\mathbf{r}}}\) before there are at least \(\min(n^{k-i-\epsilon_{26}}, n^{k-2i+1-\epsilon_{20}}, n^{k-2i+1-\epsilon_{22}} )\geq \lfloor n^{k-2i+1-\epsilon_{28}}\rfloor\) \(\mathbf{u}\)-resets or \((-\mathbf{u})\)-resets for each \(\mathbf{u}\in BASIS_i\) goes to \(1\) as \(n\) goes to infinity, where \[\label{eq-epsbound-bvcyuviuib23} \epsilon_{28}>\epsilon_{20}\tag{38}\] \[\label{eq-epsbound-bvcyuviuib24} \epsilon_{28}>\epsilon_{22}\tag{39}\] \[\label{eq-epsbound-bvcyuviuib25} \epsilon_{28}-1<-\epsilon_{26}\tag{40}\]
Lemma 34. For each \(\mathbf{u}\in BASIS_i\) the probability of \(\sigma_{\epsilon}\) making at least \(n^{k+1-\epsilon}\) poinitngs at \(\mathcal{M}_{\hat{\mathbf{r}}}\) before there are \(\lfloor n^{k-2i+1-\epsilon_{28}}\rfloor\) \(\mathbf{u}\)-resets or "\(-\mathbf{u}\)"-"resets" goes to \(1\) as \(n\) goes to \(\infty\).
Proof. Let \(Z_n^\mathbf{u}\) denote the number of \(\mathbf{u}\)-"resets" or \((-\mathbf{u})\)-"resets" for \(\mathbf{u}\in BASIS_i\) that do not give us at least \(n^{2i-\epsilon_{30}}\) pointings at \(\mathcal{M}_{\hat{\mathbf{r}}}\) among the first \(\lfloor n^{k-2i+1-\epsilon_{28}}\rfloor\) such "resets", conditioned there are at least \(n^{k-2i+1-\epsilon_{28}}\) such resets (i.e., every time \(\sigma_{\epsilon}\) pointed at \(\mathcal{M}_{\hat{\mathbf{r}}}\) less than \(n^{2i-\epsilon_{30}}\) times before \(|a_\mathbf{u}|\geq n^{i-\epsilon_{5}}\) since the last time a \(\mathbf{u}\)-reset or \((-\mathbf{u})\)-reset happened then we add \(+1\) to \(Z_n^u\), but only if the total number of times these rests happened is no larger than \(n^{k-2i+1-\epsilon_{28}}\)). We denote by * the event of there being at least \(n^{k-2i+1-\epsilon_{28}}\) such reset. It holds \(\mathbb{E}_{p\vec{n}}^{\sigma_{\epsilon}}(Z_n^\mathbf{u}\mid *)= q_n^\mathbf{u}\lfloor n^{k-2i+1-\epsilon_{28}}\rfloor\), where \(q_n^\mathbf{u}\) is the probability that a single \(\mathbf{u}\)-reset or \((-\mathbf{u})\)-reset does not give at least \(n^{2i-\epsilon_{30}}\) pointings at \(\mathcal{M}_{\hat{\mathbf{r}}}\).
We can upper bound \(q_n^\mathbf{u}\) using Azuma inequality as follows: Let \(S_0=0\) and \(S_i=S_{i-1}+f_\mathbf{u}(E_{\hat{\mathbf{r}}}^{\epsilon_{17}})-\mathbb{E}_{p_{\mathbf{r}}\vec{0}}^\sigma[f_\mathbf{u}(E_{\hat{\mathbf{r}}})]\) (again here we consider the \(\sigma_{\epsilon}\) modified as described under Lemma 33), then \(S_0,S_1,\dots\) is a martingale with \(|S_i-S_{i-1}|\leq un^{\epsilon_{17}}\) for some constant \(u\), and it holds that the number of pointings at \(\mathcal{M}_{\hat{\mathbf{r}}}\) per single \(\mathbf{u}\)-reset or \((-\mathbf{u})\)-reset is at least \(\tau\) where \(\tau\) is the stopping time such that \(|S_\tau|\geq n^{i-\epsilon_{5}}\). Thus from Azuma inequality we get \[\begin{gather} q_n^\mathbf{u}\leq \mathbb{P}[|S_{n^{2i-\epsilon_{30}}}-S_0|\geq n^{i-\epsilon_{5}}]\leq 2\exp(\frac{-(n^{i-\epsilon_{5}})^2}{2\sum_{j=1}^{n^{2i-\epsilon_{30}}}(un^{\epsilon_{17}})^2 }) = \\ 2\exp(\frac{-n^{2i-2\epsilon_{5}}}{2n^{2i-\epsilon_{30}}u^2n^{2\epsilon_{17}} }) = 2\exp(\frac{-n^{2i-2i+\epsilon_{30}-2\epsilon_{5}-2\epsilon_{17}}}{2u^2 }) = 2\exp(\frac{-n^{\epsilon_{30}-2\epsilon_{5}-2\epsilon_{17}}}{2u^2}) \end{gather}\]
and for \[\label{eq-epsbound-bvcyuviuib26} 0\leq \epsilon_{30}-2\epsilon_{5}-2\epsilon_{17}=\epsilon_{29}\tag{41}\] it holds that \[\lim_{n\rightarrow\infty}q_n^\mathbf{u}\leq \lim_{n\rightarrow\infty} 2\exp(\frac{-n^{\epsilon_{29}}}{2u^2})=0\]
Therefore from Markov inequality we obtain \[\mathbb{P}[Z_n^\mathbf{u}\geq \frac{1}{2}\lfloor n^{k-2i+1-\epsilon_{28}}\rfloor\mid * ] \leq \frac{2q_n^\mathbf{u}\lfloor n^{k-2i+1-\epsilon_{28}}\rfloor}{\lfloor n^{k-2i+1-\epsilon_{28}}\rfloor} = 2q_n^\mathbf{u}\] Thus it holds it holds \(\lim_{n\rightarrow\infty}\mathbb{P}[Z_n^\mathbf{u}\geq \frac{1}{2}\lfloor n^{k-2i+1-\epsilon_{28}}\rfloor\mid * ]\leq \lim_{n\rightarrow\infty}2q_n^\mathbf{u}=0\).
Thus the probability of there being at least \(n^{2i-\epsilon_{30}} \lfloor n^{k-2i+1-\epsilon_{28}}\rfloor\geq \frac{1}{2}n^{k+1-\epsilon_{30}-\epsilon_{28}}\) pointings at \(\mathcal{M}_{\hat{\mathbf{r}}}\) before there are at least \(n^{k-2i+1-\epsilon_{28}}\) \(\mathbf{u}\)-"resets" or \((-\mathbf{u})\)-"resets" for each \(\mathbf{u}\in BASIS_i\) goes to \(1\) as \(n\) goes to infinity. And assuming \[\label{eq-epsbound-bvcyuviuib27} \epsilon_{30}+\epsilon_{28}<\epsilon\tag{42}\] it holds \(n^{k+1-\epsilon}\leq \frac{1}{2}n^{k+1-\epsilon_{30}-\epsilon_{28}}\) for all sufficiently large \(n\). ◻
Hence \(\sigma_\epsilon\) satisfies \(\lim_{n\rightarrow\infty}\mathbb{P}_{p\vec{n}}^{\sigma_\epsilon}[\pazocal{P}_{\pazocal{A}_{+\hat{br}}}[\mathcal{M}_{\hat{\mathbf{r}}}]]=1\).
It remains to show there exist values for \(\epsilon_1,\epsilon_2,\dots\) that satisfy all of our assumptions. We do this in Table 3.
| \(\epsilon\) assignment | restrictions | |
|---|---|---|
| \(\epsilon_1=\epsilon\) | \(0<\epsilon_1,\epsilon_2,\dots\) | |
| \(\epsilon_2=\epsilon\) | \(\epsilonr_{5}< k\epsilonr_{9}\) | [eq-epsbound-bvcyuviuib] |
| \(\epsilon_{3}=\epsilon\) | \(\epsilonr_{12}>\epsilonr_{10}\) | [eq-epsbound-bvcyuviuib2] |
| \(\epsilon_{4}=\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{40}}\) | \(\epsilonr_{10}<\epsilonr_{12}<1\) | [eq-epsbound-bvcyuviuib3] |
| \(\epsilon_{5}=\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{29}}\) | \(\epsilonr_{4}+\epsilonr_{11}<\epsilonr_{12}\) | [eq-epsbound-bvcyuviuib4] |
| \(\epsilon_{6}=\epsilon\) | \(\epsilonr_{9}+(\epsilonr_{14}-(1-\epsilonr_{14})\epsilonr_{4})>\epsilonr_{10}\) | [eq-epsbound-bvcyuviuib5] |
| \(\epsilon_{7}=\epsilon\) | \(-\epsilonr_{31}>-\epsilonr_{9}-k\epsilonr_{14}-k(1-\epsilonr_{14})\epsilonr_{4}\) | [eq-epsbound-bvcyuviuib6] |
| \(\epsilon_{8}=\epsilon\) | \(-\epsilonr_{31}<-(k+1)\epsilonr_{9}\) | [eq-epsbound-bvcyuviuib7] |
| \(\epsilon_{9}=\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{25}}\) | \(-\epsilon<-\epsilonr_{15}\frac{k+1}{2}-(2-\epsilonr_{15})\epsilonr_{4}\) | [eq-epsbound-bvcyuviuib8] |
| \(\epsilon_{10}=\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{25}}\) | \(\epsilonr_{16}>\epsilonr_{4}\) | [eq-epsbound-bvcyuviuib9] |
| \(\epsilon_{11}=\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{90}}\) | \(\epsilonr_{17}>\epsilonr_{16}\) | [eq-epsbound-bvcyuviuib10] |
| \(\epsilon_{12}=\nicefrac{9}{10}\) | \(\epsilonr_{18}<\epsilonr_{5}\) | [eq-epsbound-bvcyuviuib11] |
| \(\epsilon_{13}=\epsilon\) | \(\epsilonr_{4}< \epsilonr_{18}\) | [eq-epsbound-bvcyuviuib12] |
| \(\epsilon_{14}=\frac{ \min(\epsilon,\nicefrac{1}{2})}{10^{20}}\) | \(\epsilonr_{19}<\epsilonr_{5}\) | [eq-epsbound-bvcyuviuib13] |
| \(\epsilon_{15}=\frac{\min(\epsilon,\nicefrac{1}{2})}{(k+1)\cdot 10^{20}}\) | \(\epsilonr_{17}<1-\epsilonr_{5}\) | [eq-epsbound-bvcyuviuib14] |
| \(\epsilon_{16}=\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{90}}\) | \(\epsilonr_{20}<\epsilonr_{10}-\epsilonr_{19}\) | [eq-epsbound-bvcyuviuib15] |
| \(\epsilon_{17}=\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{80}}\) | \(\epsilonr_{21}<\epsilonr_{5}\) | [eq-epsbound-bvcyuviuib16] |
| \(\epsilon_{18}=\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{30}}\) | \(\epsilonr_{17}<1-\epsilonr_{5}\) | [eq-epsbound-bvcyuviuib17] |
| \(\epsilon_{19}=\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{100}}\) | \(2\epsilonr_{21}+\epsilonr_{22}-2\epsilonr_{23}>0\) | [eq-epsbound-bvcyuviuib171] |
| \(\epsilon_{20}=\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{30}}\) | \(\epsilonr_{25}<\epsilonr_{5}\) | [eq-epsbound-bvcyuviuib18] |
| \(\epsilon_{21}=\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{30}}\) | \(1-\epsilonr_{25}>\epsilonr_{17}\) | [eq-epsbound-bvcyuviuib19] |
| \(\epsilon_{22}=\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{100}}\) | \(\epsilonr_{26}\leq \epsilonr_{4}-\epsilonr_{25}\) | [eq-epsbound-bvcyuviuib20] |
| \(\epsilonr_{23}=\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{100}}\) | \(\epsilonr_{17}<1\) | [eq-epsbound-bvcyuviuib21] |
| \(\epsilon_{24}=\epsilon\) | \(\epsilonr_{17}>\epsilonr_{27}\) | [eq-epsbound-bvcyuviuib22] |
| \(\epsilon_{25}=\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{100}}\) | \(\epsilonr_{28}>\epsilonr_{20}\) | [eq-epsbound-bvcyuviuib23] |
| \(\epsilon_{26}=\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{100}}\) | \(\epsilonr_{28}>\epsilonr_{22}\) | [eq-epsbound-bvcyuviuib24] |
| \(\epsilon_{27}=\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{100}}\) | \(\epsilonr_{28}-1<-\epsilonr_{26}\) | [eq-epsbound-bvcyuviuib25] |
| \(\epsilon_{28}=\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{20}}\) | \(0\leq \epsilonr_{30}-2\epsilonr_{5}-2\epsilonr_{17}=\epsilonr_{29}\) | [eq-epsbound-bvcyuviuib26] |
| \(\epsilon_{29}=\frac{\min(\epsilon,\nicefrac{1}{2})}{10}-2\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{29}}-2\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{80}}\) | \(\epsilonr_{30}+\epsilonr_{28}<\epsilon\) | [eq-epsbound-bvcyuviuib27] |
| \(\epsilon_{30}=\frac{\min(\epsilon,\nicefrac{1}{2})}{10}\) | ||
| \(\epsilon_{31}=(k+1)\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{24}}\) | ||
| After substitution | |
|---|---|
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{29}}< k\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{25}}\) | [eq-epsbound-bvcyuviuib] |
| \(\nicefrac{9}{10}>\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{25}}\) | [eq-epsbound-bvcyuviuib2] |
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{25}}<\nicefrac{9}{10}<1\) | [eq-epsbound-bvcyuviuib3] |
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{40}}+\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{90}}<\nicefrac{9}{10}\) | [eq-epsbound-bvcyuviuib4] |
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{25}}+(\frac{ \min(\epsilon,\nicefrac{1}{2})}{10^{20}} -(1-\frac{ \min(\epsilon,\nicefrac{1}{2})}{10^{20}} )\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{40}})>\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{25}}\) | [eq-epsbound-bvcyuviuib5] |
| \(-(k+1)\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{25}}>-\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{25}}-k\frac{ \min(\epsilon,\nicefrac{1}{2})}{10^{20}} -k(1-\frac{ \min(\epsilon,\nicefrac{1}{2})}{10^{20}} )\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{40}}\) | [eq-epsbound-bvcyuviuib6] |
| \(-(k+1)\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{24}}<-(k+1)\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{25}}\) | [eq-epsbound-bvcyuviuib7] |
| \(-\epsilon<-\frac{\min(\epsilon,\nicefrac{1}{2})}{(k+1)\cdot 10^{20}}\frac{k+1}{2}-(2-\frac{\min(\epsilon,\nicefrac{1}{2})}{(k+1)\cdot 10^{20}})\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{40}}\) | [eq-epsbound-bvcyuviuib8] |
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{90}}>\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{40}}\) | [eq-epsbound-bvcyuviuib9] |
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{80}}>\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{90}}\) | [eq-epsbound-bvcyuviuib10] |
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{30}}<\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{29}}\) | [eq-epsbound-bvcyuviuib11] |
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{40}}< \frac{\min(\epsilon,\nicefrac{1}{2})}{10^{30}}\) | [eq-epsbound-bvcyuviuib12] |
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{100}}<\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{29}}\) | [eq-epsbound-bvcyuviuib13] |
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{80}}<1-\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{29}}\) | [eq-epsbound-bvcyuviuib14] |
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{30}}<\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{25}}-\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{100}}\) | [eq-epsbound-bvcyuviuib15] |
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{30}}<\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{29}}\) | [eq-epsbound-bvcyuviuib16] |
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{80}}<1-\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{29}}\) | [eq-epsbound-bvcyuviuib17] |
| \(2\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{30}}+\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{100}}-2\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{100}}>0\) | [eq-epsbound-bvcyuviuib171] |
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{100}}<\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{29}}\) | [eq-epsbound-bvcyuviuib18] |
| \(1-\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{100}}>\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{80}}\) | [eq-epsbound-bvcyuviuib19] |
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{100}}\leq \frac{\min(\epsilon,\nicefrac{1}{2})}{10^{40}}-\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{100}}\) | [eq-epsbound-bvcyuviuib20] |
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{80}}<1\) | [eq-epsbound-bvcyuviuib21] |
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{80}}>\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{100}}\) | [eq-epsbound-bvcyuviuib22] |
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{20}}>\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{30}}\) | [eq-epsbound-bvcyuviuib23] |
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{20}}>\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{100}}\) | [eq-epsbound-bvcyuviuib24] |
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{20}}-1<-\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{100}}\) | [eq-epsbound-bvcyuviuib25] |
| \(0\leq \frac{\min(\epsilon,\nicefrac{1}{2})}{10}-2\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{29}}-2\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{80}}=\frac{\min(\epsilon,\nicefrac{1}{2})}{10}-2\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{29}}-2\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{80}}\) | [eq-epsbound-bvcyuviuib26] |
| \(\frac{\min(\epsilon,\nicefrac{1}{2})}{10}+\frac{\min(\epsilon,\nicefrac{1}{2})}{10^{20}}<\epsilon\) | [eq-epsbound-bvcyuviuib27] |
Hence Lemma 25 holds.
Lemma 35. Let \(\mathbf{r}\) be a component of \(\pazocal{A}\). If it holds \(Support^{C_1,\dots,C_l}(\hat{\mathbf{r}})\subseteq \Delta^{C_1,\dots,C_l}(X_{k-l,T_{k+1-l}})\) for all \(1\leq l\leq \lfloor\frac{k}{2}\rfloor\), then \(Support^{C_1,\dots,C_{\lfloor\frac{k}{2}\rfloor}}(\hat{\mathbf{r}})\subseteq R^{B_\mathbf{r},k}\).
Proof. Assume towards contradiction that \(Support^{C_1,\dots,C_l}(\hat{\mathbf{r}})\subseteq \Delta^{C_1,\dots,C_l}(X_{k-l,T_{k+1-l}})\) holds for for all \(1\leq l\leq \lfloor \frac{k}{2}\rfloor\), and that there exists \([\mathbf{v}_1,\dots,\mathbf{v}_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}\in Support^{C_1,\dots,C_{\lfloor\frac{k}{2}\rfloor}}(\hat{\mathbf{r}})\) such that \([\mathbf{v}_1,\dots,\mathbf{v}_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2}\rfloor}}\notin R^{B_\mathbf{r},k}\).
For each \(1\leq l\leq \lfloor \frac{k}{2}\rfloor\) let \[\begin{gather} R^{B_\mathbf{r},k}_{l}=\{[\mathbf{v}_1,\dots,\mathbf{v}_l]^{C_1,\dots,C_{l}} \mid \exists [\mathbf{v}_1^1,\dots,\mathbf{v}^1_{l}]^{C_1,\dots,C_{l}} \in \Delta^{C_1,\dots,C_{l}}(X^{B_\mathbf{r},k-2+1}_{k-1,T_k}), \\ [\mathbf{v}_1^2,\dots,\mathbf{v}^2_{l}]^{C_1,\dots,C_{l}} \in \Delta^{C_1,\dots,C_{l}}(X^{B_\mathbf{r},k-2\cdot 2+1}_{k-2,T_{k-1}}),\dots, [\mathbf{v}_1^l,\dots,\mathbf{v}^{l}_{l}]^{C_1,\dots,C_{l} } \in \Delta^{C_1,\dots,C_{l}}(X^{B_\mathbf{r},k-2\cdot l+1}_{k-l,T_{k-l+1}});\\ \forall j\in \{1,\dots,l \}: \sum_{i=1}^{{l}} \mathbf{v}_j^i=\mathbf{v}_j; \forall m<j: \mathbf{v}_m^j=\vec{0} \} \end{gather}\]
We will now do an induction over \(1\leq l \lfloor \frac{k}{2}\rfloor\) to show that for each such \(i\) it holds \([\mathbf{v}_1,\dots,\mathbf{v}_{i}]^{C_1,\dots,C_{i}}\in R^{B_\mathbf{r},k}_i\). Note that if this were to hold then we are done, since \(R^{B_\mathbf{r},k}_{\lfloor \frac{k}{2}\rfloor}=R^{B_\mathbf{r},k}\), thus we would obtain a contradiction with our assumption that \([\mathbf{v}_1,\dots,\mathbf{v}_{\lfloor \frac{k}{2}\rfloor}]^{C_1,\dots,C_{\lfloor \frac{k}{2} \rfloor}}\notin R^{B_\mathbf{r},k}\).
Base case \(i=1\): \[\begin{gather} R^{B_\mathbf{r},k}_1=\{[\mathbf{v}_1]^{C_1} \mid \exists [\mathbf{v}_1^1]^{C_1} \in \Delta^{C_1}(X^{B_\mathbf{r},k-2+1}_{k-1,T_k}); \forall j\in \{1 \}: \sum_{i=1}^{{1}} \mathbf{v}_j^i=\mathbf{v}_j; \forall m<j: \mathbf{v}_m^j=\vec{0} \} =\\ \{[\mathbf{v}_1^1]^{C_1} \in \Delta^{C_1}(X^{B_\mathbf{r},k-1}_{k-1,T_k}) \} \end{gather}\] Since \([\mathbf{v}_1]^{C_1}\in Support^{C_1}(\hat{\mathbf{r}})\subseteq \Delta^{C_1}(X_{k-1,T_{k}})\) there exists a multi-component \(\mathbf{x}\in X_{k-1,T_k}\) with \(\Delta^{C_1}( \mathbf{x})=\mathbf{v}_1\). Let \(\mathbf{x}'\) be a multi-component of \(\pazocal{A}_{k-1,T_k}\) created from \(\mathbf{x}\) by setting \(\mathbf{x}'(t)=0\) for each transition \(t\) that is not included in the same MEC of \(\pazocal{A}_{k-1}\) as \(B_{\hat{\mathbf{r}}}\) (i.e., \(\mathbf{x}'(t)=\mathbf{x}(t)\) if \(t\) is in the MEC of \(\pazocal{A}_{k-1}\) containing \(p_\mathbf{r}\) and \(\mathbf{x}'(t)=0\) otherwise). Notice that each MEC of \(\pazocal{A}_{k-1}\) has different local copies of counters from \(C_1\), and as \(\mathbf{v}_1\in Support^{C_1}(\hat{\mathbf{r}})\) every counter different from \(0\) in \(\mathbf{v}_1\) must be the local copy of some counter in \(\pazocal{A}_{k-1}\) in the same MEC of \(\pazocal{A}_{k-1}\) as \(B_\mathbf{r}\). It thus holds \(\Delta^{C_1}(\mathbf{x})=\mathbf{v}_1=\Delta^{C_1}(\mathbf{x}')\) and since \(\mathbf{x}'\in X_{k-1,T_k}^{B_\mathbf{r},k-1}\) this implies \(\mathbf{v}_1\in R_1^{B_\mathbf{r},k}\). Base case holds.
Induction step: Assume we have proven this statement for \(i-1\) and we want to prove it for \(i\leq \lfloor \frac{k}{2}\rfloor\) as well. From the induction assumption we have \([\mathbf{v}_1,\dots,\mathbf{v}_{i-1}]^{C_1,\dots,C_{i-1}} \in R^{B_\mathbf{r},k}_{i-1}\). Therefore from the definition of \(R^B_{i-1}\) there exist \[\begin{gather} [\mathbf{v}_1^1,\dots,\mathbf{v}^1_{i-1}]^{C_1,\dots,C_{i-1}} \in \Delta^{C_1,\dots,C_{i-1}}(X^{B_\mathbf{r},k-2+1}_{k-1,T_{k}}),\dots\\ \dots,[\mathbf{v}_1^{i-1},\dots,\mathbf{v}^{i-1}_{i-1}]^{C_1,\dots,C_{i-1}} \in \Delta^{C_1,\dots,C_{i-1}}(X^{B_\mathbf{r},k-2\cdot i+2+1}_{k-i+1,T_{{k-i+2}}}) \end{gather}\] such that \[\forall j\in \{1,\dots,i-1 \}: \sum_{i=1}^{{i-1}} \mathbf{v}_j^i=\mathbf{v}_j; \forall m<j: \mathbf{v}_m^j=\vec{0}\] Therefore there also exist multi-components \(\mathbf{x}^1,\dots,\mathbf{x}^{i-1}\) with \(\mathbf{x}^j\in X^{B_\mathbf{r},k-2\cdot j+1}_{k-j,T_{k-j+1}}\) and \(\Delta^{C_1,\dots,C_{i-1}}(\mathbf{x}^j)=[\mathbf{v}_1^j,\dots,\mathbf{v}_{i-1}^j]\). Since the MEC containing \(B_\mathbf{r}\) in \(\pazocal{A}_{k-2\cdot j+1}\) is included in the MEC containing \(B_\mathbf{r}\) in \(\pazocal{A}_{k-2\cdot i+1}\) for each \(j<i\), it holds \(\mathbf{x}^1,\dots,\mathbf{x}^{i-1}\in X^{B_\mathbf{r},k-2\cdot i+1}_{k-i,T_{k-i+1}}\).
It holds \(\sum_{j=1}^{i-1}\Delta^{C_1,\dots,C_i}(\mathbf{x}^j)=[\mathbf{v}_1,\dots,\mathbf{v}_{i-1},\hat{\mathbf{v}}_i]^{C_1,\dots,C_{i}}\) for some \(\hat{\mathbf{v}}_i\). If it were to hold \(\hat{\mathbf{v}}_i=\mathbf{v}_i\) then it holds \([\mathbf{v}_1,\dots,\mathbf{v}_{i}]^{C_1,\dots,C_{i}} \in R^{B_\mathbf{r},k}_{i}\) since \(\vec{0}\in X_{k-i,T_{k-i+1}}^{B_\mathbf{r},k-2\cdot i+1}\). Assume therefore that \(\hat{\mathbf{v}}_i\neq \mathbf{v}_i\).
Since \([\mathbf{v}_1,\dots,\mathbf{v}_{i}]^{C_1,\dots,C_{i}}\in Support^{C_1,\dots,C_i}(\hat{\mathbf{r}})\subseteq\Delta^{C_1,\dots,C_i}(X_{k-i,T_{k-i+1}})\), there exists a multi-component \(\hat{\mathbf{x}}^i\) of \(\pazocal{A}_{k-i,T_{k-i+1}}\) with \(\Delta^{C_1,\dots,C_{i}} (\hat{\mathbf{x}}^i)=[\mathbf{v}_1,\dots,\mathbf{v}_{i}]^{C_1,\dots,C_{i}}\). Let \(\mathbf{x}^i\) be created from \(\hat{\mathbf{x}}^i\) by setting \(\mathbf{x}^i(t)=0\) for each \(t\) that is not included in the MEC of \(\pazocal{A}_{k-2\cdot i+1}\) that contains \(B_\mathbf{r}\). Since \([\mathbf{v}_1,\dots,\mathbf{v}_i]^{C_1,\dots,C_i}\) is effect of \(\hat{\mathbf{r}}\), it holds that \(\mathbf{v}_j(c)=0\) for each counter \(c\) that is not a local copy of some counter from \(C_1,\dots,C_i\) in the MEC containing \(B_\mathbf{r}\) in \(\pazocal{A}_{k-2\cdot i+1}\). Therefore it holds \(\Delta^{C_1,\dots,C_i}(\mathbf{x}^i)=\Delta^{C_1,\dots,C_i}(\hat{\mathbf{x}}^i)=[\mathbf{v}_1,\dots,\mathbf{v}_{i}]^{C_1,\dots,C_{i}}\).
From the induction assumption on \(k-i\) for point [enum-main-3] of Lemma 22 there exists a multi-component \(\hat{\mathbf{y}}\) on \(\pazocal{A}_{k-i}\) such that \(\hat{\mathbf{y}}(t)>0\) iff \(t\in T_{k-i+1}\), and \(\Delta^{C_1,\dots,C_{k-i}}(\hat{\mathbf{y}})=\vec{0}\). Let \(\mathbf{y}\) be a multi-component created from \(\hat{\mathbf{y}}\) by setting \(\mathbf{y}(t)=0\) for each \(t\) not contained in MEC of \(\pazocal{A}_{k-2\cdot i+1}\) containing \(B_\mathbf{r}\). Using the same argument as above it holds \(\Delta^{C_1,\dots,C_i}(\mathbf{y})=\Delta^{C_1,\dots,C_i}(\hat{\mathbf{y}})=\vec{0}\).
Since it holds \(\mathbf{x}^i(t)>0\) implies \(\mathbf{y}(t)>0\), there exists some \(a>0\) such that \(\mathbf{x}^{i}_-=a\cdot \mathbf{y}-\mathbf{x}^i\geq \vec{0}\) and thus from Lemma 12 \(\mathbf{x}^{i}_-\) is a multi-component in \(X^{B_\mathbf{r},k-2\cdot i+1}_{k-i,T_{k-i+1}}\) with \(\Delta^{C_1,\dots,C_i}(\mathbf{x}^{i}_-)=a\cdot \Delta^{C_1,\dots,C_i}(\mathbf{y})-\Delta^{C_1,\dots,C_i}(\mathbf{x}^i)=a\cdot \vec{0}-[\mathbf{v}_1,\dots,\mathbf{v}_{i}]^{C_1,\dots,C_{i}}=[-\mathbf{v}_1,\dots,-\mathbf{v}_{i}]^{C_1,\dots,C_{i}}\).
Thus \(\mathbf{x}=\mathbf{x}^{i}_-+\sum_{j=1}^{i-1}\mathbf{x}^j\) is a multi-component satisfying \(\mathbf{x}\in X^{B_\mathbf{r},k-2\cdot i+1}_{k-i,T_{k-i+1}}\) and \[\Delta^{C_1,\dots,C_i}(\mathbf{x})=[-\mathbf{v}_1,\dots,-\mathbf{v}_{i-1},-\mathbf{v}_i]^{C_1,\dots,C_{i}}+[\mathbf{v}_1,\dots,\mathbf{v}_{i-1},\hat{\mathbf{v}}_i]^{C_1,\dots,C_{i}} = [\vec{0},\dots,\vec{0},\hat{\mathbf{v}}_i-\mathbf{v}_i]^{C_1,\dots,C_{i}}\]
But once again, since \(\mathbf{x}(t)>0\) implies \(\mathbf{y}(t)>0\) there exists \(b>0\) such that \(\mathbf{z}=b\cdot \mathbf{y}-\mathbf{x}\geq \vec{0}\) and \[\Delta^{C_1,\dots,C_i}(\mathbf{z})=b\cdot \Delta^{C_1,\dots,C_i}(\mathbf{y})-\Delta^{C_1,\dots,C_i}(\mathbf{x})=b\cdot \vec{0}-[\vec{0},\dots,\vec{0},\hat{\mathbf{v}}_i-\mathbf{v}_i]^{C_1,\dots,C_{i}}=[\vec{0},\dots,\vec{0},-\hat{\mathbf{v}}_i+\mathbf{v}_i]^{C_1,\dots,C_{i}}\] Thus \([\vec{0},\dots,\vec{0},-\hat{\mathbf{v}}_i+\mathbf{v}_i]^{C_1,\dots,C_{i}}\in \Delta^{C_1,\dots,C_i}(X^{B_\mathbf{r},k-2\cdot i+1}_{k-i,T_{k-i+1}})\). But it holds \[\begin{gather} \sum_{j=1}^{i-1}\Delta^{C_1,\dots,C_i}(\mathbf{x}^j) + [\vec{0},\dots,\vec{0},-\hat{\mathbf{v}}_i+\mathbf{v}_i]^{C_1,\dots,C_{i}} =\\ [\mathbf{v}_1,\dots,\mathbf{v}_{i-1},\hat{\mathbf{v}}_i]^{C_1,\dots,C_{i}} + [\vec{0},\dots,\vec{0},-\hat{\mathbf{v}}_i+\mathbf{v}_i]^{C_1,\dots,C_{i}} = [\mathbf{v}_1,\dots,\mathbf{v}_{i-1},\mathbf{v}_i]^{C_1,\dots,C_{i}} \end{gather}\] and thus \([\mathbf{v}_1,\dots,\mathbf{v}_{i-1},\mathbf{v}_i]^{C_1,\dots,C_{i}}\in R^{B_\mathbf{r},k}_i\). Lemma holds. ◻
Lemma 36.
Let \(1\leq l < \lfloor \frac{k}{2}\rfloor\), and let \(\mathbf{y}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}},\mathbf{z}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) be maximal solutions to (II) for \(\pazocal{A}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\). Let \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) be the resulting ranking function defined by \(\mathbf{y}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}},\mathbf{z}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\). If there exists \(\mathbf{v}\in Support^{C_1,\dots,C_l}(\hat{\mathbf{r}})\) such that \(\mathbf{v}\notin \Delta^{C_1,\dots,C_l}(X_{k-l,T_{k+1-l}})\) then \(\hat{\mathbf{r}}\) is not zero-bounded on \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\).
Proof. Assume towards contradiction this is not the case. Let \(1\leq l\leq \frac{k}{2}\), let there exist \(\mathbf{v}\in Support^{C_1,\dots,C_l}(\hat{\mathbf{r}})\) such that \(\mathbf{v}\notin \Delta^{C_1,\dots,C_l}(X_{k-l,T_{k+1-l}})\), and assume \(\hat{\mathbf{r}}\) is zero-bounded on \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\).
From Lemma 26 the set \(\Delta^{C_1,\dots,C_l}(X_{{k-l},T_{k-l+1}})\) is a closed under multiplication by \(-1\), from Lemma 10 it is closed under addition, and from Lemma 11 it is closed under multiplication by non-negative constant. Thus \(\Delta^{C_1,\dots,C_l}(X_{{k-l},T_{k-l+1}})\) is a vector space. Since \(\mathbf{v}\in \mathbb{Q}^{C_1,\dots,C_l}\setminus \Delta^{C_1,\dots,C_l}(X_{{k-l},T_{k-l+1}})\) there exists a vector \(\mathbf{u}\in \mathbb{Q}^{C_1,\dots,C_l}\) such that \(\mathbf{u}\) is orthogonal to \(\Delta^{C_1,\dots,C_l}(X_{{k-l},T_{k-l+1}})\) but is not orthogonal to \(\mathbf{v}\). Let \(\Pi_\mathbf{u}(\mathbf{s})\) denote the size of the orthogonal projection of \(\mathbf{s}\) onto \(\mathbf{u}\). Note that \(\Pi_\mathbf{u}(\Delta^{C_1,\dots,C_l}(\mathbf{x}_{{k-l},T_{k-l+1}}))= 0\) for each \(\mathbf{x}_{{k-l},T_{k-l+1}}\in X_{{k-l},T_{k-l+1}}\) and \(\Pi_\mathbf{u}(\mathbf{s})\neq 0\).
Let \(\pazocal{A}_{{k-l},T_{k-l+1}}^\mathbf{u}\) be a one-counter VASS MDP created from \(\pazocal{A}_{{k-l},T_{k-l+1}}\) by replacing all the counters with the single counter \(\Pi_\mathbf{u}\) (i.e. if \((p,\mathbf{s},q)\) is a transition of \(\pazocal{A}_{{k-l},T_{k-l+1}}\) then \((p,\Pi_\mathbf{u}(\mathbf{s}),q)\) is a transition of \(\pazocal{A}_{{k-l},T_{k-l+1}}^\mathbf{u}\)). We use \(c^\mathbf{u}\) to denote the counter of \(\pazocal{A}_{{k-l},T_{k-l+1}}^\mathbf{u}\). Since every multi-component of \(\pazocal{A}_{{k-l},T_{k-l+1}}^\mathbf{u}\) is in \(X_{{k-l},T_{k-l+1}}\) it holds that every component of \(\pazocal{A}_{{k-l},T_{k-l+1}}^\mathbf{u}\) is either zero-bounded or zero-unbounded on \(c^\mathbf{u}\). Thus the maximal solution \(\mathbf{x}^\mathbf{u},\mathbf{y}^\mathbf{u},\mathbf{z}^\mathbf{u}\) of (I) and (II) for \(\pazocal{A}_{{k-l},T_{k-l+1}}^\mathbf{u}\) satisfies that \(\mathbf{x}^\mathbf{u}(t)>0\) for each \(t\in T_{k-l+1}\) (since a multi-component obtained as a sum of all components of \(\pazocal{A}_{{k-l},T_{k-l+1}}^\mathbf{u}\) is a valid solution of (I) for \(\pazocal{A}_{{k-l},T_{k-l+1}}^\mathbf{u}\)) and from Lemma 1 it holds \(\mathbf{y}(c^\mathbf{u})>0\) (since \(\Delta(\mathbf{x}^\mathbf{u})(c^\mathbf{u})=0\)). Thus from Lemma 1 it holds for each transition \(t= (p,\Pi_\mathbf{u}(\mathbf{s}),q)\) of \(\pazocal{A}_{{k-l},T_{k-l+1}}^\mathbf{u}\) that
if \(p\in Q_n\) then \(\mathbf{z}^\mathbf{u}(q)-\mathbf{z}^\mathbf{u}(p)+ \Pi_\mathbf{u}(\mathbf{s})\cdot \mathbf{y}^\mathbf{u}(c^\mathbf{u})=0\);
if \(p\in Q_p\) then \[\sum_{t'=(p,\Pi_\mathbf{u}(\mathbf{s}'),q') \in \mathit{Out}(p)}P(t')\cdot \big(\mathbf{z}^\mathbf{u}(q')-\mathbf{z}^\mathbf{u}(p)+\Pi_\mathbf{u}(\mathbf{s}')\cdot \mathbf{y}^\mathbf{u}(c^\mathbf{u})\big)= 0\]
We now define a new ranking function on \(\pazocal{A}_{{k-l},T_{k-l+1}}\) as \(rank^\mathbf{u}_{{k-l},T_{k-l+1}}(p\mathbf{s})=\mathbf{z}^\mathbf{u}(p)+ \mathbf{y}^\mathbf{u}(c^\mathbf{u})\cdot \Pi_\mathbf{u}(\mathbf{s})=\mathbf{z}^\mathbf{u}(p)+ \sum_{c\in \mathit{Count}} \mathbf{y}^\mathbf{u}(c^\mathbf{u})\cdot \Pi_\mathbf{u}(\mathbf{s}_c)\) where \(\mathbf{s}_c(c)=\mathbf{s}(c)\) and \(\mathbf{s}_c(c')=0\) for \(c'\neq c\).
Consider now the ranking functions \(rank_{a}(p\mathbf{s})=a \cdot rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}(p\mathbf{s})+ rank^\mathbf{u}_{{k-l},T_{k-l+1}}(p\mathbf{s})\) defined for each \(a\geq 0\). We can write \[\begin{gather} rank_{a}(p\mathbf{s})=a \cdot rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}(p\mathbf{s})+ rank^\mathbf{u}_{{k-l},T_{k-l+1}}(p\mathbf{s}) =\\ a \cdot \big(\mathbf{z}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}(p)+ \sum_{c\in \mathit{Count}}\mathbf{y}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}(i)\cdot \mathbf{s}(c)\big)+\mathbf{z}^\mathbf{u}(p)+ \sum_{c\in \mathit{Count}} \mathbf{y}^\mathbf{u}(c^\mathbf{u})\cdot \Pi_\mathbf{u}(\mathbf{s}_c) =\\ a\cdot \mathbf{z}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}(p)+ \mathbf{z}^\mathbf{u}(p)+ \sum_{c\in \mathit{Count}}\big(a\cdot \mathbf{y}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}(i)\cdot \mathbf{s}(c)+ \mathbf{y}^\mathbf{u}(c^\mathbf{u})\cdot \Pi_\mathbf{u}(\mathbf{s}_c)\big) =\\ a\cdot \mathbf{z}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}(p)+ \mathbf{z}^\mathbf{u}(p)+ \sum_{c\in \mathit{Count}}(a\cdot \mathbf{y}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}(c)+ \mathbf{y}^\mathbf{u}(c^\mathbf{u})\cdot m_c^\mathbf{u})\cdot \mathbf{s}(c) \end{gather}\] where the last equality comes from the fact that we can write \(\Pi_\mathbf{u}(\mathbf{s}_c)=\mathbf{s}(c)\cdot m_c^\mathbf{u}\) for \(m_c^\mathbf{u}=\Pi_\mathbf{u}(\vec{1}_c)\). Therefore \(rank_{a}\) can be expressed as \[rank_{a}(p\mathbf{s})=\mathbf{z}_{a}(p)+ \sum_{c\in \mathit{Count}}\mathbf{y}_{a}(c)\cdot \mathbf{s}(c)\] where \(\mathbf{z}_{a}(p)=a\cdot \mathbf{z}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}(p)+ \mathbf{z}^\mathbf{u}(p)\) and \(\mathbf{y}_{a}(c)=a\cdot \mathbf{y}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}(c)+ \mathbf{y}^\mathbf{u}(c^\mathbf{u})\cdot m_c^\mathbf{u}\). Notice that \(\mathbf{z}_{a}\geq \vec{0}\) and the only way for \(\mathbf{y}_a(c)< 0\) to hold is if \(m_c^\mathbf{u}<0\) and \[\label{eq-a-bound} a< \frac{- \mathbf{y}^\mathbf{u}(c^\mathbf{u})\cdot m_c^\mathbf{u}}{\mathbf{y}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}(c)}\tag{43}\] Therefore if \(a\) is so large that \[a> \frac{- \mathbf{y}^\mathbf{u}(c^\mathbf{u})\cdot m_c^\mathbf{u}}{\mathbf{y}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}(c)}\] holds for each counter \(c\), we have that \(\mathbf{z}_{a},\mathbf{y}_{a}\) are both non-negative. We will now show that for some sufficiently large \(a\) it holds that \(\mathbf{z}_{a},\mathbf{y}_{a}\) is a more maximal solution of (II) for \(\pazocal{A}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}\) than \(\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l},\mathbf{y}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}\) thus contradicting with \(\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l},\mathbf{y}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}\) being a maximal such solution.
First notice that for every transition \(t=(p,\mathbf{s},q)\) of \(\pazocal{A}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}\) it holds
if \(p\in Q_n\) then \(\mathbf{z}_{a}(q)-\mathbf{z}_{a}(p)+ \sum_{c\in \mathit{Count}} \mathbf{s}(c)\cdot \mathbf{y}_{a}(c)\leq 0\);
if \(p\in Q_p\) then \[\sum_{t'=(p,\mathbf{s}',q') \in \mathit{Out}(p)}P(t')\cdot \big(\mathbf{z}_{a}(q')-\mathbf{z}_{a}(p)+\sum_{c\in \mathit{Count}}\mathbf{s}'(c)\cdot \mathbf{y}_{a}(c)\big)\leq 0\]
This is due to both \(rank_{k-l,T_{k-l+1}}\) and \(rank_{k-l,T_{k-l+1}}^\mathbf{u}\) being non-increasing on average for each step (see (II)). Thus for all sufficiently large \(a\) it holds that \(\mathbf{z}_{a},\mathbf{y}_{a}\) is a solution of (II) for \(\pazocal{A}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}\). It remains to show it is more maximal than \(\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l},\mathbf{y}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}\). For the first maximization objective, if \(\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(c)>0\) then also \(\mathbf{z}_{a}(c)=a\cdot \mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(c)+\mathbf{z}^\mathbf{u}(c)\geq a\cdot\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(c)>0\).
For the second maximization objective of (II), let \(t=(p,\mathbf{s},q)\) be such that \(p\in Q_n\) and \(\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(q)-\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(p)+ \sum_{c\in \mathit{Count}} \mathbf{s}(c)\cdot \mathbf{y}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(c)<0\). Then it holds \[\begin{gather} \mathbf{z}_{a}(q)-\mathbf{z}_{a}(p)+ \sum_{c\in \mathit{Count}} \mathbf{s}(c)\cdot \mathbf{y}_{a}(c)=\\ a\cdot \big(\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(q)-\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(p)+ \sum_{c\in \mathit{Count}} \mathbf{s}(c)\cdot \mathbf{y}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(i)\big)+ \mathbf{z}^\mathbf{u}(q)-\mathbf{z}^\mathbf{u}(p)+ \sum_{c\in \mathit{Count}} \mathbf{s}(c)\cdot \mathbf{y}^\mathbf{u}(c^\mathbf{u})\cdot m_c^\mathbf{u} =\\ a\cdot \big(\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(q)-\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(p)+ \sum_{c\in \mathit{Count}} \mathbf{s}(c)\cdot \mathbf{y}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(i)\big)+ \mathbf{z}^\mathbf{u}(q)-\mathbf{z}^\mathbf{u}(p)+ \Pi_\mathbf{u}(\mathbf{s}) \mathbf{y}^\mathbf{u}(c^\mathbf{u}) \leq \\ a\cdot \big(\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(q)-\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(p)+ \sum_{c\in \mathit{Count}} \mathbf{s}(c)\cdot\mathbf{y}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(c)\big)+ 0 <0 \end{gather}\] where the second to last inequality comes from \(\mathbf{y}^\mathbf{u},\mathbf{z}^\mathbf{u}\) being a solution of (II) for \(\pazocal{A}_{{k-l},T_{k-l+1}}^\mathbf{u}\).
For the third maximization objective of (II), let \(p\in Q_p\) be such that \[\sum_{t=(p,\mathbf{s},q) \in \mathit{Out}(p)}P(t)\cdot \big(\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(q')-\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(p)+\sum_{c\in \mathit{Count}}\mathbf{s}(c)\cdot \mathbf{y}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(c)\big)< 0\] Then it holds \[\begin{gather} \sum_{t=(p,\mathbf{s},q) \in \mathit{Out}(p)}P(t)\cdot \big(\mathbf{z}_{a}(q')-\mathbf{z}_{a}(p)+\sum_{c\in \mathit{Count}}\mathbf{s}(c)\cdot \mathbf{y}_{a}(c)\big) =\\ a\cdot (\sum_{t=(p,\mathbf{s},q) \in \mathit{Out}(p)}P(t)\cdot \big(\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(q')-\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(p)+\sum_{c\in \mathit{Count}}\mathbf{s}(c)\cdot \mathbf{y}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(i)\big)) +\\+ \sum_{t=(p,\mathbf{s},q) \in \mathit{Out}(p)}P(t)\cdot \big(\mathbf{z}^\mathbf{u}(q)-\mathbf{z}^\mathbf{u}(p)+\sum_{c\in \mathit{Count}}\mathbf{s}(c)\cdot \mathbf{y}^\mathbf{u}(c^\mathbf{u})\cdot m_c^\mathbf{u}\big) =\\ a\cdot (\sum_{t=(p,\mathbf{s},q) \in \mathit{Out}(p)}P(t)\cdot \big(\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(q')-\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(p)+\sum_{c\in \mathit{Count}}\mathbf{s}(c)\cdot \mathbf{y}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(c)\big)) +\\+ \sum_{t=(p,\mathbf{s},q) \in \mathit{Out}(p)}P(t)\cdot \big(\mathbf{z}^\mathbf{u}(q)-\mathbf{z}^\mathbf{u}(p)+\Pi_\mathbf{u}(\mathbf{s}) \mathbf{y}^\mathbf{u}(c^\mathbf{u})\big) \leq \\ a\cdot (\sum_{t=(p,\mathbf{s},q) \in \mathit{Out}(p)}P(t)\cdot \big(\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(q')-\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(p)+\sum_{c\in \mathit{Count}}\mathbf{s}(c)\cdot \mathbf{y}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(c)\big)) + 0 <0 \end{gather}\] where the second to last inequality comes from \(\mathbf{y}^\mathbf{u},\mathbf{z}^\mathbf{u}\) being a solution of (II) for \(\pazocal{A}_{{k-l},T_{k-l+1}}^\mathbf{u}\).
Therefore \(\mathbf{z}_{a},\mathbf{y}_{a}\) is at least as maximal a solution of (II) for \(\pazocal{A}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}\) as \(\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l},\mathbf{y}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}\).
And since \(\hat{\mathbf{r}}\) is zero-bounded on \(rank_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}\), it holds from [19] that every single transition \(t=(p,\mathbf{s},q)\) with \(\mathbf{r}(t)>0\) satisfies \(\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(q)-\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(p)+ \sum_{c\in \mathit{Count}} \mathbf{s}(c)\cdot \mathbf{y}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(c)=0\). But since \(\mathbf{v}\in Support^{C_1,\dots,C_l}(\hat{\mathbf{r}})\) and \(\Pi_\mathbf{u}(\mathbf{v})\neq 0\) it holds that \(\hat{\mathbf{r}}\) is not zero-bounded on \(rank_{k-l,T_{k-l+1}}^\mathbf{u}\), which from [19] gives that there exists a \(t=(p,\mathbf{s},q)\) with \(\mathbf{r}(t)>0\) such that \(0\neq \mathbf{z}^\mathbf{u}(q)-\mathbf{z}^\mathbf{u}(p)+ \sum_{c\in \mathit{Count}} \mathbf{s}(c)\cdot \mathbf{y}^\mathbf{u}(c^\mathbf{u})\cdot m_c^\mathbf{u}\leq 0\), and thus also \[\begin{gather} \mathbf{z}_{a}(q)-\mathbf{z}_{a}(p)+ \sum_{c\in \mathit{Count}} \mathbf{s}(c)\cdot \mathbf{y}_{a}(c) =\\ a\cdot \big(\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(q)-\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(p)+ \sum_{c\in \mathit{Count}} \mathbf{s}(c)\cdot \mathbf{y}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}(i)\big)+ \mathbf{z}^\mathbf{u}(q)-\mathbf{z}^\mathbf{u}(p)+ \sum_{c\in \mathit{Count}} \mathbf{s}(c)\cdot \mathbf{y}^\mathbf{u}(c^\mathbf{u})\cdot m_c^\mathbf{u} = \\ 0 + \mathbf{z}^\mathbf{u}(q)-\mathbf{z}^\mathbf{u}(p)+ \sum_{c\in \mathit{Count}} \mathbf{s}(c)\cdot \mathbf{y}^\mathbf{u}(c^\mathbf{u})\cdot m_c^\mathbf{u} <0 \end{gather}\] But this gives us that for a sufficiently large \(a\), \(\mathbf{z}_{a},\mathbf{y}_{a}\) is a more maximal solution of (II) for \(\pazocal{A}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}\) compared to \(\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l},\mathbf{y}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}\), a contradiction with \(\mathbf{z}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l},\mathbf{y}_{k-l,T_{k-l+1}}^{C_1,\dots,C_l}\) being a maximal such solution. Lemma holds. ◻
Lemma 3 (3). Let \(1\leq l \leq \lfloor\frac{k}{2}\rfloor\). Let \(\mathbf{y}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}},\mathbf{z}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) be a maximal solution of (II) for \(\pazocal{A}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\), and let \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) be the resulting ranking function defined by \(\mathbf{y}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}},\mathbf{z}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\). There exists a set of transitions \(R^{C_1,\dots,C_l}_{k-l}\) of \(\pazocal{A}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) such that both of these hold:
for each component \(\mathbf{y}\) of \(\pazocal{A}_{k-l,T_{k-l+1}}\) it holds that \(\hat{\mathbf{y}}\) is zero-bounded on \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) iff \(R^{C_1,\dots,C_l}_{k-l}\cap \{t\mid \mathbf{y}(t)>0 \}= \emptyset\);
\(\pazocal{T}_\pazocal{A}[t]\) has an upper asymptotic estimate of \(n^k\) for each \(t\in R^{C_1,\dots,C_l}_{k-l}\).
Furthermore, assuming we have a classification of \(\pazocal{A}\) up to \(k-1\), \(R_{k-l}\) can be computed in time polynomial in \(|\!|\pazocal{A}|\!|\).
Towards the second part of this Lemma, any component of \(\pazocal{A}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) whose effect on \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) is not zero-bounded is either decreasing or zero-unbounded, as increasing is not possible since \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) is defined using a solution of (II) (see Section 3.2). But any such component that is decreasing must contain either a non-deterministic transition that decreases \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) or a probabilistic state from which the value of \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) is decreased on average in one computational step. Furthermore, from [19] any component of \(\pazocal{A}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) that is zero-unbounded on \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) must contain a transition that strictly decreases \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\). Therefore it suffices to find all transitions \(R^{C_1,\dots,C_l}_{k-l}\) of \(\pazocal{A}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) whose effect on \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) is not \(0\), and we have that any component \(\pazocal{A}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) that includes a transition from \(R^{C_1,\dots,C_l}_{k-l}\) is not zero-bounded on \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\). Whereas each component of \(\pazocal{A}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) that contains no transition from \(R^{C_1,\dots,C_l}_{k-l}\) is zero-bounded on \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\). Furthermore from [19], we can compute the set \(R^{C_1,\dots,C_l}_{k-l}\) in polynomial time when there exists no component of \(\pazocal{A}^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) that is increasing on \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\), which is our case.
The upper asymptotic estimates for transitions from \(R^{C_1,\dots,C_l}_{k-l}\) then follow from Lemma 37 for \(s=k-l\) and \(r=l\). This follows from the fact that \(\pazocal{T}_\pazocal{A}[t]\leq \sum_{\mathbf{y}}\pazocal{P}_{\tilde{\pazocal{A}}}[\mathcal{M}_\mathbf{y}]\) where \(\mathbf{y}\) ranges over all the components of \(\pazocal{A}\) with \(\mathbf{y}(t)>0\) (see Section 7). Note that this also gives us the following Lemma.
Lemma 4 (6). We can only obtain an upper asymptotic estimate of \(n^k\) from Lemma 3 for values of \(k\) satisfying \(k=\max(s+r,2\cdot r)\) where \(r\in \mathit{Cbounds}\) and \(s\in S_r\).
Lemma 37. Let \(\mathbf{y}^{C_1,\dots,C_r}_{s,T_{s+1}},\mathbf{z}^{C_1,\dots,C_r}_{s,T_{s+1}}\) be a maximal solution of (II) for \(\pazocal{A}^{C_1,\dots,C_r}_{s,T_{s+1}}\). Let \(rank^{C_1,\dots,C_r}_{s,T_{s+1}}\) be the resulting ranking function defined by \(\mathbf{y}^{C_1,\dots,C_r}_{s,T_{s+1}},\mathbf{z}^{C_1,\dots,C_r}_{s,T_{s+1}}\). Let \(\mathbf{y}\) be a component of \(\pazocal{A}^{C_1,\dots,C_r}_{s,T_{s+1}}\). If \(\hat{\mathbf{y}}\) is not zero-bounded on \(rank^{C_1,\dots,C_l}_{k-l,T_{k-l+1}}\) then \(\pazocal{P}_{\tilde{\pazocal{A}}}[\mathcal{M}_\mathbf{y}]\) has an upper asymptotic estimate of \(n^{k}\) for \(k=\max(s+r,2r)\).
Proof. Assume towards contradiction this does not hold. Let \(\pazocal{P}_{\tilde{\pazocal{A}}}[\mathcal{M}_\mathbf{y}]\) not have an upper asymptotic estimate of \(n^k\), while \(\hat{\mathbf{y}}\) is not zero-bounded on \(rank^{C_1,\dots,C_r}_{s,T_{s+1}}\).
Let us fix \(\epsilon>0\), and let us define technical constants \(0<\epsilon_{1},\epsilon_{2},\dots\). As their exact values are not important we leave the assignment of their exact values to Table 5 at the end of the section where we also show that our assignment satisfies all the assumptions we make on \(\epsilon_{1},\epsilon_{2},\dots\) thorough this section.
Let \(R_{\epsilon_{1}}\) be the set of all computations \(\alpha\) on \(\pazocal{A}\) for which all of the following holds:
each transition \(t\) with upper estimate \(n^i\) for \(i\in \{1,\dots,k \}\) of \(\pazocal{T}_\pazocal{A}[t]\) appears at most \(n^{i+\epsilon_{1}}\) times, that is \(\pazocal{T}_\pazocal{A}[t](\alpha)\leq n^{i+\epsilon_{1}}\);
each counter \(c\) with upper estimate \(n^i\) for \(i\in \{1,\dots,k \}\) of \(\pazocal{C}_\pazocal{A}[c]\) never exceeds \(n^{i+\epsilon_{1}}\), that is \(\pazocal{C}_\pazocal{A}[c](\alpha)\leq n^{i+\epsilon_{1}}\);
let \(\pi_{..n^{k+1}}\) be the pointing computation on \(\tilde{\pazocal{A}}\) corresponding to \(\alpha_{..n^{k+1}}\). For a pointing pair \((\mathcal{M},p)\in \tilde{\pazocal{A}}\) let \(\pi_{..n^{k+1}} ^\mathcal{M}\) be the corresponding computation in \(\mathcal{M}\) produced by the steps of \(\pi_{..n^{k+1}}\) pointing at \((\mathcal{M},p)\). Then for each \((\mathcal{M},p)\in \tilde{\pazocal{A}}\) it holds either that \(\mathit{len}(\pi_{..n^{k+1}} ^\mathcal{M})\leq n^{\epsilon_{1}}\) or that \(\pi_{..n^{k+1}} ^\mathcal{M}\) reaches a MEC of \(\mathcal{M}\) within at most \(n^{\epsilon_{1}}\) steps. Additionally, if \(\pi_{..n^{k+1}}\) reaches a MEC \(B\) of \(\mathcal{M}\) then \(\pi_{..n^{k+1}}\) contains no sub-computation, that is also a computation on \(B\), of length \(n^{\epsilon_{1}}\) that does not contain some transition \(t\) of \(B\).
Note that for every strategy \(\sigma\) and each initial state \(p\) it holds \(\lim_{n\rightarrow\infty} \mathbb{P}_{p\vec{n}}^\sigma[R_{\epsilon_{1}}]=1\). The limitation on counters and transitions gives this limit straight from the definition of upper asymptotic estimates. Whereas for the last point, the expected time to reach a MEC is constant in every VASS Markov chain, and let \(t=(p,\mathbf{u},q)\) be a transition of \(B\), then every step of \(\pi_{..n^{k+1}}^B\) the probability of not visiting \(p\) in the next \(n^{\epsilon_{1}}\) steps is simialrly upper bounded by \(l^{-n^{\epsilon_{1}}}\) for some constant \(l\), this is due to there being a non-zero, bounded from below probability of reaching \(p\) every at most constant number of steps. And every time \(p\) is reached, there is a constant probability \(P(t)\) that the next transition will be \(t\). Thus the probability of there being no \(t\) for \(n^{\epsilon_{1}}\) steps when iterating \(B\) is upper bounded by \(g^{n^{\epsilon_{1}}}\) for some \(g<1\). Let \(Y_n\) be the random variable denoting the number of sub-paths generated on \(B\), within the first \(n^{k+1}\) steps, that are of length \(\lfloor n^{\epsilon_{1}} \rfloor\) and that do not contain the transition \(t\). Then it holds \(\mathbb{E}_{p\vec{n}}^\sigma(Y_n)\leq n^{k+1} g^{n^{\epsilon_{1}}}\), and thus from Markov inequality \(\mathbb{P}_{p\vec{n}}^\sigma[Y_n\geq 1]\leq n^{k+1} g^{n^{\epsilon_{1}}}\) which goes to \(0\) as \(n\) goes to infinity.
Note that the only difference between \(\pazocal{A}_{{s},T_{s+1}}\) and \(\pazocal{A}_{1,T_{s+1}}\) is that \(\pazocal{A}_{s,T_{s+1}}\) contains local copies of counters from \(C_1,\dots,C_{s-1}\). We can thus extend \(rank^{C_1,\dots,C_r}_{s,T_{s+1}}\) onto \(\pazocal{A}_{{1},T_{s+1}}\) by defining \(rank^{C_1,\dots,C_r}_{{1},T_{s+1}}(p\mathbf{v}_{{1},T_{s+1}})=\mathbf{z}^{C_1,\dots,C_r}_{s,T_{s+1}}(p)+ \sum_{c\in \mathit{Count}_s} \mathbf{y}^{C_1,\dots,C_r}_{s,T_{s+1}}(c)\mathbf{v}_{{1},T_{s+1}}^p(c)\) where \(\mathit{Count}_s\) is are the coutners of \(\pazocal{A}_{{s},T_{s+1}}\), and \(\mathbf{v}_{{1},T_{s+1}}^p(c)=\mathbf{v}_{{1},T_{s+1}}(c)\) if \(c\notin C_1\cup\dots\cup C_{s-1}\), and for \(c\in C_1\cup\dots\cup C_{s-1}\) we put \(\mathbf{v}_{{1},T_{s+1}}^p(c)=\mathbf{v}_{{1},T_{s+1}}(c')\) if \(c\) is the local copy of \(c'\) in the MEC of \(\pazocal{A}_{s}\) containing \(p\), and \(\mathbf{v}_{{1},T_{s+1}}^p(c)=0\) otherwise. Notice that every transition of \(\pazocal{A}_{{1},T_{s+1}}\) has the same effect on \(rank^{C_1,\dots,C_r}_{{1},T_{s+1}}\) as the same transition on \(rank^{C_1,\dots,C_r}_{{s},T_{s+1}}\) in \(\pazocal{A}_{{s},T_{s+1}}\).
Thus the only transitions that can increase \(rank^{C_1,\dots,C_r}_{{1},T_{s+1}}\) in \(\pazocal{A}\) are either those from from \(T_1\setminus T_{s+1}\), or those \(t=(p,\mathbf{u},q)\) where \(p\in Q_p\) and the average effect of a single computational step from \(p\) on \(rank^{C_1,\dots,C_r}_{{1},T_{s+1}}\) is at most \(0\). But for each transition \(t_i\in T_i\setminus T_{i+1}\) for \(i\leq s\) the maximal increase of \(rank^{C_1,\dots,C_r}_{{1},T_{s+1}}\) from single iteration of \(t_i\) is at most a constant \(u\) from the effect of the transition itself on the counters, plus at most a constant multiple of the sum of all of the counters from \(C_1\cup \dots \cup C_{s-i}\) from the change in the weight of these counters in \(rank^{C_1,\dots,C_r}_{{1},T_{s+1}}\). And since \(t_i\) appears in any \(\alpha\in R_{\epsilon_{1}}\) at most \(n^{i+\epsilon_{1}}\) times, the maximal increase of \(rank^{C_1,\dots,C_r}_{{1},T_{s+1}}\) from all occurrences of \(t_i\) along \(\alpha\in R_{\epsilon_{1}}\) is upper bounded by \(n^{i+\epsilon_{1}}\cdot (u+n^{s-i+\epsilon_{2}})\) assuming \[\label{eq-epsbound-ojbfsdvugolyibvuotyib} \epsilon_{2}>\epsilon_{1}\tag{44}\]
Thus along the entire computation on \(\pazocal{A}\), regardless of the initial state or the strategy chosen, the maximal increase of \(rank^{C_1,\dots,C_r}_{1,T_{s+1}}\) from the transitions from \(T_1\setminus T_{s+1}\) conditioned on \(R_{\epsilon_{1}}\) is upper bounded by \[\sum_{i=1}^{s}|T_i\setminus T_{i+1}|\cdot n^{i+\epsilon_{1}}\cdot (u+n^{s-i+\epsilon_{2}})=u\cdot \sum_{i=1}^{s}|T_i\setminus T_{i+1}|\cdot n^{i+\epsilon_{1}}+\sum_{i=1}^{s}n^{s+\epsilon_{1}+\epsilon_{2}}\leq n^{s+\epsilon_{3}}\] for all sufficiently large \(n\) assuming \[\label{eq-epsbound-ojbvugolyibvuotyib} \epsilon_{3}>\epsilon_{1}+\epsilon_{2}\tag{45}\] Remember that for each computation \(\alpha\) on \(\pazocal{A}\) we can assign to each step along \(\alpha\) a unique pointing pair \((\mathcal{M},p)\in \tilde{\pazocal{A}}\) that this step points to (see Section 7). We say that the step points to a MEC \(B\) of \(\pazocal{A}_\sigma\) for \(\sigma\in cMD(\pazocal{A})\) if the step points at a pointing pair \((\mathcal{M},p)\) such that\(B\) is entirely contained in \(\mathcal{M}\) and the current state of \(\mathcal{M}\) along the corresponding pointing computation is a state from \(B\).
For any computation in \(R_{\epsilon_{1}}\) the total effect on \(rank^{C_1,\dots,C_r}_{1,T_{s+1}}\) of all steps that take a transition \(t_i\in T_{i}\setminus T_{i+1}\) with \(s<i\) and that point at a given MEC \(B\) of \(\pazocal{A}_\sigma\) where \(\sigma\in cMD(\pazocal{A})\), such that \(B\) contains a transition from \(T_{1}\setminus T_{s+1}\), is at most \(u\cdot n^{s+2\cdot \epsilon_{1}}\) for some constant \(u\). This is since to the effect of \(t_i\) on \(rank^{C_1,\dots,C_r}_{1,T_{s+1}}\) can be upper bounded by a constant, and the maximal number of times we can point at some \(B\) which contains a transition from \(T_{1}\setminus T_{s+1}\), conditioned on \(R_{\epsilon_{1}}\), is \(n^{\epsilon_{1}}\cdot n^{s+\epsilon_{1}}\), hence the maximal number of steps that take \(t_i\) and point at this \(B\) is also \(n^{\epsilon_{1}}\cdot n^{s+\epsilon_{1}}\) (and there are only constantly many such MECs \(B\)). This is due to every \(n^{\epsilon_{1}}\) pointings at such \(B\) every transition of \(B\) has to appear at least once in \(R_{\epsilon_{1}}\) and only steps taking a transition from \(B\) can point at \(B\). Thus the total effect of such pointings in \(R_{\epsilon_{1}}\) is upper bounded by \(u\cdot |T|\cdot |MECs|\cdot n^{s+2\cdot \epsilon_{1}}\), where \(|MECs|\) is the number of all MECs in \(\pazocal{A}\). But as \(u\cdot |T|\cdot |MECs|\) is a constant for a given \(\pazocal{A}\), it holds that this value is upper bounded for all sufficiently large \(n\) by \(n^{s+\epsilon_{3}}\) assuming \[\label{eq-epsbound-nbvtuioqvdfdfdfd} \epsilon_{3}>2\cdot \epsilon_{1}\tag{46}\] Notice also that for every single configuration of any computation from \(R_{\epsilon_{1}}\) the value of \(rank^{C_1,\dots,C_r}_{1,T_{s+1}}\) is upper bounded by \(n^{r+\epsilon_{3}}\) for all sufficiently large \(n\).
Let \(\mathbb{B}\) be the set of all MECs \(B\) of \(\pazocal{A}_\sigma\) where \(\sigma\in cMD(\pazocal{A}_{1,T_{s-1}} )\) for which the corresponding component is zero-unbounded on \(rank^{C_1,\dots,C_r}_{1,T_{s-1}}\). Note that the MEC corresponding to \(\mathbf{y}\) is in \(\mathbb{B}\).
Since we assume \(\pazocal{P}_{\tilde{\pazocal{A}}}[\mathcal{M}_\mathbf{y}]\) does not have an upper asymptotic estimate of \(n^k\), there exists \(a>0\), \(\epsilon>0\), initial state \(p\), a pointing strategy \(\sigma\), and an infinite set \(N\subseteq \mathbb{N}\) such that \(\mathbb{P}_{p\vec{n}}^\sigma[\pazocal{P}_{\tilde{\pazocal{A}}}(\mathcal{M}_\mathbf{y})>n^{k+\epsilon}]\geq 2\cdot a\) for all \(n\in N\). Given a pointing computation \(\pi\) on \(\tilde{\pazocal{A}}\) let \(\pazocal{P}(\mathbb{B})(\pi)\) denote the number of steps, of the computation on \(\pazocal{A}\) corresponding to \(\pi\), that point at a MEC from \(\mathbb{B}\). Note that for all sufficiently large \(n\in N\) it holds \(\mathbb{P}_{p\vec{n}}^\sigma[\pazocal{P}(\mathbb{B})\geq n^{k+\epsilon} \textit{ and } R_{\epsilon_{1}}]\geq a\).
Given a computation \(\alpha\) on \(\pazocal{A}\) we divide \(\alpha\) into segments as follows:
The beginning of \(\alpha\) is in the first segment;
Let \(m\) be the number of steps in the current segment that point at a MEC from \(\mathbb{B}\) and let \(b\) be the total effect of these steps on \(rank^{C_1,\dots,C_r}_{1,T_{s+1}}\). The segment lasts until at least one of the following conditions is satisfied:
\(b\geq n^{r+\epsilon_{4}}\) OR,
\(b\leq -n^{r+\epsilon_{4}}\) OR,
\(m\geq n^{2\cdot r+\epsilon_{5}}\);
AND the next MEC pointed to is in \(\mathbb{B}\) (i.e. the segment ends at the moment at least one of the above conditions is satisfied and the next MEC being pointed at is in \(\mathbb{B}\). The moment a segment ends the next segment begins. The first step of the new segment points to a MEC from \(\mathbb{B}\)).
Let \(\#_{segments}(\alpha)\) denote the number of segments on \(\alpha\). Since for all sufficiently large \(n\in N\) we have \(\mathbb{P}_{p\vec{n}}^\sigma[\pazocal{P}(\mathbb{B})\geq n^{k+\epsilon} \textit{ and } R_{\epsilon_{1}}]\geq a\) and each segment can point to \(\mathbb{B}\) at most \(n^{2\cdot r+\epsilon_{5}}\) times, it holds that \[\mathbb{P}_{p\vec{n}}^\sigma[\#_{segments} \geq \frac{n^{k+\epsilon}}{n^{2r+\epsilon_{5}}} \textit{ and } R_{\epsilon_{1}}]=\mathbb{P}_{p\vec{n}}^\sigma[\#_{segments} \geq n^{k-2\cdot r+\epsilon-\epsilon_{5}} \textit{ and } R_{\epsilon_{1}}]\geq a\]
Assume there were no limit on the length of \(m\) in the segment definition and let \(\tau\) be the stopping time in the given segment such that \(|b|\geq |n^{r+\epsilon_{4}}|\), then since the expected effect on \(rank_{1,T_{s+1}}^{C_1,\dots,C_r}\) of each of the positioning counting towards \(b\) is \(0\), from the optional stopping theorem we would obtain \(\mathbb{P}_{p\vec{n}}^\sigma[b\geq n^{r+\epsilon_{4}}]\cdot (n^{r+\epsilon_{4}}+u)+\mathbb{P}_{p\vec{n}}^\sigma[b\leq -n^{r+\epsilon_{4}}]\cdot (-n^{r+\epsilon_{4}})\geq 0\). Thus it would hold \[\frac{\mathbb{P}_{p\vec{n}}^\sigma[b\geq n^{r+\epsilon_{4}}]}{\mathbb{P}_{p\vec{n}}^\sigma[b\leq -n^{r+\epsilon_{4}}]}\geq \frac{n^{r+\epsilon_{4}}}{(n^{r+\epsilon_{4}}+u)}\] Since both these probabilities would sum to \(1\) it would hold \(\mathbb{P}_{p\vec{n}}^\sigma[b\leq -n^{l+\epsilon_{4}}]\geq \frac{1}{2}-\kappa_n\) where \(\lim_{n\rightarrow\infty}\kappa_n=0\).
Notice that any computation that only points to MECs from \(\mathbb{B}\) can be seen as a computation on a 1-dim VASS MDP with the only counter corresponding to \(rank_{1,T_{s+1}}^{C_1,\dots,C_r}\), and that contains only zero-unbounded MECs. If we were to consider the initial counter value for this computation to be set to \(n^{r+\epsilon_{4}}\), then from results about 1-dim VASS MDPs from [19] we have an upper asymptotic estimate \(n^{2\cdot r+2\cdot \epsilon_{4}}\) on the number of steps before this counter becomes negative. Therefore it holds for each single segment that \(\lim_{n\rightarrow\infty}\mathbb{P}_{p\vec{n}}^\sigma[m\geq n^{2\cdot r+2\cdot \epsilon_{4}+\epsilon_{6}}]=0\). Thus assuming \[\label{eq--epsbound-bcfyhcdqqqqg} 2\cdot \epsilon_{4}+\epsilon_{6}<\epsilon_{5}\tag{47}\] for any constant \(a'>0\) it holds for all sufficiently large \(n\) that \(\mathbb{P}_{p\vec{n}}^\sigma[m\geq n^{2r+\epsilon_{5}}]\leq a'\).
We call a segment decreasing if \(b\leq -n^{r+\epsilon_{4}}\) in the given segment. From the above, the probability that a segment is decreasing can be lower bounded by \(\frac{1}{2}-\kappa_n-\mathbb{P}_{p\vec{n}}^\sigma[m\geq n^{2\cdot r+\epsilon_{5}}]\). If a segment is not decreasing then we call it non-decreasing.
Let \(\#_{non-decreasing}(\alpha)\) and \(\#_{decreasing}(\alpha)\) denote the number of non-decreasing and decreasing segments along the computation \(\alpha\), respectively. Let \(LONG\) be the set of all computations \(\alpha\) on \(\pazocal{A}\) such that \(\alpha\) contains exactly \(\lfloor n^{k-2\cdot r+\epsilon-\epsilon_{5}} \rfloor\) segments, and let \(LONGER\) be the set of all computations that have a prefix in \(LONG\). Let \(BAD\subseteq LONG\) be the set of all computations \(\alpha\in LONG\) such that \(\#_{decreasing}(\alpha)\leq n^{k-2\cdot r+\epsilon-\epsilon_{5}-\epsilon_{7}}\). For each \(\alpha\in LONG\) it holds \(\#_{decreasing}(\alpha)\leq n^{k-2r+\epsilon-\epsilon_{5}-\epsilon_{7}}\) iff \(\#_{non-decreasing}(\alpha)> \lfloor n^{k-2\cdot r+\epsilon-\epsilon_{5}}\rfloor - n^{k-2\cdot r+\epsilon-\epsilon_{5}-\epsilon_{7}}\geq \frac{2}{3}\cdot \lfloor n^{k-2\cdot r+\epsilon-\epsilon_{5}}\rfloor\) (here the last inequality holds for all sufficiently large \(n\)). Notice that whether a segment is decreasing or not is independent of all the other segments along \(\alpha\in LONG\), therefore this can be viewed as a binomial distribution with probability of success (i.e. being decreasing) being at least \(\frac{1}{2}-p_n\) where \(p_n=\kappa_n+\mathbb{P}_{p\vec{n}}^\sigma[m\geq n^{2\cdot r+\epsilon_{5}}]\) and the number of trials being \(\lfloor n^{k-2\cdot r+\epsilon-\epsilon_{5}} \rfloor\). Thus from the Chernoff bound for Binomial distribution (Theorem 1 of [22]) it holds for all sufficiently large \(n\) \[\begin{gather} \mathbb{P}_{p\vec{n}}^{\sigma}[\#_{decreasing}\leq n^{k-2\cdot r+\epsilon-\epsilon_{5}-\epsilon_{7}}\mid LONG] =\\ \mathbb{P}_{p\vec{n}}^{\sigma}[\#_{non-decreasing}\geq \lfloor n^{k-2\cdot r+\epsilon-\epsilon_{5}}\rfloor - n^{k-2\cdot r+\epsilon-\epsilon_{5}-\epsilon_{7}}\mid LONG] \leq \\ \mathbb{P}_{p\vec{n}}^{\sigma}[\#_{non-decreasing}\geq \frac{2}{3}\cdot \lfloor n^{k-2\cdot r+\epsilon-\epsilon_{5}}\rfloor\mid LONG] \leq\\ \exp\big( - \lfloor n^{k-2\cdot r+\epsilon-\epsilon_{5}}\rfloor\cdot (\frac{2}{3}\cdot \log\frac{\frac{2}{3}}{\frac{1}{2}+p_n}+(1-\frac{2}{3})\cdot \log \frac{1-\frac{2}{3}}{\frac{1}{2}-p_n} ) \big) \leq \exp\big( - \lfloor n^{k-2\cdot r+\epsilon-\epsilon_{5}-\epsilon_{8}}\rfloor \big) \end{gather}\] where the last inequality follows from \(\log\frac{1}{\frac{1}{2}+p_n}>\frac{2}{3}\cdot \log\frac{\frac{2}{3}}{\frac{1}{2}+p_n}+(1-\frac{2}{3})\cdot \log \frac{1-\frac{2}{3}}{\frac{1}{2}-p_n} >0\) which holds from [22].
As \(\lim_{n\rightarrow\infty}\exp\big( - \lfloor n^{k-2\cdot r+\epsilon-\epsilon_{5}-\epsilon_{8}}\rfloor \big)=0\) it holds for all sufficiently large \(n\) that \(\mathbb{P}_{p\vec{n}}^{\sigma}[\#_{decreasing}\leq n^{k-2\cdot r+\epsilon-\epsilon_{5}-\epsilon_{7}}\mid LONG] \leq \frac{a}{2}\). But since \(\mathbb{P}_{p\vec{n}}^\sigma[LONGER \textit{ and } R_{\epsilon_{1}}]\geq a\) it must hold \(\mathbb{P}_{p\vec{n}}^\sigma[\#_{decreasing}> n^{k-2\cdot r+\epsilon-\epsilon_{5}-\epsilon_{7}} \textit{ and } R_{\epsilon_{1}}]\geq a-\frac{a}{2}= \frac{a}{2}\). But notice that each decreasing segment must increase the value of \(rank^{C_1,\dots,C_r}_{1,T_{s-1}}\) by at least \(n^{r+\epsilon_{9}}\) with the steps that do not point at a MEC from \(\mathbb{B}\), since the section starts with \(rank^{C_1,\dots,C_r}_{1,T_{s-1}}\) being at most \(n^{r+\epsilon_{3}}\) and the effect of \(b\) on \(rank^{C_1,\dots,C_r}_{1,T_{s-1}}\) is at most \(-n^{r+\epsilon_{4}}\), thus for \[\label{eq-epsbound-kbhvjgcuivhkvcivs} \epsilon_{4}>\epsilon_{3}\tag{48}\] in order for the ranking function to remain positive it must be increased by at least \(n^{r+\epsilon_{9}}\leq n^{r+\epsilon_{4}}-n^{r+\epsilon_{3}}\) where we assume \[\label{eq-epsbound-njbhioopihworbwo} \epsilon_{9}<\epsilon_{4}\tag{49}\] as the value of \(rank^{C_1,\dots,C_r}_{1,T_{s-1}}\) cannot be negative without a negative counter implies termination in \(\pazocal{A}\).
The steps pointing to a MEC of \(\pazocal{A}_\sigma\) where \(\sigma\in cMD(\pazocal{A}_{1,T_{s-1}} )\) corresponding to a component whose effect on \(rank^{C_1,\dots,C_r}_{1,T_{s-1}}\) is zero-bounded can ever change \(rank^{C_1,\dots,C_r}_{1,T_{s-1}}\) by at most a constant in total. The steps pointing to a MEC of \(\pazocal{A}_\sigma\) where \(\sigma\in cMD(\pazocal{A}_{1,T_{s-1}} )\) whose effect on \(rank^{C_1,\dots,C_r}_{1,T_{s-1}}\) is decreasing clearly cannot increase \(rank^{C_1,\dots,C_r}_{1,T_{s-1}}\) by more that \(n^\epsilon\) with high enough probability (i.e., the probability goes to \(0\) as \(n\rightarrow\infty\)). The maximal change of \(rank^{C_1,\dots,C_r}_{1,T_{s-1}}\) by steps that do not point at any MEC of \(\pazocal{A}_\sigma\) where \(\sigma\in cMD(\pazocal{A})\) is upper bounded by \(u\cdot |MECs|\cdot n^{\epsilon_1}\) for any computation from \(E_{\epsilon_1}\). As no component of no \(\pazocal{A}_{1,T_{s+1}}\) is increasing on \(rank^{C_1,\dots,C_r}_{1,T_{s-1}}\) (see Section 3.2) this leaves only steps pointing to a MEC of \(\pazocal{A}_\sigma\) where \(\sigma\in cMD(\pazocal{A})\) that contains a transition from \(T_1\setminus T_{s}\), but we already established that the maximal possible total increase of \(rank^{C_1,\dots,C_r}_{1,T_{s-1}}\) using these transitions conditioned on \(R_{\epsilon_{1}}\) is upper bounded by \(n^{s+\epsilon_{3}}\).
Hence let \(INCREASE(\alpha)\) be the increase of \(rank^{C_1,\dots,C_r}_{1,T_{s-1}}\) from the steps pointing to a MEC not in \(\mathbb{B}\), then it holds \[\lim_{n\rightarrow\infty}\mathbb{P}_{p\vec{n}}^{\sigma}[INCREASE\geq u + n^\epsilon + u\cdot|MECs|\cdot n^{\epsilon_{1}}+n^{s+\epsilon_{3}}\mid R_{\epsilon_{1}}] =0\]
But since as discussed above it holds \(INCREASE(\alpha)\geq \#_{decreasing}(\alpha)\cdot n^{r+\epsilon_{9}}\) we have for all sufficiently large \(n\in N\) that \[\begin{gather} \mathbb{P}_{p\vec{n}}^\sigma[INCREASE\geq \#_{decreasing}\cdot n^{r+\epsilon_{9}} \textit{ and } R_{\epsilon_{1}}] \geq\\ \mathbb{P}_{p\vec{n}}^\sigma[INCREASE\geq n^{k-2\cdot r+\epsilon-\epsilon_{5}-\epsilon_{7}}\cdot n^{r+\epsilon_{9}} \textit{ and } R_{\epsilon_{1}}] =\\ \mathbb{P}_{p\vec{n}}^\sigma[INCREASE\geq n^{k- r+\epsilon-\epsilon_{5}-\epsilon_{7}+\epsilon_{9}} \textit{ and } R_{\epsilon_{1}}] \geq \frac{a}{2} \end{gather}\]
Thus if it were to holds \(n^{k- r+\epsilon-\epsilon_{5}-\epsilon_{7}+\epsilon_{9}}\geq u + n^\epsilon + u\cdot|MECs|\cdot n^{\epsilon_{1}}+n^{s+\epsilon_{3}}\) for all sufficiently large \(n\) we would have arrived at a contradiction. Remember that \(k=\max(s+r,2r)\), let us consider the two possibilities separately.
If \(k=s+r\) then we can write \[\begin{align} n^{k- r+\epsilon-\epsilon_{5}-\epsilon_{7}+\epsilon_{9}} \geq u + n^\epsilon + u\cdot|MECs|\cdot n^{\epsilon_{1}}+n^{s+\epsilon_{3}} \\ n^{s+r- r+\epsilon-\epsilon_{5}-\epsilon_{7}+\epsilon_{9}} \geq u + n^\epsilon + u\cdot|MECs|\cdot n^{\epsilon_{1}}+n^{s+\epsilon_{3}} \\ n^{s+\epsilon-\epsilon_{5}-\epsilon_{7}+\epsilon_{9}} \geq u + n^\epsilon + u\cdot|MECs|\cdot n^{\epsilon_{1}}+n^{s+\epsilon_{3}} \end{align}\] which holds for all sufficiently large \(n\) assuming \[\label{eq-epsbound-jbvhucivkhgckutfliygkc} \epsilon<\epsilon-\epsilon_{5}-\epsilon_{7}+\epsilon_{9}\tag{50}\] \[\label{eq-epsbound-jbvhucivkfdhgckutfliygkc} \epsilon_1<\epsilon-\epsilon_{5}-\epsilon_{7}+\epsilon_{9}\tag{51}\] \[\label{eq-epsbound-jbfdssvhucivkhgckutfliygkc} \epsilon_3<\epsilon-\epsilon_{5}-\epsilon_{7}+\epsilon_{9}\tag{52}\]
If \(k=2r\) then we can write \[\begin{align} n^{k- r+\epsilon-\epsilon_{5}-\epsilon_{7}+\epsilon_{9}} \geq u + n^\epsilon + u\cdot|MECs|\cdot n^{\epsilon_{1}}+n^{s+\epsilon_{3}} \\ n^{2r- r+\epsilon-\epsilon_{5}-\epsilon_{7}+\epsilon_{9}} \geq u + n^\epsilon + u\cdot|MECs|\cdot n^{\epsilon_{1}}+n^{s+\epsilon_{3}} \\ n^{r+\epsilon-\epsilon_{5}-\epsilon_{7}+\epsilon_{9}} \geq u + n^\epsilon + u\cdot|MECs|\cdot n^{\epsilon_{1}}+n^{s+\epsilon_{3}} \end{align}\] as in this case it holds \(r>s\), the above holds for all sufficiently large \(n\) for the same assumptions as in the previous case.
It remains to show there exist values for \(\epsilon_1,\epsilon_2,\dots\) that satisfy all of our assumptions. We do this in Table 5.
| \(\epsilon\) assignment | restrictions | After substitution | |
|---|---|---|---|
| \(\epsilonr_1=\nicefrac{\min(\frac{1}{3},\epsilon)}{1000}\) | \(0<\epsilon_1,\epsilon_2,\dots\) | ||
| \(\epsilonr_2=\nicefrac{\min(\frac{1}{3},\epsilon)}{100}\) | \(\epsilonr_{2}>\epsilonr_{1}\) | [eq-epsbound-ojbfsdvugolyibvuotyib] | \(\nicefrac{\min(\frac{1}{3},\epsilon)}{100}>\nicefrac{\min(\frac{1}{3},\epsilon)}{1000}\) |
| \(\epsilon_{3}=\nicefrac{\min(\frac{1}{3},\epsilon)}{40}\) | \(\epsilonr_{3}>\epsilonr_{1}+\epsilonr_{2}\) | [eq-epsbound-ojbvugolyibvuotyib] | \(\nicefrac{\min(\frac{1}{3},\epsilon)}{40}>\nicefrac{\min(\frac{1}{3},\epsilon)}{1000}+\nicefrac{\min(\frac{1}{3},\epsilon)}{100}\) |
| \(\epsilon_{4}=\nicefrac{\min(\frac{1}{3},\epsilon)}{25}\) | \(\epsilonr_{3}>2\cdot \epsilonr_{1}\) | [eq-epsbound-nbvtuioqvdfdfdfd] | \(\nicefrac{\min(\frac{1}{3},\epsilon)}{40}>2\cdot \nicefrac{\min(\frac{1}{3},\epsilon)}{1000}\) |
| \(\epsilon_{5}=\nicefrac{\min(\frac{1}{3},\epsilon)}{10}\) | \(2\cdot \epsilonr_{4}+\epsilonr_{6}<\epsilonr_{5}\) | [eq--epsbound-bcfyhcdqqqqg] | \(2\cdot \nicefrac{\min(\frac{1}{3},\epsilon)}{25}+\nicefrac{\min(\frac{1}{3},\epsilon)}{100}<\nicefrac{\min(\frac{1}{3},\epsilon)}{10}\) |
| \(\epsilon_{6}=\nicefrac{\min(\frac{1}{3},\epsilon)}{100}\) | \(\epsilonr_{4}>\epsilonr_{3}\) | [eq-epsbound-kbhvjgcuivhkvcivs] | \(\nicefrac{\min(\frac{1}{3},\epsilon)}{25}>\nicefrac{\min(\frac{1}{3},\epsilon)}{40}\) |
| \(\epsilon_{7}=\nicefrac{\min(\frac{1}{3},\epsilon)}{10}\) | \(\epsilonr_{9}<\epsilonr_{4}\) | [eq-epsbound-njbhioopihworbwo] | \(\nicefrac{\min(\frac{1}{3},\epsilon)}{100}<\nicefrac{\min(\frac{1}{3},\epsilon)}{25}\) |
| \(\epsilon_{8}=\epsilon\) | \(\epsilon<\epsilon-\epsilonr_{5}-\epsilonr_{7}+\epsilonr_{9}\) | [eq-epsbound-jbvhucivkhgckutfliygkc] | \(\epsilon<\epsilon-\nicefrac{\min(\frac{1}{3},\epsilon)}{10}-\nicefrac{\min(\frac{1}{3},\epsilon)}{10}+\epsilon\) |
| \(\epsilon_{9}=\epsilon\) | \(\epsilonr_1<\epsilon-\epsilonr_{5}-\epsilonr_{7}+\epsilonr_{9}\) | [eq-epsbound-jbvhucivkfdhgckutfliygkc] | \(\nicefrac{\min(\frac{1}{3},\epsilon)}{1000}<\epsilon-\nicefrac{\min(\frac{1}{3},\epsilon)}{10}-\nicefrac{\min(\frac{1}{3},\epsilon)}{10}+\epsilon\) |
| \(\epsilonr_3<\epsilon-\epsilonr_{5}-\epsilonr_{7}+\epsilonr_{9}\) | [eq-epsbound-jbfdssvhucivkhgckutfliygkc] | \(\nicefrac{\min(\frac{1}{3},\epsilon)}{40}<\epsilon-\nicefrac{\min(\frac{1}{3},\epsilon)}{10}-\nicefrac{\min(\frac{1}{3},\epsilon)}{10}+\epsilon\) | |
Thus Lemma 37 holds. ◻
We refer to [19] or Appendix 7 for detailed description of the cMD decomposition/pointing VASS.↩︎
The probability of not yet being in a MEC decreases exponentially fast with the number of steps. Therefore the probability of the effect of these steps being over \(n^\epsilon\) on any counter decreases exponentially fast as \(n\) increases.↩︎
Note that in general this pointing pair assignment is not necessarily unique. However as discussed in [19] we can fix some function assigning the pointing pair and under this function the assignment is unique. Thorough this paper we assume we have fixed some such function and thus we assume that all such assignments are unique.↩︎
We refer to [19] for more detailed description of pointing VASS.↩︎
Note that \(\mathbf{y}\) exists since there is only a single strategy in \(\pazocal{A}\) which is in \(cMD\). Thus every multi-component of \(\pazocal{A}\) that is centered in some state is a component.↩︎
Cycle as in visit them in order, if we were to say visit \(p,q,q,q,q,p,p,q,p\) then this are only two cycles as we starting from \(p\) reach \(q\) before returning to \(p\) only twice.↩︎
\(G^i\) is strongly connected since \(B_i\) is a MEC, and thus for each two states \(p,q\) of \(B_i\) there exists a simple path from \(p\) to \(q\), and hence there also exists a strategy \(\sigma\in cMD\) which reaches \(q\) from \(p\), and thus there also exists a component \(\mathbf{y}_{p,q}\) corresponding to \(\sigma\) whose corresponding MEC contains both \(p\) and \(q\). Let \(\mathbf{y}\) and \(\mathbf{y}'\) be two components of \(B_i\), and let \(p,q\) be some states of the MECs corresponding to \(\mathbf{y},\mathbf{y}'\), respectively. Then it holds \((\mathbf{y},\mathbf{y}_{p,q}),(\mathbf{y}_{p,q},\mathbf{y}')\in E^i\). Hence \(G^i\) is strongly connected.↩︎
This follows from \(\mathbf{s}\) being expressible as a linear combination of elements from \(BASIS_\bot\), and each \(BASIS_\bot\) is expressible as a linear combination of elements from \(BASIS\) using our fixed constants \(b_{\mathbf{v},\mathbf{u}}\).↩︎
Technically, this can cause the counter values in these bins to no longer be integers. Note that this is not an issue as all the individual strategies simulated on these bins ignore the counter values. Also note that the sum of all the counters vectors in all of the bins (i.e. the actual counters vector) still sums up to an integer vector.↩︎