Abstract 1 Introduction 2 Preliminaries 3 New quantifiers 4 Generalised quantifiers 5 Game quantifiers over 𝝎-words 6 Index quantifiers over 𝝎-words 7 Index quantifiers over trees 8 Conclusions References

Generalised Quantifiers Based on Rabin-Mostowski Index

Denis Kuperberg ORCID CNRS, LIP, Plume, ENS Lyon, France Damian Niwiński ORCID Institute of Informatics, University of Warsaw, Poland Paweł Parys ORCID Institute of Informatics, University of Warsaw, Poland Michał Skrzypczak ORCID Institute of Informatics, University of Warsaw, Poland
Abstract

In this work we introduce new generalised quantifiers which allow us to express the Rabin-Mostowski index of automata. Our main results study expressive power and decidability of the monadic second-order (MSO) logic extended with these quantifiers. We study these problems in the realm of both ω-words and infinite trees. As it turns out, the pictures in these two cases are very different. In the case of ω-words the new quantifiers can be effectively expressed in pure MSO logic. In contrast, in the case of infinite trees, addition of these quantifiers leads to an undecidable formalism.

To realise index-quantifier elimination, we consider the extension of MSO by game quantifiers. As a tool, we provide a specific quantifier-elimination procedure for them. Moreover, we introduce a novel construction of transducers realising strategies in ω-regular games with monadic parameters.

Keywords and phrases:
monadic quantifiers, decidability, quantifier elimination, parity automata, game quantifier, Rabin-Mostowski index
Funding:
Denis Kuperberg: ANR ReCiProg.
Damian Niwiński: National Science Centre, Poland (grant no. 2024/55/B/ST6/00318).
Paweł Parys: National Science Centre, Poland (grant no. 2024/55/B/ST6/00318).
Michał Skrzypczak: National Science Centre, Poland (grant no. 2024/55/B/ST6/00318).
Copyright and License:
[Uncaptioned image] © Denis Kuperberg, Damian Niwiński, Paweł Parys, and Michał Skrzypczak; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Automata over infinite objects
; Theory of computation Logic and verification ; Theory of computation Tree languages
Related Version:
Full Version: https://arxiv.org/abs/2601.04739 [23]
Editors:
Meena Mahajan, Florin Manea, Annabelle McIver, and Nguyễn Kim Thắng

1 Introduction

Monadic second-order logic (MSO) considered over ω-words or infinite trees sets a golden standard in the theory of verification as a robust, expressive, yet still decidable formalism. The research surrounding this logic often takes two paths.

One focuses on properties of the MSO-definable languages of ω-words or trees, with an emphasis on decidability issues, aiming in effective characterisations. Another path, maybe more challenging, attempts to extend the expressive power of MSO while still maintaining decidability. These two paths often interplay, an archetypal example being the study of cardinality. First, Niwiński [35] showed that the cardinality of a regular language of infinite trees can be effectively computed. Then, Bárány, Kaiser, and Rabinovich [1] (see also [20]) studied an extension of the MSO logic (over the binary tree) by cardinality quantifiers, like κX.φ(W,X), stating that there are at least κ distinct sets X satisfying φ(W,X). The extension turned out to admit an elimination procedure for cardinality quantifiers: the authors effectively translated MSO with cardinality quantifiers into pure MSO, rendering the considered formalism decidable [1].

In contrast, the unboundedness quantifier 𝖴X.φ(W,X) introduced by Bojańczyk [2], stating that the formula φ(W,X) is satisfied by finite sets X of unbounded size, leads to a proper extension of MSO. After exhaustive investigation it was shown that MSO+𝖴 is undecidable even over ω-words [4]. However, the unboundedness property of a given regular language is easily decidable (due to an application of the pumping lemma); a related property called diagonality was shown to be decidable even for tree languages on all levels of the Caucal hierarchy [13].

The results of Niwiński, Parys, and Skrzypczak [38] fall into a similar category: the authors show that the ranks of MSO-definable well-founded relations satisfy a certain dichotomy and can be effectively bounded, although the rank itself is not directly expressible in MSO.

A general pattern behind these situations consists of several levels. On the basic level, we wish to decide if a language of ω-words or trees satisfies a specific property, usually related to some difficulty: uncountability, unboundedness, ordinal rank ω1, etc. Then we ask if the property can be generalised to a type of quantifier, and whether the extension of MSO is proper, and eventually decidable.

The study in the present paper is motivated by the Rabin-Mostowski index problem, which is a pertinent open problem in automata theory. In terms of parity automata (see below), the question is to find an equivalent automaton of a given type (deterministic, non-deterministic, or alternating) with a minimal number of priorities. For technical reasons, we also take into account the minimal priority, so that an index is defined as a pair (i,j) (where i can be assumed to be 0 or 1). Recall that the index hierarchy over ω-words is strict only for deterministic automata, and collapses to the second level for non-deterministic and alternating ones. For infinite trees, both non-deterministic and alternating hierarchies are strict [6, 34]; the deterministic hierarchy is strict as well, but less interesting because deterministic tree automata do not capture all regular tree languages. The problem of computing the index is generally decidable for automata over ω-words [48], and open for automata over infinite trees. Several special cases have been shown decidable, in particular if an input tree automaton is a deterministic automaton [36, 37]; a game automaton [17]; or a Büchi automaton [14, 45]. Colcombet and Löding [15] reduced the non-deterministic index problem to a question on asymptotic behaviour of counter automata; their paper brought a bunch of interesting ideas (in particular, guidability), but the original problem has remained unsolved.

In the current paper, we approach the index problem “from above”, that is, we introduce a class of quantifiers corresponding to the index property. Using the correspondence between sets (or tuples thereof) and their characteristic functions (i.e., labelled infinite words or trees), a general form of the new quantifier is

𝙸DX.φ(W1,,Wk,X)

where D refers to the type of involved automata (deterministic or non-deterministic), and determines the index. Such a formula holds for a valuation w¯1,,w¯k if there exists an automaton 𝒜 of type D and index , such that for every x¯ the formula φ(w¯1,,w¯k,x¯) holds if and only if 𝒜 accepts w¯1,,w¯k,x¯. Note that in the above only x¯ varies while the w¯i’s remain fixed, playing the role of parameters.

Our main results are twofold. First, we show that MSO+𝙸 effectively reduces to pure MSO over ω-words. Second, we prove that MSO+𝙸 is undecidable over infinite trees. To the best of our knowledge, this is the first negative decidability result for index-related problems over infinite trees. In fact, we establish undecidability already for the quantifier 𝙸safety, which refers to automata that merely avoid some designated rejecting states. This stands in sharp contrast to the fact that deciding whether a regular tree language can be recognised by a safety automaton is straightforward, as it amounts to checking closedness in the standard topology on infinite trees (see, e.g., [15, 25]).

To achieve the positive part of our results, namely index-quantifier elimination over ω-words, we rely on a variant of Wadge games for the index hierarchy [26, 47]. These games can naturally be expressed in MSO equipped with game quantifier 𝙶 (see, e.g., the monograph by Moschovakis [31]). The fact that MSO+ 𝙶 reduces to pure MSO follows from Kaiser [19] (we provide a direct proof adapted to our setup for the sake of completeness); nevertheless, we need a stronger property, allowing us to construct finite memory strategies (relating Büchi-Landweber construction [11] with uniformisations [24, 42]). This falls in similar lines as results by Winter and Zimmermann [51] and others on sequential uniformisation and functions realised by transducers. To achieve our goal, we show a novel fact, which can be seen as a parametrised version of Büchi-Landweber construction (for the case when the variables are in some sense separated). We believe that both game quantifiers in general, and this new fact are of independent interest and applications.

One can ask if the new quantifiers of our paper align with the concept of generalised quantifiers introduced by Mostowski [32] (see [49] for a survey). The idea there is that a formula 𝚀x.φ(w,x) expresses the fact that the x’s satisfying φ(w,x) (for fixed parameters w) fall into a specified family of subsets of the universe (e.g., all non-empty sets for , and the singleton of the whole universe for ). More generally, a quantifier can bind k variables (𝚀x1xk.φ(w,x)) and relate to a family of k-ary relations. These concepts can be adapted to MSO, where in the semantics of a quantifier 𝚀X (or 𝚀X), the universe is replaced by its powerset. The examples mentioned above, namely cardinality quantifiers and the unboundedness quantifier, can be easily presented in this way. The newly introduced index quantifiers and game quantifiers can as well be presented as generalised quantifiers. For an interested reader, we discuss this issue in more detail in Section 4.

2 Preliminaries

An alphabet A is a finite non-empty set of symbols. As usual, by A we denote the set of finite words over A, by A+ the set of non-empty finite words over A, and by Aω the set of ω-words over A, that is, functions from ={0,1,2,} to A. The empty word is denoted εA and concatenation of two words u, v is denoted by uv. Given n and either a finite word with at least n symbols or an ω-word w¯=w0w1w2 by w¯n we denote the finite word w0w1wn1, that is, w¯ restricted to the first n symbols. An ω-word of the form xyyy for some finite words x,yA+ is called ultimately periodic. The prefix order on words is denoted by , with w¯w¯ if there exists n such that w¯=w¯n.

A (full, infinite, binary) tree over an alphabet A is any function t:{𝙻,𝚁}A; here a word in {𝙻,𝚁} describes a path from the root ε to a node x{𝙻,𝚁}, with 𝙻 being the left child and 𝚁 the right child. The label of such a node is t(x)A. The set of all such trees is denoted TrA.

We use the standard terms to navigate within a tree, in particular x is a descendant of y if xy. In an analogous way we use the terms ascendant, parent, and sibling.

Subsets LA, LAω, or LTrA are called languages.

Transducers.

In this work we use (sequential, deterministic, finite-memory) transducers from one alphabet to another. Assume that AW, AY are some alphabets. A transducer τ from AW to AY (denoted τ:AWAY) is a tuple τ=AW,AY,Qτ,ιτ,δτ, where:

  • Qτ is a finite set of states,

  • ιτQτ is the initial state,

  • δτ:Qτ×AWAY×Qτ is the transition function.

Given an input ω-word w¯=w0w1w2(AW)ω we inductively define the run ρ¯=defρ0ρ1ρ2Qω and the output ω-word τ(w¯)=defy0y1y2(AY)ω taking ρ0=defιτ and (yn,ρn+1)=defδτ(ρn,wn) for all n.

Given two transducers τ:AWAY and τ:AYAZ it is easy to construct the composition of the two, namely a transducer θ:AWAZ such that for every w¯(AW)ω we have θ(w¯)=τ(τ(w¯)).

Parity indices.

Assume that i,j are natural numbers with ij. The (strong) parity index Pi,j and the weak parity index Wi,j are defined by the languages

Pi,j =def{k0k1k2{i,i+1,,j}ωlim supnkn0mod 2},
Wi,j =def{k0k1k2{i,i+1,,j}ωsupnkn0mod 2}.

An index is a pair =A,L that is either 𝒫i,j={i,i+1,,j},Pi,j or 𝒲i,j={i,i+1,,j},Wi,j for some i,j with ij.

The typical names for indices are: Büchi for 𝒫1,2 (infinitely many times priority 2), co-Büchi for 𝒫0,1 (finitely many times priority 1), safety for 𝒲0,1 (reaching priority 1 implies that we reject), and reachability for 𝒲1,2 (reaching priority 2 implies that we accept).

Automata over 𝝎-words.

A non-deterministic parity ω-word automaton over an alphabet A and of index =A,L is a tuple 𝒟=A,,Q𝒟,ι𝒟,δ𝒟, where:

  • Q𝒟 is a finite set of states,

  • ι𝒟Q𝒟 is the set of initial states,

  • δ𝒟Q𝒟×A×A×Q𝒟 is the transition relation,

and moreover the automaton is complete111This technical assumption plays a role when considering weak indices of automata. in the sense that for every qQ𝒟 and aA there is at least one transition of the form (q,a,k,q)δ𝒟.

A run of an automaton 𝒟 over an input ω-word w¯=w0w1w2Aω producing output ω-word k¯=k0k1k2(A)ω is a sequence of states ρ¯=ρ0ρ1ρ2(Q𝒟)ω such that ρ0ι𝒟 and for every n we have (ρn,wn,kn,ρn+1)δ𝒟. The ω-word w¯ is accepted by 𝒟 if there exists a run of 𝒟 over w¯ producing an ω-word k¯ that belongs to L.

The language of such an automaton, denoted L(𝒟)Aω, is the set of ω-words w¯Aω that are accepted by 𝒟. A language LAω is ω-regular if it is the language of some automaton.

An automaton is deterministic if ι𝒟 is a singleton and the transition relation δ𝒟 is in fact a function δ𝒟:Q𝒟×AA×Q𝒟, in which case there is a unique run of 𝒟 over every input ω-word w¯Aω.

 Remark 2.1.

If the index =A,L is fixed, then deterministic automata 𝒟 over A and of index are in natural bijection with transducers τ:AA in such a way that L(𝒟)={w¯Aωτ(w¯)L}.

Ramsey theorem.

Let C be a finite set of colours. An edge labelling of a set X is a function that to each edge {i,j}X (where ij) assigns a colour from C. Given an edge labelling, we say that a set IX is monochromatic if all edges {i,j}I have the same colour.

Theorem 2.2 (Ramsey).

Let C be a finite set and let k. Then, there exists a computable constant r such that for every edge labelling of {0,1,,r1} by colours from C there exists a monochromatic set I{0,1,,r1} of size k.

Moreover, for every edge labelling of by colours from C there exists an infinite monochromatic set I.

Semigroups and monoids.

An algebraic structure S,() with an associative binary operation () is called a semigroup. A monoid is a semigroup S which contains a neutral element εS such that εs=sε=s for every sS. Every semigroup S can be extended into a monoid S+ε=S{ε} by adding a formal neutral element ε with product defined appropriately. An idempotent is an element eS such that ee=e.

The following fact is a standard application of Ramsey theorem (cf. Theorem 2.2).

Fact 2.3.

For every finite semigroup S there exists a computable constant r such that for every word s0s1sr1Sr there exists a pair of positions 0i<j<r such that e=defsi+1si+2sj is an idempotent.

In particular, putting c=defs0s1sj we have

ce=s0s1si1ee=s0s1si1e=c.

Wilke algebras.

In this work we use Wilke algebras as representations of ω-semigroups, as in Perrin and Pin [39]. A Wilke algebra S consists of two sets (Sfin,Sinf), two product operations

Sfin×SfinSfin and Sfin×SinfSinf

denoted ss for operands s,s, and an operation SfinSinf denoted sω for an operand sSfin. Moreover, the operations are required to satisfy natural associativity axioms, in particular Sfin needs to be a semigroup. Each finite Wilke algebra S uniquely determines the infinite product operation :(Sfin)ωSinf, which is associative. In particular (sss)=sω and (s0s1)=s0(s1s2).

A homomorphism α between two Wilke algebras S and T is a pair of functions αfin:SfinTfin and αinf:SinfTinf that commute with all the operations of the algebras and with the infinite product .

Recognition.

A canonical example of a Wilke algebra is A𝖶=defA+,Aω, where A is an alphabet. The operations of this Wilke algebra are the concatenation , the infinite repetition vω=defvvvAω for vA+, and the infinite product (v0v1v2)=defv0v1v2Aω for v0,v1,v2,A+.

Associativity properties imply that if α:A𝖶S is a homomorphism into a finite Wilke algebra then for every sequence of finite words v0,v1,A+ we have

α(v0v1v2)=(α(v0)α(v1)α(v2)). (2.1)

Note that if a Wilke algebra is finite then it can be represented as an input to an algorithm by providing its list of elements and “multiplication tables” for all the operations. The crucial fact about Wilke algebras is their ability to recognise ω-regular languages, as stated by the following theorem.

Theorem 2.4 ([50]).

Given a tuple of ω-regular languages (L0,,Lk1) with LiAω for all i<k, one can effectively compute a finite Wilke algebra S together with a homomorphism α:A𝖶S and a tuple of sets (F0,,Fk1), where for every i<k the set FiSinf is such that Li=α1(Fi). We say that α recognises (L0,,Lk1) with (F0,,Fk1).

Moreover, one can require α to be onto in the sense that α(A+)=Sfin and α(Aω)=Sinf.

Let z¯=z0z1z2(S+εfin)ω (recall that S+εfin is Sfin extended with a formal neutral element ε). We say that z¯ is saturated if it contains infinitely many symbols from Sfin, that is, symbols different than ε. In this case (z¯) is well-defined: we can erase all symbols ε from z¯ obtaining an ω-word z¯(Sfin)ω and put (z¯)=def(z¯). This definition again satisfies the associativity properties as in Formula 2.1.

Lookahead and composition.

Assume that α:A𝖶S is a homomorphism into a finite Wilke algebra S=(Sfin,Sinf). For every w¯=w0w1w2Aω this homomorphism defines the lookahead 𝗅𝗄α(w¯)(Sinf)ω defined for each position n as

(𝗅𝗄α(w¯))n=defα(wn+1wn+2wn+3)Sinf.

Note that, while producing a letter on a position n, a transducer uses letters on positions 0,1,,n. On the other hand, a lookahead at position n depends on positions n+1,n+2,n+3, To create an output ω-word whose output letters in AY depend on both the past and the future of input ω-words, we consider transducers whose output letters are functions (SinfAY), and then we apply these functions to letters in Sinf produced by a lookahead.

To simplify the notation, we use the following shorthand: if f¯=f0f1f2(AXAY)ω and x¯=x0x1x2(AX)ω, then f¯x¯(AY)ω is defined for each position n as (f¯x¯)n=fn(xn).

Automata over infinite trees.

A non-deterministic parity tree automaton over an alphabet A and of index =A,L is a tuple 𝒜=A,,Q𝒜,ι𝒜,Δ𝒜, where Q𝒜 is a finite set of states, ι𝒜Q𝒜 a set of initial states, and Δ𝒜Q×A×A×Q×Q a transition relation. Again we require the automaton to be complete, that is, for every qQ𝒜 and aA it needs to contain at least one transition (q,a,k,q𝙻,q𝚁)Δ𝒜.

A run of 𝒜 over a tree t~TrA producing an output tree η~TrA is a tree ρ~TrQ𝒜 such that ρ~(ε)ι𝒜 and (ρ~(v),t~(v),η~(v),ρ~(v𝙻),ρ~(v𝚁))Δ𝒜 for all nodes v{𝙻,𝚁}. A tree t~TrA is accepted by 𝒜 if there exists a run of 𝒜 over t~ producing a tree η~ such that for every branch w¯{𝙻,𝚁}ω, the sequence η~(w¯0)η~(w¯1)η~(w¯2)(A)ω belongs to L. The language of an automaton 𝒜 is the set of trees which it accepts. A language LTrA is a regular tree language if it is the language of some automaton 𝒜.

A tree automaton is (top-down) deterministic if ι𝒜 is a singleton and Δ𝒜:Q×AA×Q×Q is a function.

Monadic second-order logic.

Formulae of the MSO logic are evaluated in an appropriate structure, which in our case is with the successor relation (in the case of ω-words) or {𝙻,𝚁} with the left-child and right-child relations (in the case of trees). Elements of the structure are called positions or nodes. Usually, a monadic variable in MSO represents a set of positions, which can be also seen as a word or a tree over the alphabet {0,1}, with 1 indicating positions that are in the set. In this paper, we employ a seemingly more general setting, where each monadic variable X represents a word or a tree over some alphabet AX, possibly larger than {0,1}. In the sequel, we usually assume a fixed alphabet AX associated to each variable X, but sometimes we explicitly specify the alphabet next to a quantifier (writing e.g., X(AX)ω.φ(X)). Then, for a letter xAX and for a first-order variable v we have an atomic formula X(v)=x checking whether the letter of X at the position v is x. This way of seeing monadic variables does not increase the expressive power of MSO, since a variable with values in AX can be represented by a tuple of |AX| usual set variables, which should be forced to partition the domain (even log|AX| set variables suffice).

By equivalence between MSO and regular languages [10, 28, 40], we know that for every MSO formula φ(X1,,Xn) we can construct a deterministic parity ω-word automaton (in the case of ω-words) or a non-deterministic parity tree automaton (in the case of trees) over the alphabet AX1××AXn which accepts exactly those ω-words / trees w¯ over this alphabet for which φ(π1(w¯),,πn(w¯)) holds, where each πi(w¯) is obtained from w¯ by projecting labels of all positions to their i-th coordinate. Note that the index of the constructed automaton depends on the formula φ and in general cannot be bounded [5, 34, 48].

To simplify the notation, we identify a structure w¯ over such a product alphabet AX1××AXn with the tuple of structures π1(w¯),,πn(w¯) over respective alphabets. In particular, for a formula φ(X1,,Xn) we can speak about the language of a formula which is defined as the set of structures w¯ over AX1××AXn that satisfy φ(π1(w¯),,πn(w¯)). Due to the ability of translating formulae into automata, these languages are always regular.

Games.

We use the general framework of perfect information games of infinite duration played between two players (typically called Player I and Player II). Such a game is given by a tuple 𝒢=A,L𝒢,V𝒢=V𝒢(I)V𝒢(II),ι𝒢,δ𝒢 where A is an alphabet, L𝒢Aω is a winning condition, V𝒢 is a (possibly infinite) set of positions, partitioned into the positions of the respective players, ι𝒢V𝒢 is an initial position, and δ𝒢V𝒢×A×V𝒢 is an edge relation (again satisfying completeness property that each vV𝒢 admits at least one edge (v,a,v)δ𝒢). The letter aA is called the label of an edge (v,a,v)δ𝒢.

A play of such a game is played in rounds, with the initial position v0=ι𝒢. In round number n the player P such that vnV𝒢(P) chooses an edge (vn,kn,vn+1)δ𝒢 moving to the next position vn+1. After an infinite play, Player II wins if and only if k¯=defk0k1k2 belongs to L𝒢. Classical theorems [27] imply that if L𝒢 is sufficiently simple, then one of the players can ensure to win this game, that is, has a winning strategy. In general such a strategy for a player P is a tree-shaped object but we mostly work with positional strategies, that is, functions σ(P):V𝒢(P)δ𝒢 such that for every vV𝒢(P) we have σ(P)(v)=(v,k,v) for some kA and vV𝒢.

A parity game of index =A,L is a game 𝒢 as above where A=A and L𝒢=L.

Theorem 2.5 ([16, 33]).

If 𝒢 is a parity game then some player P has a positional winning strategy σ(P) in 𝒢.

3 New quantifiers

In this section we introduce the two types of quantifiers which are studied in this work. When doing so, we follow the convention to assume that in a formula 𝚀X.φ(W1,,Wk,X) all the parameter variables W1,,Wk are combined into a single free variable W over a product alphabet, as explained above. Thus, we focus on formulae of the form 𝚀X.φ(W,X), even if the respective coordinates of W come from different outer quantifiers.

Index quantifiers.

Consider a new quantifier 𝙸DX.φ(W,X) where D{𝖽𝗍,𝗇𝖽} determines the type of involved automata and is an index (either a strong parity index 𝒫i,j or a weak parity index 𝒲i,j). Such a formula holds for a parameter w¯(AW)ω if there exists an automaton 𝒜w¯ of index , which is either deterministic (D=𝖽𝗍) or non-deterministic (D=𝗇𝖽), such that for every x¯(AX)ω the formula φ(w¯,x¯) holds if and only if 𝒜w¯ accepts w¯,x¯.

Note that the parameter w¯ occurs in the above definition in two roles. First, the automaton 𝒜w¯ may depend on the parameter w¯. Second, the automaton, when verifying whether the given x¯ makes φ(w¯,x¯) true, has access not only to x¯ but also to the parameter w¯ (in particular, the automaton is over the alphabet AW×AX).

 Remark 3.1.

One may ask what changes if we consider another semantics of the index quantifier, where the hypothetical automaton does not have access to the parameters w¯ but only reads the quantified ω-word x¯. In this case the formalism becomes immediately undecidable. Indeed, consider the simplest possible formula 𝙸𝒲0,1𝖽𝗍X.(X=W), which involves the deterministic safety index quantifier. Then, for a given w¯ the set of ω-words x¯ that satisfy x¯=w¯ is {w¯}(AW)ω. This language is recognised by a deterministic safety automaton if and only if w¯ is ultimately periodic. Due to Bojańczyk et al. [3], this extended logic is undecidable.

Note that both deterministic and non-deterministic index quantifiers make sense for both ω-words and trees. Let MSO+𝙸 denote the extension of monadic second-order logic by index quantifiers.

Game quantifiers.

As a natural way to study the index quantifier, we need to formalise within MSO the concept of the game quantifier 𝙶 (see [22, § 20.D] and [7, 8, 18, 21, 29, 31]). This quantifier, written 𝙶X[1.0]Y (alternatively, in some papers the symbol is used), binds two monadic variables X and Y. A formula

𝙶X[1.0]Y.φ(W,X,Y)

holds, given a parameter w¯(AW)ω, if Player II has a winning strategy in the game 𝒢(w¯,φ), defined as follows.222Classically, in the works of Moschovakis and Kechris [22, 31] the “game quantifier” requires Player I to win the game, however in automata-theoretic context (e.g., the Church synthesis problem [11, 41]) or Wadge games [47], it is more customary to focus on Player II. The game consists of infinitely many rounds. In a round n, Player I proposes a letter xnAX and Player II answers with a letter ynAY. At the end, Player II wins if and only if φ(w¯,x¯,y¯) holds for x¯=defx0x1x2(AX)ω and y¯=defy0y1y2(AY)ω. This game can easily be represented by a formal game 𝒢 with positions V𝒢(I)=def and V𝒢(II)=def×AX and L𝒢 given by φ; however we do not need to study the exact structure of this game.

Typically, one applies the game quantifiers in the context where the involved games are determined, although the definition makes sense even without this assumption.

Let MSO+ 𝙶 denote the extension of monadic second-order logic by game quantifiers. Note that as it is defined, the game quantifier makes sense only for ω-words, because the shape of the time-structure of a game of infinite duration is ω.

4 Generalised quantifiers

In this section we relate the quantifiers introduced in this paper to the general concept of generalised quantifiers. They were proposed by Mostowski [32] as an abstract logical construct that generalises the classical quantifiers and . Since then, they became an important tool in various applications of logic (see, e.g., [49] for a survey).

At the syntactic level, a quantifier 𝚀 extends the language by a construction 𝚀x.φ(w,x), for an arbitrary formula φ. Here, a variable x is bound by 𝚀, whereas the variables in w=(w1,,wk) remain free. At the semantic level, the quantifier is associated with an operator, which, for any structure (with universe M) defines a family of sets 𝚀𝖯(M). Then, given a valuation waMk, the formula 𝚀x.φ(a,x) holds in if the set {bMφ(a,b) holds in } belongs to 𝚀. In this setting, is the family of all non-empty subsets of M, whereas ={M}. As a less standard example, one can express the property that the cardinality of the set of x’s satisfying φ(w,x) belongs to some specified class of cardinals (i.e., says that the set is infinite), or that the set of x’s that do satisfy φ and those that do not, have the same cardinality. It is usually assumed that the family 𝚀 is invariant under permutations of M, but a weakening of this requirement is sometimes justified.

More generally, one can consider n-ary quantifiers, where a quantifier 𝚀 bounds simultaneously n variables and, respectively, 𝚀 is a family of n-ary relations over M. For example, if n=2 and 𝚀 is the class of rectangles, that is, 𝚀={X×YX,Y𝖯(M)} then 𝚀xy.φ(w,x,y) expresses the fact that whenever φ(a,b1,c1) and φ(a,b2,c2) hold in then φ(a,b1,c2) and φ(a,b2,c1) hold as well.

One can adapt the above concepts to monadic second-order logic (MSO), with 𝚀𝖯(𝖯(M)) in the unary case, and in general 𝚀𝖯((𝖯(M))n). Indeed, several generalised quantifiers of this kind have been considered in the literature, the eminent example being the weak quantifiers, that is, the quantifiers and restricted to finite sets. The cardinality quantifiers and unboundedness quantifiers mentioned in the introduction can also be presented in this framework.

Game quantifiers.

We begin by discussing how game quantifiers introduced above can be viewed as generalised MSO quantifiers over the structure . To explain the idea, let us first take a simple example in first-order logic. Consider a formula

x.y.x.y.φ(w,x,y,x,y).

Clearly, its meaning in a structure can be viewed as a game of two players, say and , consisting of 4 rounds. Now the block of 4 quantifiers can be replaced by a single 4-ary quantifier, so that the formula becomes 𝚀xyxy.φ(w,x,y,x,y). The semantics of 𝚀 is specified by a property that a 4-ary relation r in 𝚀 should possess. In terms of a game, in which Players I and II select in alternation elements of M, Player II should have a strategy to force the selected quadruple into r.

Now consider a formula φ(W,X,Y) interpreted in the structure , where W, X, Y are set variables (more generally, they could be some tuples of set variables). Consider an infinite game, in which Players I and II select in alternation bits in {0,1}, so that the result is an infinite sequence

x0,y0,x1,y1,x2,y2,,xn,yn,

The sequences x0,x1,x2, and y0,y1,y2, constitute characteristic functions of some subsets x¯ and y¯ of , respectively. Now, for a valuation Ww¯, a formula defined with the game quantifier

𝙶X[1.0]Y.φ(w¯,X,Y)

holds if Player II has a strategy to force that the formula φ(w¯,x¯,y¯) holds in . The game quantifier 𝙶 can be defined as a binary generalised MSO quantifier. Its semantics 𝙶 is defined by a family of binary relations over 𝖯() that comprises all relations R𝖯()×𝖯(), such that in the game described above, Player II has a strategy to force the resulting pair (x¯,y¯) into R. Then, indeed, the formula 𝙶X[1.0]Y.φ(w¯,X,Y) holds precisely when the relation {(x¯,y¯)φ(w¯,x¯,y¯) holds in } belongs to 𝙶.

Index quantifiers.

To present our new index quantifier 𝙸DX.φ(W,X) as a generalised MSO quantifier, let us, for concreteness, focus on the MSO theory of the full binary tree, whose domain is {𝙻,𝚁}. As we have assumed that our automaton reads the values of both W and X, the construction does not fit into the unary case, but, like the game quantifier, it can be expressed as a binary quantifier, or more generally, (k+)-ary quantifier (if W is a k-vector and X an -vector).

For simplicity, let us consider k==1; an extension to higher k, is straightforward. The key point is to choose a class of binary relations over 𝖯({𝙻,𝚁}) that would serve as the intended semantics of the quantifier. For a binary relation r𝖯({𝙻,𝚁})×𝖯({𝙻,𝚁}), and a set K𝖯({𝙻,𝚁}), we define the cut of r by K as the binary relation

rK=r({K}×𝖯({𝙻,𝚁}))={(K,L)rL𝖯({𝙻,𝚁})}.

Recall that in our quantifier we are interested in automata of type D and index . A pair of sets (K,L) is accepted by an automaton (over the alphabet {0,1}2) if so is its characteristic function, and a relation r𝖯({𝙻,𝚁})×𝖯({𝙻,𝚁}) is recognised by an automaton if it consists precisely of pairs that the automaton accepts. Now consider the class of relations

𝒞D={rKK𝖯({𝙻,𝚁})r is recognised by an automaton of type D and index }.

Then it is straightforward to see that the formula 𝙸DX.φ(W,X) is equivalent to

𝚀DZX.φ(Z,X)Z=W,

where the semantics of the quantifier 𝚀D over trees is given by the class 𝒞D.

Clearly, the variable Z above plays only a technical role; therefore, for clarity of notation, in our paper we use the notation 𝚀DX.φ(W,X), without Z.

Let us also remark that our proposal is not the only possible approach. One could also consider a unary quantifier 𝚀DX, where a formula 𝚀DX.φ(W,X) holds for a valuation Ww~ if the language of all sets x~ such that φ(w~,x~) holds is accepted by an automaton (of appropriate kind), without reading the parameter w~, as discussed in Remark 3.1. That is, the semantics is given simply by a class of all languages accepted by automata of type D and index .

While this may appear quite natural, we believe that such an extension would be less interesting. Not only it brings an undecidable formalism over ω-words as indicated in Remark 3.1 but it additionally restricts available correlation between the involved variables. Indeed, if such a formula is satisfied by some w~ which is not regular, then it follows from general properties of MSO (namely Regular Tree Theorem) that there is a regular w~, such that the languages {x~φ(w~,x~)} and {x~φ(w~,x~)} coincide. Thus the relation defined by the formula φ(W,X), in some sense, necessarily weakly correlates its arguments. These issues require further investigation.

5 Game quantifiers over 𝝎-words

The first part of our results concerns the game quantifier 𝙶 . We start by showing that the extended formalism of MSO+ 𝙶 can be reduced back to pure MSO, that is, the game quantifiers can be eliminated. However, our goal is to obtain a stronger property, stated in Theorem 5.12: under appropriate assumptions on the formula, games described by quantifiers 𝙶 admit strategies that can be realised by finite-memory transducers.

Consider an instance of a game quantifier 𝙶X[1.0]Y.φ(W,X,Y), where the internal formula φ(W,X,Y) is in MSO.

Lemma 5.1 (Folklore).

For every formula of the form 𝙶X[1.0]Y.φ(W,X,Y), where φ is in MSO, one can effectively construct an equivalent formula of pure MSO.

This construction can be found in a work by Kaiser [19]. We include a proof for the sake of completeness. The concepts introduced in this proof will be useful later on in the paper.

Proof.

Let 𝒟 be a deterministic parity automaton over the alphabet AW×AX×AY of a strong parity index ={i,i+1,,j},Pi,j that is equivalent to φ, that is, the automaton accepts an ω-word w¯,x¯,y¯ if and only if φ(w¯,x¯,y¯) holds.

Given an ω-word w¯=w0w1w2(AW)ω, we can consider a parity game 𝒢(w¯,𝒟) obtained as a product of 𝒢(w¯,φ) with the automaton 𝒟, defined as follows.

Definition 5.2.

Let Q be the set of states of 𝒟, and δ its transition function. The set of positions of 𝒢(w¯,𝒟) is then given by V(I)=def×Q and V(II)=def×Q×AX. From a position (n,q)×Q first Player I proposes xnAX and the game moves to the position (n,q,xn). Then Player II proposes ynAY and the game moves to the position (n+1,q) where δ(q,(wn,xn,yn))=(kn,q). The label of the former edge equals the lowest priority i (i.e., is irrelevant), while the label of the latter edge equals kn.

It is easy to see that 𝒢(w¯,𝒟) is equivalent to 𝒢(w¯,φ) in the sense that a player P wins one game if and only if she wins another: the automaton 𝒟 is deterministic, so there is a one-to-one correspondence between choices in 𝒢(w¯,φ) and choices in 𝒢(w¯,𝒟), so that strategies from one game can be directly transferred to the other game. Moreover, due to positional determinacy of parity games (see Theorem 2.5), Player II wins 𝒢(w¯,φ) if and only if Player II has a positional winning strategy in 𝒢(w¯,𝒟).

A positional strategy σ(II) of Player II in 𝒢(w¯,𝒟) can be represented by an ω-word σ¯=σ0σ1σ2(Q×AXAY)ω, where Q is the set of states of 𝒟: in this ω-word, the letter σn satisfies σn(q,x)=y where σ(II)(n,q,x)=((n,q,x),k,(n+1,q)) with δ𝒟(q,(wn,x,y))=(k,q). The following claim is straightforward, as MSO allows us to quantify over infinite plays in 𝒢(w¯,𝒟) and can express the parity condition 𝒫i,j.

Claim 5.3.

There exists an MSO formula ψ(II)(W,Σ) such that ψ(II)(w¯,σ¯) holds for w¯(AW)ω and σ¯(Q×AXAY)ω if and only if σ¯ encodes a positional winning strategy σ(II) of Player II in 𝒢(w¯,𝒟).

It follows that the formula 𝙶X[1.0]Y.φ(W,X,Y) is equivalent to

Σ(Q×AXAY)ω.ψ(II)(W,Σ),

where the set (Q×AXAY) is finite and therefore one can treat it as an alphabet. Consequently, this formula belongs to pure MSO.

Using the above lemma to inductively eliminate an innermost game quantifier, we immediately obtain the following corollary.

Corollary 5.4.

The expressive power of MSO+ 𝙶 is equal to that of MSO. Moreover, there exists an effective procedure that eliminates the game quantifiers.

 Remark 5.5.

Consider formulae without the parameter W, that is, 𝙶X[1.0]Y.φ(X,Y), where φ is in MSO. In this case the game 𝒢(w¯,𝒟) can be played over the arena Q instead of ×Q. Thus, it is a finite parity game, which can be solved directly. The resulting strategy σ(II) takes the shape of a transducer τ:AXAY (its set of states is just Q) such that for every x¯(AX)ω we have φ(x¯,τ(x¯)).

The above remark can be seen as a modern version of a proof of the Büchi-Landweber theorem [11], based on determinacy of parity games. This means that the proposed procedure of elimination of a game quantifier can be seen as a parametrised version of the construction of Büchi and Landweber, where we search for a strategy that may depend on the parameter w¯(AW)ω.

5.1 Sequential strategies

One may ask if it is possible to recover some version of Remark 5.5 in the presence of external parameters W, namely represent the strategy σ(II) as a transducer. Of course the exact strategy may depend on the global properties of W, so one cannot expect to have a single transducer τ:AW×AXAY that would realise the strategy. However, what happens if we allow the transducer to depend on a given ω-word w¯?

Question 5.6.

Assume that for some parameter w¯(AW)ω a formula 𝙶X[1.0]Y.φ(w¯,X,Y) holds. Does it mean that there exists a transducer τw¯:AW×AXAY that realises a winning strategy of Player II in 𝒢(w¯,φ)? In other words, we ask if we can ensure that

for every x¯(AX)ω we have φ(w¯,x¯,τw¯(w¯,x¯)). (5.1)

It turns out that the answer is negative – the strategies used by Player II may not be made finite-memory, even if w¯ is known in advance. Intuitively, this boils down to the fact that w¯ may not be ultimately periodic, while φ may require some position-to-position correspondence between Y and W. More precisely, we have the following fact.

Fact 5.7.

There exists a formula φ(W,X,Y) in MSO such that for some concrete ω-word w¯(AW)ω we have 𝙶X[1.0]Y.φ(w¯,X,Y) while no transducer τ:(AW×AX)AY satisfies Formula 5.1.

Proof.

Let AW=AY={0,1} and let φ(w¯,x¯,y¯) for w¯=w0w1w2 and y¯=y0y1y2 say that for every n we have yn=wn+1. Notice that for all w¯(AW)ω we have 𝙶X[1.0]Y.φ(w¯,X,Y) because X plays no role in φ and it is enough for Player II to play consecutive values y0=defw1, y1=defw2, and so on.

Let w¯ be defined as 011021031(AW)ω. It remains to show that no transducer τw¯:(AW×AX)AY satisfies Formula 5.1. Assume to the contrary that τw¯ is such a transducer with a set of states Q and a transition function δ. Fix any letter xAX, and consider the unique run of τ over the ω-word w¯ defined above and over x¯=xxx(AX)ω. Take any n|Q|, and concentrate on the fragment of this run reading the infix 10n+11 of w¯. The transducer should produce 0’s while reading the first n zeroes of the input fragment (because the next input letter is 0), and 1 over the last zero (because the next input letter is 1). Let ρ0,ρ1,,ρn+1 be the states of τ visited over this fragment, with ρ0 before the first 0, and ρn+1 after the last 0. By the pigeonhole principle, we have ρk=ρ for some k, with 0k<n. For i{0,,n1} we have δ(ρi,(0,x))=(0,ρi+1), which applied to consecutive positions after k and implies ρk=ρn, where k=k+(n)<n. But then (0,ρk+1)=δ(ρk,(0,x))=δ(ρn,(0,x))=(1,ρn+1). In other words, the transducer has no way of counting where to produce a 1, if the number of zeroes exceeds the number of its states.

This negative answer can be explained from two perspectives. One, directly suggested by the above example, focuses on the need of a lookahead – if τw¯ was able to perform some lookahead to the future of the parameter word w¯, then it could easily realise the respective strategy. This observation is formalised in Lemma 5.9, where the lookahead is allowed. This approach follows similar lines as the results of Winter and Zimmermann [51], where the authors study games with lookahead.

Another point of view is that in contrast to the construction by Büchi and Landweber [11] (see also [9]), the arena of (w¯,𝒟) is infinite. Thus, some subtle synchronisation between the variables may go on indefinitely. To avoid this problem, we consider the notion of a formula that depends separately on one variable (see Section 5.4). It turns out that in this case the infiniteness of the arena stops being a problem and the strategies can again be realised by transducers, as stated in Theorem 5.12.

5.2 Uniformisation by transducers with lookahead

Before we move on, we need to first show how uniformised relations can be realised by transducers with lookahead. We say that an MSO formula ψ(W,Y) is uniformised if for every w¯ there exists at most one y¯ such that ψ(w¯,y¯) holds. The next fact states that a partial function described by a uniformised MSO-formula can be realised by a transducer composed with a lookahead. This fact is rather general and almost folklore; it relies on the composition method for MSO [43] (expressed by Wilke algebras in our setup).

Fact 5.8.

Assume that ψ(W,Y) is uniformised. Then, one can effectively construct a homomorphism α:(AW)𝖶S onto a finite Wilke algebra S together with a transducer τ:AW(SinfAY) such that for every w¯(AW)ω for which Y.ψ(w¯,Y) holds we have

ψ(w¯,τ(w¯)𝗅𝗄α(w¯)).

In other words, for an input ω-word w¯=w0w1w2 and f0f1f2=defτ(w¯) we consider hn=defα(wn+1wn+2) and yn=deffn(hn) defined for n=0,1,2,, and claim that ψ(w¯,y0y1y2) holds.

Proof.

For n let χn{0,1}ω denote the ω-word having 1 at the position n, and zeroes everywhere else. For each yAY consider a formula ψy(W,Z) such that, assuming Y.ψ(w¯,Y), we have ψy(w¯,χn) if the letter at position n of the unique y¯ such that ψ(w¯,y¯) holds equals y; such a formula can be easily constructed out of ψ.

Apply Theorem 2.4 to the tuple of languages defined by formulae (ψy(W,Z))yAY to obtain a homomorphism β:(AW×{0,1})𝖶S onto a finite Wilke algebra S together with a tuple of sets (Fy)yAY such that ψy(w¯,z¯) holds if and only if β(w¯,z¯)Fy.

Let 𝖺𝖽𝖽0:(AW)𝖶(AW×{0,1})𝖶 be the homomorphism adding 0 on the second coordinate of all letters in a given word. Then as α:(AW)𝖶S we take 𝖺𝖽𝖽0β.

Next, we construct the transducer τ:AW(SinfAY). It remembers the value under α of the prefix read so far. To this end, its set of states is the monoid S+εfin obtained from Sfin by adding a formal neutral element ε. The initial state is ε. For vS+εfin and wAW let

δ(v,w)=def(f,vα(w)),

where f:SinfAY is defined for every hSinf as follows: f(h) is any fixed letter yAY such that vβ(w,1)hFy, or just any element of AY if vβ(w,1)hFy for all yAY (morally, one should think that there is a unique such y; however strictly speaking this needs not to be true, which is caused by words w¯ for which Y.ψ(w¯,Y) does not hold).

Fix now an input ω-word w¯=w0w1w2(AW)ω such that Y.ψ(w¯,Y) holds. After reading a prefix w0w1wn1, the state of τ is α(w0w1wn1) (or just ε if n=0). It follows that the n-th letter of τ(w¯)𝗅𝗄α(w¯) is a letter y that satisfies

α(w0w1wn1)β(wn,1)α(wn+1wn+2wn+3)Fy.

This is the case precisely when ψy(w¯,χn) holds, and because ψ is uniformised, this holds for precisely one y, which is the letter at position n in the unique y¯ such that ψ(w¯,y¯) holds. We thus obtain that ψ(w¯,τ(w¯)𝗅𝗄α(w¯)) holds, as required.

5.3 Allow lookahead

Using Fact 5.8 we now show that a winning strategy of Player II for a game quantifier can be realised by a transducer composed with a lookahead.

Lemma 5.9.

Given a formula φ(W,X,Y), one can effectively construct a homomorphism α:(AW)𝖶S onto a finite Wilke algebra S together with a transducer τ:(AW×AX)(SinfAY) such that for every ω-word w¯(AW)ω satisfying 𝙶X[1.0]Y.φ(w¯,X,Y), and for every x¯(AX)ω we have

φ(w¯,x¯,τ(w¯,x¯)𝗅𝗄α(w¯)).

In other words, if for every n as fn(SinfAY) we take the output letter produced by τ after reading the prefixes w0w1wn of w¯ and x0x1xn of x¯ (so that f0f1f2=τ(w¯,x¯)), and we consider hn=defα(wn+1wn+2wn+3) and yn=deffn(hn), then φ(w¯,x¯,y0y1y2) holds. Intuitively, the above lemma says that one can construct the resulting ω-word y¯ by a transducer, assuming that we allow a lookahead over the whole ω-word w¯ (note that there is no lookahead over x¯: moves of Player II cannot be allowed to depend on future moves of Player I).

This lemma is essentially a composition of Fact 5.8 with the following lemma. The only technical difficulty lies in the fact that the lookahead is given after the transducer has read the whole input ω-word.

Lemma 5.10 ([24, 42, 44]).

For every MSO formula ψ(W,Y) one can construct a uniformised formula ψ𝗎(W,Y) such that

  • for all ω-words w¯ we have (Y.ψ(w¯,Y))(Y.ψ𝗎(w¯,Y)), and

  • for all ω-words w¯, y¯ we have ψ(w¯,y¯)ψ𝗎(w¯,y¯).

It may be worth mentioning that the original proof of the above lemma as given by Lifsches and Shelah [24, Theorem 6.3] says “By [1].”, where “[1]” is the work of Büchi and Landweber on synthesis [11]. This is incorrect, because Büchi and Landweber show how to win games using finite-state strategies, while a uniformisation may in general depend on the future. More precisely, it is always possible to uniformise a formula ψ(X,Y) even if 𝙶X[1.0]Y.ψ(X,Y) does not hold (imagine ψ(X,Y) saying that the first letter of Y is 1 if and only if infinitely many letters of X are 1). However, the mistake made by Lifsches and Shelah may not be a coincidence: Lemma 5.9 shows that uniformisation is indeed possible using transducers with lookahead, while Theorem 5.12 proved later shows how to eliminate the lookahead when ψ(W,X,Y) depends separately on the involved variable Y (see Definition 5.11).

5.4 Separate coordinates

Fact 5.7 tells us that in general the lookahead 𝗅𝗄α in Lemma 5.9 is necessary when we want to realise a winning strategy by a transducer. The example from Fact 5.7 needed a lookahead only to check the letter on the next position of the parameter w¯. One can imagine another example: in order to win, Player II should output yn that equals the first letter in {a,b} among wn+1,wn+2,wn+3, (skipping all letters c before it). Here the future interval checked by the lookahead needs to be unbounded, but still finite. On the other hand, the lookahead never needs to check “the whole infinite future” of w¯, since w¯ is known in advance. To see the intuitions for this, assume that the value of yn needed to win depends on whether letter a belongs to the set {wn+1,wn+2,wn+3,}. Here a winning strategy seems to depend on the whole future of w¯, but since we know w¯ in advance, we may avoid this: either w¯ contains infinitely many a (and then there is always some a in the future), or the last a occurs on some position n (and then the transducer may count to the fixed number n). This suggests that it should be possible to create a transducer which does not use a lookahead, but produces letters of y¯ with some delay, needed to check future properties of w¯ (formally, this is impossible to realise, because there is also an issue of synchronisation between y¯ and x¯).

The main result of this section states that we may avoid the aforementioned need for a lookahead (or a delay) once we disallow φ to enforce any position-to-position correspondence between w¯ and y¯. More precisely, we introduce the following definition.

Definition 5.11.

We say that a formula φ(W,X,Y) depends separately on Y if it is a finite Boolean combination of formulae ψi(W,X) and formulae γi(Y).

Theorem 5.12.

Assume that φ(W,X,Y) depends separately on Y and that w¯(AW)ω is such that 𝙶X[1.0]Y.φ(w¯,X,Y) holds. Then, there exists a transducer τw¯:AW×AXAY such that Formula 5.1 holds, that is, for every x¯(AX)ω we have φ(w¯,x¯,τw¯(w¯,x¯)).

It is worth mentioning that if φ(W,X,Y) is a Boolean combination of formulae ψi(W,X) and formulae γi(X,Y) then one can still recover the example from Fact 5.7 by writing that either (x¯w¯) or yn=xn+1 for all n, which is of the required shape and still no transducer can realise the strategy.

Since each transducer induces a strategy, Theorem 5.12 in fact provides an equivalence.

Corollary 5.13.

Take φ(W,X,Y) that depends separately on Y and any w¯(AW)ω. Then 𝙶X[1.0]Y.φ(w¯,X,Y) holds if and only if there exists a transducer τw¯:AW×AXAY such that for every x¯(AX)ω we have φ(w¯,x¯,τw¯(w¯,x¯)).

Proof of Theorem 5.12 (sketch).

We begin by applying Lemma 5.9 to construct a transducer which constructs the desired winning strategy. The transducer uses lookahead given by a homomorphism α:(AW)𝖶S into some finite Wilke algebra S. We fix the parameter w¯ and apply Ramsey’s theorem (cf. Theorem 2.2) to split the word w¯ into a finite prefix and then infinitely many subwords whose image under α is the same idempotent eSfin. In all the split points the transducer can be sure that the lookahead (i.e., the value of the suffix under α) is α(eω). But how can the transducer detect the split points? The first one can be hardcoded in the transducer. Then, knowing some split point, the transducer has to find a next one. A brave conjecture would be that every subword evaluating to e moves us from one splitting point to a next one; but this is false (maybe we should split after a different subword evaluating to e). However, a slightly stronger condition is sufficient: if the transducer encounters two consecutive subwords evaluating to e, then it can be sure that the position after the first of them can be chosen (that is, the suffix after this position can be split into infinitely many subwords evaluating to e). We remark that a similar technical trick occurs in a work of Thomas [46].

These infinitely many splitting points detected by the transducer (with some delay) are positions where we know the value of the lookahead, and thus we can produce at those points the fragments of an actual output ω-word y¯. Since these positions are scattered in an arbitrary way, we need to be able to pad the output in-between these positions. This is where the assumption of separate dependency on Y comes into play: the satisfaction of φ(w¯,x¯,y¯) depends separately on w¯,x¯ and on β(y¯) for an appropriately chosen homomorphism β:(AY)𝖶T onto another finite Wilke algebra T. Now, using some standard techniques involving idempotents, we can ensure that we pad the output ω-word in such a way that there are no delays in its generation (i.e., we really produce some letter from AY in each step), while still we control the final value of β(y¯), making sure that φ(w¯,x¯,y¯) holds.

6 Index quantifiers over 𝝎-words

We now use the previous results to show quantifier elimination procedure for index quantifiers.

Theorem 6.1.

The logic MSO+𝙸 effectively reduces to the pure MSO over ω-words.

First, one can observe that the non-deterministic index quantifiers 𝙸𝗇𝖽 are either trivial or equivalent to the deterministic ones 𝙸𝖽𝗍, with an appropriate change of indices. More precisely, the following equivalences hold:

  • 𝙸𝗇𝖽X.φ(W,X) is equivalent to X.φ(W,X) whenever is either 𝒫0,0 or 𝒲0,0, because automata of these indices accept all ω-words.

  • 𝙸𝗇𝖽X.φ(W,X) is equivalent to X.¬φ(W,X) whenever is either 𝒫1,1 or 𝒲1,1, because automata of these indices recognise empty languages.

  • 𝙸𝒫1,2𝗇𝖽X.φ(W,X) is always true, because non-deterministic Büchi automata recognise all regular languages of ω-words [10]. The same holds for 𝒫i,j with i{0,1} and j2.

  • 𝙸𝒫0,1𝗇𝖽X.φ(W,X) is equivalent to 𝙸𝒫0,1𝖽𝗍X.φ(W,X), because non-deterministic co-Büchi automata have the same expressive power as deterministic co-Büchi automata [30].

  • 𝙸𝗇𝖽X.φ(W,X) is equivalent to 𝙸𝖽𝗍X.φ(W,X) whenever is either 𝒲0,1 (safety), 𝒲1,2 (reachability), or 𝒲0,2, again because of the ability to determinise these automata without change of index (simple powerset-like constructions suffice).

  • 𝙸𝒲1,3𝗇𝖽X.φ(W,X) is equivalent to 𝙸𝒲0,1𝖽𝗍X.φ(W,X), because non-deterministic 𝒲1,3 automata have the same expressive power as deterministic co-Büchi automata. The same holds for all 𝒲i,j with i{0,1} and j3.

This covers all cases, because we can always shift the indices so that i{0,1}.

Thus, for the rest of this section we focus on the deterministic index quantifiers 𝙸𝖽𝗍. Similarly as in Corollary 5.4 we proceed inductively, that is, we eliminate index quantifiers starting from inside. Let =A,L be an index (either =𝒫i,j, or =𝒲i,j for ij). Consider a formula 𝙸𝖽𝗍X.φ(W,X) with φ(W,X) in MSO. Our goal is to construct a formula of pure MSO that is equivalent to 𝙸𝖽𝗍X.φ(W,X). As in the previous section, we consider here only the case of a single parameter W (which can encode multiple parameters using a product alphabet).

Consider φ(W,X,K) which, for w¯(AW)ω, x¯(AX)ω, and k¯(A)ω, says that k¯L if and only if φ(w¯,x¯) holds. Note that φ(W,X,K) depends separately on the variable K.

Lemma 6.2.

The formulae 𝙸𝖽𝗍X.φ(W,X) and 𝙶X[1.0]K.φ(W,X,K) are equivalent.

Note that this lemma concludes the proof of Theorem 6.1 because the game quantifier 𝙶 involved in the latter formula can be effectively eliminated due to Lemma 5.1.

Proof.

Take any parameter w¯(AW)ω. The following conditions are equivalent:

  • 𝙸𝖽𝗍X.φ(w¯,X) holds;

  • there exists a deterministic automaton 𝒟w¯ of index such that for every ω-word x¯(AX)ω we have φ(w¯,x¯) if and only if (w¯,x¯)L(𝒟w¯);

  • there exists a transducer τw¯:(AW×AX)A such that for every ω-word x¯(AX)ω we have φ(w¯,x¯) if and only if τw¯(w¯,x¯)L;

  • 𝙶X[1.0]K.φ(w¯,X,K) holds.

The first two items are equivalent from the definition of the index quantifier. The second two items are equivalent due to Remark 2.1. The last two items are equivalent by the choice of φ and Corollary 5.13.

7 Index quantifiers over trees

In this section we prove the following theorem.

Theorem 7.1.

The theory of MSO+𝙸 over trees is undecidable. This holds even if we allow only the simplest possible index, namely the weak parity index 𝒲0,1 (i.e., safety), and any type of determinism D{𝖽𝗍,𝗇𝖽}, thus we use only the index quantifier 𝙸𝒲0,1D.

To simplify the notations, in this section we consider only variables over the alphabet {0,1}; thus their valuations can be seen as sets, rather than functions from tree nodes to {0,1}. Thus, we can write x~y~, x~y~, etc.

A set I{𝙻,𝚁} of tree nodes is called an interval if it is of the form {u𝚁i0in} for some topmost node u (denoted 𝑡𝑜𝑝(I)), bottommost node u𝚁n, and some length n (denoted 𝑙𝑒𝑛(I)). Two intervals I1, I2 are independent if their topmost nodes u1, u2 are such that u1u2 and u2u1 (i.e., none of them is a descendant of the other). A union of independent intervals is a set z~ that can be written as iJIi, where (Ii)iJ are pairwise independent intervals. Note that the decomposition of such z~ into intervals is unique. Moreover, it can be accessed in MSO (we can write in MSO things like “I is one of the intervals in Z”, etc.).

The crucial technical contribution is the following lemma.

Lemma 7.2.

In MSO+𝙸𝒲0,1𝗇𝖽 and in MSO+𝙸𝒲0,1𝖽𝗍 over trees one can write a formula φ𝖻(Z) such that for each union of independent intervals z~, the intervals in z~ have lengths bounded by some n if and only if φ𝖻(z~) holds.

Proof (sketch).

As φ𝖻(Z) we take

WZ.YZ.𝙸𝒲0,1DX.(XWxX.yY.xy)ψ(W,Y,X),

where D is either 𝖽𝗍 or 𝗇𝖽 (i.e., the index quantifier is either for deterministic or non-deterministic automata – both will work). The formula φ𝖻(Z), given a set z~, expresses that for every choice of subsets w~,y~z~ there is a safety automaton 𝒜 that checks whether a given subset x~ of w~ contains only points with a descendant in y~.

Note that the subformula ψ(W,Y,X) does not depend on z~ so a hypothetical safety automaton 𝒜 does not have access to z~, even though the variable Z is formally available in the scope of the subformula ψ(W,Y,X) (one may ensure that z~ is not visible inside ψ(W,Y,X) by artificially overshadowing the variable Z by another quantifier Z. in front of 𝙸𝒲0,1D).

Suppose first that the intervals in some set z~ have lengths bounded by some n, and take any w~,y~z~. The only elements of y~ that can be descendants of elements of w~ are elements of the same interval, hence they are located at most n levels below. Thus the property in question is recognised by the following deterministic safety automaton: after every element of x~ (check if it belongs to w~ and) wait for n levels on the branch going only right; if no element of y~ was found, reject. This shows that φ𝖻(z~) holds (no matter whether we used 𝙸𝒲0,1𝗇𝖽 or 𝙸𝒲0,1𝖽𝗍 in its definition). Note that the size of the constructed automaton depends on n.

Suppose now that intervals in z~ have unbounded lengths. We want to prove that φ𝖻(z~) does not hold. As w~ we choose the topmost points of all intervals in z~. The set y~ contains the bottommost points of carefully chosen intervals from z~. Among other properties, the chosen intervals need to have growing lengths. First of all, the whole construction is done in a diagonal way, because the hypothetical safety automaton 𝒜 is not known in advance, so we iterate over all such automata, ensuring that each of them is not a good witness for 𝙸𝒲0,1DX.ψ(w~,y~,X) to hold.

For a fixed automaton 𝒜, if the lengths of the intervals are unbounded, then some interval exceeds the counting capacity of the automaton 𝒜. Thus, some interval whose bottommost point y belongs to y~ needs to be sufficiently long, so that the automaton 𝒜 admits a pumping pattern with two repeating states along the interval. This allows to repeat the pattern indefinitely (i.e., pump), which effectively removes the node y from y~, making the formula ψ(w~,y~,x~) false, while the hypothetical automaton still accepts w~,y~,x~. However, we are not allowed to change the parameter set y~, so the actual pumping needs to be performed on another part of y~, which requires to apply a Ramsey-like argument allowing us to shift the pumping place outside the considered set y~ (this vaguely resembles the pumping scheme from Carayol and Löding [12]).

Once we know that boundedness of sets of independent intervals is expressible in MSO+𝙸𝒲0,1D, it remains to adjust the technical construction from Bojańczyk et al. [4] to express runs of Minsky machines in terms of boundedness of sets of intervals. This is a rather standard adjustment.

8 Conclusions

Our motivation in this work was to introduce and study index quantifiers 𝙸, which try to incorporate the index problem into the syntax of the logic. From that perspective, an important message stems from Theorem 7.1 stating that the logic MSO+𝙸 is undecidable over trees, even in the simplest form of the quantifier, namely deterministic safety index quantifier. The problem whether a regular tree language can be recognised by an automaton of index amounts to the satisfaction of a formula 𝙸DX.φ(X), in which the index quantifier is used only once and no parameters are allowed. While this fragment can still be decidable, Theorem 7.1 shows that the frontier is close, and this is (to our knowledge) the first undecidability result related to the index problem.

On the other hand, our study of index quantifiers 𝙸 over ω-words provides a more optimistic view. We have introduced an effective index-quantifier elimination procedure, thus reducing MSO+𝙸 into pure MSO. Although the usefulness of index quantifiers in the realm of verification and model-checking is questionable, our approach provides a new and generic game-based way of proving that the index problem over ω-words is decidable [48]. This follows similar lines to Löding [26]. We believe that the most important consequence of this aspect of our study was a thorough analysis of game quantifiers 𝙶 – our proof of quantifier elimination for 𝙸 goes through a translation to 𝙶 and then elimination of those.

Game quantifiers have been known and studied since 70s, however their applications were mostly limited to descriptive set theory. In a way similar to Kaiser [19], we explicitly introduce the notion of game quantifiers 𝙶 and study the expressive power of MSO+ 𝙶 . The quantifier-elimination procedure for 𝙶 is quite direct and resembles a parametrised version of the construction of Büchi and Landweber (see Remark 5.5). In contrast to index quantifiers, we believe that a direct use of game quantifiers in MSO may be quite useful when expressing certain game-related properties.

For the sake of applying our quantifier-elimination procedure to index quantifiers, we needed to develop a theory of transducers realising winning strategies in parametrised ω-regular games. To achieve it, we show a novel and apparently quite strong result (see Theorem 5.12) stating that if the involved variables are in some sense separate, then whenever a game quantifier holds, the existence of a respective strategy can be witnessed by a finite-memory transducer.

References

  • [1] Vince Bárány, Łukasz Kaiser, and Alexander Rabinovich. Expressing cardinality quantifiers in monadic second-order logic over trees. Fundam. Informaticae, 100(1-4):1–17, 2010. doi:10.3233/FI-2010-260.
  • [2] Mikołaj Bojańczyk. A bounding quantifier. In Jerzy Marcinkowski and Andrzej Tarlecki, editors, Computer Science Logic, 18th International Workshop, CSL 2004, 13th Annual Conference of the EACSL, Karpacz, Poland, September 20-24, 2004, Proceedings, volume 3210 of Lecture Notes in Computer Science, pages 41–55. Springer, 2004. doi:10.1007/978-3-540-30124-0_7.
  • [3] Mikołaj Bojańczyk, Laure Daviaud, Bruno Guillon, Vincent Penelle, and A. V. Sreejith. Undecidability of a weak version of MSO+U. Log. Methods Comput. Sci., 16(1), 2020. doi:10.23638/LMCS-16(1:12)2020.
  • [4] Mikołaj Bojańczyk, Paweł Parys, and Szymon Toruńczyk. The MSO+U theory of (N,<) is undecidable. In Nicolas Ollinger and Heribert Vollmer, editors, 33rd Symposium on Theoretical Aspects of Computer Science, STACS 2016, February 17-20, 2016, Orléans, France, volume 47 of LIPIcs, pages 21:1–21:8. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2016. doi:10.4230/LIPIcs.STACS.2016.21.
  • [5] 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.
  • [6] Julian C. Bradfield. Simplifying the modal mu-calculus alternation hierarchy. In Michel Morvan, Christoph Meinel, and Daniel Krob, editors, STACS 98, 15th Annual Symposium on Theoretical Aspects of Computer Science, Paris, France, February 25-27, 1998, Proceedings, volume 1373 of Lecture Notes in Computer Science, pages 39–49. Springer, 1998. doi:10.1007/BFB0028547.
  • [7] Julian C. Bradfield. Fixpoints, games and the difference hierarchy. RAIRO Theor. Informatics Appl., 37(1):1–15, 2003. doi:10.1051/ITA:2003011.
  • [8] Julian C. Bradfield, Jacques Duparc, and Sandra Quickert. Transfinite extension of the mu-calculus. In C.-H. Luke Ong, editor, Computer Science Logic, 19th International Workshop, CSL 2005, 14th Annual Conference of the EACSL, Oxford, UK, August 22-25, 2005, Proceedings, volume 3634 of Lecture Notes in Computer Science, pages 384–396. Springer, 2005. doi:10.1007/11538363_27.
  • [9] Benedikt Brütsch and Wolfgang Thomas. Solving infinite games in the Baire space. Fundam. Informaticae, 186(1-4):63–88, 2022. doi:10.3233/FI-222119.
  • [10] J. Richard Büchi. On a decision method in restricted second-order arithmetic. In Proc. 1960 Int. Congr. for Logic, Methodology and Philosophy of Science, pages 1–11, 1962.
  • [11] J. Richard Büchi and Lawrence H. Landweber. Solving sequential conditions by finite-state strategies. Trans. Amer. Math. Soc, 138:295–311, 1969. doi:10.1090/S0002-9947-1969-0280205-0.
  • [12] Arnaud Carayol and Christof Löding. MSO on the infinite binary tree: Choice and order. In Jacques Duparc and Thomas A. Henzinger, editors, Computer Science Logic, 21st International Workshop, CSL 2007, 16th Annual Conference of the EACSL, Lausanne, Switzerland, September 11-15, 2007, Proceedings, volume 4646 of Lecture Notes in Computer Science, pages 161–176. Springer, 2007. doi:10.1007/978-3-540-74915-8_15.
  • [13] Lorenzo Clemente, Paweł Parys, Sylvain Salvati, and Igor Walukiewicz. The diagonal problem for higher-order recursion schemes is decidable. In Martin Grohe, Eric Koskinen, and Natarajan Shankar, editors, Proceedings of the 31st Annual ACM/IEEE Symposium on Logic in Computer Science, LICS ’16, New York, NY, USA, July 5-8, 2016, pages 96–105. ACM, 2016. doi:10.1145/2933575.2934527.
  • [14] Thomas Colcombet, Denis Kuperberg, Christof Löding, and Michael Vanden Boom. Deciding the weak definability of Büchi definable tree languages. In Simona Ronchi Della Rocca, editor, Computer Science Logic 2013 (CSL 2013), CSL 2013, September 2-5, 2013, Torino, Italy, volume 23 of LIPIcs, pages 215–230. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2013. doi:10.4230/LIPIcs.CSL.2013.215.
  • [15] Thomas Colcombet and Christof Löding. The non-deterministic Mostowski hierarchy and distance-parity automata. In Luca Aceto, Ivan Damgård, Leslie Ann Goldberg, Magnús M. Halldórsson, Anna Ingólfsdóttir, and Igor Walukiewicz, editors, Automata, Languages and Programming, 35th International Colloquium, ICALP 2008, Reykjavik, Iceland, July 7-11, 2008, Proceedings, Part II - Track B: Logic, Semantics, and Theory of Programming & Track C: Security and Cryptography Foundations, volume 5126 of Lecture Notes in Computer Science, pages 398–409. Springer, 2008. doi:10.1007/978-3-540-70583-3_33.
  • [16] E. Allen Emerson and Charanjit S. Jutla. Tree automata, mu-calculus and determinacy. In 32nd Annual Symposium on Foundations of Computer Science, San Juan, Puerto Rico, 1-4 October 1991, pages 368–377. IEEE Computer Society, 1991. doi:10.1109/SFCS.1991.185392.
  • [17] Alessandro Facchini, Filip Murlak, and Michał Skrzypczak. Rabin-Mostowski index problem: A step beyond deterministic automata. In 28th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2013, New Orleans, LA, USA, June 25-28, 2013, pages 499–508. IEEE Computer Society, 2013. doi:10.1109/LICS.2013.56.
  • [18] Olivier Finkel, Dominique Lecomte, and Pierre Simonnet. An upper bound on the complexity of recognizable tree languages. RAIRO Theor. Informatics Appl., 49(2):121–137, 2015. doi:10.1051/ITA/2015002.
  • [19] Łukasz Kaiser. Game quantification on automatic structures and hierarchical model checking games. In Zoltán Ésik, editor, Computer Science Logic, 20th International Workshop, CSL 2006, 15th Annual Conference of the EACSL, Szeged, Hungary, September 25-29, 2006, Proceedings, volume 4207 of Lecture Notes in Computer Science, pages 411–425. Springer, 2006. doi:10.1007/11874683_27.
  • [20] Łukasz Kaiser. Logic and Games on Automatic Structures - Playing with Quantifiers and Decompositions, volume 6810 of Lecture Notes in Computer Science. Springer, 2011. doi:10.1007/978-3-642-22807-0.
  • [21] Vladimir G. Kanoveĭ. Kolmogorov’s ideas in the theory of operations on sets. Russian Math. Surveys, 43(6):111–155, 1988. doi:10.1070/RM1988v043n06ABEH001995.
  • [22] Alexander Kechris. Classical Descriptive Set Theory. Springer-Verlag, New York, 1995. doi:10.1007/978-1-4612-4190-4.
  • [23] Denis Kuperberg, Damian Niwiński, Paweł Parys, and Michał Skrzypczak. Generalised quantifiers based on Rabin-Mostowski index, 2026. arXiv:2601.04739.
  • [24] Shmuel Lifsches and Saharon Shelah. Uniformization and Skolem functions in the class of trees. J. Symb. Log., 63(1):103–127, 1998. doi:10.2307/2586591.
  • [25] Christof Löding. Logic and automata over infinite trees. Habilitation thesis, RWTH Aachen University, 2009.
  • [26] Christof Löding. Decision problems for deterministic pushdown automata on infinite words. In Zoltán Ésik and Zoltán Fülöp, editors, Proceedings 14th International Conference on Automata and Formal Languages, AFL 2014, Szeged, Hungary, May 27-29, 2014, volume 151 of EPTCS, pages 55–73, 2014. doi:10.4204/EPTCS.151.4.
  • [27] Donald A. Martin. Borel determinacy. Annals of Mathematics, 102(2):363–371, 1975. doi:10.2307/1971035.
  • [28] Robert McNaughton. Testing and generating infinite sequences by a finite automaton. Inf. Control., 9(5):521–530, 1966. doi:10.1016/S0019-9958(66)80013-X.
  • [29] Henryk Michalewski and Damian Niwiński. On topological completeness of regular tree languages. In Robert L. Constable and Alexandra Silva, editors, Logic and Program Semantics - Essays Dedicated to Dexter Kozen on the Occasion of His 60th Birthday, volume 7230 of Lecture Notes in Computer Science, pages 165–179. Springer, 2012. doi:10.1007/978-3-642-29485-3_11.
  • [30] Satoru Miyano and Takeshi Hayashi. Alternating finite automata on omega-words. Theor. Comput. Sci., 32:321–330, 1984. doi:10.1016/0304-3975(84)90049-5.
  • [31] Yiannis N. Moschovakis. Elementary Induction on Abstract Structures. North-Holland Publishing Company, 1974.
  • [32] Andrzej Mostowski. On a generalization of quantifiers. Fundamenta Mathematicae, 44(1):12–36, 1957. doi:10.4064/fm-44-1-12-36.
  • [33] Andrzej W. Mostowski. Games with forbidden positions. Technical report, University of Gdańsk, 1991.
  • [34] Damian Niwiński. On fixed-point clones. In Laurent Kott, editor, Automata, Languages and Programming, 13th International Colloquium, ICALP86, Rennes, France, July 15-19, 1986, Proceedings, volume 226 of Lecture Notes in Computer Science, pages 464–473. Springer, 1986. doi:10.1007/3-540-16761-7_96.
  • [35] Damian Niwiński. On the cardinality of sets of infinite trees recognizable by finite automata. In Andrzej Tarlecki, editor, Mathematical Foundations of Computer Science 1991, 16th International Symposium, MFCS’91, Kazimierz Dolny, Poland, September 9-13, 1991, Proceedings, volume 520 of Lecture Notes in Computer Science, pages 367–376. Springer, 1991. doi:10.1007/3-540-54345-7_80.
  • [36] Damian Niwiński and Igor Walukiewicz. A gap property of deterministic tree languages. Theor. Comput. Sci., 1(303):215–231, 2003. doi:10.1016/S0304-3975(02)00452-8.
  • [37] Damian Niwiński 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.
  • [38] Damian Niwiński, Paweł Parys, and Michał Skrzypczak. A dichotomy theorem for ordinal ranks in MSO. In Olaf Beyersdorff, Michal Pilipczuk, Elaine Pimentel, and Kim Thang Nguyen, editors, 42nd International Symposium on Theoretical Aspects of Computer Science, STACS 2025, Jena, Germany, March 4-7, 2025, volume 327 of LIPIcs, pages 69:1–69:18. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.STACS.2025.69.
  • [39] Dominique Perrin and Jean-Éric Pin. Infinite Words: Automata, Semigroups, Logic and Games. Pure and Applied Mathematics. Elsevier Morgan Kaufmann, 2004.
  • [40] Michael O. Rabin. Decidability of second-order theories and automata on infinite trees. Transactions of the American Mathematical Society, 141:1–35, 1969. doi:10.1090/S0002-9947-1969-0246760-1.
  • [41] Michael O. Rabin. Automata on Infinite Objects and Church’s Problem. American Mathematical Society, Boston, MA, USA, 1972.
  • [42] Alexander Rabinovich. On decidability of monadic logic of order over the naturals extended by monadic predicates. Inf. Comput., 205(6):870–889, 2007. doi:10.1016/J.IC.2006.12.004.
  • [43] Saharon Shelah. The monadic theory of order. Annals of Mathematics, 102(3):379–419, 1975. doi:10.2307/1971037.
  • [44] Dirk Siefkes. The recursive sets in certain monadic second order fragments of arithmetic. Arch. Math. Logik, 17(1–2):71–80, 1975. doi:10.1007/BF02280817.
  • [45] Michał Skrzypczak and Igor Walukiewicz. Deciding the topological complexity of Büchi languages. In Ioannis Chatzigiannakis, Michael Mitzenmacher, Yuval Rabani, and Davide Sangiorgi, editors, 43rd International Colloquium on Automata, Languages, and Programming, ICALP 2016, July 11-15, 2016, Rome, Italy, volume 55 of LIPIcs, pages 99:1–99:13. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2016. doi:10.4230/LIPIcs.ICALP.2016.99.
  • [46] Wolfgang Thomas. Star-free regular sets of omega-sequences. Inf. Control., 42(2):148–156, 1979. doi:10.1016/S0019-9958(79)90629-6.
  • [47] William Wadge. Reducibility and Determinateness in the Baire Space. PhD thesis, University of California, Berkeley, 1983.
  • [48] Klaus W. Wagner. On omega-regular sets. Inf. Control., 43(2):123–177, 1979. doi:10.1016/S0019-9958(79)90653-3.
  • [49] Dag Westerståhl. Generalized quantifiers. In Edward N. Zalta and Uri Nodelman, editors, The Stanford Encyclopedia of Philosophy. Metaphysics Research Lab, Stanford University, Fall 2024 edition, 2024. URL: https://plato.stanford.edu/archives/fall2024/entries/generalized-quantifiers/.
  • [50] Thomas Wilke. An algebraic theory for regular languages of finite and infinite words. Int. J. Algebra Comput., 3(4):447–490, 1993. doi:10.1142/S0218196793000287.
  • [51] Sarah Winter and Martin Zimmermann. Finite-state strategies in delay games. Inf. Comput., 272:104500, 2020. doi:10.1016/J.IC.2019.104500.