Abstract 1 Introduction 2 Graphs, automata and parity games 3 Decompositions, patterns and Cantor-Bendixson rank 4 Over trees of finitely bounded Cantor-Bendixson rank 5 Over trees of countable Cantor-Bendixson rank 6 Over trees of finite Cantor-Bendixson rank 7 Discussion References Appendix A Proofs of Section 3 Appendix B Proofs of Section 4

A Collapse of the Parity Index Hierarchy of Tree Automata, Based on Cantor-Bendixson Ranks

Karoliina Lehtinen ORCID CNRS, Aix-Marseille Université, LIS, France Nathan Lhote ORCID Aix-Marseille Université, LIS, France
Abstract

Over words, nondeterministic Büchi automata and alternating weak automata are as expressive as parity automata with any number of priorities. Over trees, the Büchi acceptance condition is strictly weaker and the more priorities we allow, the more languages parity automata can recognise. We say that on words, the parity-index hierarchies of nondeterministic and alternating automata collapse to the Büchi and weak level, respectively, while both are infinite over trees.

We ask when is Büchi enough?, that is, on which classes of trees are nondeterministc Büchi automata as expressive as parity automata. Similarly for alternating weak automata. We work in the setting of unranked unordered trees, in which there is no order among the children of nodes.

We find that for nondeterministic and alternating automata, the parity-index hierarchy collapses to the Büchi level and weak level, respectively, for any class of trees of finitely bounded Cantor-Bendixson rank, a topological measure of tree complexity. Over trees of countable Cantor-Bendixson rank, (a.k.a. thin trees) the parity-index hierarchy of both nondeterministic and alternating automata collapses to the level [1,2,3], as was already known for ordered trees. These results are in some sense optimal: on the class of trees of finite but unbounded Cantor-Bendixson rank, two priorities do not suffice to recognise all parity-recognisable languages, even for alternating automata.

Keywords and phrases:
Parity tree automata, alternating automata, Cantor-Bendixson rank
Category:
Track B: Automata, Logic, Semantics, and Theory of Programming
Copyright and License:
[Uncaptioned image] © Karoliina Lehtinen and Nathan Lhote; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Formal languages and automata theory
Editors:
Keren Censor-Hillel, Fabrizio Grandoni, Joël Ouaknine, and Gabriele Puppis

1 Introduction

Over infinite words, the languages recognised by nondeterministic parity automata are the same as those recognised by nondeterministic Büchi automata, namely all ω-regular languages. For alternating automata, an even simpler acceptance condition called weak, in which accepting and rejecting cycles do not intersect, suffices to achieve the same expressivity. In contrast, over infinite trees, not only are parity automata more expressive than Büchi automata, but each additional priority increases the expressivity of parity automata [2, 12], both in the nondeterministic and alternating case. We say that on words, the nondeterministic and alternating parity-index hierarchies, also known as the Rabin-Mostowski hierarchies, collapse to the Büchi and weak level, respectively, while on trees, these hierarchies are infinite.

Here, we are interested in structures between words and arbitrary trees, and ask when does the parity-index hierarchy collapse, and to which level? That is, for which classes of trees do nondeterministic Büchi automata and alternating weak automata capture the same languages as parity automata? What about acceptance conditions between Büchi and parity?

There is a dual motivation for this problem. The decidability of the parity-index hierarchy – that is, whether one can decide the minimal number of priorities required to recognise a language – is a long-standing open problem for both nondeterministic and alternating tree automata, while it is straight-forward for word automata. So far, the problem of deciding whether a tree language is expressible with a fixed number of priorities is only known to be decidable for the full hierarchy for deterministic automata [14], game automata [6] and guidable automata [13], which are a form of mildly nondeterministic automata. Results about these hierarchies over restricted classes are limited: over planar graphs, they are infinite [3]; over classes of ordered trees with a countable number of infinite branches, they collapse [7] (see comparison in Remark 27). Here we show the relevance of tools from the parity game literature – in particular attractor decompositions – for analysing the index hierarchy.

From a more practical perspective, defining and understanding properties that use many priorities (or alternating fixpoints in the μ-calculus) is notoriously hard, so it is interesting to understand when a Büchi condition (one fixpoint alternation in the μ-calculus), or a weak condition (alternation-free μ-calculus) suffices.

The setting in which we study this problem is that of alternating and nondeterministic parity automata over unordered trees, that is, trees of unbounded and not necessarily finite arity in which the children of nodes are not ordered (nor labelled with left and right). The trees are coloured with letters from a finite alphabet, and processed by tree automata. Our automata formalism captures the expressivity of the modal μ-calculus (see for example [15]), and the parity index coincides with the fixpoint alternation depth. We study the expressivity of these automata over classes of trees, of which the trees are coloured from a finite alphabet Σ in all possible ways: for instance, the singleton class containing a tree with a single infinite branch produces all words in Σω. We do not consider restrictions on the colouring.

We identify the key parameter that determines the collapse of the parity-index hierarchy to be the Cantor-Bendixson rank of trees. This notion originates from topology, see for example [10], and has been used to describe the structural complexity of trees. In particular thin trees (trees with countably many branches) are exactly the trees of Cantor-Bendixson rank less than ω1, the first uncountable ordinal.

Our main result is that on the class 𝒞k of trees of Cantor-Bendixson rank less than k:

  1. 1.

    For any nondeterministic parity automaton 𝒜, there exists a nondeterministic Büchi automaton such that L(𝒜)𝒞k=L()𝒞k (Theorem 23);

  2. 2.

    For any alternating parity automaton 𝒜, there exists an alternating weak automaton such that L(𝒜)𝒞k=L()𝒞k (Corollary 24).

For completeness, although a related result is already known for ordered trees [7]111Note that deducing the result in one setting from the other is harder than proving it afresh., we also show that on the class 𝒞ω1 of thin trees:

  1. 1.

    For any nondeterministic parity automaton 𝒜, there exists a nondeterministic [1,2,3]-automaton such that L(𝒜)𝒞ω1=L()𝒞ω1 (Theorem 25);

  2. 2.

    For any alternating parity automaton 𝒜, there exists an alternating [1,2,3]- and [0,1,2]-automaton such that L(𝒜)𝒞ω1=L()𝒞ω1 (Corollary 26).

Trees that don’t have a countable Cantor-Bendixson rank actually don’t have a defined Cantor-Bendixson rank (for countable trees) and are known to admit the full binary tree as a minor. For those trees, the parity index hierarchy is known to be infinite [1]. This completes the trichotomy on the classes of trees parameterised by their Cantor-Bendixson rank.

We also show that these results are optimal in the sense that there are languages not recognised by alternating Büchi automata over the class 𝒞ω of trees of finite Cantor-Bendixson rank. This implies that i) neither alternating weak automata nor nondeterministic Büchi automata suffice to capture the whole hierarchy on the class of trees of finite Cantor-Bendixson rank, and ii) automata with only two priorities do not suffice to capture the whole hierarchy over trees of countable Cantor-Bendixson rank.

To obtain these results, we generalise the Cantor-Bendixson rank from trees to graphs, in order to study the complexity of the acceptance parity games induced by an automaton on the class of trees of interest. We give a new characterisation of the Cantor-Bendixson rank. A tree has Cantor-Bendixson rank at least k it it contains k disjoint sets of vertices (V0,,Vk1) such that every vertex of Vi has both a successor within Vi and a path to Vi1. This property extends as is to graphs, which we believe to be an interesting measure of complexity in its own right. Our main technical result is that if 𝒞 has a finitely bounded Cantor-Bendixson rank, then the membership parity games induced by any automaton also have a finitely bounded rank. We then use the notion of attractor decomposition, which corresponds to the decomposition computed by, for instance, Zielonka-type algorithms for parity games, and which has also been used in the context of quasipolynomial algorithms for parity games [9] and automata transformations [11, 4]. We extend attractor decompositions to infinite parity games, and argue that games of finitely bounded rank have finitely bounded attractor decomposition and therefore the winning regions of parity games of finitely bounded rank are recognisable by Büchi automata. We then transform, for any k, any alternating parity automaton into a Büchi automaton that is equivalent over all trees of Cantor-Bendixson rank up to k. If the input automaton is nondeterministic so is the output automaton. Furthermore, if the input automaton is a coBüchi automaton, this transformation yields a weak automaton. Then, via double complementation, we get an equivalent alternating weak automaton.

Beyond proving these new results on the parity-index hierarchy of tree automata, we believe our technical developments provide some insights into the relevance of attractor decompositions for approaching the parity-index hierarchy. We also believe that the notion of rank we introduce, which extends Cantor-Bendixson rank from trees to graphs, can be a useful tool to study structural properties of graphs.

Proofs that are routine or uninformative are in the appendix.

2 Graphs, automata and parity games

Notation.

We denote by ω the first infinite countable ordinal and ω1 the first uncountable ordinal. Given a set S, and an ordinal κ, we define Sκ the set of sequences of order-type κ over S. The length of a sequence sSκ is denoted by |s|=κ. Given s of length κω, we use s[i] to refer to the ith element of a sequence s and s[i..j] to refer to the subsequence s[i]s[j] for, ij<κ. Finally we denote by S=n<ωSn the set of finite sequences over S. Two sequences u,vSω are called ultimately equal if they only differ by a finite prefix. They are called ultimately disjoint if they have no element in common, up to removing finite prefixes.

Graphs.

A graph G=(V,E) consists of a possibly infinite but countable set of vertices V and a set of directed edges EV×V. A subgraph of G is a graph G=(V,E) with VV, and EE, which we denote by GG. The subgraph of G induced by a subset VV is (V,E(V×V)) and denoted by GV. Given G1=(V1,E1), and G2=(V2,E2) two induced subgraphs of G, we denote by G1G2 the subgraph induced by V1V2. The subgraphs GV and GE for VV and EE are G(VV) and (V,EE), respectively. A subset VV of vertices is closed under successors in G if for every vertex vV and edge (v,v)E, we have vV. A vertex is terminal if it has no successor. We write Kn for the clique of size n, that is, the graph with vertices [1n] and edges [1n]2.

A path in G is a sequence e0e1E or Eω of successive edges (i.e. (v0,v1)(v1,v2)). We call ω-path, or infinite path, a path which is not finite. When convenient, we also refer to a path by its sequence of vertices v0v1V or Vω. We also call a graph G=(V,E) an infinite path if V={vi|i} and E={(vi,vi+1)i}. Extending definitions, we say that a set of vertices VV is a path if GV is a path.

A graph is a tree if there exists a vertex r, called the root, such that for any vertex v, there is a unique path from r to v.

The (synchronous) product of two graphs G=(V,E),H=(W,F) is the graph G×H with vertices V×W and edges {((v,w),(v,w))|(v,v)E,(w,w)F}. Given a vertex (v,w)V×W we denote by π(v,w)=v the projection on the first coordinate. We extend this notation to vertex sets and vertex sequences in the natural way.

A Σ-coloured tree, or simply Σ-tree, (V,E,r,L), consists of a tree (V,E), an edge colouring L:EΣ and its root rV. A class 𝒞 of trees and an alphabet Σ generate the class 𝒞Σ consisting of all Σ-trees (V,E,r,L) such that (V,E)𝒞.

The attractor of a set of vertices (or edges) X in a graph S, denoted by 𝙰𝚝𝚝𝚛(X,S) (or 𝙰𝚝𝚝𝚛(X) if S is clear from context), is the set of vertices v in S, such that all maximal paths of S starting in v intersect with X (contain an edge in X). In particular, if X is a set of vertices, it is contained in 𝙰𝚝𝚝𝚛(X,S); if X is a set of edges, neither of its endpoints is necessarily in 𝙰𝚝𝚝𝚛(X,S). (This is the restriction of the typical definition of attractor to a one-player game.)

Parity Games.

A parity game (VEVA,E,Ω:EI,vι) is a two-player game, played on a graph without terminal vertices, rooted at an initial position vι, coloured by a priority assignement Ω with non-negative integer priorities from I=0,,h or I=1,,h for some h, in which vertices (called positions) are partitioned between those belonging to Eve, VE and those belonging to Adam, VA. A play of a parity game is a path in G. An infinite play is winning for Eve if the highest priority that occurs infinitely often is even.

A strategy for Eve is a function σ:VVEV such that (v,σ(wv))E). A play p agrees with a strategy σ for Eve if for all p[i]VE, p[i+1]=σ(p[1..i]). Adam’s strategies are defined similarly from VVA. A strategy for a player is winning if all the plays that agree with it are winning for that player. Parity games admit positional strategies [16], that is, the winning player always has a strategy σ such that σ(uv)=σ(uv) for all u,uV,vV, and can therefore be written as a function σ:VPV for P{A,E}.

Tree automata.

An alternating parity tree automaton (APT) 𝒜=(Σ,Q,δ,δι,Ω) over a finite alphabet Σ consists of: a finite set of states Q; a transition function δ:Q×Σ𝕋(Q), where 𝕋(Q) consists of transition conditions, that is, positive modal formulas over Q: f,f𝕋(Q):=ffffffqQ; we further require that every occurence of a state qQ in a transition condition is within the scope of exactly one modal operator from {,}; and a priority assignement Ω:QI where I is a set [i..j] of consecutive integers starting from i{0,1}. δι is an initial transition condition in 𝕋(Q).We write |𝒜| for the size of 𝒜, that is, the total number of subformulas in all the transition conditions in δ.

An APT is also a Büchi automaton (ABT) if the set of priorities is {1,2}. In this case, states with priority 2 are called “accepting” and with priority 1 “non-accepting”. An APT or ABT is nondeterministic (NPT or NBT) if the only conjunctions that occur are of the following form for a set F of states [8]: qFqqFq. These correspond to disjunctive formulas of the modal μ-calculus and are as expressive as APT [8]. Here we will only use the fact that adding disjunctive choices keeps an automaton nondeterministic.

We define acceptance via parity games. Given a Σ-tree T=(V,E,r,L) and automaton 𝒜=(Σ,Q,δ,δι,Ω:Q[i..j]), the acceptance game 𝒢(T,𝒜) is the parity game given by:

  • A set of vertices (V×𝕋(Q)×(Σ{ε})){SE,SA} to indicate the vertex in the graph, the state or transition condition of the automaton and the label currently processed by the automaton; SE and SA are sinks winning for Eve and Adam respectively.

  • A set of edges (where vV, xΣ, qQ and b,b𝕋(Q)):

    • (v,q,x)(v,δ(q,x),ε);

    • (v,bb,x)(v,b,x) and (v,bb,x)(v,b,x),

    • (v,bb,x)(v,b,x) and (v,bb,x)(v,b,x),

    • (v,b,ε)(v,b,x) for all v such that (v,v)E and L(v,v)=x

    • (v,b,ε)SE and SESE;

    • (v,b,ε)(v,b,x) for all v such that (v,v)E and L(v,v)=x;

    • (v,b,ε)SA and SASA.

  • Positions (v,bb,x) and (v,q,x) belong to Adam; (v,bb,x) and (v,b,ε) belong to Eve. These are of the minimal priority i. Outgoing edges from positions (v,q,x) are of priority Ω(q); the self-loop on SE is of minimal even priority; the one on SA is of minimal odd priority. These positions have a single successor so their owner is irrelevant.

  • An initial position (r,δι,ε).

𝒜 accepts a Σ-tree t with root r if Eve has a winning strategy in 𝒢(t,𝒜) from (r,δι,ε). 𝒜 recognises the language L(𝒜) of Σ-trees accepted by 𝒜. Two APTs 𝒜 and over an alphabet Σ are equivalent if they recognise the same language, namely if L(𝒜)=L(). They are equivalent over a class 𝒞 of trees, or agree on 𝒞, if for every rooted Σ-tree G𝒞Σ, either both accept G or both reject G.

 Remark 1.

Our alternating tree automata are equivalent to the μ-calculus, typically defined over trees (or graphs) with arbitrary branching and unordered successors. Different versions of the μ-calculus describe properties of edge- and vertex-coloured trees. We colour edges in trees for technical convenience, but this makes little difference.

3 Decompositions, patterns and Cantor-Bendixson rank

In this section we introduce three measures of graph complexity. The first is the attractor decomposition of parity graphs [9, 4] extended here to infinite graphs. The second is the presence of what we call patterns which is new to the best of our knowledge. The third is the Cantor-Bendixson rank, a measure of complexity of topological spaces, which can also be used for trees [10].

3.1 Parity graph decompositions

A parity graph is a graph without terminal vertices, edge-coloured with priorities, namely with a set of consecutive integers [i..j], where i{0,1}. A parity graph is even if on all infinite paths, the highest priority occurring infinitely often is even. In particular, the highest priority on every cycle must be even.

An attractor decomposition of a parity graph G, if it exists, is a witness that the graph is even. It was introduced in the form we use here under the name “hierarchical decomposition” in [4, Proof of Theorem 6], and later called attractor decomposition and applied to parity games, rather than just graphs in [5, 9]. Our presentation mostly follows [5], restricted to one-player games in which all positions belong to Adam, but extended to infinite graphs. Informally, for the maximal even priority h, a κ-width attractor decomposition identifies a set of vertices (region) A0 from which every maximal path visits the set H of edges of priority h; a region S1 disjoint from A0 from which every maximal path either visits an edge of priority h or does not visit an edge with priority h1; a region A1 that is the attractor of S1 in (GH)A0; and likewise regions Si and Ai, for every i<κ, that are disjoint from A for every <i, where Ai is the attractor of Si in (GH)A0, and Si consists of vertices from which every maximal path visits priority h, S, for some <i, or does not visit a vertex with priority h1. Each Si is then further decomposed with width κ and with respect to priority h2, which is larger or equal to all priorities in Si. If such a decomposition is a full partition of G, in the sense that the vertices in G are the union of the vertices in the Ai regions, then the graph is even: indeed, any infinite path must either eventually remain within some Si, thus avoiding seeing h1 infinitely often, or reach h infinitely often; within each Si, the same is true with respect to h2, and so on.

Definition 2 (Attractor decomposition).

Given a parity graph G=(V,E,L) with maximal priority at most some even h, and κ an ordinal, a (h-height, κ-width)-attractor decomposition of G, if it exists, is recursively defined to be D=(H,A0,(Si,Ai,Di)0<i<) for κ, where:

  • HE is the set of edges in G of priority h,

  • A0=𝙰𝚝𝚝𝚛(H,G),

  • For every 0<i<, we define Vi=V0j<iAj, and Gi=(GH)Vi and have:

    • SiVi is non-empty, such that GSi contains no edges of priority h1 and is closed under successors in Gi.

    • Ai is 𝙰𝚝𝚝𝚛(Si,(Gi)),

    • Di is a ((h2)-height, κ-width)-attractor decomposition of GiSi,

  • V=0i<Ai.

  • A (0-height, κ-width)- and a (h-height, 0-width)-attractor decomposition is just (H,V): the entire graph is in the attractor of the edges of highest priority.

An attractor decomposition is greedy if at each level, each Si is maximal, that is, it contains all vertices of Vi that do not have a path in Gi to a vertex of priority h1 in Vi.

The next lemma (proof in Appendix A) says that paths in a parity graph progress monotonously through the attractor decomposition, unless the maximal even priority occurs.

Lemma 3.

Given a graph G that admits an attractor decomposition (H,A0,(Si,Ai,Di)0<i<κ), the set Aj is unreachable from Ai in (GH) for all i and j such that 0i<jκ.

Proposition 4.

A parity graph is even if and only if it admits an attractor decomposition. The attractor decomposition can be chosen to be greedy.

Proof.

If a parity graph G, of maximal priority at most some even h, is even, we can construct a greedy attractor decomposition recursively for it as follows. Let H be the set of edges of priority h and A0 the attractor of H.

Then, we define each Si and Ai for i>0 inductively. First let Vi=V<iA for i an ordinal. Vi is either empty, or Gi=(GH)Vi is an even parity graph with maximal priority no larger than h1. Let Si consist of all positions of Gi from where h1 can not be reached. If Vi is non-empty, there must be such positions, since otherwise one could build a path which sees infinitely many h1, contradicting that Gi is an even graph. Let Ai be the attractor of Si in Gi and let Di be an h2-attractor decomposition of Si.

Let us assume Vi is non-empty for all countable ordinals i. Since all the Vis are disjoint, their union is uncountable, since there are uncountably many ordinals smaller than ω1. However we only work with countable graphs, which gives a contradiction. Thus Vi must be empty for some countable ordinal i. Hence V=<iAi.

Observe that this attractor decomposition is, by construction, greedy.

For the other direction, assume that a parity graph has an attractor decomposition (T,A0,(Si,Ai,Di)0<i<κ) of height h. We proceed by induction on the height of the attractor decomposition, that is, the number of priorities in G. The base case of the unique priority 0 is trivial since all paths are even.

For the induction step, we observe that any infinite path of G must either eventually remain in some (GH)S for 1<κ or reach H infinitely often, due to Lemma 3. In the latter case, the path is even since all edges in H are of the highest possible priority. In the former case, since each S has an attractor decomposition of height h2, by the induction hypothesis, we are done.

3.2 Patterns and rank

Here we define the central notions of the article: patterns and rank, with which we measure the complexity of graphs.

Definition 5.

For an ordinal κ, a κ-pattern in a graph (V,E) consists of a family (Vα)α<κ of pairwise disjoint non-empty subsets of V such that for all αβ<κ:

For all vertices vVβ there exists a vertex vVα, and a path u=vwvVβVVα which can only decrease in component index, meaning such that for all i<|u|1 there exist γδ<κ, such that u[i]Vδ and u[i+1]Vγ.

Basically, the condition of a pattern states that from any vertex in the pattern, one can go to some vertex in any component of lower index, following a (non-empty) index decreasing path. In particular any vertex must have at least one successor in the same component. Observe that a pattern in a subgraph is a pattern in the whole graph.

Definition 6.

A graph has rank κ if it has a κ-pattern but no κ+1-pattern. A graph class 𝒞 has rank κ if κ is the supremum rank of graphs in 𝒞.

Example 7.

A graph has rank 0 if and only if it has no infinite paths. The class of trees with a finite number of infinite branches has no 2-pattern. It thus has rank 1. The class of directed acyclic graphs (DAGs) of finite width, where the width is the length of the longest antichain, has k-patterns for all finite k and therefore has infinite rank, while the class of DAGs of bounded width k is of rank k.

We can now make a connection between the rank and the decomposition of a graph:

Lemma 8.

An even parity graph of finite rank k has a k+1-attractor decomposition.

Proof.

Let G be an even parity graph of maximal priority an even h or an odd h1 with vertices V. Since G is an even parity graph of maximal priority at most h, it has by Proposition 4 an h-height attractor decomposition. Let D be a greedy such decomposition of width and not of any width < (that is, the whole width is used somewhere). We will argue that G has an 1-pattern.

Since D indeed uses somewhere the whole width , some induced subgraph has a decomposition D=(T,A0,(Si,Ai,Di)0<i<).

We show by induction that for all finite i<, the graph G(A1Ai), rooted at any vertex in Ai, has an i-pattern. G therefore has an 1-pattern if is finite, and an i-pattern for all finite i otherwise.

First, we consider the base case i=1. Observe that S1 has no terminal vertices as A0 is an attractor and G has no terminal vertices. It follows that every vertex in S1 is on an infinite path. Then, as every vertex of A1 is in the attractor of S1, from any vertex of A1 there is a path in A1 to an infinite path in S1. It follows that in the graph GA1, a 1-pattern is accessible from every position of A1.

For the induction step, we similarly observe that as Si has no terminal vertices, every vertex of Si is on an infinite path in Si. From greediness of D, each vertex of Si also has a path into Ai1 in G; indeed, a vertex without such a path could be in Si1, contradicting greediness. Then, a i1-pattern in Ai1 is accessible infinitely often on every path in Si; it follows that there is an i-pattern from every position in Si, and by extension in Ai. Thus a greedy -width attractor decomposition witnesses that the rank of the graph is at least 1.

Then, if an even parity graph is of rank k, it must have a greedy attractor decomposition, from Proposition 4, but this greedy attractor decomposition can have width at most k+1.

3.3 Cantor Bendixson rank

In this subsection we introduce a well-known notion of descriptive set theory: the Cantor-Bendixson rank (see [10]). We then show that the Cantor-Bendixson rank of a tree is equal to its rank, as defined in the previous section.

The notion of Cantor-Bendixson rank and derivative is originally defined over topological spaces. As in [10]222Note that our definition is slightly different since we consider trees with possibly infinite branching. we adapt the definition to trees so that it coincides with the usual notion for the metric space of ω-branches where branches with a long common prefix are close.

Definition 9.

Let t=(V,E) be a tree, let uV be a vertex of t. We say that u is a path vertex of t if u lies on an infinite path of t, i.e. there is an infinite path upVω. We say that u is a limit vertex of t if there is a converging sequence of pairwise distinct paths which go through u,i.e. there is a path upVω such that for all i, there is a path up[0..i]q which is ultimately disjoint from p.

The trimmed subtree of t, denoted 𝗍𝗋𝗂𝗆(t) is the subgraph of t induced by the set of path vertices. The derivative of t, denoted 𝖽𝖾𝗋(t) is the subgraph of t induced by the set of limit vertices.

Note that all limit vertices are path vertices, and both 𝗍𝗋𝗂𝗆(t) and 𝖽𝖾𝗋(t) are upward closed subtrees of t, since any ancestor of a path (resp. limit) vertex is a path (resp. limit) vertex.

Definition 10.

We define inductively the ordinal derivatives of a tree:

  • 𝖽𝖾𝗋0(t)=𝗍𝗋𝗂𝗆(t),

  • 𝖽𝖾𝗋κ+1(t)=𝖽𝖾𝗋(𝖽𝖾𝗋κ(t)), and

  • 𝖽𝖾𝗋κ(t)=𝗍𝗋𝗂𝗆(α<κ𝖽𝖾𝗋α(t)), for κ a limit ordinal.

We say that t has Cantor-Bendixson rank (CB rank for short) κ if κ is the least ordinal such that 𝖽𝖾𝗋κ(t) is empty.

Figure 1: From left to right, trees of CB-rank 1 (blue), 2 (purple), 3 (red) and ω+1 (orange).

Note that we can show inductively on ordinals that 𝖽𝖾𝗋κ(t) is a decreasing (inclusion-wise) sequence of subtrees of t.

The Cantor-Bendixson rank of a tree happens to coincide with its rank in terms of patterns. The reason we consider patterns is because they are more flexible and apply to arbitrary graphs, while the CB-rank is not well-defined on other kinds of structures.

Proposition 11 (CB-rank).

Let κ be an ordinal. A tree has rank κ iff it has CB rank κ.

4 Over trees of finitely bounded Cantor-Bendixson rank

In this technical core we show that nondeterministic Büchi automata and alternating weak automata are as expressive as parity automata over trees of finitely bounded rank.

4.1 Bounding the rank

The main result of the subsection is the Product Lemma: the product of a tree of rank k with a graph with n vertices has rank at most kn. This is a key technical lemma for proving our main theorem in the next section as it will allow us to show that the acceptance parity game of an automaton over trees of bounded rank also has bounded rank.

Definition 12.

Let G be a graph, a k-pattern V=(V0,,Vk1) is called tree-like if the following holds for all i<j<k:

  • there are no paths in G from Vi to Vj,

  • Vi=Vi where Vi is an infinite path, for ,

  • if a vertex can be reached in G from Vi and Vi then =.

If (V1,,Vk1) is tree-like, then V is called almost tree-like.

Tree-like patterns behave much like trees, which has two advantages: first, it is easier to extract a tree subgraph from the pattern and second, tree-like pattern can be glued together.

Lemma 13 (Glueing Lemma).

Let G be a graph and let V=(V0,,Vk1) be a tree-like k-pattern of G, with Vi=Vi satisfying the corresponding properties. Let W=(W0,,Wk) be tree-like k+1-patterns of G such that Wk=V0, for all . Then G admits a tree-like k+k-pattern.

Proposition 14.

Let t be a tree, let n,k. If t×Kn has a tree-like k-pattern, then t has a k-pattern.

Proof.

Let t=(V,E), and let π:V×{1,,n}V be the projection of vertices of t×Kn to their t coordinate. Let us assume that (V0,,Vk1) is a tree-like pattern of t×Kn. We show that two distinct vertices of the pattern must have different t coordinates. This is enough to ensure that (π(V0),,π(Vk1)) is a k-pattern of t. We first show that two vertices in different components of the pattern have different t coordinates, then we show that it also holds for two vertices in the same component of the pattern.

Two vertices that have the same t coordinate can reach the same vertices in t×Kn. Then, two vertices in different components of the pattern cannot have the same t coordinate, since the pattern is tree-like.

Let i{0,,k1}, let Vi=Vi such that the Vis are paths with disjoint reachability sets. If two distinct vertices have the same t coordinate, they have to lie in the same Vi, for some . However given two vertices of Vi, one can reach the other as Vi is a path, which means that the vertices have different t coordinate.

Definition 15.

Given a graph G=(V,E), a path pVω in G and a set XV of vertices of G, we say that p goes near X infinitely often if for all i0, there is j>i and xX such that (p[j],x)E.

Proposition 16.

Let t be a tree, let n. Let (V0,,Vn+1) be an n+2-pattern of t×Kn such that Vn+1 is an infinite path. Then t×Kn has an almost tree-like 3-pattern (V0,W1,Vn+1)

Proof.

We have that Vn+1 is an infinite path p in t×Kn. We construct a sequence W10,W11, and define W1=iW1i. We will show that we can construct this sequence inductively with the following properties for i,j0:

  • there is a path in t×Kn from p[i] to any vertex of W1i,

  • W1i is an infinite path which goes near V0 infinitely often,

  • if v is reachable in t×Kn from W1i and W1j then i=j

  • there is no path in t×Kn from any vertex of W1i to Vn+1.

The first condition ensures that (W1,Vn+1) is a pattern and the second that (V0,W1) is a pattern. The last two conditions ensure that (W1,Vn+1) is tree-like. Thus we only have left to construct the sequence W10,W11,.

Initial case: Let wVn+1 and let wqn+1wnqnq1w1 be a path such that qiVi,wiVi for i[1,n+1]. Let us consider infinite paths wiriViω for i[1,n]. Then, the projections π(p),π(r1),,π(rn) on t of these paths cannot all be eventually equal since the Vis are disjoint and there are only n copies of each vertex of t in t×Kn. Let i be an index such that π(ri) and π(p) are eventually disjoint, meaning they end up in different branches of t. Let u be the first vertex of wqn+1qi+1wiri such that π(u) is not on the branch π(p). Note that there is an edge from a vertex of p to u but there is no path from u to any vertex of p. From u we choose a path uq in VnV2V1ω which goes near V0 infinitely often, which is possible by the definition of pattern. The set W10 is defined as the set of vertices of uq.

Assume we have constructed W10,,W1i, with the desired properties. We choose a vertex wVn+1 such that w cannot reach any of the W1js, for j[0,i]. Such a w has to exist, since the projections of the W1js are ultimately disjoint from π(p).

Similarly to the initial case, we can find a path uqVnV1ω which goes near V0 infinitely often, such that there is a path in Vn+1 from w to a predecessor of u, and there is no path from u to a vertex of Vn+1. Let W1i+1 be the set of vertices of uq. Since w cannot reach W1js, the vertices of W1i+1 cannot reach W1js, a fortiori. It remains to show that there is no path from W1j to W1i+1 for j[0,i]. Assume the contrary, then there is a vertex v in W1i+1 and path from p[0] which does not go through w to v, by going through W1j. Furthermore, there is also a path which goes through w. Let wVn+10ji+1W1j be a vertex distinct from w. If wVn+1, then π(w)π(w), since Vn+1 is a path. If wVn+1, since from the induction assumption there is no path from 0ji+1W1j to Vn+1, we have π(w)π(w). Then there are two distinct paths in t from the same vertex to π(v), a contradiction.

From a graph G of rank k, the product G×Kn with the clique over n vertices, has rank at least kn. We show below that this is optimal for trees, and leave open the question whether this holds in general.

Lemma 17 (Product Lemma).

Let t be a tree of rank k, let n. The graph t×Kn has rank at most kn.

Proof.

The statement is trivially true for n1, so assume n2 in the following.

We show by induction on k that given (V0,,Vkn) a kn+1-pattern of t×Kn, such that Vkn is a path, one can obtain a tree-like k+1 pattern (W0,,Vkn). From Proposition 14, this is enough to obtain the result.

Clearly this holds for k=0. Let us assume it holds for some k0.

Let (V0,,V(k+1)n) be a (k+1)n+1-pattern of t×Kn We use Proposition 16 on the pattern (Vkn1,,V(k+1)n) and obtain (Vkn1,W2,V(k+1)n), an almost tree-like pattern. We have that W2 is a union of disjoint paths W2i, i0, with the property that no vertex can be reached from two distinct paths. For each i, (V0,,Vkn1,W2i) is a kn+1-pattern with W2i an infinite path. From the induction assumption, we can obtain a tree-like k-pattern (W0i,,Wk1i,W2i). Since (W2,V(k+1)n) is tree-like, from the Glueing Lemma we obtain a tree-like k+1 pattern, which concludes the induction.

To finish the proof, we only need to show that given (V0,,Vkn) a kn+1-pattern of t×Kn we can assume without loss of generality that Vkn is a path. To do this we only need to restrict Vkn to a path which goes near Vkn1 infinitely often, which can easily be done.

Now that we have proved the Product Lemma, we need another simpler lemma dealing with the rank of trees obtained by what we call subdivision of vertices.

Definition 18.

Let G=(V,E) be a graph. An n-subdivision of vertex u in G is the graph G=(V,E) where V=V{u1,,un}, E=(E{(u1,u2),,(un1,un),(un,u)}{(s,u1)|(s,u)E}){(s,u)E}.

A graph G is called an n-subdivision of G if G can be obtained by applying to all vertices u an nu-subdivision with nun (a 0-subdivision of a vertex does not modify the graph).

Proposition 19.

Let t be a tree of rank k and let t be an n-subdivision of t. Then t has rank at most k.

4.2 From parity automata to Büchi and weak automata

The previous technical developments, in particular the Product Lemma, imply that the acceptance game of a tree cannot have a much larger rank than the original tree. This implies in turn a bound on the attractor decompositions of such games for trees of bounded CB-rank. We use this to convert parity automata into a Büchi automata over trees of bounded rank.

Corollary 20.

Given a tree t with rank k and an APT 𝒜, the acceptance parity game 𝒢(t,𝒜) has rank at most kc for some constant c that depends only on 𝒜.

We now build an NBT p,k for finite p,k that operates over the tree unfolding of parity graphs with priorities up to p, accepts those with a k-width attractor decomposition, and rejects odd ones333Note that this construction is similar in spirit to the one in [4, Lemma 9], which is made succinct by the use of small universal trees.. We build p,k for even p, by induction on p, starting with 0,k, which, for all k simply consists of an accepting state q and a transition δ(q,0)=q.

Then, we build p+2,k as follows. We take k copies k,,1 of p,k with initial states ιk,,ι1, respectively, and add a non-accepting state qi before each i, as well as q0 after 1, each with a nondeterministic choice over priorities up to p+1 to either loop or move to the next copy i1 of p,k. From q0, there is only a self-loop on priorities up to p+1. From every state of each i, seeing the input letter p+1 leads to the intermediate state qi1. Finally, we also add one accepting state qb, to which all states transition upon seeing p+2, and from which there is a transition over all priorities up to p+2 to qk, the first new non-accepting state. A more formal definition can be found in Appendix B.

Finally, let p,k for odd p be as p+1,k, except without any transitions on priority p+1.

 Remark 21.

1,k is a weak automaton since the only accepting cycles are self-loops in the copies of 0,k and the only rejecting cycles are self-loops on the intermediate states qi.

Lemma 22.

For every k and p, the automaton p,k accepts parity graphs with priorities up to p, represented by their tree unfolding, that have a k-width attractor decomposition and rejects odd graphs.

Proof.

We prove the statement for even p by induction on p; the statement for odd p follows easily. In the base case, where p=0, for every k, all parity graphs have a k-width attractor decomposition, and indeed by the construction of 0,k, it accepts everything.

In the induction step, we assume the claim for p, and prove it for p+2. If a parity graph G with priorities up to p+2 has a k-width attractor decomposition (T,A0,(Si,Ai,Di)0<i<j), then Eve can use the following strategy in the acceptance game 𝒢(G,p+2,k): At a position (v,qi) with vA0Ai, Eve remains in qi until she reaches a position (v,qi) where vS for some i; from there, she moves to ιi and follows a strategy that is winning in the acceptance game of and the tree rooted at v and restricted to priorities up to p, from the IH. Then, if no priority equal or larger than p+1 occurs, the play will remains within in , and is winning by IH. If priority p+2 occurs, the game moves to some (v′′,qb), of priority 2; if p+1 occurs, the game moves to some (v′′,qi1) where v′′A0Ai1. This is the case since S does not contain priority p+1 and any path from S that does not contain p+2 but contains p+1 progresses to some Aj with j< (Lemma 3). If v′′A0, then the priority p+2 will eventually occur, and the game moves to some (v′′,qb), of priority 2.

We now argue that this strategy is winning for Eve. Indeed, a play can either eventually remain in some component, in which case it is winning by induction hypothesis, or eventually exits every . In the latter case, the only way for Eve to lose would be to get stuck in q0 and never see the priority p+2. However, since the G-component of the play moves to some Aj with j< whenever it exists a component , the play can only reach (v,q0) where vA0, in which case p+2 will eventually occur.

Furthermore, if Eve has a winning strategy in the acceptance game, then the highest priority on all infinite paths of G is even because all accepting cycles in p,k read words of which the highest priority is even; hence p+2,k does not accept any odd graphs.

The statement for odd p follows as p,k is then as p+1,k without any p+1 transitions.

We now build, from any APT 𝒜 of priorities up to p an ABT that agrees with 𝒜 over trees of rank at most k by composing it with p,k where k only depends on k and 𝒜.

Theorem 23.

Given k and an alternating parity automaton 𝒜, one can effectively construct an alternating Büchi automaton that agrees with 𝒜 over trees of Cantor-Bendixson rank up to k. If 𝒜 is nondeterministic, so is and if 𝒜 is coBüchi then is weak.

Proof.

Consider an APT 𝒜 with priorities up to p. Let k=kc+1 for the constant c in Corollary 20; then we know that the game 𝒢(t,𝒜) has rank strictly less than k for all trees t of rank up to k.

By Lemma 22, the ABT p,k accepts all parity graphs with priorities up to p with a k-width attractor decomposition, and rejects odd parity graphs. By construction, p,k only has modalities. Then, we build the required ABT by taking the synchronous composition 𝒜×p,k of 𝒜 and p,k. This is an ABT that accepts a tree t if and only if p,k accepts some tree induced by a strategy for Eve in 𝒢(t,𝒜). The details of this composition are as expected, detailed in Appendix B.

In words, is an automaton that uses 𝒜 to process the input tree, and at each step, p,k processes the priority that 𝒜 would produce, which adds some nondeterministic choices. We argue accepts any tree t such that in 𝒢(t,𝒜) Eve has a winning strategy that induces a graph with a k-width attractor decomposition, and rejects tL(𝒜).

Assume t is such that in 𝒢(t,𝒜) Eve has a winning strategy σ that induces an even graph Gσ with a k-width attractor decomposition. Let σ be Eve’s winning strategy in 𝒢(Gσ,p,k). We can then compose these strategies to obtain a winning strategy in 𝒢(t,). Indeed, positions of 𝒢(t,) can be seen as a position of 𝒢(t,𝒜) paired with states of p,k, to which are added, after the resolution of the boolean combinations in transition conditions of 𝒜, the resolution of the boolean combinations in the transition condition of p,k corresponding to a transition on the priority of the next state in 𝒜. In the composition strategy, σ determines the choices between successors in t at -modalities and choices at disjunctions in the transition conditions of 𝒜, while σ determines choices at disjunctions in the transition conditions of p,k. The existence of σ guarantees the existence of σ, and that the composition strategy remains in the restriction of 𝒢(t,) to 𝒢σ in the 𝒢(t,𝒜)-part of the game. Since the priorities of come from the priorities of p,k, the fact that σ is winning for Eve ensures that the composition of σ and σ is winning for Eve.

Conversely, if tL(𝒜), then Adam has a winning strategy τ in 𝒢(t,𝒜). He can use τ directly in 𝒢(t,) as does not add any universal choices ( or ) beyond those of 𝒜. Let w be the sequence of priorities induced by the projection of a τ-consistent play of 𝒢(t,) on the 𝒢(t,𝒜) component; the highest priority seen infinitely often on w is odd. The projection of the same play on p,k is a path of p,k that processes w. By construction, no accepting cycle of p,k processes a word of which the highest maximal priority is odd, so this path is rejecting, and τ is a winning strategy for Adam in 𝒢(t,).

For all t of rank up to k, 𝒢(t,𝒜) has rank strictly less than k, if tL(𝒜) then Eve has a winning strategy that induces an even graph that also has rank less than k. From Lemma 8, it has a k-width attractor decomposition, and therefore accepts t; if tL(𝒜) then rejects t, so agrees with 𝒜 on such trees. By construction, if 𝒜 is nondeterministic, so is as Bp,k only has nondeterministic choices; if 𝒜 is coBüchi, then is weak since 1,k is weak.

Corollary 24.

Let k, let 𝒜 be an alternating parity automaton, one can effectively construct an alternating weak automaton that agrees with 𝒜 over trees of Cantor-Bendixson rank at most k.

Proof.

Given 𝒜, from Theorem 23 there is an alternating Büchi automaton that agrees with 𝒜 over trees of Cantor-Bendixson rank at most k. Let 𝒞 be the standard syntactic coBüchi complement of , obtained by exchanging and , and and , and replacing priority 1 with 0 and 2 with 1. Then 𝒞 accepts a tree of rank at most k if and only if 𝒜 rejects it. Again from Theorem 23, there is an alternating weak automaton 𝒞 that agrees with 𝒞 on all trees of rank at most k. Then, the syntactic complement of 𝒞, is an alternating weak automaton that agrees with 𝒜 on all trees of rank at most k.

5 Over trees of countable Cantor-Bendixson rank

Theorem 25.

Given an alternating parity automaton 𝒜, one can effectively construct an alternating {1,2,3}-automaton 𝒞 that agrees with 𝒜 over trees of countable Cantor-Bendixson rank. Furthermore, if 𝒜 is nondeterministic, so is 𝒞.

Proof.

Recall from the proof of Theorem 23 that the synchronous product 𝒜×p,k, for some k dependent on 𝒜, is equivalent to 𝒜 over trees of rank 1 for p,k, the nondeterministic Büchi automaton from Lemma 22. For clarity, we will describe as having its additional 3-priority on transitions.

Let be as p,k, but with additional nondeterministic transitions of priority 3 from every state to the initial state qι. (To have priorities on states, it suffices to use a copy of qι of priority 3.) We now argue that 𝒜× is equivalent to 𝒜 over thin trees.

One direction is clear: all accepting cycles of , like of p,k read words of which the highest priority is even, so for 𝒜× to accept t, there must be an accepting run of 𝒜 over t.

For the other direction, we show that if a thin tree t is accepted by 𝒜, then it is also accepted by 𝒜×. We build a run of 𝒜× over t with an accepting run of 𝒜 over t in the first component. For the second component, we must resolve the non-determinism in . To do so, let Tα be the set of vertices of t of CB-rank α. Observe that any subtree of t induced by Tα for some α itself is a tree of rank 1. Then, we resolve the nondeterminism of as follows: when the position of the run in t changes CB-rank, the run takes the available 3-edge that resets to its initial state.

Since the rank along a path can only decrease, the rank along a path in t of countable rank can only change a finite number of times, hence this strategy will only use the 3-transition a finite number of times on a tree of countable rank.

Then, from some (q,qι) and position v in Tα for some α and while the run remains in Tα, the run follows an accepting run in 𝒜×p,k from (q,qι) over the subtree induced by v in Tα. Such a run exists since 𝒜×p,k from (q,qι) agrees with 𝒜 from q over trees of rank 0.

Corollary 26.

Given an alternating parity automaton 𝒜, one can construct an alternating {0,1,2}-automaton that agrees with 𝒜 over thin trees.

Proof.

Given an alternating parity automaton 𝒜, let 𝒞 be an alternating {1,2,3}-automaton that agrees with the complement of 𝒜 over trees of countable Cantor-Bendixson rank, obtained from Theorem 25. The syntactic complement of 𝒞, obtained by exchanging and , and , and shifting priorities by 1, is a {0,1,2}, then agrees with 𝒜 over thin trees.

 Remark 27.

While we believe that this section is helpful in understanding how our techniques extend beyond finite Cantor-Bendixson rank, analogous results on ordered thin trees were already shown in [7]. While some of our reasoning is similar, there are also some differences that make transfering results between the two settings non-trivial. For instance, our trees are of unbounded, potentially infinite arity. Furhtermore, they are interested in recognising languages of thin trees among all forests, that is, in automata that can both check whether a tree is thin and in the language. Crucially, over unordered trees, our automata (which are bisimulation-invariant, like the μ-calculus) do not suffice to check that the rank of a tree is finite or countable, while their automata have the expressivity of MSO.

To exemplify how the two setting differ with respect to the parity index hierarchy, we observe that nondeterministic Büchi automata are as expressive as parity automata on the class of ordered trees in which every branch goes left a finite number of times. It is harder to find a similar example of a class of unordered trees of unbounded Cantor-Bendixson rank over which non-deterministic Büchi automata are as expressive as parity automata.

6 Over trees of finite Cantor-Bendixson rank

In this section we argue that the previously described trichotomy result cannot be improved upon: two priorities do not capture all regular tree languages over trees of finite rank.

Theorem 28.

The language of trees where letter a occurs a finite number of times on every branch is not recognisable by alternating Büchi automata over the class of trees of finite rank.

Before we proceed with the proof of Theorem 28, we prove the following technical lemma that describes how adding a back-edge in a tree and unfolding it back into a tree only increases the rank of the tree by at most 1.

Definition 29 (back-edge unfolding).

Let t=(V,E) be a tree, let u,vV such that u is an ancestor of v. We define t the tree obtain by unfolding the graph G=(V,E{(v,u)}). We say that t is a back-edge unfolding of t.

Lemma 30.

Given a tree t of rank α, the tree t, obtained as a back-edge unfolding of t, is of rank at most α+1.

Proof.

In the tree t, all vertices except those on the branch with the infinitely repeating segment from u to v have induced subtrees that appear in t, and therefore all those subtrees are of rank at most α. The αth derivative of t is thus either empty or contains this single infinite branch. Hence t has rank at most α+1.

Proposition 31.

Let 𝒞 be a non-empty class of trees closed under back-edge unfolding. Then the language of trees in which the letter a occurs a finite number of times on every branch is not recognisable by an alternating Büchi automata over the class 𝒞..

Proof.

Assume, towards a contradiction, that there is an alternating automaton 𝒜 that recognises the language L of trees in which a occurs a finite number of times on every branch over the class of trees of finite rank.

Consider t a finitely branching tree of rank n strictly larger than 2m where m is the size of (Q𝕋(Q))×(Σ{ε}))+2 (the size of the 𝒜-dependent component of the acceptance game of 𝒜), in which edges between vertices of different rank are labelled a and other edges are labelled b. This tree is in L so there is a positional winning strategy σ for Even in 𝒢(t,𝒜). We now show that there is a branch in t with n1 occurrences of a such that every play that agrees with σ sees a Büchi state between each occurrence. Indeed, first take a branch πn of constant rank n, starting from the root, which we call vn. All plays along this branch that agree with the strategy σ must eventually see a Büchi state, so by König’s lemma at some vertex, all such plays have seen a Büchi state. Since this vertex is of finite rank n, it has some descendant vn1 of rank n1. We build πi1 and vi2 similarly from vi1. We call π the branch from the root that includes each vi and eventually follows π1. Since π changes rank n1 times, it has n1 occurrences of a, and, by construction, every play that agrees with σ sees a Büchi state between two such occurrences.

By pigeonhole principle, along π, we can find two vertices v and v such that:

  • a occurs at least once in between v and v;

  • the edge leading to v and v has the same label;

  • σ visits the same set of states of 𝒜 in both v and v;

  • Every play that agrees with σ visits a Büchi state between v and v.

The tree t, defined as the unfolding of t with a back-edge from the parent of v to v, has finite rank from Lemma 30, so 𝒜 should reject t since it has a branch with infinitely many occurrences of a. However the strategy σ, induced by σ on t, is an winning strategy in 𝒢(t,𝒜) since plays on branches that see a finite number of times copies of v, eventually resemble plays from σ in 𝒢(t,𝒜) and are therefore winning, and plays on the unique branch that sees copies of v infinitely often visit a Büchi state in between each such occurrence and are therefore accepting.

Proof of Theorem 28.

The result is a consequence of Proposition 31. The fact that trees with finite rank are closed under back-edge unfolding is given by Proposition 30.

7 Discussion

We have shown that over trees, there is a tight relationship between the index hierarchy of parity automata and the Cantor-Bendixson rank. While on trees we observe a trichotomy, it is open whether a similar result holds over graphs, or whether there are classes of graphs over which the parity index hierarchy collapses to each level beyond [1,2,3]. We expect our notion of graph rank to be helpful in exploring this question. One of the technical challenges of extending this work to graphs is generalising the Product Lemma, whose the proof relies heavily on the simplicity of tree structures. We hope that studying the orthogonal cases of finite graphs and DAGs separately will help tame the challenges of the graph setting.

References

  • [1] André Arnold. p329 the μ-calculus alternation-depth hierarchy is strict on binary trees. RAIRO Theor. Informatics Appl., 33(4/5):329–340, 1999. doi:10.1051/ITA:1999121.
  • [2] Julian C. Bradfield. The modal μ-calculus alternation hierarchy is strict. Theor. Comput. Sci., 195(2):133–153, 1998. doi:10.1016/S0304-3975(97)00217-X.
  • [3] Giovanna D’Agostino and Giacomo Lenzi. The μ-calculus alternation depth hierarchy is infinite over finite planar graphs. Theor. Comput. Sci., 737:40–61, 2018. doi:10.1016/J.TCS.2018.04.009.
  • [4] Laure Daviaud, Marcin Jurdzinski, and Karoliina Lehtinen. Alternating Weak Automata from Universal Trees. In 30th International Conference on Concurrency Theory (CONCUR 2019), 2019. doi:10.4230/LIPIcs.CONCUR.2019.18.
  • [5] Laure Daviaud, Marcin Jurdziński, and K. S. Thejaswini. The Strahler Number of a Parity Game. In 47th International Colloquium on Automata, Languages, and Programming (ICALP 2020), 2020. doi:10.4230/LIPIcs.ICALP.2020.123.
  • [6] Alessandro Facchini, Filip Murlak, and Michal Skrzypczak. Index problems for game automata. CoRR, abs/1506.02153, 2015. arXiv:1506.02153.
  • [7] Tomasz Idziaszek, Michal Skrzypczak, and Mikolaj Bojanczyk. Regular languages of thin trees. Theory Comput. Syst., 58(4):614–663, 2016. doi:10.1007/S00224-014-9595-Z.
  • [8] David Janin and Igor Walukiewicz. Automata for the modal mu-calculus and related results. In Jirí Wiedermann and Petr Hájek, editors, Mathematical Foundations of Computer Science 1995, 20th International Symposium, MFCS’95, Prague, Czech Republic, August 28 - September 1, 1995, Proceedings, volume 969 of Lecture Notes in Computer Science, pages 552–562. Springer, 1995. doi:10.1007/3-540-60246-1_160.
  • [9] Marcin Jurdzinski, Rémi Morvan, and K. S. Thejaswini. Universal algorithms for parity games and nested fixpoints. In Jean-François Raskin, Krishnendu Chatterjee, Laurent Doyen, and Rupak Majumdar, editors, Principles of Systems Design - Essays Dedicated to Thomas A. Henzinger on the Occasion of His 60th Birthday, volume 13660 of Lecture Notes in Computer Science, pages 252–271. Springer, 2022. doi:10.1007/978-3-031-22337-2_12.
  • [10] A. Kechris. Classical Descriptive Set Theory. Graduate Texts in Mathematics. Springer New York, 1995. URL: https://books.google.fr/books?id=pPv9KCEkklsC.
  • [11] Orna Kupferman and Moshe Y. Vardi. Weak alternating automata are not that weak. In Fifth Israel Symposium on Theory of Computing and Systems, ISTCS1997, Ramat-Gan, Israel, June 17-19, 1997, Proceedings, pages 147–158. IEEE Computer Society, 1997. doi:10.1109/ISTCS.1997.595167.
  • [12] Giacomo Lenzi. A hierarchy theorem for the μ-calculus. In Friedhelm Meyer auf der Heide and Burkhard Monien, editors, Automata, Languages and Programming, 23rd International Colloquium, ICALP96, Paderborn, Germany, 8-12 July 1996, Proceedings, volume 1099 of Lecture Notes in Computer Science, pages 87–97. Springer, 1996. doi:10.1007/3-540-61440-0_119.
  • [13] Damian Niwinski and Michal Skrzypczak. On guidable index of tree automata. In Filippo Bonchi and Simon J. Puglisi, editors, 46th International Symposium on Mathematical Foundations of Computer Science, MFCS 2021, August 23-27, 2021, Tallinn, Estonia, volume 202 of LIPIcs, pages 81:1–81:14. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2021. doi:10.4230/LIPICS.MFCS.2021.81.
  • [14] Damian Niwinski and Igor Walukiewicz. Deciding nondeterministic hierarchy of deterministic tree automata. In Ruy J. G. B. de Queiroz and Patrick Cégielski, editors, Proceedings of the 11th Workshop on Logic, Language, Information and Computation, WoLLIC 2004, Fontainebleau, France, July 19-22, 2004, volume 123 of Electronic Notes in Theoretical Computer Science, pages 195–208. Elsevier, 2004. doi:10.1016/J.ENTCS.2004.05.015.
  • [15] Thomas Wilke. Alternating tree automata, parity games, and modal {μ}-calculus. Bulletin of the Belgian Mathematical Society-Simon Stevin, 8(2):359–391, 2001.
  • [16] Wieslaw Zielonka. Infinite games on finitely coloured graphs with applications to automata on infinite trees. Theor. Comput. Sci., 200(1-2):135–183, 1998. doi:10.1016/S0304-3975(98)00009-7.

Appendix A Proofs of Section 3

See 3

Proof.

We proceed by transfinite induction on i. For j>0, the set Aj is unreachable from A0 in GH since all paths from A0 lead to H without leaving A0.

For the induction step, assume Aj is unreachable in GH from all A for 0<<i. Since Ai is by definition an attractor of Si in (GH)Vi, any path from Ai in (GH)Vi ends up in Si without leaving Ai, and then Si closed under successors in (GH)Vi. Therefore, all paths from Ai in GH can only exit Ai by entering 0<<iA. Then, from the induction hypothesis, such a path cannot reach Ai.

See 11

Claim 32.

Let t be a tree with a κ-pattern (Vα)α<κ, then the following holds for all α<κ:

  1. 1.

    Vα contains an infinite path,

  2. 2.

    Vα contains only limit vertices, for α>0.

Proof.

We prove the following statement: a tree has a κ-pattern if and only if its αth derivative is non-empty, for all α<κ. This is enough to get the proposition, and vacuously holds for κ=0.

Let t be a tree with a κ-pattern (Vα)α<κ. We prove by induction on ordinals that 𝖽𝖾𝗋α(t) is non-empty for all α<κ.

If κ=α+1, then 𝖽𝖾𝗋κ(t)=𝖽𝖾𝗋(𝖽𝖾𝗋α(t)). We show by induction on βα that Vβ is a subset of the vertices of 𝖽𝖾𝗋β(t). It holds for β=0. Assume it holds for some β. Then Vβ is a subset of the vertices of 𝖽𝖾𝗋β(t), which means that (Vβ,Vβ+1) is a 2-pattern of 𝖽𝖾𝗋β(t), hence Vβ+1 contains only limit vertices of 𝖽𝖾𝗋β(t) from Claim 32. Thus 𝖽𝖾𝗋(𝖽𝖾𝗋β(t)) contains all the vertices of Vβ+1. Similarly, if β is a limit ordinal, then for all γ<β, Vγ is a subset of 𝖽𝖾𝗋γ(t), which means that the vertices of Vβ are limit vertices of 𝖽𝖾𝗋γ(t), for all γ, thus Vβ is included in the vertex set of 𝖽𝖾𝗋β(t). In particular 𝖽𝖾𝗋α(t) contains all the vertices of Vα which contains an infinite path. Hence 𝖽𝖾𝗋α(t) is not empty.

If κ is a limit ordinal, then by the induction assumption, t has an α+1-pattern for any α<κ. Thus by the induction assumption, the αth derivative of t is non-empty. which concludes the proof.

Conversely, let t be a tree such that for all α<κ, 𝖽𝖾𝗋α(t) is non-empty. We prove by induction on κ that (Vα)α<κ, defined by Vα=𝖽𝖾𝗋α(t)𝖽𝖾𝗋α+1(t) is a κ-pattern. For κ=0 this clearly holds. If κ is a limit ordinal, then by induction assumption we have that (Vβ)β<α+1 is an α+1-pattern, for any α<κ. Thus (Vα)α<κ is a κ-pattern. If κ=α+1, then by induction assumption, (Vβ)β<α is an α-pattern. The vertices of Vα are the vertices of 𝖽𝖾𝗋α(t) which are not limit vertices. Note that 𝖽𝖾𝗋α(t) does not contain any terminal vertex. Thus vertices in Vα all have a successor in Vα. We have left to show that any vertex in Vα can reach a smaller component by a component decreasing path. Assume to the contrary that there is a vertex vVα and β<α such that there is no path in vVα(ββ<αVβ). Since Vα is the set of vertices of 𝖽𝖾𝗋α(t) which are not limit vertices (and since 𝖽𝖾𝗋α(t) has not terminal vertex), this means that it is descendant-closed in 𝖽𝖾𝗋α(t). Hence, in 𝖽𝖾𝗋β(t), all paths from v stay in Vα, thus v is not a limit vertex of 𝖽𝖾𝗋β(t), which gives a contradiction. Hence the family (Vα)α<κ is a κ-pattern.

Appendix B Proofs of Section 4

See 13

Proof.

We define U=(U0,,Uk+k1). For i{0,,k1}, Uk+i=Vi, and for i{0,,k1}, Ui=Wi. Note that the unions are indeed disjoint, since the V0s have disjoint reachability sets. Let us check that U is indeed a pattern. The fact that the Uis are disjoint is given by the two following properties: 1) for distinct s, the V0s have different reachability sets, thus the different patterns Ws are disjoint, 2) for each pattern W, the components are disjoint, by definition.

We only have left to check that any vertex can reach any component of lower index by an index decreasing path. If the two indices are at least k, then this is given by V being a pattern. If the two indices are at most k, then any vertex is in pattern W for some , and can reach any lower component of U. To reach a component of index at most k from a component at least k, then one can simply reach component k first (since V is a pattern) and end up in some V0 and then reach the component of smaller index, since W is a pattern.

See 19

Proof.

Note that an n-subdivision can be obtained as n successive 1-subdivisions, hence we only have to show that the result holds for n=1.

Let t be a tree and let t be a 1-subdivision of t. Let us assume that t has a k-pattern (V0,,Vk1). We can partition the vertices of t in VX, where V is the set of vertices of t and X is the set of vertices added in subdivised vertices. Note that vertices in X have only one successor, which means that any vertex in X in a Vi must have its only successor in Vi. Let u be a vertex in VVi and let v be a successor of u in Vi in t. If vV, then u has a successor in ViV in t. Otherwise if vX, then it has a successor wVi such that (u,w) is an edge in t. In both cases u has a successor in Vi in t. With the same reasoning, we can show that if u has a successor in Vi1 in t then it has a successor in Vi1 in t. Thus we have that (V0V,,Vk1V) is a k-pattern in t.

See 20

Proof.

Observe that the number of successive positions in 𝒢(t,𝒜) with the same t-component is bounded by a constant b that depends on the depth of Boolean combinations in 𝒜. By padding these with trivial disjunctions or conjunctions, we can ensure that the number of successive positions with the same t-component is in fact constant throughout 𝒢(t,𝒜). Then, there is a subdivision t of t, also of rank k (from Proposition 19), such that 𝒢(t,𝒜) is a subgraph of the product t×Kc where c is (|Q|+|𝔹(Q)|)×(1+|Σ|)+2, obtained from counting the positions of 𝒢(t,𝒜). From Lemma 17 since 𝒢(t,𝒜) is a sub-graph of t×Kc, it has rank at most kc.

Full definition of 𝓑𝒑,𝒌

We build p,k for even p, by induction on p, starting with 0,k, which, for all k simply consists of an accepting state q and a transition δ(q,0)=q.

Then, we build p+2,k as follows. We take k copies k,,1 of p,k with initial states ιk,,ι1, respectively, and add a non-accepting state qi before each i, as well as q0 after 1, each with a nondeterministic choice over priorities up to p+1 to either loop or move to the next copy of p,k. From q0, there is only a self-loop on priorities up to p+1. From every state of each i, seeing the input letter p+1 leads to the intermediate state qi1. Finally, we also add one accepting state qb, to which all states transition upon seeing p+2, and from which there is a transition over all priorities up to p+2 to qk, the first new non-accepting state.

More formally, having 1,,j, we make ι1,,ιk non-initial, and add k+1 non-accepting states qk,,q0, of which qk is initial, an accepting state qb, and the following transitions:

  • δ(q0,x)=q0, for x<p+2,

  • δ(qi,x)=qiιi, for x<p+2, i>0,

  • δ(q,p+1)=qi1 for q a state in i, i>0,

  • δ(q,p+2)=qb for all q,

  • δ(qb,x)=qk for all x,

  • transitions on x in i are preserved for x<p+1.

Finally, let p,k for odd p be as p+1,k, except without any transitions on priority p+1.

See 23

Proof.

Consider an APT 𝒜 with priorities up to p. Let k=kc+1 for the constant c in Corollary 20; then we know that the game 𝒢(t,𝒜) has rank strictly less than k for all trees t of rank up to k.

By Lemma 22, the ABT p,k accepts all parity graphs with priorities up to p with a k-width attractor-decomposition, and rejects odd parity graphs. By construction, p,k only has modalities and disjunctions. Then, we build the required ABT by taking the synchronous composition 𝒜×p,k of 𝒜=(Σ,QA,δA,διA,ΩA) and p,k=([0,p],QB,δB,διB,ΩB). This is an ABT that accepts a tree t if and only if p,k accepts some tree induced by a strategy for Eve in 𝒢(t,𝒜). The details of this composition are as expected:

  • Alphabet Σ; states QA×QB;

  • δ((qA,qB),x))=f(δA(qA,x),qB) where:

    • f(bb,q)=f(b,q)f(b,q)

    • f(bb,q)=f(b,q)f(b,q)

    • f(b,q)=f(b,q)

    • f(b,q)=f(b,q)

    • f(q,bb′′)=f(q,b)f(q,b′′)

    • f(q,b)=(q,b)

    • f(q,q)=f(q,δB(q,Ω(q))

  • δι=f(διA,διB);

  • Ω(qA,qB)=ΩB(qB).

In words, is an automaton that uses 𝒜 to process the input tree, and at each step, p,k processes the priority that 𝒜 would produce, which adds some nondeterministic choices. We argue accepts any tree t such that in 𝒢(t,𝒜) Eve has a winning strategy that induces a graph with a k-width attractor decomposition, and rejects tL(𝒜).

Assume t is such that in 𝒢(t,𝒜) Eve has a winning strategy σ that induces an even graph Gσ with a k-width attractor decomposition. Let σ be Eve’s winning strategy in 𝒢(Gσ,p,k). We can then compose these strategies to obtain a winning strategy in 𝒢(t,). Indeed, positions of 𝒢(t,) can be seen as a position of 𝒢(t,𝒜) paired with states of p,k, to which are added, after the resolution of the boolean combinations in transition conditions of 𝒜, the resolution of the boolean combinations in the transition condition of p,k corresponding to a transition on the priority of the next state in 𝒜. In the composition strategy, σ determines the choices between successors in t at -modalities and choices at disjunctions in the transition conditions of 𝒜, while σ determines choices at disjunctions in the transition conditions of p,k. The existence of σ guarantees the existence of σ, and that the composition strategy remains in the restriction of 𝒢(t,) to 𝒢σ in the 𝒢(t,𝒜)-part of the game. Since the priorities of come from the priorities of p,k, the fact that σ is winning for Eve ensures that the composition of σ and σ is winning for Eve.

Conversely, if tL(𝒜), then Adam has a winning strategy τ in 𝒢(t,𝒜). He can use τ directly in 𝒢(t,) as does not add any universal choices ( or ) beyond those of 𝒜. Let w be the sequence of priorities induced by the projection of a τ-consistent play of 𝒢(t,) on the 𝒢(t,𝒜) component; the highest priority seen infinitely often on w is odd. The projection of the same play on p,k is a path of p,k that processes w. By construction, no accepting cycle of p,k processes a word of which the highest maximal priority is odd, so this path is rejecting, and τ is a winning strategy for Adam in 𝒢(t,).

For all t of rank up to k, 𝒢(t,𝒜) has rank strictly less than k, if tL(𝒜) then Eve has a winning strategy that induces an even graph that also has rank less than k. From Lemma 8, it has a k-width attractor decomposition, and therefore accepts t; if tL(𝒜) then rejects t, so agrees with 𝒜 on such trees. By construction, if 𝒜 is nondeterministic, so is as Bp,k only has nondeterministic choices; if 𝒜 is coBüchi, then is weak since 1,k is weak.