betaFeedback

WorksComputer Science

Rate–burst safety languages: the Farey structure of the burst boundary and discrimination under erasures

Abstract

A leaky-bucket constraint with rate ρρ and burst BB allows at most ρn+Bρn+B costly steps in every window of nn consecutive steps. The infinite 0/1 words that satisfy it form a safety language. For a finite graph with edge costs 0 and 1, we study the least burst at which the cost word of some infinite path lies in this language, as a function of the real rate. This function is the exact tolerance of a monitor that distinguishes two finite-state systems observed through an erasure channel with a leaky-bucket bound. The language is ωω-regular at every rational rate but not at irrational rates once the burst reaches 1, so ultimately periodic witnesses do not come from automata theory. We prove directly that simple lassos suffice at all real rates and that all breakpoints of the boundary lie in the Farey sequence of order N for a graph with N vertices. One lasso has a tight bound of order N to the power 2/3 on its affine pieces, whereas the choice among paths creates downward jumps and boundaries that are neither convex nor concave. One evaluation at the mediant of each Farey interval recovers the affine piece and an optimal lasso, and a greatest-fixed-point computation over decreasing integer bursts yields the whole function in polynomial time and linear working space. We also compute discrimination horizons and extend the Farey structure to turn-based safety games.

Introduction

A rate–burst constraint bounds the number of events in every time window by an affine function of the window length. In network calculus, a flow regulated by a leaky bucket with rate ρ\rho and burst BB sends at most ρn+B\rho n + B units in any nn consecutive slots [14, 26, 6]. This paper imposes the constraint on the costs along infinite paths of a finite graph. Let G=(V,E,S,c)G = (V, E, S, c) be a directed graph with NN vertices, MM edges, a set S⊆VS \subseteq V of initial vertices, and edge costs c:E→{0,1}c : E \to\{0, 1\}. An infinite path e1e2⋯e_1e_2 \cdots from SS is (ρ,B)(\rho, B)-feasible if

∑t=s+1uc(et)≤ρ(u−s)+Bfor all 0≤s<u.(1)\sum_{t=s+1}^{u} c(e_t) \le\rho(u-s) + B \qquad\text{for all } 0 \le s < u. \tag*{(1)}

Key words and phrases: safety languages, ω\omega-regular languages, energy problems, parameter synthesis, leaky-bucket constraint, Farey sequence, safety games.

The central question of this paper is the following: for every real rate ρ∈[0,1]\rho\in[0,1], what is the least burst B∗(ρ)B_\ast(\rho) for which a (ρ,B)(\rho,B)-feasible infinite path exists, and how can the function B∗B_\ast be described and computed on the whole interval [0,1][0,1]?

The question comes from mode discrimination under lossy observation. A monitor observes a system that runs in one of two modes, each given by a finite automaton, and must decide which mode is active. The outputs reach the monitor through a clocked erasure channel: every scheduled observation arrives, but some arrive as an erasure symbol. Existing models of lossy observation bound the number of consecutive losses [15, 16] or the set of events whose observations may be lost [8]. A leaky-bucket bound instead allows infinitely many erasures, provided that every window of nn observations contains at most ρn+B\rho n+B of them. § 4 shows that the monitor reaches a decision in finite time if and only if B<B∗(ρ)B < B_\ast(\rho) for the comparison graph of the two modes, the product of the two automata in which an edge has cost 1 when the two outputs differ. The function B∗B_\ast is therefore the exact tolerance profile of the monitor: for each sustained erasure rate, it gives the burst at which the two modes can first remain confused forever.

At a fixed rate, feasibility is a one-dimensional energy problem with a weak upper bound: the energy Et=min⁡{B,Et−1+ρ−c(et)}E_t = \min\{B, E_{t-1}+\rho-c(e_t)\} starts at E0=BE_0=B, energy above BB is discarded, and the energy must remain nonnegative. Polynomial algorithms decide this problem at one rate [4, 19], and at a rational rate the least burst can be found by binary search over integer capacities. Such rate-by-rate methods do not show where the optimal path changes, how many affine pieces B∗B_\ast has, or whether finitely many evaluations determine B∗B_\ast at all real rates. Parametric shortest paths do not answer these questions either. Shortest-path distances, as functions of a parameter, are lower envelopes of affine functions, hence concave and continuous where finite [25, 35]. The burst objective first maximizes over windows and then minimizes over infinite paths. The resulting boundary can jump downward, and even a continuous boundary can be neither convex nor concave (Proposition 6.5).

The constraint also has a direct reading in the theory of infinite words. The infinite 0/1 words that satisfy (1.1) form a set W(ρ,B)W(\rho,B) that is closed in the Cantor topology, so the constraint is a safety property, and B∗(ρ)B_\ast(\rho) is the least BB for which the cost word of some infinite path of GG lies in W(ρ,B)W(\rho,B). Computing B∗B_\ast on [0,1][0,1] is therefore a parameter synthesis problem: it describes all pairs (ρ,B)(\rho,B) for which a finite system meets an existential safety requirement. The rate is the delicate parameter. At a rational rate p/qp/q, a deterministic automaton that counts the scaled load accepts W(p/q,B)W(p/q,B), and the emptiness check for ω\omega-regular languages returns an ultimately periodic witness. At an irrational rate with B≥1B \ge1, the set W(ρ,B)W(\rho,B) is not ω\omega-regular (Theorem 3.3). This route is then closed, and we prove the existence of lasso witnesses directly. The whole boundary is nevertheless determined by finitely many rational rates, one of denominator at most 2N2N in each Farey interval.

Figure 1 shows a small example. The graph has two cycles through its initial vertex hh. Reading the edge costs along them gives the cost words 10 and 11000, with mean costs 1/21/2 and 2/52/5. For ρ<2/5\rho< 2/5, each cycle costs more than ρ\rho times its length, so long windows violate (1.1) for every finite BB. For 2/5≤ρ<1/22/5 \le\rho< 1/2, a feasible path must traverse the cycle 11000 infinitely often, and its two consecutive cost-1 edges force B≥2−2ρB \ge2-2\rho; the path that repeats this cycle attains this bound. At ρ=1/2\rho=1/2, the cycle 10 becomes usable, which means that its mean cost no longer exceeds ρ\rho, and it needs only B=1−ρB=1-\rho. The boundary thus drops from 1 to 1/21/2 at ρ=1/2\rho=1/2. In the discrimination reading, the edges of cost 1 are warnings emitted by one mode while the other mode emits ordinary reports, and the monitor tolerates a burst just below 2−2ρ2-2\rho when 2/5≤ρ<1/22/5 \le\rho< 1/2 but only a burst below 1−ρ1-\rho when ρ≥1/2\rho\ge1/2.

Figure 1. Left: a graph with initial vertex hh and two simple cycles, ho1hho_1h with cost word 10 and ho1o2y2y1hho_1o_2y_2y_1h with cost word 11000. Right: its burst boundary, which is infinite on [0,2/5)[0,2/5), equals 2−2ρ2-2\rho on [2/5,1/2)[2/5,1/2), and equals 1−ρ1-\rho on [1/2,1][1/2,1]. Shading marks the pairs (ρ,B)(\rho,B) that admit a feasible infinite path. The open point is excluded.

Contributions

Our results separate the geometry of one path from the choices available in a graph, and Table 1 lists where each result is proved.

QuestionResultLocation
Feasible wordsSafety language; ω\omega-regular at rational rates, not at irrational rates when B≥1B \ge1Theorem 3.3
Witness pathsSimple lassos suffice at all real ratesTheorem 5.1
One lassoΘ(N2/3)\Theta(N^{2/3}) pieces in the worst caseTheorem 5.4
Whole boundaryO(N2)O(N^2) pieces, breakpoints in FN\mathcal{F}_N, characterization of jumps, terminal piece R(1−ρ)R(1-\rho)Theorem 6.1, Propositions 6.3, 6.4
ShapeContinuous examples that are neither convex nor concave; (N−2)/3(N-2)/3 jumpsPropositions 6.5, 6.7
Fixed burstContinuous critical rate with slopes in {0}∪{−1/ℓ}\{0\} \cup\{-1/\ell\}Theorem 6.8
ComputationO((N+M)N4)O((N+M)N^4) operations, O(N+M)O(N+M) working spaceTheorem 7.5
Discrimination timeExact value at rational parameters; growth 1/(μ−ρ)1/(\mu-\rho)Proposition 8.1, Theorem 8.2
Safety gamesSame Farey structure; one positional strategy per intervalTheorems 9.3, 9.4
Büchi acceptanceRight continuity failsProposition 9.5

Table 1. Main results. NN and MM are the numbers of vertices and edges of the graph or arena.

  1. The feasible words form a safety language that is ω\omega-regular at every rational rate and is not ω\omega-regular at irrational rates once B≥1B \ge1. At every real rate, whenever a feasible infinite path exists, a feasible simple lasso exists. The burst requirement of a simple lasso, where finite, is a maximum of lines k−ℓρk-\ell\rho with integers 0≤k≤ℓ≤N−10 \le k \le\ell\le N-1. A single simple lasso has Θ(N2/3)\Theta(N^{2/3}) affine pieces in the worst case, and a deterministic path ending in a zero-cost self-loop attains this order.

  1. The burst boundary of a graph has O(N2)O(N^2) affine pieces, and all its breakpoints lie in the Farey sequence of order NN. We characterize when a jump occurs, prove that B∗(ρ)/(1−ρ)B_*(\rho)/(1-\rho) is nonincreasing, and show that the last piece is R(1−ρ)R(1-\rho), where RR is the least possible length of the longest run of cost-1 edges on an infinite path. A family of graphs has (N+1)/3(N+1)/3 finite pieces and (N−2)/3(N-2)/3 downward jumps. The critical-rate function, which gives the least rate at a fixed burst, is continuous.

  1. The value of B∗B_* at the mediant of a Farey interval determines the affine piece on that interval and a simple lasso that is optimal on it. A sweep over decreasing integer capacities with one load threshold per vertex computes the whole boundary in O((N+M)N4)O((N+M)N^4) arithmetic operations and O(N+M)O(N+M) working space.

  1. Below the minimum cycle mean μ\mu, the discrimination horizon is finite for every burst, can be computed exactly at rational parameters, and grows as B/(μ−ρ)B/(\mu-\rho).

  1. In fully observed turn-based safety games with the same constraint, the least burst has the same Farey structure, and one positional strategy is optimal throughout each Farey interval. A Büchi condition destroys right continuity, even in a one-vertex arena.

The algorithm rests on two observations. At a Farey mediant p/qp/q, the integer qB∗(p/q)=qk−pℓqB_*(p/q)=qk-p\ell determines the coefficients (k,ℓ)(k,\ell), because ℓ≤q\ell\le q. In the product of GG with the load automaton, the states from which an infinite path starts form the greatest fixed point of the predecessor operator, as for every safety objective, and at each vertex their loads form an interval starting at 0. One integer per vertex therefore represents this fixed point, and maintaining these integers while the capacity decreases finds the least feasible capacity in one pass.

§ 2 reviews related work. § 3 defines the safety language of feasible words and the burst boundary and determines when the language is ω\omega-regular, and § 4 derives it from the discrimination problem. § 5 proves the lasso reduction and the sharp piece bound for one lasso. § 6 studies the boundary of a graph and the critical-rate function, and § 7 gives the algorithm. § 8 computes discrimination horizons, § 9 treats safety games, and § 10 concludes.

Related work

Diagnosis under unreliable observations. Diagnosability of discrete-event systems was formalized by Sampath et al. [34], and Cassandras and Lafortune give a textbook account [12]. Several works relax the assumption that every observable event reaches the diagnoser. Athanasopoulou et al. [ALH10] compute the most likely failure mode when sensors insert, delete, or transpose symbols with known probabilities. Carvalho et al. [8] model intermittent loss of observations by language dilation, and Oliveira et al. [15, 16] bound the number of consecutive losses. Lin [28] and Nunes et al. [32] treat communication delays and losses in networked supervisory control and codiagnosis. Dong et al. [18] specify unreliable sensors in linear temporal logic and use a compactness argument similar to Proposition 4.3. Lin et al. [29] and Li et al. [27] analyze diagnosis under sensor attacks with deletions, insertions, and substitutions. These works decide diagnosability for one given loss model. In our model the erasure symbol preserves the observation clock, the number of erasures may be unbounded, and we compute the set of all rate–burst pairs under which the modes can be distinguished in finite time.

Network calculus. The window constraint (1.1) is the affine arrival curve of network calculus, which describes traffic regulated by a leaky bucket [14, 26, 6]. Zippo et al. [ZNS23] state it in the discrete-time form used here and give algorithms for ultimately pseudo-periodic functions. In network calculus the rate and the burst describe a given flow. Here they are optimized over the infinite paths of a graph and, in § 9, over the moves of an adversary.

Energy problems. Energy problems were introduced by Chakrabarti et al. [9], and Brim et al. [3] compute the least initial credit by a fixpoint iteration. Bouyer et al. [4] decide the existence of an infinite run under a weak upper bound in polynomial time for integer weights and prove that memoryless strategies suffice in the one-dimensional case. Hélouët et al. [19] study reachability games with relaxed energy constraints and show that, if some weak upper bound admits an infinite run, then one of size at most NN times the largest absolute weight does. Juhl et al. [22] treat the upper bound, or the weights of some transitions, as parameters and construct the set of admissible values from its minimal elements. Dziadek et al. [17] solve energy problems with Büchi and parity acceptance conditions. Farey sequences and reweighting also appear in mean-payoff algorithms [13]. All these methods work at one rate at a time. Our parameter is the rate, which is subtracted from every edge weight, and we describe the least burst as a function of a real rate.

Parametric optimization. When every edge length has a parameter coefficient in {0,−1}\{0,-1\}, shortest-path distances, as functions of the parameter, have polynomially many pieces [25, 35]; superpolynomial lower bounds concern unrestricted affine coefficients [7, 31]. Shortest-path values are concave where finite. For a single lasso, our piece bound uses the lattice-point count of Jarník [Jar26] for convex curves.

Quantitative languages and parameter synthesis. Quantitative languages assign a value to every infinite word, and Chatterjee et al. [10] compare the supremum, limit-average, and discounted values computed by weighted automata. For a fixed rate, the least burst of a word, sup⁡s<u(∑t=s+1uzt−ρ(u−s))\sup_{s<u}\left(\sum_{t=s+1}^{u} z_t-\rho(u-s)\right), is such a value, and B∗(ρ)B_*(\rho) is the least value of a cost word of GG. This value is a supremum over all windows rather than over prefixes, and it depends on a real parameter. Parameter synthesis asks for all parameter values under which a system satisfies a property; for parametric timed automata, already the emptiness problem is undecidable [1]. In our setting the parameters enter linearly into a one-counter safety condition, and the set of feasible pairs (ρ,B)(\rho,B) is the epigraph of a piecewise affine function with Farey breakpoints, which need not be convex. Mechanical words [Lot02] have the most even distribution of ones for a given frequency. At an irrational rate they belong to W(ρ,1)W(\rho,1), and this is the source of nonregularity in Theorem 3.3.

Window objectives. Window objectives bound the time within which accumulated payoff must recover. Chatterjee et al. [CDRR15] introduce window mean-payoff objectives for games, and Ji et al. [23] synthesize supervisors for local mean-payoff conditions. Benedikt et al. [5] compute the asymptotic per-character cost of repairing regular languages and relate streaming repair to mean-payoff games. Our constraint has no window that must close: inequality (1.1) must hold for every window, of every length and at every position. Proposition 9.5 shows how a Büchi requirement changes the resulting boundary.

Rate–burst safety languages and the burst boundary

We first state the constraint for words and then for paths. For a finite or infinite word z=z1z2⋯z = z_1z_2\cdots over {0,1}\{0,1\}, a window is a factor zs+1⋯zuz_{s+1}\cdots z_u with s<us < u, and its excess at rate ρ\rho is ∑t=s+1uzt−ρ(u−s)\sum_{t=s+1}^{u} z_t - \rho(u-s). The word is (ρ,B)(\rho,B)-feasible if every window has excess at most BB, that is, if it satisfies (1.1) with ztz_t in place of c(et)c(e_t). Let

W(ρ,B)={z∈{0,1}ω:z is (ρ,B)-feasible}.(2)W(\rho,B)=\{z\in\{0,1\}^{\omega}:z\text{ is }(\rho,B)\text{-feasible}\}. \tag*{(2)}

Every window of an infinite word lies in a finite prefix, so an infinite word belongs to W(ρ,B)W(\rho,B) exactly when all its finite prefixes are feasible. In the Cantor topology on {0,1}ω\{0,1\}^{\omega}, this means that W(ρ,B)W(\rho,B) is closed, that is, a safety property [33].

Fix G=(V,E,S,c)G=(V,E,S,c) as in § 1, with N=∣V∣≥1N=|V|\ge1, M=∣E∣M=|E|, and S≠∅S\ne\varnothing. We assume that every vertex is reachable from SS, and we allow parallel edges. Paths start in SS unless another start vertex is named. For a finite path PP, let ∣P∣|P| be its number of edges and cost⁡(P)\operatorname{cost}(P) its total cost. The cost word of a path e1e2⋯e_1e_2\cdots is c(e1)c(e2)⋯c(e_1)c(e_2)\cdots, and a path is feasible if its cost word is feasible. Let L(G)⊆{0,1}ωL(G)\subseteq\{0,1\}^{\omega} be the set of cost words of infinite paths.

Along a word, or along the cost word of a path, the reflected load is

x0=0,xt=max⁡{0,xt−1+c(et)−ρ}.(3)x_0=0,\qquad x_t=\max\{0,x_{t-1}+c(e_t)-\rho\}. \tag*{(3)}

Induction on tt shows that

xt=max⁡0≤s≤t(∑j=s+1tc(ej)−ρ(t−s)),(4)x_t=\max_{0\le s\le t}\left(\sum_{j=s+1}^{t}c(e_j)-\rho(t-s)\right), \tag*{(4)}

where the empty sum at s=ts=t is zero. Thus xtx_t is the largest excess of a window ending at time tt, or 0 if all these excesses are negative, and a path is feasible exactly when xt≤Bx_t\le B for all tt. In network calculus, xtx_t is the backlog of a virtual queue served at rate ρ\rho. The energy Et=B−xtE_t=B-x_t evolves by

E0=B,Et=Tet(Et−1),Te(η)=min⁡{B,η+ρ−c(e)},(5)E_0=B,\qquad E_t=T_{e_t}(E_{t-1}),\qquad T_e(\eta)=\min\{B,\eta+\rho-c(e)\}, \tag*{(5)}

and must remain nonnegative. This is the energy model with a weak upper bound studied in [4, 19, 17]: energy above the capacity BB is discarded.

Definition 3.1. The burst boundary of GG is the function B∗:[0,1]→[0,∞]B_\ast:[0,1]\to[0,\infty] defined by

B∗(ρ)=inf⁡{B≥0:L(G)∩W(ρ,B)≠∅},(6)B_\ast(\rho)=\inf\{B\ge0:L(G)\cap W(\rho,B)\ne\varnothing\}, \tag*{(6)}

with inf⁡∅=∞\inf\varnothing=\infty. Equivalently, B∗(ρ)B_\ast(\rho) is the infimum of the bursts BB for which a (ρ,B)(\rho,B)-feasible infinite path exists.

The restriction ρ≤1\rho\le1 loses nothing: at ρ=1\rho=1 every infinite path is feasible with B=0B=0, so B∗(ρ)B_\ast(\rho) is 0 for ρ≥1\rho\ge1 whenever an infinite path exists.

Lemma 3.2. For every ρ∈[0,1]\rho\in[0,1] and B≥0B\ge0, GG has a feasible infinite path if and only if it has feasible finite paths of every length.

Proof. Feasible finite paths form a prefix-closed, finitely branching tree. If its depth is unbounded, König’s lemma gives an infinite branch, and every window of that branch lies in a feasible prefix. The converse follows by taking prefixes.

The argument uses neither rationality of ρ\rho nor integrality of BB.

When the feasible words form an ω\omega-regular language

A deterministic safety automaton over {0,1}\{0,1\} is a triple D=(Q,q0,δ)D=(Q,q_0,\delta) consisting of a finite set QQ of states, an initial state q0q_0, and a partial transition function δ:Q×{0,1}→Q\delta:Q\times\{0,1\}\to Q. It accepts an infinite word if its run from q0q_0 is defined at every step. Every language accepted by such an automaton is ω\omega-regular and closed [33]. The next theorem shows that W(ρ,B)W(\rho,B) has this form at every rational rate, and that at an irrational rate with B≥1B\ge1 it is not even ω\omega-regular.

Theorem 3.3. Let B≥0B\ge0.

(1) If ρ=p/q\rho=p/q with 0≤p≤q0\le p\le q and gcd⁡(p,q)=1\gcd(p,q)=1, let K=⌊qB⌋K=\lfloor qB\rfloor. Then W(ρ,B)W(\rho,B) is accepted by the deterministic safety automaton Dp,q,KD_{p,q,K} with states {0,…,K}\{0,\ldots,K\}, initial state 00, and transitions

δ(j,a)=max⁡{0,j+qa−p}whenever this value is at most K.(7)\delta(j,a)=\max\{0,j+qa-p\}\qquad\text{whenever this value is at most }K. \tag*{(7)}

(2) If ρ∈(0,1)\rho\in(0,1) is irrational and B≥1B\ge1, then W(ρ,B)W(\rho,B) is not ω\omega-regular.

Proof. For (1), compare (7) with (3.2): after reading tt letters, the automaton is in state qxtqx_t as long as all earlier states are at most KK. The scaled load qxtqx_t is an integer, so xt≤Bx_t\le B holds exactly when qxt≤Kqx_t\le K. The run is therefore defined forever exactly when xt≤Bx_t\le B for all tt, that is, when the word is feasible.

For (2), consider the mechanical word mt=⌊tρ⌋−⌊(t−1)ρ⌋m_t=\lfloor t\rho\rfloor-\lfloor(t-1)\rho\rfloor, t≥1t\ge1. Its letters are 0 or 1 because 0<ρ<10<\rho<1, and every window satisfies

∑t=s+1umt=⌊uρ⌋−⌊sρ⌋<ρ(u−s)+1,(8)\sum_{t=s+1}^{u}m_t=\lfloor u\rho\rfloor-\lfloor s\rho\rfloor<\rho(u-s)+1, \tag*{(8)}

so m∈W(ρ,B)m\in W(\rho,B). Suppose that W(ρ,B)W(\rho,B) is ω\omega-regular. Its set PP of finite prefixes is then a regular language [33]. Take a deterministic finite automaton for PP, keep only the states reached by words of PP, and delete the transitions that leave this set. In the resulting deterministic safety automaton DD, every state has a successor, because every word of PP extends by one letter to a word of PP. The run of DD on an infinite word is defined forever exactly when all prefixes lie in PP, so DD accepts the closed set W(ρ,B)W(\rho,B).

Regard DD as a graph whose edges carry the letters as costs, let nn be its number of states, and let m∗m^* be the largest mean cost of a simple cycle of DD. The run of DD on the first TT letters of mm decomposes into a simple path with at most n−1n-1 edges and simple cycles, so

ρT−1<⌊ρT⌋=∑t=1Tmt≤n−1+m∗T(T≥1).(9)\rho T-1<\lfloor\rho T\rfloor=\sum_{t=1}^{T}m_t\le n-1+m^*T\qquad(T\ge1). \tag*{(9)}

Letting T→∞T\to\infty gives m∗≥ρm^*\ge\rho. The mean cost of a cycle is rational and ρ\rho is not, so m∗>ρm^*>\rho. Let β\beta be a simple cycle of DD with mean cost m∗m^*, and let α\alpha be a path from q0q_0 to a state of β\beta. The word read along αβ∞\alpha\beta^\infty is accepted by DD. A window consisting of kk copies of the label of β\beta has excess k∣β∣(m∗−ρ)k|\beta|(m^*-\rho), which exceeds BB for large kk. This contradicts DD accepting only feasible words. □\square

Theorem 3.3 separates two facts that coincide for ω\omega-regular specifications. If M⊆{0,1}ωM\subseteq\{0,1\}^{\omega} is ω\omega-regular, then L(G)∩ML(G)\cap M is nonempty exactly when it contains an ultimately periodic word, and an emptiness check produces one. At a rational rate this applies to M=W(p/q,B)M=W(p/q,B), and the product of GG with Dp,q,KD_{p,q,K} is the load graph used in Section 7. At an irrational rate the argument is unavailable, and Theorem 5.1 shows that simple lassos remain sufficient. The bound B≥1B \ge1 in part (2) cannot simply be dropped: if B<1−ρB < 1-\rho, no window may contain a 1, and W(ρ,B)={0ω}W(\rho,B)=\{0^\omega\}. The automaton Dp,q,KD_{p,q,K} has ⌊qB⌋+1\lfloor qB\rfloor+1 states, which grow with the denominator qq; § 7 evaluates B∗B_\ast only at rates with denominator at most 2N2N.

Mode discrimination under a clocked erasure channel

This section derives the burst boundary from the discrimination problem described in § 1. Let Σ\Sigma be a finite output alphabet. Mode i∈{0,1}i \in\{0,1\} is a finite labelled transition system

Ai=(Qi,Ii,Δi),Δi⊆Qi×Σ×Qi,Ii≠∅.(10)A_i=(Q_i,I_i,\Delta_i),\qquad\Delta_i\subseteq Q_i\times\Sigma\times Q_i,\qquad I_i\ne\varnothing. \tag*{(10)}

A run of length nn from IiI_i emits a word a1⋯an∈Σna_1\cdots a_n\in\Sigma^n. Nondeterministic transitions and several initial states are allowed. Each transition corresponds to one observation time, and the mode is fixed when observation starts.

An erasure mask of length nn is a word z1⋯zn∈{0,1}nz_1\cdots z_n\in\{0,1\}^n, and the received symbol at time tt is

yt={at,zt=0,⊥,zt=1,⊥∉Σ.(11)y_t= \begin{cases} a_t, & z_t=0,\\ \perp, & z_t=1, \end{cases} \qquad\perp\notin\Sigma. \tag*{(11)}

The receiver therefore sees which positions were erased. A channel that deletes symbols would instead hide the positions of the losses. The mask is (ρ,B)(\rho,B)-admissible if it is a (ρ,B)(\rho,B)-feasible word in the sense of § 3, so the infinite admissible masks form the language W(ρ,B)W(\rho,B). For example, a block of kk consecutive erasures requires k(1−ρ)≤Bk(1-\rho)\le B. Every admissible finite mask extends to an admissible infinite mask by appending zeros.

Let Oin(ρ,B)O_i^n(\rho,B) be the set of received words obtained from runs of length nn of AiA_i under admissible masks. A received word is ambiguous if it lies in both sets.

Definition 4.1. The discrimination horizon is

H(ρ,B)=min⁡{n≥1:O0n(ρ,B)∩O1n(ρ,B)=∅},(12)H(\rho,B)=\min\{n\ge1:O_0^n(\rho,B)\cap O_1^n(\rho,B)=\varnothing\}, \tag*{(12)}

with H(ρ,B)=∞H(\rho,B)=\infty if the set is empty. The modes are uniformly distinguishable under (ρ,B)(\rho,B) if H(ρ,B)<∞H(\rho,B)<\infty.

Both sets of received words are prefix-closed across lengths, so once ambiguity disappears it cannot reappear at a later length. A finite HH is thus a uniform guarantee: after HH observations the monitor knows the mode, whatever the run and the admissible mask.

The comparison graph of A0A_0 and A1A_1 runs the two automata side by side. Its vertex set is the part of Q0×Q1Q_0\times Q_1 reachable from S=I0×I1S=I_0\times I_1, and each pair of transitions (q0,a,q0′)∈Δ0(q_0,a,q'_0)\in\Delta_0 and (q1,b,q1′)∈Δ1(q_1,b,q'_1)\in\Delta_1 gives an edge (q0,q1)→(q0′,q1′)(q_0,q_1)\to(q'_0,q'_1) with cost

c(e)=1{a≠b}∈{0,1}.(13)c(e)=\mathbf{1}_{\{a\ne b\}}\in\{0,1\}. \tag*{(13)}

Edges with the same endpoints and the same cost are merged, which preserves all cost sequences of paths, so the comparison graph has M≤2N2M\le2N^2 edges.

Lemma 4.2. The modes have an ambiguous received word of length nn if and only if the comparison graph has a feasible path of length nn.

Proof. Suppose two runs give the same received word under admissible masks zz and z′z'. Erased positions are visible because ⊥∉Σ\bot\notin\Sigma, so z=z′z=z', and this mask erases every position where the two outputs differ. The cost sequence of the corresponding path in the comparison graph is therefore bounded entrywise by an admissible mask. Lowering entries preserves every upper bound in (1.1), so the path is feasible. Conversely, erasing exactly the positions where the outputs along a feasible path differ is an admissible mask under which the two runs give the same received word.

Proposition 4.3. Let L(ρ,B)∈{0,1,…}∪{∞}L(\rho,B)\in\{0,1,\ldots\}\cup\{\infty\} be the supremum of the lengths of feasible paths in the comparison graph. Then

H(ρ,B)=L(ρ,B)+1,(14)H(\rho,B)=L(\rho,B)+1, \tag*{(14)}

with ∞+1=∞\infty+1=\infty. In particular, H(ρ,B)<∞H(\rho,B)<\infty if and only if B<B∗(ρ)B<B_*(\rho).

Proof. Equation (14) follows from Lemma 4.2 and prefix closure. By Lemma 3.2, L=∞L=\infty exactly when a feasible infinite path exists, and by Corollary 5.3 below, this holds exactly when B≥B∗(ρ)B\ge B_*(\rho).

Every graph with 0/1 edge costs arises as a comparison graph. Let A0A_0 have one state with a self-loop emitting 0, and let A1A_1 be the graph itself with edge ee emitting c(e)c(e). The comparison graph is then the original graph. All examples and lower bounds below therefore hold for discrimination as well.

The window constraint must hold at every position, not only for prefixes. The following example shows why. Consider two output sequences that agree for tt steps and differ at every later step, such as aωa^\omega and atbωa^t b^\omega, and fix 0<ρ<10<\rho<1. Suppose the channel were constrained only on prefixes,

∑j=1nzj≤ρn+B(n≥1).(15)\sum_{j=1}^{n} z_j\le\rho n+B \qquad(n\ge1). \tag*{(15)}

For any block length mm, choose tt with ρt+B≥(1−ρ)m\rho t+B\ge(1-\rho)m. Keeping the first tt outputs and erasing the next mm satisfies every prefix constraint, so the monitor would wait mm steps after the first difference, and mm is unbounded. Under (1.1), the erased block itself requires m(1−ρ)≤Bm(1-\rho)\le B, whatever the length of the preceding agreement. The window form thus bounds the delay after the first difference.

Reduction to simple lassos

A simple lasso is an infinite path λ=αβω\lambda=\alpha\beta^\omega in which α\alpha is a simple path from SS, β\beta is a nonempty simple cycle, and α\alpha and β\beta share only the vertex where β\beta starts. Then ∣α∣+∣β∣≤N|\alpha|+|\beta|\le N. Let L\mathcal{L} be the finite set of simple lassos. Its size can be exponential in NN.

Theorem 5.1. For every ρ∈[0,1]\rho\in[0,1] and B≥0B\ge0, GG has a (ρ,B)(\rho,B)-feasible infinite path if and only if it has a (ρ,B)(\rho,B)-feasible simple lasso.

Proof. A simple lasso is an infinite path, so only the forward direction needs proof. For a vertex vv, let Wv⊆[0,B]W_v\subseteq[0,B] be the set of initial energies from which some infinite path starting at vv keeps the energy (3.4) nonnegative. Each TeT_e is nondecreasing, so WvW_v is upward closed. For each hh, the set of initial energies from which some path of length hh starting at vv keeps the energy nonnegative is closed, because it is a finite union of closed sets and each TeT_e is continuous. By König’s lemma, WvW_v is the intersection of these closed sets over all hh. Every nonempty WvW_v is therefore an interval [τv,B][\tau_v, B].

At each vertex vv with Wv≠∅W_v \ne\emptyset, fix the first edge e=(v,u)e=(v,u) of an infinite path that starts at vv with energy τv\tau_v, so that Te(τv)≥τuT_e(\tau_v) \ge\tau_u. Since TeT_e is nondecreasing, following the fixed edges from any vertex vv with energy at least τv\tau_v keeps the energy at least the threshold of the current vertex. Let ss be the first vertex of a given feasible path. Then B∈WsB \in W_s, so starting at ss with energy BB and following the fixed edges is possible. The resulting path is feasible, and its next edge depends only on the current vertex. It is therefore a simple prefix followed by a repeated simple cycle, that is, a simple lasso.

This is the memoryless-strategy argument of Bouyer et al. [4] for energy constraints with a weak upper bound. We include it because they assume integer weights, whereas the rate and the burst are real here. By Theorem 3.3, ultimately periodic witnesses of ω\omega-regular languages do not cover irrational rates either. § 9 extends the argument to games.

We now compute the least burst of a single simple lasso. For λ=αβω\lambda=\alpha\beta^\omega, let μλ=cost⁡(β)/∣β∣\mu_\lambda=\operatorname{cost}(\beta)/|\beta| be its cycle mean, and let IλI_\lambda be the set of pairs (k,ℓ)(k,\ell) such that some nonempty window of αββ\alpha\beta\beta with at most N−1N-1 edges has cost kk and length ℓ\ell. Thus

0≤k≤ℓ≤N−1for all (k,ℓ)∈Iλ.(16)0 \le k \le\ell\le N-1 \quad\text{for all } (k,\ell) \in I_\lambda. \tag*{(16)}

A cycle, or a lasso, is usable at ρ\rho if its mean cost is at most ρ\rho.

Lemma 5.2. Let the burst requirement cap⁡λ(ρ)\operatorname{cap}_\lambda(\rho) be the least BB for which λ\lambda is (ρ,B)(\rho,B)-feasible. Then cap⁡λ(ρ)=∞\operatorname{cap}_\lambda(\rho)=\infty for ρ<μλ\rho<\mu_\lambda, and for ρ≥μλ\rho\ge\mu_\lambda,

cap⁡λ(ρ)=max⁡({0}∪{k−ℓρ:(k,ℓ)∈Iλ}).(17)\operatorname{cap}_\lambda(\rho)=\max\left(\{0\}\cup\{k-\ell\rho:(k,\ell)\in I_\lambda\}\right). \tag*{(17)}

Proof. If ρ<μλ\rho<\mu_\lambda, each copy of β\beta has positive excess, so windows containing many copies exceed every finite bound. Let ρ≥μλ\rho\ge\mu_\lambda, and take a window of λ\lambda whose part in βω\beta^\omega has at least ∣β∣|\beta| edges. Its last ∣β∣|\beta| edges form a rotation of β\beta, whose excess ∣β∣(μλ−ρ)|\beta|(\mu_\lambda-\rho) is nonpositive, so deleting them leaves a shorter window with at least the same excess. Repeating this step turns a window that starts in βω\beta^\omega into a possibly empty window of ββ\beta\beta with fewer than ∣β∣|\beta| edges, and a window that starts in α\alpha into a window of αβ\alpha\beta with at most ∣α∣+∣β∣−1≤N−1|\alpha|+|\beta|-1\le N-1 edges. Both are windows of αββ\alpha\beta\beta, so every excess is at most the right-hand side of (5.2). Every window of αββ\alpha\beta\beta is a window of λ\lambda, so the bound is attained.

Corollary 5.3. For every ρ∈[0,1]\rho\in[0,1],

B∗(ρ)=min⁡λ∈Lcap⁡λ(ρ),(18)B^*(\rho)=\min_{\lambda\in\mathcal{L}}\operatorname{cap}_\lambda(\rho), \tag*{(18)}

with min⁡∅=∞\min\emptyset=\infty. A feasible infinite path exists exactly when B≥B∗(ρ)B\ge B^*(\rho).

Proof. By Lemma 5.2, each λ\lambda is (ρ,cap⁡λ(ρ))(\rho,\operatorname{cap}_\lambda(\rho))-feasible when cap⁡λ(ρ)<∞\operatorname{cap}_\lambda(\rho)<\infty. By Theorem 5.1, the infimum in (3.5) is the minimum of the finitely many values cap⁡λ(ρ)\operatorname{cap}_\lambda(\rho), and every finite value is attained.

The sharp complexity of one lasso

The finite requirement of one lasso is a convex function of ρ\rho, and the coefficient points (ℓ,k)(\ell,k) of its lines lie in a triangle of side length N−1N-1. Only the points that support the maximum contribute pieces, and these points form a convex lattice chain. Counting such chains as Jarník did [Jar26] gives O(N2/3)O(N^{2/3}) pieces, instead of the O(N2)O(N^2) that the Farey grid allows. For the lower bound, we turn a concave lattice polygon into a binary word whose windows can be bounded explicitly.

Theorem 5.4. The finite part of the burst requirement of a single simple lasso in an NN-vertex graph has O(N2/3)O(N^{2/3}) maximal affine pieces. This order is attained by deterministic graphs: for every sufficiently large NN, some NN-vertex directed path ending in a cost-0 self-loop has a burst boundary with Ω(N2/3)\Omega(N^{2/3}) affine pieces.

Proof. For the upper bound, Lemma 5.2 expresses the finite requirement as the maximum of lines k−ℓρk-\ell\rho with integer coefficients 0≤k≤ℓ≤N−10\leq k\leq\ell\leq N-1. Let rr be the number of maximal affine pieces on its finite domain. Order their coefficient points (ℓ,k)(\ell,k) by increasing ℓ\ell. The differences between consecutive points have positive first coordinate, and their slopes are distinct numbers in [0,1][0,1], because these slopes are the breakpoints of the requirement. Write each difference as a positive integer multiple of a primitive vector (a,b)(a,b), where 1≤a1\leq a and 0≤b≤a0\leq b\leq a. The primitive vectors are distinct, and the sum of their first coordinates is at most N−1N-1. For every integer H≥1H\geq1, at most H(H+3)/2H(H+3)/2 of these vectors have a≤Ha\leq H, and at most (N−1)/(H+1)(N-1)/(H+1) have a>Ha>H. Consequently,

r≤1+H(H+3)2+N−1H+1.(19)r \leq1+\frac{H(H+3)}{2}+\frac{N-1}{H+1}. \tag*{(19)}

Taking H=max⁡{1,⌊N1/3⌋}H=\max\{1,\lfloor N^{1/3}\rfloor\} proves the upper bound.

For the lower bound, fix an integer m≥1m\geq1 and take all coprime pairs (u,v)∈{1,…,m}2(u,v)\in\{1,\ldots,m\}^2. Their number rmr_m satisfies

rm≥m2−∑d=2m⌊md⌋2≥m24,(20)r_m\geq m^2-\sum_{d=2}^{m}\left\lfloor\frac{m}{d}\right\rfloor^2\geq\frac{m^2}{4}, \tag*{(20)}

because ∑d=2∞d−2≤1/4+∫2∞x−2 dx=3/4\sum_{d=2}^{\infty}d^{-2}\leq1/4+\int_2^\infty x^{-2}\,\mathrm{d}x=3/4. Replace each pair by the vector (a,b)=(3u+2v,u+v)(a,b)=(3u+2v,u+v). The matrix with rows (3,2)(3,2) and (1,1)(1,1) has determinant 1, so this vector is primitive and distinct pairs give distinct slopes. Its slope (u+v)/(3u+2v)(u+v)/(3u+2v) lies strictly between 1/31/3 and 1/21/2 because u,v≥1u,v\geq1. Arrange these vectors by decreasing slope and concatenate them to form the edges of a concave polygonal function f:[0,L]→Rf:[0,L]\to\mathbb{R} with f(0)=0f(0)=0. Its vertices (xi,yi)(x_i,y_i), 0≤i≤rm0\leq i\leq r_m, have integer coordinates, and

L=∑a≤5mrm≤5m3.(21)L=\sum a\leq5mr_m\leq5m^3. \tag*{(21)}

Define a binary word w=w1⋯wLw=w_1\cdots w_L by wj=⌊f(j)⌋−⌊f(j−1)⌋w_j=\lfloor f(j)\rfloor-\lfloor f(j-1)\rfloor. Each letter is 0 or 1, since every slope of ff lies in (1/3,1/2)(1/3,1/2). Consider the deterministic graph whose unique infinite path has cost word 11w0ω11w0^\omega; it uses L+3L+3 vertices.

For 0≤ρ≤1/20\leq\rho\leq1/2, put

T(ρ)=max⁡0≤j≤L{⌊f(j)⌋−ρj}=max⁡0≤i≤rm{yi−ρxi}.(22)T(\rho)=\max_{0\leq j\leq L}\{\lfloor f(j)\rfloor-\rho j\}=\max_{0\leq i\leq r_m}\{y_i-\rho x_i\}. \tag*{(22)}

The equality holds because the integer points (j,⌊f(j)⌋)(j,\lfloor f(j)\rfloor) lie on or below the polygon, and every polygon vertex occurs among these points. Concavity and f(0)=0f(0)=0 give $f(j)-f(i)\leq f(j-i) for $0 \le i < j \le L$, so every window wi+1⋯wjw_{i+1}\cdots w_j satisfies

∑t=i+1jwt=⌊f(j)⌋−⌊f(i)⌋≤⌊f(j−i)⌋+1.(23)\sum_{t=i+1}^{j} w_t = \lfloor f(j) \rfloor- \lfloor f(i) \rfloor\le\lfloor f(j-i) \rfloor+ 1. \tag*{(23)}

Its excess is therefore at most ⌊f(j−i)⌋−ρ(j−i)+1≤T(ρ)+1\lfloor f(j-i) \rfloor-\rho(j-i)+1 \le T(\rho)+1. A prefix containing the two initial cost-1 edges has maximum excess 2(1−ρ)+T(ρ)2(1-\rho)+T(\rho), which is at least T(ρ)+1T(\rho)+1 on this rate interval. Any window meeting the initial block of ones can be extended to the beginning without decreasing its excess, and deleting trailing zeros never decreases excess. Hence the graph has boundary

B∗(ρ)=2(1−ρ)+T(ρ)(0≤ρ≤1/2).(24)B_\ast(\rho)=2(1-\rho)+T(\rho) \qquad(0\le\rho\le1/2). \tag*{(24)}

The rmr_m distinct slopes of the polygon produce rmr_m distinct breakpoints of TT in (1/3,1/2)(1/3,1/2), so B∗B_\ast has at least rm+1r_m+1 affine pieces. For an arbitrary sufficiently large NN, choose m=⌊((N−3)/5)1/3⌋m=\left\lfloor((N-3)/5)^{1/3}\right\rfloor and append cost-0 edges before the self-loop until the graph has exactly NN vertices. These edges leave the burst requirement unchanged, and (20) gives Ω(N2/3)\Omega(N^{2/3}) pieces.

The Farey structure of the burst boundary

By Lemma 5.2, every finite burst requirement is a maximum of lines from the family

AN={k−ℓρ:0≤k≤ℓ≤N−1},(25)\mathcal{A}_N=\{k-\ell\rho:0\le k\le\ell\le N-1\}, \tag*{(25)}

which contains the zero line k=ℓ=0k=\ell=0. Two nonparallel lines of AN\mathcal{A}_N meet at ρ=(k−k′)/(ℓ−ℓ′)\rho=(k-k')/(\ell-\ell'), a fraction with denominator at most N−1N-1, and every cycle mean has denominator at most NN. All these rates in [0,1][0,1] belong to the Farey sequence of order NN,

FN={a/b:0≤a≤b≤N, gcd⁡(a,b)=1},(26)\mathcal{F}_N=\{a/b:0\le a\le b\le N,\ \gcd(a,b)=1\}, \tag*{(26)}

which has O(N2)O(N^2) elements. We call the open intervals between consecutive elements of FN\mathcal{F}_N Farey intervals.

Theorem 6.1. The burst boundary has the following properties.

(1) It is nonincreasing and right-continuous on [0,1)[0,1), with values in [0,∞][0,\infty].

(2) On each Farey interval, it is either identically infinite or equal to one line k−ℓρk-\ell\rho of AN\mathcal{A}_N.

(3) It consists of O(N2)O(N^2) affine pieces, and a downward jump can occur only at the cycle mean of a simple lasso.

(4) Every finite value satisfies

B∗(ρ)≤(N−1)(1−ρ).(27)B_\ast(\rho)\le(N-1)(1-\rho). \tag*{(27)}

Proof. For (1), increasing ρ\rho weakens (1), so B∗B_\ast is nonincreasing. Each cap⁡λ\operatorname{cap}_\lambda is infinite below μλ\mu_\lambda and continuous on [μλ,1][\mu_\lambda,1], hence right-continuous with values in [0,∞][0,\infty], and so is the minimum (18) of finitely many such functions.

For (2), no cycle mean lies in a Farey interval, so the set of lassos with finite requirement is the same at every rate of the interval. No two lines of AN\mathcal{A}_N cross inside the interval, so each finite cap⁡λ\operatorname{cap}_\lambda equals one line of AN\mathcal{A}_N there, and so does their minimum.

For (3), FN\mathcal{F}_N has O(N2)O(N^2) elements, so (2) gives O(N2)O(N^2) pieces. Near a rate that is not a cycle mean, the set of lassos with finite requirement is constant, so B∗B_\ast is a minimum of continuous functions there and does not jump. For (4), each line in (17) satisfies k−ℓρ≤ℓ(1−ρ)≤(N−1)(1−ρ)k-\ell\rho\le\ell(1-\rho)\le(N-1)(1-\rho) because k≤ℓ≤N−1k\le\ell\le N-1.

The graph can have exponentially many simple lassos, but their pointwise minimum has only O(N2)O(N^2) pieces. Each individual lasso has O(N2/3)O(N^{2/3}) pieces by Theorem 5.4; choosing among lassos adds pieces and can create discontinuities. The next corollary identifies the rate where the boundary becomes finite.

Corollary 6.2. Suppose GG has a cycle, and let

μ=min⁡βcost⁡(β)∣β∣(28)\mu=\min_{\beta}\frac{\operatorname{cost}(\beta)}{|\beta|} \tag*{(28)}

over simple cycles β\beta. Then B∗(ρ)<∞B_*(\rho)<\infty if and only if ρ≥μ\rho\ge\mu. If GG has no cycle, B∗B_* is identically infinite.

Proof. A lasso with finite requirement at ρ\rho has cycle mean at most ρ\rho. Conversely, a simple path from SS to a cycle attaining μ\mu, stopped at its first vertex on that cycle, forms a simple lasso with finite requirement at every ρ≥μ\rho\ge\mu. An acyclic graph has no infinite path.

Karp’s algorithm computes μ\mu in O(NM)O(NM) time [24]. By (27), a burst B≥(N−1)(1−ρ)B\ge(N-1)(1-\rho) admits a feasible infinite path exactly when ρ≥μ\rho\ge\mu; smaller bursts require the value B∗(ρ)B_*(\rho).

Jumps and the terminal piece

Proposition 6.3. For every ρ0∈(0,1]\rho_0\in(0,1],

B∗(ρ0−)=min⁡λ: μλ<ρ0cap⁡λ(ρ0),(29)B_*(\rho_0^-)=\min_{\lambda:\,\mu_\lambda<\rho_0}\operatorname{cap}_\lambda(\rho_0), \tag*{(29)}

where the minimum of an empty set is ∞\infty. If B∗(ρ0)<∞B_*(\rho_0)<\infty, a downward jump, meaning B∗(ρ0−)>B∗(ρ0)B_*(\rho_0^-)>B_*(\rho_0), occurs at ρ0\rho_0 exactly when every optimal lasso at ρ0\rho_0 has cycle mean ρ0\rho_0. At a reduced rational ρ0=a/b\rho_0=a/b, every jump between two finite values has height a positive integer multiple of 1/b1/b.

Proof. The graph has finitely many simple lassos. Sufficiently close to ρ0\rho_0 from the left, exactly those with μλ<ρ0\mu_\lambda<\rho_0 have finite requirement, and each such requirement is continuous up to ρ0\rho_0. Taking their minimum proves (29). Hence B∗(ρ0−)=B∗(ρ0)B_*(\rho_0^-)=B_*(\rho_0) exactly when some lasso with μλ<ρ0\mu_\lambda<\rho_0 is optimal at ρ0\rho_0. Every lasso with finite requirement at ρ0\rho_0 has μλ≤ρ0\mu_\lambda\le\rho_0, so a jump occurs exactly when every optimal lasso has μλ=ρ0\mu_\lambda=\rho_0. Finally, (17) evaluated at a/ba/b is an integer multiple of 1/b1/b whenever finite, and the same holds for both minima.

The ratio B∗(ρ)/(1−ρ)B_*(\rho)/(1-\rho) is the burst measured in units of a single erased step, since a block of kk consecutive cost-1 edges requires exactly k(1−ρ)k(1-\rho). The next result shows that this ratio is monotone and identifies its final value.

Proposition 6.4. For 0≤ρ<σ<10\le\rho<\sigma<1 with B∗(ρ)<∞B_*(\rho)<\infty,

B∗(σ)1−σ≤B∗(ρ)1−ρ.(30)\frac{B_*(\sigma)}{1-\sigma}\le\frac{B_*(\rho)}{1-\rho}. \tag*{(30)}

Suppose an infinite path exists. Call the supremum of the lengths of the all-1 windows of an infinite path its longest run, with value 0 if the path has no cost-1 edge, and let RR be the least longest run of an infinite path. If R<∞R<\infty, then R≤N−1R\leq N-1, and

B∗(ρ)≥R(1−ρ)(0≤ρ≤1),(31)B_*(\rho)\geq R(1-\rho)\qquad(0\leq\rho\leq1), \tag*{(31)}
B∗(ρ)=R(1−ρ)(RR+1≤ρ≤1).(32)B_*(\rho)=R(1-\rho)\qquad\left(\frac{R}{R+1}\leq\rho\leq1\right). \tag*{(32)}

The threshold R/(R+1)R/(R+1) is sharp. Once the boundary meets the line R(1−ρ)R(1-\rho), it follows the line at all larger rates.

Proof. A window with kk ones and zz zeros has normalized excess k−zρ/(1−ρ)k-z\rho/(1-\rho), which is nonincreasing in ρ\rho. Applying this to an optimal lasso at ρ\rho proves (30). Let R<∞R<\infty. Some cost-0 edge occurs infinitely often on a path with bounded runs, so it lies on a cycle, and a simple lasso through a simple cycle containing it has runs of length at most N−1N-1; hence R≤N−1R\leq N-1. The integer minimum RR is attained, and every infinite path contains an all-1 window of length RR, which gives (31). On a path whose longest run is RR, every window with kk ones and zz zeros satisfies k≤R(z+1)k\leq R(z+1), so

k−ρ(k+z)≤R(1−ρ)+z(R−(R+1)ρ).(33)k-\rho(k+z)\leq R(1-\rho)+z\bigl(R-(R+1)\rho\bigr). \tag*{(33)}

The last term is nonpositive for ρ≥R/(R+1)\rho\geq R/(R+1), which proves (32). For a graph whose only cycle has cost word 1R01^R0, the boundary is infinite below R/(R+1)R/(R+1), so the threshold is sharp. The persistence of equality follows from (30) and (31).

The two extreme cases are simple. If R=0R=0, an all-zero infinite path exists and B∗B_* vanishes identically. If a cycle exists but R=∞R=\infty, every cycle consists of cost-1 edges, so B∗B_* is infinite on [0,1)[0,1) and B∗(1)=0B_*(1)=0.

Shapes of the boundary

Jumps are not the only source of nonconvexity. The next construction gives a boundary without jumps.

Proposition 6.5. A seven-vertex graph has a boundary that is finite and continuous on [0,1][0,1] and is neither convex nor concave.

Proof. Take two internally disjoint paths from the initial vertex hh to a vertex zz, with cost words 11 and 10101, and a cost-0 self-loop at zz. The first path requires 2−2ρ2-2\rho. A positive-excess window of the second path can be trimmed to start and end with 1, so its requirement is max⁡{1−ρ,2−3ρ,3−5ρ}=max⁡{1−ρ,3−5ρ}\max\{1-\rho,2-3\rho,3-5\rho\}=\max\{1-\rho,3-5\rho\}, because 2−3ρ2-3\rho is the average of the other two lines. Taking the minimum gives

B∗(ρ)={2−2ρ,0≤ρ≤1/3,3−5ρ,1/3≤ρ≤1/2,1−ρ,1/2≤ρ≤1.(34)B_*(\rho)= \begin{cases} 2-2\rho, & 0\leq\rho\leq1/3,\\ 3-5\rho, & 1/3\leq\rho\leq1/2,\\ 1-\rho, & 1/2\leq\rho\leq1. \end{cases} \tag*{(34)}

The slopes −2,−5,−1-2,-5,-1 prove both assertions about curvature; Figure 2 plots the boundary.

Boundary of the two paths with cost words $110^\omega$ and $101010^\omega$

Figure 2. The boundary of the two paths with cost words 110ω110^\omega and 101010ω101010^\omega. Dashed lines show the two individual requirements; their minimum is continuous, with slopes −2-2, −5-5, −1-1.

The next two constructions show that the bound (27) and the Farey order NN cannot be improved, and that the number of jumps can grow linearly in NN.

Proposition 6.6. For every N≥1N \ge1, some graph with NN vertices satisfies B∗(ρ)=(N−1)(1−ρ)B_\ast(\rho)=(N-1)(1-\rho) for all ρ∈[0,1]\rho\in[0,1], and some graph with NN vertices has a breakpoint with denominator NN.

Proof. A chain of N−1N-1 cost-1 edges from the initial vertex to a cost-0 self-loop has one infinite path, whose largest excess is attained by the chain itself. A directed NN-cycle with cost word 10N−110^{N-1} has mean 1/N1/N, where B∗B_\ast changes from infinite to finite.

Proposition 6.7. For every integer m≥1m \ge1, let μa=a/(3a−1)\mu_a=a/(3a-1) for 1≤a≤m1 \le a \le m. Some graph with N=3m−1N=3m-1 vertices has the burst boundary

B∗(ρ)={∞,0≤ρ<μm,a(1−ρ),μa≤ρ<μa−1(2≤a≤m),1−ρ,μ1≤ρ≤1.(35)B_\ast(\rho)= \begin{cases} \infty, & 0 \le\rho< \mu_m,\\ a(1-\rho), & \mu_a \le\rho< \mu_{a-1}\quad(2 \le a \le m),\\ 1-\rho, & \mu_1 \le\rho\le1. \end{cases} \tag*{(35)}

Hence B∗B_\ast has m=(N+1)/3m=(N+1)/3 finite pieces and m−1m-1 downward jumps.

Proof. Take vertices h,o1,…,om,y1,…,y2m−2h,o_1,\ldots,o_m,y_1,\ldots,y_{2m-2} with initial vertex hh, and write y0=hy_0=h. The cost-1 edges are h→o1h \to o_1 and oa−1→oao_{a-1} \to o_a for 2≤a≤m2 \le a \le m. The cost-0 edges are oa→y2a−2o_a \to y_{2a-2} for 1≤a≤m1 \le a \le m and yd→yd−1y_d \to y_{d-1} for 1≤d≤2m−21 \le d \le2m-2. Figure 1 shows the case m=2m=2, and Figure 3 the case m=3m=3. Every cycle passes through hh, and the simple cycles are the paths that climb from hh to some oao_a and descend through y2a−2,…,y1y_{2a-2},\ldots,y_1 to hh. The cycle through oao_a has cost word βa=1a02a−1\beta_a=1^a0^{2a-1}, length 3a−13a-1, and mean μa\mu_a. Since hh lies on every cycle, the simple lassos are the paths βaω\beta_a\omega.

Fix aa and ρ≥μa\rho\ge\mu_a. By the proof of Lemma 5.2, it suffices to consider windows of βaβa\beta_a\beta_a with fewer than 3a−13a-1 edges. Such a window that meets both blocks of ones contains the 2a−12a-1 zeros between them and hence at most a−1a-1 ones. Every such window therefore has some number j≤aj \le a of ones, so its excess is at most j(1−ρ)≤a(1−ρ)j(1-\rho) \le a(1-\rho), and the block 1a1^a attains this value. Thus cap⁡βaω(ρ)=a(1−ρ)\operatorname{cap}_{\beta_a\omega}(\rho)=a(1-\rho) for ρ≥μa\rho\ge\mu_a. The means μa=1/(3−1/a)\mu_a=1/(3-1/a) decrease strictly in aa, so at rate ρ\rho the lassos with finite requirement are those with a≥aρa \ge a_\rho, where aρa_\rho is the least aa with μa≤ρ\mu_a \le\rho. Corollary 5.3 gives B∗(ρ)=aρ(1−ρ)B_\ast(\rho)=a_\rho(1-\rho), which is (6.11).

The jumps have a simple cause. At ρ=μa−1\rho=\mu_{a-1}, the cycle βa−1\beta_{a-1} becomes usable. Its mean cost is larger than those of the cycles usable before, and its block of ones is shorter, so its

Figure 3. The graph of Proposition 6.7 for m=3m=3. Its simple cycles have cost words 10, 11000, and 11100000, with mean costs 1/21/2, 2/52/5, and 3/83/8. The burst boundary is 3−3ρ3-3\rho on [3/8,2/5)[3/8,2/5), 2−2ρ2-2\rho on [2/5,1/2)[2/5,1/2), and 1−ρ1-\rho on [1/2,1][1/2,1].

burst requirement is smaller. The same mechanism produces the jump in Figure 1. A jump inside the finite domain rules out both convexity and concavity, since convex and concave functions are continuous on open intervals.

The critical-rate function

Fixing the burst instead of the rate leads to the least rate that admits a feasible infinite path. Assume that GG has a cycle, and define

ρ∗(B)=min⁡{ρ∈[0,1]:B≥B∗(ρ)}(B≥0).(36)\rho_*(B)=\min\{\rho\in[0,1]:B\ge B_*(\rho)\}\qquad(B\ge0). \tag*{(36)}

In the discrimination problem, ρ∗(B)\rho_*(B) is the least sustained erasure rate at which a channel with burst BB can confuse the two modes forever. Theorem 6.8 shows that the minimum exists and that ρ∗\rho_* is continuous, although B∗B_* can jump.

Theorem 6.8. For each lasso λ\lambda, let

ρλ(B)=max⁡({μλ,0}∪{k−Bℓ:(k,ℓ)∈Iλ}).(37)\rho_\lambda(B)=\max\left(\{\mu_\lambda,0\}\cup\left\{\frac{k-B}{\ell}:(k,\ell)\in I_\lambda\right\}\right). \tag*{(37)}

Then

ρ∗(B)=min⁡λ∈Lρλ(B).(38)\rho_*(B)=\min_{\lambda\in\mathcal{L}}\rho_\lambda(B). \tag*{(38)}

The function ρ∗:[0,∞)→[0,1]\rho_*:[0,\infty)\to[0,1] is continuous, nonincreasing, and piecewise affine, and its slopes belong to {0}∪{−1/ℓ:1≤ℓ≤N−1}\{0\}\cup\{-1/\ell:1\le\ell\le N-1\}. Moreover, ρ∗(B)=μ\rho_*(B)=\mu for every B≥B∗(μ)B\ge B_*(\mu), and a feasible infinite path exists at ρ=ρ∗(B)\rho=\rho_*(B).

Proof. For a fixed lasso, (5.2) is at most BB exactly when ρ≥μλ\rho\ge\mu_\lambda and ρ≥(k−B)/ℓ\rho\ge(k-B)/\ell for each pair in IλI_\lambda. Each of these lower bounds is at most 1, because k≤ℓk\le\ell and B≥0B\ge0. Thus ρλ(B)\rho_\lambda(B) is the least rate at which λ\lambda is (ρ,B)(\rho,B)-feasible. Taking the minimum over lassos proves (6.14) and shows that the minimum in (6.12) is attained.

Each ρλ\rho_\lambda is a finite maximum of continuous affine functions of BB, and there are finitely many lassos. Their minimum is continuous and piecewise affine. On any open affine piece, the active expression is either a constant cycle mean or a line (k−B)/ℓ(k-B)/\ell, which gives the listed slopes. Increasing BB weakens the constraint, so ρ∗\rho_* is nonincreasing. Finally, no rate below μ\mu works by Corollary 6.2, whereas ρ=μ\rho=\mu works as soon as B≥B∗(μ)B\ge B_*(\mu).

For the graph of Figure 1, the jump of B∗B_* at 1/21/2 becomes a plateau of ρ∗\rho_*:

ρ∗(B)={1−B,0≤B≤1/2,1/2,1/2≤B≤1,1−B/2,1≤B≤6/5,2/5,B≥6/5.(39)\rho_*(B) = \begin{cases} 1-B, & 0 \le B \le1/2, \\ 1/2, & 1/2 \le B \le1, \\ 1-B/2, & 1 \le B \le6/5, \\ 2/5, & B \ge6/5. \end{cases} \tag*{(39)}

Figure 4 plots this function. The set of feasible pairs (ρ,B)(\rho,B) is not convex: it contains (2/5,6/5)(2/5,6/5) and (1/2,1/2)(1/2,1/2), but not their midpoint (9/20,17/20)(9/20,17/20), since B∗(9/20)=11/10B_*(9/20)=11/10.

Plot of the critical-rate function $\rho_*(B)$

Figure 4. The critical-rate function of the graph in Figure 1. The downward jump of B∗B_* at ρ=1/2\rho= 1/2 becomes the plateau on [1/2,1][1/2,1].

Computing the boundary

The algorithm evaluates B∗B_* at one rational rate per Farey interval. At a rational rate ρ=p/q\rho= p/q in lowest terms, the scaled load jt=qxtj_t = qx_t is an integer and satisfies

j0=0,jt=max⁡{0,jt−1+δet},δe=qc(e)−p.(40)j_0 = 0,\qquad j_t = \max\{0,j_{t-1}+\delta_{e_t}\},\qquad\delta_e = qc(e)-p. \tag*{(40)}

For an integer capacity K≥0K \ge0, which plays the role of the scaled burst qBqB, the load graph Gp,q,KG_{p,q,K} has states (v,j)(v,j) with v∈Vv \in V and 0≤j≤K0 \le j \le K, and an edge from (v,j)(v,j) to (u,max⁡{0,j+δe})(u,\max\{0,j+\delta_e\}) whenever e=(v,u)∈Ee=(v,u) \in E and the new load is at most KK. Its initial states are S×{0}S \times\{0\}. Thus Gp,q,KG_{p,q,K} is the product of GG with the automaton Dp,q,KD_{p,q,K} of Theorem 3.3. Paths of Gp,q,KG_{p,q,K} from initial states correspond to (p/q,B)(p/q,B)-feasible paths of GG for every BB with ⌊qB⌋=K\lfloor qB\rfloor= K, because the scaled loads are integers. A (p/q,B)(p/q,B)-feasible infinite path therefore exists exactly when Gp,q,⌊qB⌋G_{p,q,\lfloor qB\rfloor} has an infinite path from an initial state, that is, a reachable cycle. A graph search decides this in O((N+M)(K+1))O((N+M)(K+1)) time. § 7.1 shows that the states from which an infinite path starts are described by one integer per vertex, which leads to a sweep that handles all capacities at once.

Decreasing capacities with one threshold per vertex

Call a load state viable if an infinite path starts there. If (v,j)(v,j) is viable, every (v,i)(v,i) with 0≤i≤j0 \le i \le j is viable, since every update in (40) is nondecreasing in the load. Write θv(K)\theta_v(K) for the largest viable load at vv, or −1-1 if no load is viable, and call vv live if θv≥0\theta_v \ge0 and dead otherwise. For a vector θ∈{−1,0,…,K}V\theta\in\{-1,0,\ldots,K\}^{V}, define

Av(θ)=max⁡e=(v,u)∈Eθu≥0(θu−δe),FK(θ)v=max⁡{−1,min⁡{K,Av(θ)}},(41)A_v(\theta)=\max_{\substack{e=(v,u)\in E\\ \theta_u\ge0}}(\theta_u-\delta_e),\qquad F_K(\theta)_v=\max\{-1,\min\{K,A_v(\theta)\}\}, \tag*{(41)}

where a maximum over an empty set is −∞-\infty. An edge e=(v,u)e=(v,u) supports the current threshold at vv if

θv≥0,θu≥0,θv≤θu−δe.(42)\theta_v\ge0,\qquad\theta_u\ge0,\qquad\theta_v\le\theta_u-\delta_e. \tag*{(42)}

These inequalities mean that every load at most θv\theta_v can use ee and reach a load at most θu\theta_u.

Lemma 7.1. The vector θ(K)\theta(K) is the greatest fixed point of FKF_K. Starting from any vector in {−1,0,…,K}V\{-1,0,\ldots,K\}^{V} that bounds θ(K)\theta(K) from above, repeatedly replacing an unsupported live component θv\theta_v by FK(θ)vF_K(\theta)_v yields θ(K)\theta(K).

Proof. From load j≥0j\ge0, an edge e=(v,u)e=(v,u) to a live vertex uu leads to a load in [0,θu][0,\theta_u] exactly when j≤θu−δej\le\theta_u-\delta_e. Hence FK(θ)vF_K(\theta)_v is the largest load at vv with an edge into the states retained by θ\theta, and FKF_K is monotone. Every viable state has a viable successor, so θ(K)≤FK(θ(K))\theta(K)\le F_K(\theta(K)). If θ≥θ(K)\theta\ge\theta(K), monotonicity gives FK(θ)≥θ(K)F_K(\theta)\ge\theta(K), so no update removes a viable state. An unsupported live component satisfies FK(θ)v<θvF_K(\theta)_v<\theta_v, so every update strictly lowers an integer component and the process terminates. At termination every live vertex has a supporting edge, which serves all loads up to its threshold. Following such edges gives an infinite path from every retained state, so the final vector equals θ(K)\theta(K). The same argument shows that the states retained by any fixed point are viable, so θ(K)\theta(K), which is itself a fixed point, is the greatest one. □

The states retained by θ(K)\theta(K) form the greatest fixed point of the predecessor operator of the load graph, which is the standard characterization of the states from which a safety objective can be met. The threshold vector stores this fixed point with one integer per vertex instead of one bit per load state.

Theorem 7.2. Fix p/qp/q and an integer Kmax⁡≥0K_{\max}\ge0. The least feasible integer capacity in [0,Kmax⁡][0,K_{\max}], or the fact that none exists, can be computed in

O((N+M)(Kmax⁡+1))(43)O((N+M)(K_{\max}+1)) \tag*{(43)}

arithmetic operations and O(N+M)O(N+M) words of working storage. At the least feasible capacity, the algorithm also constructs an optimal simple lasso.

Proof. Initialize θv=Kmax⁡\theta_v=K_{\max} for every vertex. For K=Kmax⁡,Kmax⁡−1,…,0K=K_{\max},K_{\max}-1,\ldots,0, first replace θv\theta_v by min⁡{θv,K}\min\{\theta_v,K\}, leaving dead components −1-1 unchanged. Then apply Lemma 7.1. The resulting vector is θ(K)\theta(K) by Lemma 7.1: the initial vector bounds θ(Kmax⁡)\theta(K_{\max}) from above, and θ(K)≤min⁡{θ(K+1),K}\theta(K)\le\min\{\theta(K+1),K\} because every state viable for KK is viable for K+1K+1. Capacity KK is feasible exactly when some s∈Ss\in S has θs(K)≥0\theta_s(K)\ge0. If the first stage is infeasible, report that no capacity in the range works. Otherwise save the last feasible vector; the first infeasible stage KK identifies the optimum K+1K+1. If stage 00 remains feasible, the optimum is 00.

To implement a stage, store the support indicator (7.3) for each edge and the number of supporting outgoing edges at each vertex. Rebuild these indicators after clamping, in O(N+M)O(N+M) time, and queue every live vertex with support count zero. When such a vertex vv is removed from the queue, scan its outgoing edges to compute FK(θ)vF_K(\theta)_v. After lowering θv\theta_v, update the indicators on all edges incident to vv and the support counts of their sources. Queue each affected live vertex whose count is zero, including vv itself if it remains unsupported. Ignore an extracted vertex if it has died or acquired support. Queue membership marks avoid duplicate entries.

Labels never increase during the sweep and take values in {−1,…,Kmax⁡}\{-1,\ldots,K_{\max}\}, so each label decreases at most Kmax⁡+1K_{\max}+1 times. A decrease at vv costs O(1+deg⁡+(v)+deg⁡−(v))O(1+\deg^{+}(v)+\deg^{-}(v)). Summing over vertices and decreases, and adding the Kmax⁡+1K_{\max}+1 stage initializations, gives (43). Queue operations are charged to these initializations and incident-edge updates. The labels, saved vector, adjacency lists, support indicators, counts, and queue occupy O(N+M)O(N+M) words.

At the optimum, choose one supporting outgoing edge at every live vertex in the saved vector. Start at a live initial vertex with load 00. The chosen edges preserve the threshold inequalities and hence feasibility. Since the choice depends only on the vertex, the resulting infinite path is a simple lasso. Its scaled requirement qcap⁡λ(p/q)q\operatorname{cap}_{\lambda}(p/q) is an integer by Lemma 5.2 and equals the least feasible capacity; a smaller value would contradict minimality.

Recovering an interval from its mediant

Lemma 7.3. Let a/b<c/da/b<c/d be consecutive elements of FN\mathcal{F}_N, and let p/q=(a+c)/(b+d)p/q=(a+c)/(b+d). Then p/qp/q is in lowest terms, lies in (a/b,c/d)(a/b,c/d), and satisfies

N<q≤2N.(44)N<q\le2N. \tag*{(44)}

If B∗B_* equals k−ℓρk-\ell\rho on (a/b,c/d)(a/b,c/d), then K∗=qB∗(p/q)K_*=qB_*(p/q) is an integer, and K∗K_* determines kk and ℓ\ell by

ℓ≡−p−1K∗(modq),0≤ℓ<q,k=K∗+pℓq.(45)\ell\equiv-p^{-1}K_* \pmod q,\qquad0\le\ell<q,\qquad k=\frac{K_*+p\ell}{q}. \tag*{(45)}

Proof. Consecutive Farey fractions satisfy bc−ad=1bc-ad=1 and b+d>Nb+d>N [20 Theorems 28 and 30]. Every common divisor of a+ca+c and b+db+d divides bc−ad=1bc-ad=1, so the mediant is reduced. It lies strictly between a/ba/b and c/dc/d, and b,d≤Nb,d\le N gives (44). By Theorem 6.1, K∗=qk−pℓK_*=qk-p\ell, so K∗≡−pℓ(modq)K_*\equiv-p\ell\pmod q. Since p≥1p\ge1 is invertible modulo qq and 0≤ℓ≤N−1<q0\le\ell\le N-1<q, the congruence determines ℓ\ell, and then kk follows.

For the graph of Figure 1, N=5N=5, and 2/52/5 and 1/21/2 are consecutive in F5\mathcal{F}_5. Their mediant is 3/73/7, where δe=4\delta_e=4 on cost-1 edges and δe=−3\delta_e=-3 on cost-0 edges. At K=8K=8, the thresholds at hh, o1o_1, o2o_2, y2y_2, y1y_1 are 0,4,8,6,30,4,8,6,3, and each vertex is supported by its edge on the cycle 11000. At K=7K=7, clamping θo2\theta_{o_2} to 77 leaves o1o_1 unsupported, its threshold drops to 33, and then θh\theta_h drops to −1-1; the vertices y1y_1, y2y_2, o2o_2, o1o_1 die in this order. Hence the sweep returns K∗=7B∗(3/7)=8K_*=7B_*(3/7)=8. Since 3−1≡5(mod7)3^{-1}\equiv5\pmod7, formula (7.6) gives ℓ≡−40≡2(mod7)\ell\equiv-40\equiv2\pmod7 and k=(8+3⋅2)/7=2k=(8+3\cdot2)/7=2, which recovers the line 2−2ρ2-2\rho on (2/5,1/2)(2/5,1/2).

The complete algorithm

Algorithm 7.4 (Burst boundary).

  1. Merge edges with the same endpoints and the same cost, and stream FN\mathcal{F}_N in increasing order.

  1. For each consecutive pair a/b<c/da/b<c/d, set p=a+cp=a+c, q=b+dq=b+d, and Kmax⁡=(N−1)(q−p)K_{\max}=(N-1)(q-p).

  1. Run the sweep of Theorem 7.2 from Kmax⁡K_{\max} downward. If Kmax⁡K_{\max} is infeasible, record ∞\infty on (a/b,c/d)(a/b,c/d).

  1. Otherwise let K∗K_* be the least feasible capacity, recover ℓ\ell and kk by (7.6), and record the line k−ℓρk-\ell\rho and the optimal lasso on (a/b,c/d)(a/b,c/d).

(5) Give each grid point below 1 the value of the line on its right, set B∗(1)=0B_*(1)=0 if GG has a cycle and B∗(1)=∞B_*(1)=\infty otherwise, and merge consecutive pieces with the same coefficients and compatible endpoint values.

Theorem 7.5. Algorithm 7.4 computes the burst boundary using

O((N+M)N4)(46)O((N+M)N^4) \tag*{(46)}

arithmetic operations, O(N+M)O(N+M) words of working storage, and O(N2)O(N^2) words for the output. After duplicate edges are merged, all integers have O(log⁡(N+1))O(\log(N+1)) bits. For each Farey interval on which the boundary is finite, the algorithm also yields a simple lasso that is optimal on the interval and at its left endpoint.

Proof. Merging uses adjacency lists and an array indexed by the target and the cost, in O(N+M)O(N+M) time, and leaves at most 2N22N^2 edges. Every finite value of qB∗(p/q)qB_*(p/q) is an integer by Lemma 7.3 and is at most Kmax⁡K_{\max} by (27). If no capacity in [0,Kmax⁡][0,K_{\max}] is feasible, the boundary is infinite throughout the interval by Theorem 6.1. Otherwise the least capacity is K∗=qB∗(p/q)K_* = qB_*(p/q), and (45) recovers kk and ℓ\ell.

Let λ\lambda be the optimal lasso returned at the mediant. The lassos with finite requirement are the same throughout the open Farey interval, and no distinct lines of ANA_N cross there. The maximizing line of λ\lambda and the line defining B∗B_* agree at the mediant, so Lemma 7.3 implies that they have the same coefficients. Thus λ\lambda is optimal throughout the interval. Right continuity extends this equality to a/ba/b. At c/dc/d, the value cap⁡λ(c/d)=B∗(c/d−)\operatorname{cap}_{\lambda}(c/d)=B_*(c/d^-) can exceed B∗(c/d)B_*(c/d).

The Farey sequence has O(N2)O(N^2) intervals, and q≤2Nq\le2N gives Kmax⁡=O(N2)K_{\max}=O(N^2). Theorem 7.2 therefore gives (46). To stream the Farey sequence, start at 0/1,1/N0/1,1/N; from consecutive a/b,c/da/b,c/d, the next fraction is (tc−a)/(td−b)(tc-a)/(td-b) with t=⌊(N+b)/d⌋t=\lfloor(N+b)/d\rfloor, until 1/11/1 is reached. This rule follows from the mediant property of three consecutive terms [20 Theorem 29] and uses constant additional storage. The value at grid points below 1 follows from right continuity, and at ρ=1\rho=1 every infinite path is feasible with B=0B=0. Lassos may be returned as intervals are processed; storing all of them would require O(N3)O(N^3) additional words. All loads, coefficients, denominators, and support counts are polynomially bounded in NN.

Corollary 7.6. After O(N2)O(N^2) preprocessing to store FNF_N, the value of B∗B_* at an arbitrary rational rate ρ∈[0,1]\rho\in[0,1] can be obtained with O(log⁡(N+1))O(\log(N+1)) comparisons against that grid, O((N+M)N2)O((N+M)N^2) arithmetic operations on integers of O(log⁡(N+1))O(\log(N+1)) bits, and one evaluation of an affine function at the input rational. Every load graph used has O(N3)O(N^3) states, whatever the denominator of ρ\rho.

Proof. For ρ<1\rho<1, locate a/b≤ρ<c/da/b\le\rho<c/d by binary search in the grid. Compute the boundary only at the mediant of that interval. Return ∞\infty if that value is infinite; otherwise decode its line and evaluate it at ρ\rho. Right continuity covers the case ρ=a/b\rho=a/b. At ρ=1\rho=1, only a cycle test is needed. The comparisons and the final evaluation use the bit length of the input; the sweep depends only on NN and MM.

Comparing the returned value with a rational burst BB decides uniform distinguishability at (ρ,B)(\rho,B) by Proposition 4.3. A direct test at ρ=p/q\rho=p/q would build Gp,q,⌊qB⌋G_{p,q,\lfloor qB\rfloor}, whose size grows with qq; the corollary avoids this growth because it evaluates B∗B_* only at a mediant with denominator at most 2N2N.

Remark 7.7. For integer costs in {0,…,W}\{0,\ldots,W\}, with W≥1W\ge1, and rates in [0,W][0,W], Theorem 5.1 and Lemma 5.2 hold unchanged, and the lines satisfy 0≤k≤Wℓ0\le k\le W\ell and ℓ≤N−1\ell\le N-1. The

breakpoints lie in the WW integer translates of FN\mathcal{F}_N, consecutive grid points still satisfy the determinant identity, and Kmax⁡=(N−1)(Wq−p)K_{\max} = (N - 1)(Wq - p). The sweep gives O((N+M)W2N4)O((N + M)W^2N^4) arithmetic operations and O(N+M)O(N + M) working words, with O(WN2)O(WN^2) output words. This dependence is polynomial in WW, rather than in its bit length. In the discrimination problem the costs are binary by (13), so W=1W = 1.

Discrimination horizons

When no feasible infinite path exists, the horizon H(ρ,B)H(\rho, B) of Definition 4.1 measures how long ambiguity can last. This section computes HH exactly at rational parameters and determines its growth as BB increases.

Proposition 8.1. Let ρ=p/q\rho= p/q and B≥0B \ge0 be rational, and set K=⌊qB⌋K = \lfloor qB \rfloor. If the part of Gp,q,KG_{p,q,K} reachable from its initial states contains a cycle, then H(ρ,B)=∞H(\rho, B) = \infty. Otherwise, let LL be the length of a longest path from an initial state. Then

H(ρ,B)=L+1≤N(K+1),(47)H(\rho, B) = L + 1 \le N(K + 1), \tag*{(47)}

and HH can be computed in O((N+M)(K+1))O((N + M)(K + 1)) arithmetic operations.

Proof. The cyclic case follows from Proposition 4.3 and the correspondence between paths of Gp,q,KG_{p,q,K} and feasible paths of the comparison graph. In the acyclic case, dynamic programming in topological order computes the longest path, and Proposition 4.3 gives H=L+1H = L + 1. A path in the acyclic reachable part visits at most N(K+1)N(K + 1) states, so L≤N(K+1)−1L \le N(K + 1) - 1.

The running time in Proposition 8.1 is pseudopolynomial: it grows linearly with KK, and hence with qq. Theorem 7.5 avoids this growth because it chooses the denominators at which it evaluates B∗B_*. The next theorem gives the growth of HH in closed form.

Theorem 8.2. Suppose the comparison graph has a cycle, let μ\mu be its minimum cycle mean (28), fix 0≤ρ<μ0 \le\rho< \mu, and put

δ=μ−ρ>0,C=(N−1)(1−μ).(48)\delta= \mu- \rho> 0,\qquad C = (N - 1)(1 - \mu). \tag*{(48)}

For every B≥CB \ge C,

⌊B−Cδ⌋+1≤H(ρ,B)≤⌊B+μ(N−1)δ⌋+1,(49)\left\lfloor\frac{B - C}{\delta}\right\rfloor+ 1 \le H(\rho, B) \le\left\lfloor\frac{B + \mu(N - 1)}{\delta}\right\rfloor+ 1, \tag*{(49)}

and the upper bound holds for every B≥0B \ge0. In particular,

lim⁡B→∞H(ρ,B)B=1μ−ρ.(50)\lim_{B\to\infty}\frac{H(\rho, B)}{B} = \frac{1}{\mu- \rho}. \tag*{(50)}

Proof. Take any feasible path of length nn. Remove cycles until a simple path remains. Its length is at most N−1N - 1, and its cost is nonnegative. Every removed closed walk decomposes into simple cycles whose mean costs are at least μ\mu. Therefore the original path has cost at least μ(n−(N−1))\mu(n - (N - 1)). Applying the window constraint to the whole path yields

μ(n−(N−1))≤ρn+B,(51)\mu(n - (N - 1)) \le\rho n + B, \tag*{(51)}

so n≤(B+μ(N−1))/δn \le(B + \mu(N - 1))/\delta. This proves the upper bound by (14).

For the lower bound, choose a simple cycle of mean μ\mu and a simple path from SS to its first vertex on the cycle. They form a simple lasso λ\lambda. At rate μ\mu, Lemma 5.2 and (27) bound the excess of every window of λ\lambda by CC. At rate ρ=μ−δ\rho= \mu- \delta, a window of length ℓ≤n\ell\le n has

excess at most C+δℓ≤C+δnC+\delta\ell\le C+\delta n. Consequently, the first n=⌊(B−C)/δ⌋n=\lfloor(B-C)/\delta\rfloor edges of the lasso form a feasible path when B≥CB\ge C, and H≥n+1H\ge n+1. Dividing both bounds by BB and letting BB increase proves (8.4).

For a single cost-1 self-loop, N=1N=1 and μ=1\mu=1, and every path of length nn requires the burst n(1−ρ)n(1-\rho). Thus H(ρ,B)=⌊B/(1−ρ)⌋+1H(\rho,B)=\lfloor B/(1-\rho)\rfloor+1 for 0≤ρ<10\le\rho<1, and both bounds in (8.3) are equalities. If the comparison graph is acyclic, ambiguity lasts at most N−1N-1 steps for all parameters, so H≤NH\le N.

At a fixed burst, the horizon can instead jump from a finite value to infinity as the rate grows. Let the comparison graph be the two-edge cycle with cost word 10, with its cost-1 edge first, and fix B=1/2B=1/2. If ρ<1/2\rho<1/2, the first difference cannot be erased, because the one-step constraint would require 1≤ρ+1/21\le\rho+1/2. At ρ=1/2\rho=1/2, the reflected loads alternate between 1/21/2 and 0, so ambiguity persists forever. Hence

H(ρ,1/2)={1,0≤ρ<1/2,∞,1/2≤ρ≤1.(52)H(\rho,1/2)= \begin{cases} 1, & 0\le\rho<1/2,\\ \infty, & 1/2\le\rho\le1. \end{cases} \tag*{(52)}

Theorem 8.2 describes the growth of HH along the other axis, as BB increases at a fixed rate below μ\mu.

Rate–burst synthesis in safety games

The Farey structure persists when a controller chooses some transitions and an adversary chooses the others. Consider a finite turn-based arena

G=(VC,VE,E,s,c),V=VC∪˙VE,(53)\mathcal{G}=(V_C,V_E,E,s,c),\qquad V=V_C\mathbin{\dot\cup}V_E, \tag*{(53)}

with initial vertex ss, edge costs c:E→{0,1}c:E\to\{0,1\}, and at least one outgoing edge at every vertex. Write N=∣V∣N=|V| and M=∣E∣M=|E|. The controller selects an outgoing edge at vertices in VCV_C, and the environment selects one at vertices in VEV_E. Both players observe the current vertex and the executed edges. A strategy of the controller is winning at (ρ,B)(\rho,B) if every resulting infinite play satisfies (1.1). Let

BG(ρ)=inf⁡{B≥0: the controller has a winning strategy at (ρ,B)}.(54)B_{\mathcal{G}}(\rho)=\inf\{B\ge0:\text{ the controller has a winning strategy at }(\rho,B)\}. \tag*{(54)}

A cost-1 edge marks a step that consumes one unit of a regulated resource, such as a message on a shaped link, and the game asks for the least burst under which the controller can keep the resource use of every run within the rate–burst bound. The controller observes the arena vertex, so the game models resource-constrained scheduling rather than diagnosis. After deleting the vertices from which no infinite path starts, the problem of Section 3 with one initial vertex is the special case in which the controller owns every vertex.

Positional strategies for real parameters

A positional strategy selects one outgoing edge at each controller vertex, independently of the history and of the current load. The following lemma extends the proof of Theorem 5.1 to two players.

Lemma 9.1. For every real ρ∈[0,1]\rho\in[0,1] and B≥0B\ge0, a winning strategy exists if and only if a winning positional strategy exists. A single positional strategy can be chosen to win from every configuration from which some strategy wins.

Proof. Use the energy update TeT_e of (5). Let Wvh⊆[0,B]W_v^h \subseteq[0,B] be the set of initial energies from which the controller can keep the energy nonnegative for hh steps, starting at vv. Set Wv0=[0,B]W_v^0 = [0,B]. At a controller vertex, Wvh+1W_v^{h+1} is the union, over outgoing edges e=(v,u)e=(v,u), of the sets [0,B]∩Te−1(Wuh)[0,B]\cap T_e^{-1}(W_u^h); at an environment vertex it is their intersection. Each TeT_e is continuous and nondecreasing, so every WvhW_v^h is closed and upward closed, and these sets decrease with hh.

Put Wv=⋂h≥0WvhW_v=\bigcap_{h\ge0}W_v^h. Every nonempty WvW_v has a minimum τv\tau_v. If v∈VCv\in V_C, then for each hh some outgoing edge e=(v,u)e=(v,u) satisfies Te(τv)∈WuhT_e(\tau_v)\in W_u^h. Since the edge set is finite, one edge has this property for infinitely many hh, and nestedness gives Te(τv)∈WuT_e(\tau_v)\in W_u, that is, Te(τv)≥τuT_e(\tau_v)\ge\tau_u. Fix such an edge at vv. If v∈VEv\in V_E, every outgoing edge satisfies the same inequality. Monotonicity of TeT_e shows that these choices preserve Et≥τvtE_t\ge\tau_{v_t} along every play that starts with E0∈Wv0E_0\in W_{v_0}, so they win forever. Conversely, every configuration from which some strategy wins belongs to every finite-horizon set WvhW_v^h.

A finite expression for each positional strategy

Fix a positional strategy σ\sigma. Keep its chosen edge at each controller vertex, keep every environment edge, and restrict to the vertices reachable from ss. Denote the resulting graph by GσG_\sigma. Let Pσ\mathcal{P}_\sigma be the set of nonempty simple paths of GσG_\sigma, starting at any vertex of GσG_\sigma, and define

νσ=max⁡β a simple cycle of Gσcost⁡(β)∣β∣.(55)\nu_\sigma=\max_{\beta\text{ a simple cycle of }G_\sigma}\frac{\operatorname{cost}(\beta)}{|\beta|}. \tag*{(55)}

The maximum exists because GσG_\sigma is finite and every vertex has an outgoing edge. A simple path has at most N−1N-1 edges.

Lemma 9.2. The least burst for which σ\sigma is winning equals

Fσ(ρ)={∞,ρ<νσ,max⁡{0}∪{cost⁡(P)−ρ∣P∣:P∈Pσ},ρ≥νσ.(56)F_\sigma(\rho)= \begin{cases} \infty, & \rho<\nu_\sigma,\\ \max\bigl\{0\bigr\}\cup\bigl\{\operatorname{cost}(P)-\rho|P|:P\in\mathcal{P}_\sigma\bigr\}, & \rho\ge\nu_\sigma. \end{cases} \tag*{(56)}

Proof. If a cycle of GσG_\sigma has mean cost greater than ρ\rho, the environment can reach it and repeat it, and no finite burst bounds the resulting excess. Every path in Pσ\mathcal{P}_\sigma is a window of some play from ss, since its start vertex is reachable and every vertex has a successor, so its excess is a lower bound.

Conversely, let ρ≥νσ\rho\ge\nu_\sigma and take any window of any play in GσG_\sigma. Remove a simple cycle whenever a vertex repeats. Every removed cycle has nonpositive excess, so removal does not decrease the excess of the window. The remaining walk is a simple path or is empty, so its excess is at most the maximum in (56).

Theorem 9.3. For a turn-based safety arena with 0/10/1 costs,

BG(ρ)=min⁡σ positionalFσ(ρ),(57)B_G(\rho)=\min_{\sigma\text{ positional}}F_\sigma(\rho), \tag*{(57)}

and every finite value is attained. This boundary is nonincreasing and right-continuous, has O(N2)O(N^2) affine pieces, satisfies BG(ρ)≤(N−1)(1−ρ)B_G(\rho)\le(N-1)(1-\rho) whenever it is finite, and on each Farey interval of order NN either finite or one line of ANA_N. Moreover, each Farey interval on which BGB_G is finite admits one positional strategy σ\sigma with Fσ=BGF_\sigma=B_G throughout the interval and at its left endpoint.

Proof. There are finitely many positional strategies. By Lemmas 9.1 and 9.2, the strategy σ\sigma wins exactly when B≥Fσ(ρ)B \ge F_{\sigma}(\rho), which proves (57) and attainment. Each threshold νσ\nu_{\sigma} is the mean of a simple cycle and hence belongs to FNF_N, and every affine term in (56) belongs to ANA_N. The proof of Theorem 6.1 then applies verbatim.

Choose a strategy minimizing FσF_{\sigma} at an interior point of a Farey interval with finite boundary. No two distinct lines of ANA_N cross inside the interval, and no threshold νσ\nu_{\sigma} lies inside it, so the same strategy minimizes throughout. Its threshold is at most the left endpoint, and both FσF_{\sigma} and BGB_G are right-continuous there, so equality also holds at the left endpoint. □

Let ν∗=min⁡σνσ\nu_* = \min_{\sigma} \nu_{\sigma}. Then BG(ρ)B_G(\rho) is finite exactly when ρ≥ν∗\rho\ge\nu_*. The chain and cycle of Proposition 6.6, with forced moves only, show that the burst bound and the order of the Farey grid are sharp for games as well.

Theorem 9.4. The boundary BGB_G and one optimal positional strategy for each Farey interval on which it is finite can be computed with

O((N+M)N4log⁡(N+1))(58)O((N+M)N^4\log(N+1)) \tag*{(58)}

arithmetic operations on integers of O(log⁡(N+1))O(\log(N+1)) bits. The boundary uses O(N2)O(N^2) output words, and storing all strategies explicitly uses O(N3)O(N^3) words.

Proof. At a mediant p/qp/q and integer capacity KK, form the load game on states (v,j)(v,j) with 0≤j≤K0 \le j \le K. Each state keeps the owner of vv, transitions follow (40), and every move whose new load exceeds KK leads to a losing absorbing state. Winning at (p/q,B)(p/q,B) with ⌊qB⌋=K\lfloor qB\rfloor= K is exactly avoiding this state. The winning region of this safety game is computed by backward propagation: an environment state is losing as soon as one successor is losing, and a controller state is losing as soon as all its successors are losing. Maintaining successor counts takes time linear in the size of the load game, namely O((N+M)(K+1))O((N+M)(K+1)).

Theorem 9.3 gives Kmax⁡=(N−1)(q−p)=O(N2)K_{\max} = (N-1)(q-p) = O(N^2). Test this capacity and, if it is winning, binary-search the least winning integer K∗K_*; winning is monotone in KK. The least burst has the form k−ℓp/qk-\ell p/q, so K∗=qk−pℓK_* = qk-p\ell is an integer, and the modular calculation of Lemma 7.3 recovers the line. Repeating over all Farey intervals gives (58).

To extract a strategy, solve the load game once more at K∗K_*. For each vertex vv with some winning load, the winning loads form an initial segment {0,…,hv}\{0,\ldots,h_v\}, because a smaller load can only help. At a controller vertex, choose an edge that leads from (v,hv)(v,h_v) to a winning state. By monotonicity of the load update, the same edge leads to a winning state from every (v,j)(v,j) with j≤hvj \le h_v. At an environment vertex, every successor of (v,hv)(v,h_v) is winning, and the same holds for all smaller loads. The resulting positional strategy wins from (s,0)(s,0) and therefore attains the least burst at the mediant. By Theorem 9.3, it attains the boundary throughout the interval and at its left endpoint. □

An optimal strategy that changes between Farey intervals

The following seven-vertex arena, shown in Figure 5, has the same boundary as the graph of Figure 1, but the environment has a real choice. The controller owns vv and chooses between a long route v→a→b→c→d→vv \to a \to b \to c \to d \to v with cost word 11000 and a short route that starts with a cost-1 edge v→uv \to u. The environment owns uu and either returns to vv at cost 0 or moves at cost 0 to a vertex zz, which has a forced cost-0 edge to vv. All other vertices have forced moves. On the short route, the environment thus chooses between the cost words 10 and 100.

Figure 5. A safety arena with controller vertex vv and environment vertex uu (square). The other vertices have forced moves. The optimal positional strategy takes the long route on [2/5,1/2)[2/5,1/2) and the short route on [1/2,1)[1/2,1).

The strategy that always takes the long route has threshold 2/52/5 and requirement 2−2ρ2-2\rho above it. The strategy that always takes the short route has threshold 1/21/2, because below it the environment can repeat 10 forever. For ρ≥1/2\rho\ge1/2, consecutive cost-1 edges on the short route are separated by at least one cost-0 edge, so a window with k≥1k \ge1 ones has length at least 2k−12k-1 and excess at most

k−(2k−1)ρ=(1−ρ)+(k−1)(1−2ρ)≤1−ρ,(59)k-(2k-1)\rho=(1-\rho)+(k-1)(1-2\rho)\le1-\rho, \tag*{(59)}

and a single cost-1 edge attains this bound. These are the only two positional strategies, so Theorem 9.3 gives the boundary of Figure 1. The long route is optimal on [2/5,1/2)[2/5,1/2), the short route is strictly better on [1/2,1)[1/2,1), and the optimal strategy changes at the Farey point 1/21/2.

Büchi acceptance

A Büchi condition requires a designated edge to occur infinitely often. Dziadek et al. [17] study energy problems with such conditions. The following one-vertex example shows that a Büchi condition breaks right continuity and the bounded periods of Theorem 5.1.

Proposition 9.5. Consider one vertex with a cost-0 self-loop and a cost-1 self-loop, and require the cost-1 loop to occur infinitely often. The least burst is

Bacc(ρ)={∞,ρ=0,1−ρ,0<ρ≤1.(60)B_{\mathrm{acc}}(\rho)= \begin{cases} \infty, & \rho=0,\\ 1-\rho, & 0<\rho\le1. \end{cases} \tag*{(60)}

This function is not right-continuous at 00, and at B=1B=1 the feasible rates have infimum 00 but no minimum. For ρ=1/q\rho=1/q and B=1−1/qB=1-1/q, every accepted ultimately periodic cost sequence has a period of length at least qq.

Proof. At ρ=0\rho=0, the prefix constraints bound the total number of cost-1 edges by BB, so no accepted infinite play is feasible for finite BB. At ρ>0\rho>0, an accepted play contains a cost-1 edge, whose one-step window requires B≥1−ρB\ge1-\rho. Let L=⌈1/ρ⌉L=\lceil1/\rho\rceil. The periodic word (10L−1)ω(10^{L-1})^\omega is accepted and its period has excess 1−Lρ≤01-L\rho\le0. Removing complete periods from any window leaves a window of length less than LL with at most one cost-1 edge, whose excess is at most 1−ρ1-\rho. This proves (9.8) and the claims about right continuity and the infimum.

Finally, an accepted ultimately periodic word has at least one cost-1 edge in its repeated block. If the block has length dd and contains k≥1k\ge1 such edges, feasibility of arbitrarily many repetitions requires k/d≤1/qk/d \le1/q. Hence d≥qk≥qd \ge qk \ge q, although the arena has only one vertex.

Conclusion

The paper asked for the least burst at which a graph with 0/1 edge costs admits a feasible infinite path, as a function of the real rate. The feasible words form a safety language that is ω\omega-regular at rational rates and not at irrational rates once B≥1B \ge1, so the lasso witnesses at irrational rates required a direct argument. The answer combines the convex window geometry of individual paths with discrete choices between cycles. A fixed simple lasso has a tight Θ(N2/3)\Theta(N^{2/3}) piece bound, while the choice among lassos can destroy both convexity and concavity and create downward jumps. All breakpoints lie in the Farey sequence of order NN, and one evaluation at the mediant of each Farey interval recovers the affine piece and an optimal lasso. A sweep over decreasing integer capacities, with one load threshold per vertex, computes the whole boundary in O((N+M)N4)O((N+M)N^4) arithmetic operations and linear working space. For a monitor that distinguishes two finite-state modes through a leaky-bucket erasure channel, this boundary separates finite-time discrimination from permanent ambiguity, and below the minimum cycle mean the discrimination horizon grows as B/(μ−ρ)B/(\mu-\rho). The same Farey partition holds for turn-based safety games, with one optimal positional strategy per Farey interval, whereas a Büchi condition destroys right continuity.

Two questions remain open. The first is the maximum number of pieces of the boundary of an NN-vertex graph, which lies between Ω(N)\Omega(N) and O(N2)O(N^2). Since one lasso contributes only O(N2/3)O(N^{2/3}) pieces, a construction with superlinearly many pieces must use unboundedly many lassos. The second concerns a monitor or controller that observes only the received outputs instead of the graph vertex; this leads to games with imperfect information, whose burst boundaries we have not characterized.

This work is licensed under the Creative Commons Attribution License. To view a copy of this license, visit https://creativecommons.org/licenses/by/4.0/ or send a letter to Creative Commons, 171 Second St, Suite 300, San Francisco, CA 94105, USA, or Eisenacher Strasse 2, 10777 Berlin, Germany.

References

  1. [1]R. Alur, T. A. Henzinger, and M. Y. Vardi. Parametric real-time reasoning. In Proceedings of the 25th Annual ACM Symposium on Theory of Computing (STOC 1993), pages 592–601. ACM, 1993. doi:10.1145/167088.167242.DOI
  2. [3]L. Brim, J. Chaloupka, L. Doyen, R. Gentilini, and J.-F. Raskin. Faster algorithms for mean-payoff games. Formal Methods in System Design, 38(2):97–118, 2011. doi:10.1007/s10703-010-0105-x.DOI
  3. [4]P. Bouyer, U. Fahrenberg, K. G. Larsen, N. Markey, and J. Srba. Infinite runs in weighted timed automata with energy constraints. In Formal Modeling and Analysis of Timed Systems (FORMATS 2008), volume 5215 of Lecture Notes in Computer Science, pages 33–47. Springer, 2008. doi:10.1007/978-3-540-85778-5_4.DOI
  4. [5]M. Benedikt, G. Puppis, and C. Riveros. The per-character cost of repairing word languages. Theoretical Computer Science, 539:38–67, 2014. doi:10.1016/j.tcs.2014.04.021.DOI
  5. [6]A. Bouillard and É. Thierry. An algorithmic toolbox for network calculus. Discrete Event Dynamic Systems, 18(1):3–49, 2008. doi:10.1007/s10626-007-0028-x.DOI
  6. [7]P. J. Carstensen. Complexity of some parametric integer and network programming problems. Mathematical Programming, 26(1):64–75, 1983. doi:10.1007/BF02591893.DOI
  7. [8]L. K. Carvalho, J. C. Basilio, and M. V. Moreira. Robust diagnosis of discrete event systems against intermittent loss of observations. Automatica, 48(9):2068–2078, 2012. doi:10.1016/j.automatica.2012.06.042.DOI
  8. [9]A. Chakrabarti, L. de Alfaro, T. A. Henzinger, and M. Stoelinga. Resource interfaces. In Embedded Software (EMSOFT 2003), volume 2855 of Lecture Notes in Computer Science, pages 117–133. Springer, 2003. doi:10.1007/978-3-540-45212-6_9.
  9. [10]K. Chatterjee, L. Doyen, and T. A. Henzinger. Quantitative languages. ACM Transactions on Computational Logic, 11(4):23:1–23:38, 2010. doi:10.1145/1805950.1805953.DOI
  10. [12]C. G. Cassandras and S. Lafortune. Introduction to Discrete Event Systems. Springer, Cham, third edition, 2021. doi:10.1007/978-3-030-72274-6.DOI
  11. [13]C. Comin and R. Rizzi. Improved pseudo-polynomial bound for the value problem and optimal strategy synthesis in mean payoff games. Algorithmica, 77(4):995–1021, 2017. doi:10.1007/s00453-016-0123-1.
  12. [14]R. L. Cruz. A calculus for network delay, Part I: Network elements in isolation. IEEE Transactions on Information Theory, 37(1):114–131, 1991. doi:10.1109/18.61109.
  13. [15]V. de Souza Lima Oliveira, F. G. Cabral, and M. V. Moreira. K-loss robust diagnosability of discrete-event systems. IFAC-PapersOnLine, 53(4):250–255, 2020. doi:10.1016/j.ifacol.2021.04.064.
  14. [16]V. de Souza Lima Oliveira, F. G. Cabral, and M. V. Moreira. K-loss robust codiagnosability of discrete-event systems. Automatica, 140:110222, 2022. doi:10.1016/j.automatica.2022.110222.
  15. [17]S. Dziadek, U. Fahrenberg, and P. Schlehub­er. ω-regular energy problems. Formal Aspects of Computing, 37(1):1–30, 2025. doi:10.1145/3678265.DOI
  16. [18]W. Dong, X. Yin, and S. Li. A uniform framework for diagnosis of discrete-event systems with unreliable sensors using linear temporal logic. IEEE Transactions on Automatic Control, 69(1):145–160, 2024. doi:10.1109/TAC.2023.3266021.
  17. [19]L. Hélouët, N. Markey, and R. Raha. Reachability games with relaxed energy constraints. Information and Computation, 285:104806, 2022. doi:10.1016/j.ic.2021.104806.DOI
  18. [20]G. H. Hardy and E. M. Wright. An Introduction to the Theory of Numbers. Oxford University Press, Oxford, sixth edition, 2008. Revised by D. R. Heath-Brown and J. H. Silverman.
  19. [22]L. Juhl, K. G. Larsen, and J.-F. Raskin. Optimal bounds for multiweighted and parametrised energy games. In Theories of Programming and Formal Methods, volume 8051 of Lecture Notes in Computer Science, pages 244–255. Springer, 2013. doi:10.1007/978-3-642-39698-4_15.
  20. [23]Y. Ji, X. Yin, and S. Lafortune. Local mean payoff supervisory control for discrete event systems. IEEE Transactions on Automatic Control, 67(5):2282–2297, 2022. doi:10.1109/TAC.2021.3075186.
  21. [24]R. M. Karp. A characterization of the minimum cycle mean in a digraph. Discrete Mathematics, 23(3):309–311, 1978. doi:10.1016/0012-365X(78)90011-0.
  22. [25]R. M. Karp and J. B. Orlin. Parametric shortest path algorithms with an application to cyclic staffing. Discrete Applied Mathematics, 3(1):37–45, 1981. doi:10.1016/0166-218X(81)90026-3.
  23. [26]J.-Y. Le Boudec and P. Thiran. Network Calculus: A Theory of Deterministic Queuing Systems for the Internet, volume 2050 of Lecture Notes in Computer Science. Springer, Berlin, Heidelberg, 2001. doi:10.1007/3-540-45318-0.DOI
  24. [27]Y. Li, C. N. Hadjicostis, N. Wu, and Z. Li. Tamper-tolerant diagnosability analysis and tampering detectability in discrete event systems under cost constraints. Automatica, 171:111971, 2025. doi:10.1016/j.automatica.2024.111971.
  25. [28]F. Lin. Control of networked discrete event systems: dealing with communication delays and losses. SIAM Journal on Control and Optimization, 52(2):1276–1298, 2014. doi:10.1137/130914942.
  26. [29]F. Lin, S. Lafortune, and C. Wang. Diagnosability and attack detection for discrete event systems under sensor attacks. Discrete Event Dynamic Systems, 34:465–495, 2024. doi:10.1007/s10626-024-00401-6.DOI
  27. [31]K. Mulmuley and P. Shah. A lower bound for the shortest path problem. Journal of Computer and System Sciences, 63(2):253–267, 2001. doi:10.1006/jcss.2001.1766.DOI
  28. [32]C. E. V. Nunes, M. V. Moreira, M. V. S. Alves, L. K. Carvalho, and J. C. Basilio. Codiagnosability of networked discrete event systems subject to communication delays and intermittent loss of observation. Discrete Event Dynamic Systems, 28(2):215–246, 2018. doi:10.1007/s10626-017-0265-6.DOI
  29. [33]D. Perrin and J.-É. Pin. Infinite Words: Automata, Semigroups, Logic and Games, volume 141 of Pure and Applied Mathematics. Elsevier, 2004.
  30. [34]M. Sampath, R. Sengupta, S. Lafortune, K. Sinnamohideen, and D. Teneketzis. Diagnosability of discrete-event systems. IEEE Transactions on Automatic Control, 40(9):1555–1575, 1995. doi:10.1109/9.412626.DOI
  31. [35]N. E. Young, R. E. Tarjan, and J. B. Orlin. Faster parametric shortest path and minimum-balance algorithms. Networks, 21(2):205–221, 1991. doi:10.1002/net.3230210206.

Paper details

vlnc:W_fvnr98tn
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents