Backward deterministic and weak alternating $\omega$-automata
Sebastian Preugschat, Thomas Wilke

TL;DR
This paper introduces a direct method to convert weak alternating omega-automata into backward deterministic automata, improving transformations from nondeterministic B"uchi automata and LTL formulas with optimal results.
Contribution
It provides the first direct transformation from weak alternating omega-automata to backward deterministic automata, enabling efficient conversions for automata and temporal logic.
Findings
Enables transformation of nondeterministic B"uchi automata into backward deterministic automata
Achieves optimal backward deterministic automata for LTL formulas
Uses a novel direct transformation approach
Abstract
We present a direct transformation of weak alternating -automata into equivalent backward deterministic -automata and show (1) how it can be used to obtain a transformation of non-deterministic B\"uchi automata into equivalent backward deterministic automata and (2) that it yields optimal equivalent backward deterministic automata when applied to linear-time temporal logic formulas. (1) uses the alternation-free fragment of the linear-time -calculus as an intermediate step; (2) is based on the straightforward translation of linear-time temporal logic into weak alternating -automata.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsFormal Methods in Verification · Logic, programming, and type systems · semigroups and automata theory
Backward deterministic and weak alternating -automata111This work was supported by DFG.
Sebastian Preugschat, Thomas Wilke
Kiel University, Germany
Abstract
We present a direct transformation of weak alternating -automata into equivalent backward deterministic -automata and show (1) how it can be used to obtain a transformation of non-deterministic Büchi automata into equivalent backward deterministic automata and (2) that it yields optimal equivalent backward deterministic automata when applied to linear-time temporal logic formulas. (1) uses the alternation-free fragment of the linear-time -calculus as an intermediate step; (2) is based on the straightforward translation of linear-time temporal logic into weak alternating -automata.
1 Introduction
It is only natural to read -words from left to right: they have a definite start, but no end, so one reads one letter after the other, starting with the letter in the first position. This is probably why we typically envision an -automaton as a device that when running over an -word starts by consuming the letter in the first position, then goes over to the letter in the second position, then to the letter in the third position, and so on. We call this the forward approach. Almost all of -automata theory is based on the forward approach, in particular, there is a huge body of work on the determinization of -automata, where—if one wanted to be precise—determinization means the process of constructing automata which are deterministic when following the forward approach.
There is essentially one fundamental result in the theory of -automata with regard to the backward approach, where automata start in the infinite and run until they reach the beginning of the word: Olivier Carton and Max Michel [5] proved that every regular -language is recognized by a backward deterministic Büchi automaton. In other words, in the backward approach—unlike in the forward approach—all types of acceptance conditions classically considered (Büchi, generalized Büchi, parity, Rabin, Streett, Muller) give rise to the same class of -languages and this class is the same as the class of -languages recognized by non-deterministic automata (expressive completeness). Technically, the main contribution of Carton and Michel are two different constructions that turn a given non-deterministic Büchi automaton into an equivalent backward deterministic generalized transition Büchi automaton (which they show can be transformed into an equivalent backward deterministic Büchi automaton). The main contribution of the present paper is a direct transformation of a given forward weak alternating -automaton into an equivalent backward deterministic generalized transition Büchi automaton.
Weak alternating automata can be viewed as alternation-free formulas of the modal -calculus, and vice versa. This was first demonstrated by André Arnold and Damian Niwiński for sets of infinite trees [2] and carries over to -words directly. For -words, it is moreover true that weak alternating automata and the alternation-free fragment of the modal -calculus—often referred to as [3, 18] or [11]—are expressively complete in the sense that they both describe exactly the class of all regular -languages. (Note that the alternation hierarchy of collapses on the second level [1], whereas on trees it is strict [4, 12].) Expressive completeness follows from [2] and work by Kupferman and Vardi on weak alternating -automata [9] and was also proved by Kaivola [7].
Based on all this we describe a new way to convert a given non-deterministic Büchi automaton into an equivalent backward deterministic Büchi automaton: we go from a Büchi automaton to a -formula, then from to weak alternating automata (immediate), and finally apply our construction. In some sense, we break down the construction from [5] into simpler constructions at the expense of complexity. The automata we construct are somewhat larger than the ones constructed by Carton and Michel.
Formulas of linear-time temporal logic (LTL) are typically translated into non-deterministic Büchi automata [20]; a standard translation will actually produce a backward deterministic automaton [17]. There is, however, also a straightforward way to translate an LTL formula into a weak alternating automaton [6, 14]. So our construction can serve to obtain a backward deterministic automaton for a given LTL formula: simply apply the construction to the weak alternating automaton obtained from a given LTL formula. We show that the automaton thus obtained has the same size as the “standard automaton”.
2 From weak alternating to backward deterministic automata
In this section, we present our main result, a transformation from weak alternating to backward deterministic -automata. We begin with basic definitions and results we draw on.
2.1 Weak alternating -automata
There are different ways of formalizing weak alternating automata; the variant used in this paper works with transition conditions rather than a partition of the state space into existential and universal states.
Given a set of states and an alphabet , the transition conditions over and are formulas built from
- •
, for , and
- •
, for ,
using the boolean connectives and . The set of all these conditions is denoted by .
A weak alternating automaton [13] over an alphabet is given by
- •
a finite set of states,
- •
a transition function , and
- •
a partition of the state set into a set of recurring and a set of non-recurring states. (More formally, a pair is given such that and hold. The elements of the first component are called recurring states and the elements of the second component are called non-recurring states.)
In addition, there is a requirement on recurring and non-recurring states with regard to the transition graph. This graph is the directed graph with vertex set and an edge from to if occurs in .
The requirement is that either or holds for every strongly connected component of the transition graph, that is, all states of any strongly connected component (SCC) must be recurring or else non-recurring.
A very weak alternating automaton is one where the SCC’s of the transition graph are singleton sets (which immediately implies that very weak alternating automata are weak alternating automata).
In general, runs of alternating automata are labeled trees satisfying certain conditions, but since the recurrence condition we work with can be viewed as a Büchi or parity condition, it is sufficient to consider graphs, as described in what follows, see [9].
A run graph of an automaton as described above on a word is a directed graph where the vertices are pairs of the form with and is a state or a subformula (including the formula itself) of any of the transition conditions .
The following conditions must be satisfied for every vertex :
- •
If , then has exactly one outgoing edge and this leads to .
- •
If , then has exactly one outgoing edge and this leads to .
- •
If , then has outgoing edges only to and and at least one such edge exists.
- •
If , then has outgoing edges exactly to and .
In addition, vertices with and must not exist.
A good way to envision these graphs is to imagine the vertices arranged in levels numbered 0, 1, 2, …, where on level the vertices of the form are grouped together and between level and level the vertices with being a transition condition are located. Then the edges only go from vertices on level through intermediate vertices to vertices on level .
For every infinite path through the run graph, the set of states occurring infinitely often in it is a subset of an SCC of the transition graph, which means or . If , the path is said to be final. The run graph is said to be final if all infinite paths through it are final.
For every , the suffix is said to be accepted from in a run graph if the graph is final and is a vertex of it; it is accepted from by the automaton if there exists a final run graph that accepts it from .
In Subsection 2.4 we use a result on complementing alternating automata. To state it, we first define, for every transition condition, the complementary transition condition by an appropriate set of equations:
[TABLE]
The automaton complementary to a given automaton , denoted , is determined as follows:
- •
It has the same set of states as .
- •
Its transition function, denoted , is defined by
[TABLE]
- •
The sets of recurring and non-recurring states are exchanged.
The fact we need is the following one.
Fact 1** (complementation of alternating automata, [15]).**
Let be a weak alternating automaton over some alphabet and some state of it. For every and , the suffix is accepted by from state if, and only if, is not accepted by from state .
2.2 Backward deterministic -automata
In general, a backward deterministic automaton is given by
- •
a finite set of states,
- •
a transition function , and
- •
a recurrence condition , which can be any acceptance condition such as a Büchi or a Muller condition, state-based or transition-based (see below).
A run of such an automaton on a word is a word such that holds true for every . A run is final if it satisfies the recurrence condition. For instance, if is a (state-based) Büchi condition, then is final if there exist infinitely many such that . For a backward deterministic automaton, it is required that for every there is exactly one final run!
In the following fundamental theorem, automata are viewed as defining sets of -words: an automaton is augmented by a set of initial states and then defines the set of all where is accepted from some state (for weak alternating automata) or where is true for the unique final run of the automaton on (for backward deterministic automata).
Fact 2** (completeness, [5]).**
For every Büchi automaton with states there exists an equivalent backward deterministic generalized transition Büchi automaton with at most states and an equivalent backward deterministic Büchi automaton with at most states.
2.3 Main result
To describe our main result we view weak alternating automata and backward deterministic automata as devices defining functions rather than languages. This is more general and gives a clearer result.
Let be a weak alternating automaton over some alphabet and with state set . The function computed by , denoted , is the function where is the set of all such that the suffix is accepted from .
Let be a backward deterministic automaton, some alphabet, and an output function. The function computed by with respect to , denoted , is the function defined by where is the unique final run of on .
Main Theorem**.**
For every weak alternating automaton there exists a backward deterministic automaton and an output function for such that the function computed by is the same as the function computed by with respect to , that is, . The automaton has the following properties.
Let be an enumeration of all SCC’s of the transition graph of and for . Then the number of states of is at most , in particular, is an upper bound for the number of states of when is the number of states of . 2. 2.
The automaton has a generalized transition Büchi condition with as many Büchi sets as has states. 3. 3.
The automaton has at most states when is a very weak alternating automaton with states.
2.4 The construction
In this section, we describe how the automaton from the Main Theorem is constructed. We proceed in three steps, starting with a basic automaton and refining it twice. The first refinement takes care of problems with non-recurring states; the second refinement takes care of problems with recurring states.
In general, given an -word , the automaton tries to determine, for each position , the states from which the suffix is accepted by . This is why we model a state of as assigning an appropriate value to each state , indicating the “degree” of accepting (or non-accepting) from . Formally, a state is a family .
2.4.1 Basic approach
In the basic approach the “variables” are boolean variables, more precisely, , where stands for true and for false.
The rules from the definition of a run graph as given in Subsection 2.1 can be turned immediately into rules describing how the variables must be updated when a letter is read. To describe this precisely, we assume a state is given. We want to define , which we write as .
With every transition condition , we associate a corresponding expression , defined by the following set of equations:
[TABLE]
Then is obtained by evaluating .
Shortcomings of the basic approach.
The transition function defined above has several shortcomings, as described in what follows.
Consider a weak alternating automaton with a single state which is non-recurring and where is defined by . First, there are two runs of , namely one in which holds all the time and another one where holds all the time. Second, in the run graph of corresponding to the first run of , the state occurs infinitely often on a path, which means the run graph is not final and must be ruled out.
One way to approach these two problems is to introduce an appropriate recurrence condition in , corresponding to the partition of the state space of in recurring and non-recurring states. In fact, when, for instance, we require that holds infinitely often, the problems just mentioned disappear. But if there is more than just one state in an SCC of , a recurrence condition does no longer help by itself, as explained in what follows.
Example 1*.*
Imagine a weak alternating automaton which has one SCC consisting of two non-recurring states, and . There could be two words, and , such that the graphs and depicted in Figure 1 are the run graphs of on and , respectively. (Note that and are two infinite graphs which are the results of repeating a finite graph infinitely often.)
The graph is not final, while is. The two graphs can, however, not be distinguished by any recurrence condition. The two states occur infinitely often in and in , so there is no state-based recurrence condition that works. Moreover, for and the sets of all subgraphs induced by two consecutive levels and occurring infinitely often coincide. This means that no recurrence condition based on transitions works either.∎
2.4.2 Non-recurring states—first improvement
In Example 1 we have seen that a run of may correspond to a run graph in which is not final, because there may exist paths through this run graph with infinitely many non-recurring states. The idea for solving this problem is explained in what follows, where we ignore recurring states for the moment; they are dealt with in a dual fashion in the second improvement below.
Assume is a vertex of a final run graph of , say , and is non-recurring. Then the subgraph of consisting of the vertices reachable from and with second component in is finite (because we are dealing with weak alternating automata). Let be a successor of in . Either does not belong to anymore or we can consider the subgraph of consisting of the vertices reachable from . The graph is a proper subgraph of , that is, its size is smaller. Now we can pass from to in the same way we passed from to (or stop because no vertices are left) arriving at an even smaller subgraph. This process must eventually terminate because was finite and the size of the subgraphs decreases in every step.
This is why in our construction, we measure the “size” of the subgraphs , , , … and make sure that the size decreases along any path until another SCC or the end of the path is reached. Here, “size” does not simply mean number of vertices, because this could be unbounded. The notion of size we use is coarser. So, to be precise, the size may also stay the same from one vertex of a path to the next, but we enforce it to to decrease eventually, which is obviously enough for the construction to be correct.
What size exactly means can be deduced from the proof of correctness of our construction in Subsection 2.4.4. Here, we only describe the construction.
Let be an SCC of the transition graph and assume . The variables , for , now have values in . The values are determined in two steps:
Values are determined where also [math] is allowed as a value. 2. 2.
These values are “lifted” so as to obtain values in the above range.
The details are spelled out further below, after some more terminology.
We use a normalization function when passing from one SCC to another one, in order to make sure that the values do not become to large. This function is denoted norm and defined by and for . We also use to denote that and belong to the same SCC of the transition graph.
To determine we adapt the expressions from above:
[TABLE]
We let be the value obtained by evaluating .
The above equations are the same as the ones used in the basic approach, but there are two differences. First, for atomic formulas of the form , the value [math] is used to model that a formula is true immediately, see (10). Second, the normalization is incorporated to make sure the automaton starts all over again when passing from SCC to another one, see (11).
The lifting works as follows. Let be the minimal value such that does not occur as a value of one of the ’s for . If , then for all . Otherwise, for every ,
[TABLE]
We say that is the critical value of the transition with respect to the SCC .
Observe, firstly, that the lifting ensures that all values are greater than [math] and that the order of the ’s is the same as the order of the ’s. Observe, secondly, that no finite value greater than can occur by the above definition—the worst case is when does not occur but every value between and . Observe, thirdly, that the else branch in (14) is the one (and only one) place where finite values greater than are generated.
Example 2* (Example 1 continued).*
In Figure 2, the graph from Figure 1 is decorated according to the improved transition function.∎
The recurrence condition we use is a generalized transition Büchi condition that makes sure every finite value originates from another SCC or a transition condition of the form for some . Using the above terminology it makes sure that the graph is indeed finite. Technically, this means the values of the variables decrease down to and then “disappear” at some point.
For every with , there is a transition Büchi set containing all transitions satisfying at least one of the following two conditions.
- •
The number is the critical value of the transition with respect to .
- •
There is no such that .
Example 3* (Example 1 continued).*
In Figure 2, the first transition does not belong to any Büchi set, the second belongs to , the third does not belong to any, the fourth belongs to , … . This indicates a final run graph.∎
Recurring states—second improvement
With recurring states, there are similar problems as with non-recurring states.
Example 4* (Example 1 reused).*
Assume that in Example 1 the states and would be recurring. In the run graph the automaton could guess that all states on the infinite path are states from which the respective suffixes are not accepted, which is not true. But no recurrence condition, neither state- nor transition-based, could rule this out.∎
To deal with these problems, we use the same approach as with non-recurring states but interpret the values of the variables complementary. That is, means the respective suffix is accepted, a finite value means it is not. To implement this, we make use of duality as stated in Fact 1.
Technically, this means that we have two sets of defining rules, which are dual to each other, depending on whether the respective state is non-recurring or recurring.
The equations determining the value of the variable for a non-recurring state are:
[TABLE]
The ones for a recurring state are completely dual:
[TABLE]
Observe that indeed the roles of [math] and , of and , as well as of and are exchanged.
As above, there are generalized transition Büchi conditions for every SCC.
2.4.3 Output function
To complete the description of how we “implement” the Main Theorem, we need to specify an appropriate output function . For every state we set
[TABLE]
This is consistent with interpretation of the variables as explained in the previous subsections.
2.4.4 Proof of correctness
First of all, it is easy to see that the automaton has the properties 1., 2., and 3. stated in the Main Theorem.
For the rest, it is enough to show the following for every word :
- (i)
If there is a final run of on , then for every . 2. (ii)
There is a final run of on . 3. (iii)
There is only one final run of on .
This is best proved by an induction on the SCC’s of the transition graph of , starting in the base case with the “lowest” SCC’s, that is, the ones without outgoing edges.
We show how the inductive step goes for a non-recurring SCC; the base cases and the inductive step for recurring SCC’s can be dealt with in a similar fashion, using duality where appropriate. In fact, the base cases are instances of the inductive step.
So in the following, is a non-recurring SCC. We refer to the SCC’s reachable from as the other SCC’s, excluding itself, and denote the set of states of the other SCC’s by . We assume that (i)–(iii) hold for the other SCC’s (induction hypothesis).
Proof of (i).
Let be a final run of on and write for . It is sufficient to show that for every and the following hold.
- •
If and , then is accepted from .
- •
If and , then is not accepted from .
We show how the proof goes for the case of the first item; the other case can be dealt with in a similar fashion, using duality.
We construct a suitable part of a final run graph, which connects with the final run graph for the other SCC’s, known to exist by induction hypothesis. To this end, we assign to each vertex of the graph to be constructed a value. For each variable with we have the vertex and the value assigned to it is . The other vertices are intermediate vertices and constructed as follows, for each with and separately, by an induction on . So the formulas dealt with in the following are all assumed to be subformulas of .
There are three base cases:
- •
If and , then belongs to the run graph and is assigned [math].
- •
If and , then belongs to the run graph being constructed and has already been assigned (see above). No vertex is added.
- •
If and , then belongs to the run graph known to exist by the induction hypothesis, provided
- –
is non-recurring and is finite or
- –
is recurring and is infinite.
No vertex is added.
And there are two cases in the inductive step:
- •
If and or is part of the run graph, then is part of the run graph. It has an edge to the vertex with the smaller value assigned to it or to both vertices if they have the same value. The vertex is assigned the same value as its successor(s).
- •
If and and are part of the run graph, then is part of the run graph. It has an edge to both vertices and is assigned the maximum of the value of its successors.
Observe that this construction mimics the mechanics of the transition function. In particular, is part of the run graph, the value assigned to this vertex is less than or equal to , depending on the lifting, and the values along the paths do not increase. We can add the edges from to , for each and each .
Finally, observe that, by construction, if there is an infinite path through the part of the run graph just constructed, then one of the Büchi transition conditions of for the SCC is violated. This concludes the proof for the inductive step.
Proof of (ii).
The induction hypothesis is that we already have a run on the other SCC’s. So when we write for , then every for has already been defined. We need to extend to in the sense that we need to determine values for .
The key step is to define a monotone operation on families as follows. First, we write for . Second, we stipulate that is obtained from by applying the transition function.
Clearly, the operation is monotone when we view the families as being ordered point-wise. This means that when we start from the family with for and , then we eventually reach a fixed point. This fixed point satisfies the transition function (restricted to and the other SCC’s), just as any other fixed point does, but the least fixed point also satisfies the Büchi transition conditions for . So it is a final run for and the other SCC’s, which concludes the proof for the inductive step.
Proof of (iii).
Let be the run defined by the fixed point construction in the proof of (ii). By way of contradiction, let be any other final run. We write as and as .
By induction hypothesis, the two runs can only differ for some . Since any run can be viewed as a fixed point (see the proof of (ii)) and is the least fixed point, there must be and such that . Since the transition function is deterministic (and because of monotonicity), for every there must be some such that . Moreover, the corresponding pairs can be assumed to be vertices of the graph constructed in the proof of (i). Because is assumed to be non-recurring, there is some such that and
- •
is a dead end or
- •
all successors of belong to .
In both cases, the transition function would set and to the same value—the desired contradiction.
3 Applications
We present three applications of the Main Theorem in what follows. First, we use it to translate linear-time temporal formulas into backward deterministic -automata. Second, we use it to translate alternation-free modal/temporal fixed-point formulas into backward deterministic -automata. Third, we use it to transform a given Büchi automaton into an equivalent backward deterministic automaton.
3.1 Linear-time temporal logic
In this section, we explain that our construction is “optimal” with regard to converting linear-time temporal formulas into equivalent Büchi automata in the sense that first transforming a given formula of size into a weak alternating automaton and then applying our construction yields a backward deterministic generalized Büchi automaton with states, which is what one typically gets, see, for instance, [19].
In the variant of linear-time temporal logic (LTL) we consider, formulas are built from letters over a given alphabet using boolean connectives and future temporal operators such as “next” (), “eventually” (), “always” (), “until” (), and “release” (). As usual, we interpret such formulas in -words over the given alphabet. All operators except “next” are interpreted non-strict, but what we describe works with minor modifications also for the strict variants.
Without loss of generality, we assume formulas are in negation normal form, that is, negation only occurs in front of letters of the alphabet.
We next recall the transformation of LTL formulas into equivalent weak alternating automata, see, for instance, [6]. A weak alternating automaton equivalent to a given formula has a state for every subformula of ; its transition function is defined by induction by the following equations:
[TABLE]
The states for eventually and until formulas are non-recurring; the states for always and release formulas are recurring. For the other states, it does not matter whether they are recurring or non-recurring, because they do not belong to any cycle in the transition graph.
Obviously, the automaton is a very weak alternating -automaton. So the Main Theorem yields:
Corollary 1**.**
The transformation of an LTL formula of size into an equivalent backward deterministic generalized Büchi automaton via weak alternating automata results in an automaton with states.
3.2 The alternation-free linear-time -calculus
To begin with, we briefly describe the dialect of the linear-time -calculus [18, 3] we use. Given an alphabet , the set of all linear-time -calculus formulas (expressions), denoted , is the smallest set consisting of
- •
and , for ,
- •
, for , where is a supply of variables,
- •
, if belongs to the set,
- •
and , if and belong to the set,
- •
and , if is a vector of distinct variables from , belong to the set, and .
In our vectorial fixed point dialect the formula refers to the -th component of the least/greatest vectorial fixed point of .
Without loss of generality, we assume every variable is bound only once in every formula. As a consequence, every subformula of a given formula can then be referred to by .
The vertex set of the dependence graph of a formula is the set of subformulas of . Edges go
- •
from to ,
- •
from and to and to , and
- •
from to .
A formula has an alternation [16] if in its dependence graph there is a cycle with a - and a -subformula. We may assume that the formulas are such that the resulting automaton is guarded, that is, we only consider guarded formulas [3]: in every cycle in the dependence graph there is a -subformula.
Just as for LTL, there is a straightforward inductive translation from alternation-free closed formulas into weak alternating automata, where, again, for each subformula there is a corresponding state , see, for instance, [10, 11]:
[TABLE]
The states where is part of some cycle of a least fixed point formula in the dependence graph are non-recurring; the states where is part of some cycle with a greatest fixed point formula are recurring. For the other states, it does not matter whether they are recurring or non-recurring, because they do not belong to any cycle.
As every closed -formula over some alphabet is true or not in a position of a given -word, a tuple of closed- formulas over defines a function by
[TABLE]
for every .
We obtain as an immediate consequence of the Main Theorem:
Corollary 2**.**
For every tuple of closed alternation-free -formula there exists a backward deterministic automaton and an output function for such that the function defined by is the same as the function computed by with respect to , that is, . The automaton has the following properties.
Let be an enumeration of all SCC’s of the dependence graph of and for . Then the number of states of is less than , in particular, is an upper bound for the number of states of when is the number of states of . 2. 2.
The automaton has a generalized transition Büchi condition with as many Büchi sets as has subformulas.
3.3 From Büchi-automata to backward deterministic automata
In this section, we show how our construction can be combined with rank functions to obtain a transformation from non-deterministic Büchi automata to equivalent backward deterministic automata. The main idea is to first describe the canonical rank functions by Kupferman and Vardi in the alternation-free linear-time -calculus and then use Corollary 2.
Background on canonical rank functions
Let be a Büchi automaton given by some alphabet , a finite set of states, a set of initial states , a transition relation , and a Büchi set . Further, let .
We consider the run DAG of on , which is the graph with vertex set and an edges as follows. For every , the graph contains all edges from to for , and no other edges.
In general, a leveled DAG is a graph with vertex set and where every edge is from some vertex to some vertex . Vertices in leveled DAG’s are classified as follows. A vertex is called
- •
finitary if it has only a finite number of descendants,
- •
-tagged if its second component belongs to ,
- •
-free if none of its descendants (including itself) is -tagged,
- •
-recurring if there is an infinite path with infinitely many -tagged vertices and starting in the vertex.
The ultimate width of such a DAG is the limes inferior of the number of non--recurring infinitary vertices on a given level.
Consider a non--recurring infinitary vertex. By König’s lemma, there is an infinite path starting in it. Assume that every -tagged strict descendant of the vertex is finitary. Then, after removing the finitary vertices, each successor of the vertex is -free, but the infinite path is still there and all of its vertices (except, maybe, the first one) are removed in the second step, decreasing the ultimate width by one. If there is a -tagged infinitary strict descendant of the vertex, apply the same argument to it. This cannot go ad infinitum, because a path with an infinite number of -tagged vertices would be constructed.
So leveled DAG’s is that they can be decomposed in a simple fashion by repeating the following operation, here called peeling: first, remove all finitary vertices; second, remove all -free vertices.
Fact 3**.**
[9]** For every Büchi automaton with states, peeling the run DAG of any -word times yields the subgraph induced by the -recurring vertices.
By the above, each vertex in a run DAG can be assigned a value in according to when the vertex is removed by peeling the DAG successively. More precisely, when is a natural number and all vertices with value are removed from the given DAG, the finitary vertices in the remaining DAG get assigned ; when all vertices with value are removed, the -free vertices in the remaining DAG get assigned . The -recurring vertices get assigned . The number assigned to a vertex is called its canonical rank, it is denoted , and, according to the above, it is or , when is the width of the DAG started with.
Fact 4**.**
[5*]**
For a Büchi automaton with states, let be the canonical rank function of the run DAG of some -word. The word is accepted from some state if, and only if, .*
Defining the canonical rank function in
We next present -formulas which define the canonical rank function for a given Büchi automaton and any -word.
Assume has states, say . For every and , we define a formula such that if is interpreted in some -word , then the value of is the set , where is the canonical rank function for the run DAG of on . In view of Fact 4, the tuple defined by defines the function we are interested in, more precisely, when each is replaced by a formula denoting the negation of , which can easily be achieved.
We set
[TABLE]
where the ’s are distinct variables and the ’s and ’s are specified in what follows, by induction on .
The formulas of the base case, , are defined by
[TABLE]
The formulas essentially say that every vertex without successors has rank [math], and every vertex whose successors have rank [math] does so, too.
In the inductive step, we use to denote the tuple . We distinguish between odd and even. For odd , say , we set and
[TABLE]
So the ’s are to be read as follows: a -tagged vertex has rank only if its rank is ; a non--tagged vertex has rank if it has rank or all its descendants have rank .
For even , say and , we set and
[TABLE]
which is very similar to the formulas to the formulas in the base case.
A straightforward application of Corollary 2 to the above formulas leads to an upper bound of , because is of size quadratic in and has variables. Observe, however, the following.
- •
Assume a fixed point formula is such that its dependence graph has the property that every path from a next subformula to another next subformula passes through a fixed point subformula. Then an optimized transformation into a weak alternating automaton results in as many states as there are fixed point variables. That is, we obtain only states for the automaton corresponding to .
- •
The size of each SCC in such an automaton for is , because we have variables in every vectorial fixed point subformula.
- •
For a fixed , the values of the fixed point expressions are pairwise disjoint sets.
This all implies:
Corollary 3**.**
The transformation of a non-deterministic Büchi automaton with states into a backward deterministic generalized transition Büchi automaton via and weak alternating automata results in a backward deterministic generalized transition Büchi automaton with states.
4 Conclusion
The translation from weak alternating to backward deterministic automata presented in the Main Theorem is indeed a general construction in the sense that from it other translations into backward deterministic -automata can be derived. It remains open whether the Main Theorem and the translation presented in the section on applications can be fine-tuned (or improved) in such a way that the best known bounds can be met.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] André Arnold and Damian Niwiński. Fixed point characterization of Büchi automata on infinite trees. Elektronische Informationsverarbeitung und Kybernetik , 26(8/9):451–459, 1990.
- 2[2] André Arnold and Damian Niwiński. Fixed point characterization of weak monadic logic definable sets of trees. In Tree Automata and Languages , pages 159–188. 1992.
- 3[3] Behnam Banieqbal and Howard Barringer. Temporal logic with fixed points. In Behnam Banieqbal, Howard Barringer, and Amir Pnueli, editors, Temporal Logic in Specification , volume 398 of LNCS , pages 62–74. Springer, 1987.
- 4[4] Julian C. Bradfield. The modal μ 𝜇 \mu -calculus alternation hierarchy is strict. Theor. Comput. Sci. , 195(2):133–153, 1998.
- 5[5] Olivier Carton and Max Michel. Unambiguous Büchi automata. Theor. Comput. Sci. , 297(1-3):37–81, 2003.
- 6[6] Paul Gastin and Denis Oddoux. Fast LTL to Büchi automata translation. In Gérard Berry, Hubert Comon, and Alain Finkel, editors, CAV , volume 2102 of LNCS , pages 53–65. Springer, 2001.
- 7[7] Roope Kaivola. Axiomatising linear time mu-calculus. In Insup Lee and Scott A. Smolka, editors, CONCUR , volume 962 of LNCS , pages 423–437. Springer, 1995.
- 8[8] Laurent Kott, editor. Automata, Languages and Programming, 13th International Colloquium, ICALP 86, Rennes, France, July 15-19, 1986, Proceedings , volume 226 of Lecture Notes in Computer Science . Springer, 1986.
