On the size of disjunctive formulas in the -calculus
Abstract
A key result in the theory of the modal -calculus is the disjunctive normal form theorem by Janin & Walukiewicz, stating that every -calculus formula is semantically equivalent to a so-called disjunctive formula. These disjunctive formulas have good computational properties and play a pivotal role in the theory of the modal -calculus. It is therefore an interesting question what the best normalisation procedure is for rewriting a formula into an equivalent disjunctive formula of minimal size. The best constructions that are known from the literature are automata-theoretic in nature and consist of a guarded transformation, i.e., the constructing of an equivalent guarded alternating automaton from a -calculus formula, followed by a Simulation Theorem stating that any such alternating automaton can be transformed into an equivalent non-deterministic one. Both of these transformations are exponential constructions, making the best normalisation procedure doubly exponential. Our key contribution presented here shows that the two parts of the normalisation procedure can be integrated, leading to a procedure that is single-exponential in the closure size of the formula.
1 Introduction
The modal -calculus [2] is a general modal logic enriched with fixpoint operators that allow to reason about the ongoing, possibly infinite behaviour of a system. The generality and complexity of the modal -calculus calls for research into fragments of the logic. On the one hand, this concerns fragments tailor-made for certain application domains such as the temporal logics LTL, CTL or dynamic logics [21]. On the other hand, one focuses on fragments of the -calculus that are either semantically or syntactically well-behaved and where a better understanding increases our knowledge about the full -calculus. One key fragment of the latter kind is formed by the so-called disjunctive formulas [14] . These are formulas, where the use of conjunctions is strictly limited to conjunctions of propositional atoms and the formula (thought of as the empty conjunction). We state the formal definition here - the meaning of the -operator will be discussed later.
Definition 1.1
The set of disjunctive -calculus formulas is given by the following grammar:
where is a finite set of literals (i.e., propositional variables or their negations), is a finite set of formulas in , and is a propositional variable. Furthermore we require that in a formula all occurrences of in are positive, guarded and not in the context of a conjunction .
While disjunctive formulas correspond to a proper syntactic fragment of the -calculus, it is a somewhat surprising fact that each formula of the -calculus is semantically equivalent to a disjunctive one. This has many applications, e.g., satisfiability checking of a disjunctive formula can be carried out efficiently [14] (being ExpTime-complete in for arbitrary formulas [8, 9]) and disjunctive formulas facilitate the computation of uniform interpolants [5, 6]. Furthermore, disjunctive formulas play a pivotal role in the completeness theory of the modal -calculus [24, 10]. Finally, disjunctive formulas also provide insights for characterising important semantic fragments such as the continuous, additive and monotone fragments of the modal -calculus [11].
Recipes to rewrite a given arbitrary -calculus formula into an equivalent disjunctive one are well-known [14]. The size of the resulting disjunctive formula is crucial, in particular, in connection with satisfiability and uniform interpolation. The construction of a disjunctive formula usually proceeds in two stages: first a given -calculus formula is transformed into an equivalent, possibly alternating modal automaton, which is then transformed into an equivalent non-deterministic “disjunctive” modal automaton. The latter can be easily translated back into a disjunctive formula. We will argue that the outlined two-stage construction will inevitably lead to a double-exponential blow-up in the size of the formula. This is, because the first move from formulas to automata involves bringing the formula into a guarded format, i.e., a form where each fixpoint variable is in the scope of at least one modality. That guarding is problematic has been observed in the work by Bruse et al. [3] - we will argue that it necessarily entails an exponential blow-up in the size of the structures involved.
This sets the stage for our main result: a procedure that directly turns an arbitrary, possibly unguarded formula in the modal -calculus into an equivalent disjunctive automaton of exponential size. The latter can be turned easily into a disjunctive formula, which leads to our main theorem.
Theorem 1.2
For any -calculus formula we can construct an equivalent disjunctive -calulus formula of size and alternation depth , where and where is the alternation depth of .
In the above theorem, the size of a formula refers to the size of its Fisher-Ladner closure, which has been shown in [3] to provide the tightest measure of formula size. For a discussion and comparison of different size measures see [16] where we also propose so-called “parity formulas” as a versatile tool to study the complexity of formula constructions. Parity formulas are a graph-shaped variant of -calculus formulas which is closely related to Wilke’s alternating automata [25] and hierarchical equation systems [7]. While we stated the above theorem with reference to standard formulas, we will work throughout the paper with parity formulas instead. At the same time we will explain why Thm. 1.2 is a consequence of our work.
The outline of our paper is thus as follows: we will first introduce the necessary terminology for parity formulas, modal automata and their respective disjunctive variants. After that, in Section 3, we will discuss why guarding a parity formula can lead to an exponential blow-up. We then demonstrate that turning an arbitrary formula into an equivalent modal automaton is at least as costly as guarding a formula which means that the earlier mentioned two-stage method of constructing a disjunctive formula will in general lead to a double-exponential blow-up. Section 5 contains the central result of this paper, a construction that turns any given parity formula into an equivalent disjunctive modal automaton. This will provide a proof of Thm. 1.2.
Related Work. In addition to the already mentioned papers we would like to highlight a few more closely related lines of research. In spirit, our construction is related to the work by Friedmann & Lange on tableaux for unguarded -calculus formulas [12] but the cited paper is not concerned with disjunctive normal forms. Similarly, our automata theoretic result could be obtainable from a more general result in [22] - a key definition in that paper, however, appears to make an implicit assumption on the names of fixpoint variables (“cleanness”) whereas our results from [16] demonstrate that cleaning a formula can lead to an exponential blow-up in (closure) size. In addition, it is not clear how to extract a disjunctive formula from the purely automata-theoretic constructions in [22]. Finally, the work by Lehtinen [18] studies how the alternation depth of a formula relates to the alternation depth of an equivalent disjunctive formula. While it turns out that the difference in alternation depth can be arbitrarily big, we note that this is not in conflict with the bound in our theorem, as we refer to a particular disjunctive equivalent as opposed to an arbitrary one.
Acknowledgements. We would like to thank the anonymous referees for valuable comments that helped to improve this paper.
2 Preliminaries
2.1 The -calculus and parity formulas
We will now recall the standard syntax of the modal -calculus and its reformulation in terms of parity formulas. It will be convenient for us to assume that -calculus formulas are in so-called negation normal form. We assume an infinite set of propositional variables, and define a literal to be either a propositional variable or its negation .
Definition 2.1
The formulas of the modal -calculus are given by the following grammar:
where is a literal, is a propositional variable, and the formation of the formulas and is subject to the constraint that is positive in , i.e., there are no occurrences of in . With we denote the size of a formula measure in the number of distinct formulas in its Fisher-Ladner closure.
We often restrict attention to formulas of which the free variables belong to some fixed finite set ; these are interpreted over Kripke models over (in the following referred to as models), i.e., triples where is a set of points, is a binary relation and . We sometimes refer to the propositional type of as the colour of . A pointed model is a model together with a designated point . Finally, it will be convenient to extend to all literals by putting .
In this paper, we will not work with -calculus formulas in their usual shape, but with formulas represented as graphs, so-called “parity formulas”. Parity formulas will facilitate discussing the complexity of our constructions. In addition, the fact that parity formulas resemble automata will simplify our proofs, as key constructions in our paper turn formulas into automata and vice versa. While parity formulas were introduced in [16] they are closely related to alternating automata [25] and hierarchical equation systems, see for instance [7]. A detailed discussion of the connections can be found in [16, Section 5]. Before giving the definition it will be useful to fix some terminology for directed graphs (which we will also apply to structures such as parity formulas that possess a directed graph structure). For binary relations and we will use the notation to denote the set .
Definition 2.2
Let be a directed graph. A path through is a finite, non-empty sequence such that for all . We denote by and the first and last element of the path , respectively. Concretely, for the above path we have and . A path with is called a cycle if it consists of at least two nodes.
Given the set of proposition letters, we let and denote the set of literals and atomic formulas over , respectively.
Definition 2.3
Let be a finite set of proposition letters. A parity formula over is a quintuple , where
-
•
is a finite, directed graph, with for every vertex ;
-
•
is a labelling function;
-
•
is a partial map, the priority map of ; and
-
•
is a vertex in , referred to as the initial node of ;
such that
-
1.
if , and if ;
-
2.
every cycle of contains at least one node in .
A node is called atomic if it is either constant or literal, boolean if , and modal if . We denote by , and the collections of atomic, boolean and modal nodes, respectively. The elements of will be called states. The size of a parity formula is defined as its number of nodes: .
Definition 2.4
Let be a Kripke model for a set of proposition letters, and let be a parity formula over . We define the evaluation game as the parity game of which the board consists of the set , the priority map is given by
and the game graph is given in Table 1. Here all possible game positions are listed in the left column, the owner of a position is either or 111Note that we do not need to assign a player to positions that admit a single move only. and the set of possible moves is specified in the right column. As usual, finite plays of the game are lost by the player who owns the last position of the play from which no more move is possible (“the player who gets stuck loses”). An infinite play is won by if the maximum priority occurring infinitely often along the play is even, and by if it is odd.
The parity formula holds at a point if the pair is winning for in the evaluation game.
Position | Player | Admissible moves | |
---|---|---|---|
with and | |||
with and | |||
with | - | ||
with | |||
with | |||
with | |||
with |
A central complexity measure for both parity formulas and modal automata will be the so-called index. We define the index of a parity formula as the size of the range of its priority function . We will rely on the following result from [16] that ensures that throughout the paper we are able to work on parity formulas instead of formulas in standard syntax.
Proposition 2.5
There is an algorithm that constructs for any formula an equivalent parity formula such that and such that the index of is smaller or equal to the alternation depth of . Conversely, there is an algorithm that constructs for a given parity formula an equivalent formula such that and such that the alternation depth of is smaller or equal to the index of .
2.2 Modal Automata
Intuitively, modal automata correspond to parity formulas in a certain normal form - the precise connection will be discussed in Section 4 below. Modal automata are based on the modal one-step language. This language consists of very simple modal formulas, built up from a collection of variables, which represent the states of the automaton and correspond to the fixpoint variables of a formula.
Definition 2.6
Given a set . The set of modal one-step formulas over is inductively given as follows:
where . We let denote the collection of subformulas of a one-step formula .
Definition 2.7
Let be a finite set of propositional variables. A modal -automaton is a quadruple where is a non-empty finite set of states, of which is the initial state, is the priority map, and the transition map maps pair of states and colors to one-step formulas.
The size of a modal automaton is defined as follows.
Definition 2.8
Let be a modal automaton. We define its state size , its size as
and its index as .
Modal automata operate on pointed models, acceptance is defined via parity graph games.
Definition 2.9
Let be a modal automaton and let be a model. The acceptance game of has the game board displayed in Table 2.
Position | Player | Admissible moves |
---|---|---|
A pointed model is accepted by if has a winning strategy at position in .
2.3 Disjunctive Formulas & Automata
In this section we introduce disjunctive formulas and their automata-theoretic pendant, so-called disjunctive automata. Disjunctive formulas can be best characterised in a modal language that has one “cover modality” that takes a finite set of formulas as its argument. Given such a set , one may think of the formula as the abbreviation
It is called the “cover modality” since, intuitively, the formula holds at a point if the set of successors of and the set of elements of cover each other, in a sense that can be made precise using the notion of relation lifting. For a relation we define its lifting by putting
It is then easy to verify that the formula holds at a point if the pair belongs to the lifting of the truth relation between points and formulas. The operator is well-known from the literature, cf. e.g. [14, 23, 18].
Definition 2.10
Let be a finite set of propositional variables. A disjunctive parity formula over is a quintuple such that
-
•
is a labelling function;
-
•
for all with we have
and such that all other conditions of the definition of parity formulas in Def. 2.3 are met. The board of the evaluation game of a disjunctive parity formula on a model is displayed in Table 3.
Position | Player | Admissible moves | |
---|---|---|---|
with | - | ||
with | |||
with | |||
with and | |||
with and | |||
with | |||
Z |
Intuitively, a node labelled with represents the formula , where for each we write for the formula represented by . Furthermore is intended to be a unary operator that represents the conjunction of its argument with . In other words, disjunctive formulas are formulas that contain conjunctions only in the form of conjunctions with literals and in the form of that can be thought of as the empty conjunction. Disjunctive formulas have their automata-theoretic pendant, the so-call disjunctive modal automata – the so-called -automata of Janin & Walukiewicz [14]. These are defined by restricting the shape of transition conditions.
Definition 2.11
Given a finite set , we define the set of disjunctive modal one-step formulas over via the following grammar:
where . A disjunctive modal -automaton is a tuple such that . The acceptance game on a model is defined as for general modal automata with the difference that the rule for no longer applies and that the rules for and are replaced by
Position | Player | Admissible moves |
---|---|---|
3 Guarding Revisited
Existing approaches for turning a -calculus formula into a modal automaton rely on the assumption that the input formula is guarded. As [3] have shown this assumption is problematic because existing algorithms for guarding formulas, which have long been thought to be polynomial, are in fact exponential. In this section we discuss two results on the complexity of guarding formulas. We do this in the setting of parity formulas.
Definition 3.1
A path through is unguarded if , while there is no , with , such that is a modal node. A parity formula is guarded if it has no unguarded cycles, and strongly guarded if it has no unguarded paths.
Adapting the well-known construction for guarding formulas one can show that it is possible to guard parity formulas, with an exponential blow-up in the number of states [16].
Theorem 3.2
There is an algorithm that transforms a parity formula into a strongly guarded parity formula such that
-
1)
;
-
2)
;
-
3)
.
It is unclear whether this result can be improved such that the number of states of is polynomial in the number of states in . The results in section 4 of Bruse, Friedmann & Lange [3] show that certain guarded transformation procedures are as hard222It is an open question whether parity games can be solved in polynomial time. Despite considerable efforts no polynomial algorithm has been found so far. In the recent literature, however, various quasi-polynomial algorithms have been given, following the breakthrough work of Calude et alii [4]. as solving parity games. Theorem 3.3 below can be seen as our parity-formula version of this observation. Our proof is in fact simpler because we can exploit the close connection between parity games and parity formulas and thus do not need the product construction from [15] that is used for the results from [3].
Theorem 3.3
If there is a procedure that runs in polynomial time and transforms a parity formula to a guarded parity formula with then solving parity games is in ptime.
4 Modal Automata and Strongly Guarded Parity Formulas
In this section we establish a close connection between modal automata and parity formulas. We will first see that a modal automaton can be turned into a strongly guarded parity formula that is of linear size if we ignore propositional variables. In particular this shows that turning a parity formula into an equivalent modal automaton is at least as hard as the guarding construction from the previous section (hardness of the latter does not depend on formulas containing propositional variables). We close by showing how to turn a parity formula into an equivalent modal automaton of exponential size. Collectively the results from this section will show that constructing a disjunctive modal automaton from a parity formula by first turning the latter into an equivalent modal automaton to which we then apply a known “non-determinisation” construction would yield a doubly exponential blow-up (in closure size). This sets the stage for our main result in the next section where a new construction that is single exponential in closure size from parity automata to disjunctive modal automata is provided.
Theorem 4.1
There is an algorithm that constructs, given a modal automaton , a strongly guarded parity formula such that
1) ;
2) ;
3) .
4) If is disjunctive then so is .
Proof 4.2.
We only sketch the construction. For each we let . Given a modal automaton we define the set of nodes of by
To defined the edge relation of we put for all . For all other elements of we let be the “immediate subformula” relation, e.g. , , etc. The priority map of assigns to each element the priority . The initial state of is defined as . Finally, the map assigns to each element the label and for each formula the label consists of the top-most operator of . It is easy to see that thus defined satisfies conditions 2) and 3). The proof of condition 1) is following a standard argument and is omitted here. Concerning 4) it suffices to note that for a disjunctive we put
where is an enumeration of all propositional variables in and the negation of all variables not in . Otherwise is defined as in the non-disjunctive case and the result is a disjunctive formula.
Theorem 4.3.
There is an algorithm that constructs, given a parity formula , a modal automaton such that
1) ;
2) and ;
3) .
Proof 4.4.
By Theorem 3.2 we may effectively construct from an equivalent, strongly guarded parity formula such that and . As shown in [16], we may additionally assume that in , every predecessor of a node is a modal node. The state space of the modal automaton will be given as the set , so that by the assumption on every state of is a state of . In addition, and possible other successors of modal nodes are states of as well. We can then simply define , and take as the initial state of . It remains to define the transition function of .
Our first step will be to associate, with each node , a formula , which belongs to the collection of alternative one-step formulas given by the following grammar:
where and . As the formula is strongly guarded and by the additional property that , there is a unique map which satisfies the following conditions:
We can now define the transition map as follows. For each state and color we define the formula as , where the substitution is given by putting
This completes the definition of the automaton . It is easy to see that , that and that , which proves the items 2) and 3) of the theorem. The equivalence of and (and thus, of and ) can be proved by a routine argument.
5 The Simulation Theorem
The main result of this section, and the main technical contribution of the paper, is the following theorem.
Theorem 5.1.
Let be a parity formula of size and index with propositional variables contained in with . Then we can effectively construct a disjunctive modal automaton333For the time being this will be an automaton with a regular acceptance condition. We will transform this into an automaton with a parity condition later. with , and .
Convention. In the remainder of this section we fix a parity formula with with and . It will be convenient to make the following assumptions on : (i) is total, (ii) , and (iii) if . We leave it for the reader to convince themselves that this is without loss of generality. Furthermore we define , etc. We now turn to the proof of Theorem 5.1.
5.1 Macrostates
We shall construct the simulating automaton via a powerset construction. That is, for the states of we will in principle take subsets of . However, in order to handle infinite matches correctly we need to store some more information in these states: A state of will be a a macrostate over , that is, a ternary relation , representing various pieces of information. Basically, each triple represents the projection on of a partial play of the evaluation game of which starts at , ends at , and reaches as its highest priority (after ). More precisely, the triple represents a path through with , , and such that is the highest priority reached on after . Consequently, one single match of the acceptance game of on a pointed Kripke structure will represent a certain bundle of matches of evaluation game of .
Before defining and discussing macrostates formally, we need some auxiliary terminology.
Definition 5.2.
A subset is inconsistent if there is with , or if there are nodes with and for some . Given a color we say that is compatible with if , implies , and implies , for all and .
Definition 5.3.
We define the set of macrostates of by putting . The range of a macrostate is the set of all such that for some and . With , we define the composition as the set of triples for which we can find and such that . For a subset , we define ; where , we abbreviate .
A macrostate is called consistent, respectively compatible with a color , if satisfies the mentioned property w.r.t. , in the sense of Definition 5.2.
Given a stream of macrostates, we say that a stream is a trace on if , for all . Such a trace is good (bad, respectively) if the maximum number occurring as for infinitely many is even (odd, respectively). We let denote the collection of -streams that do not carry a bad trace.
Proposition 5.4.
The set is an -regular language over . Concretely, there is a deterministic parity automaton over such that and has size and index .
Proof 5.5.
We first observe that there is a non-deterministic parity word automaton that accepts the language , i.e., all infinite streams of macrostates that do contain a bad trace. To define we put , , and for all and all . It is easy to verify is a parity automaton with states and index that accepts . Standard constructions can be used to first transform into an equivalent non-deterministic Büchi automaton of size (cf. e.g. [13]) which can be in turn transformed into an equivalent deterministic parity word automaton that meets the size bounds of the proposition (cf. [19, 20]). The automaton is now constructed as the deterministic parity word automaton that accepts the complement of the language of by adding 1 to all the priorities of states in .
5.2 Local strategies & the disjunctive modal automaton
In our approach of dealing with the possible unguardedness of the input parity formula, the key concept is that of a (positional) local strategy for . A local strategy represents a complete set of choices of for all disjunction nodes in . Intuitively, one may think of a local strategy as some part of a positional strategy of where we stay put at a point in the model. More precisely, a local strategy induces, in the evaluation game of , for any point in the model and any vertex in , a unique (partial) play that does not leave the mentioned point and stops whenever a modal vertex in is met. The projections of these matches will be called stationary plays. Formally we define these notion, together with some related concepts that we will discuss in a moment, as follows.
Definition 5.6.
A local strategy on is a map such that , for all . The collection of local strategies on is denoted by .
Now fix such a local strategy .
Given a vertex we define the set of
stationary -plays from as the smallest set
such that
(1a) if then ;
(1b) if then , for each ;
(2a) if and , then
; and
(2b) if and , then
, for each .
Given , define
.
Via these stationary plays we define the following macrostates:
We say that on a macrostate , is locally compatible with a color if (i) is compatible with and (ii) the stream does not contain any bad trace.
Here are some intuitions about these notions. First, note that only contains paths of length , corresponding to matches where actually a move is made at . The macrostate represents the relevant information about all finite stationary -plays; hence, the collection of all infinite stationary -plays corresponds to the set of all traces over the -stream .
Now fix a macro-state . The macrostate represents the version of that absorbs all continuations of matches in with one of these finite stationary -plays; thus the set represents all triples in that are possibly continued with such a play. For technical reasons it is convenient to define this set using the macro-state , in the sense that . The stream represents all infinite plays that start with an -play, and then continue with an infinite stationary -play. To say that there is a bad trace on such a stream means that for some , ’s opponent has a strategy such that, played against , the resulting match (path through the graph of ) is bad, in the sense of the highest priority met infinitely often being odd. To say that, relative to , is locally compatible with a color indicates, roughly, that after any -match, if the local point of the Kripke model has color , then it is safe for (until the next modal vertex in is encountered) to continue by playing . Finally, it may also be useful to observe that for all and we find and .
We turn to the definition of the disjunctive modal automaton . For the definition of its transition map , note a macrostate may be thought of as representing the conjunction of states in that are visited by “parallel” plays of the evaluation game for . The transition function will implement the intuition that a modal step needs to satisfy the “demands” posed by the modal nodes in . These demands are formulated separately for all box nodes and for each individual diamond node.
Definition 5.7.
Let be some macrostate, and let . Then we define
The macrostates and correspond to, respectively, the universal and existential requirements made by the vertices in the range of .
Definition 5.8.
Let be a parity formula. We define the automaton as follows. To start with, its carrier is the collection of all macrostates: and its initial state is given as . The transition map is given as follows. For a macrostate and a local strategy we define :
and for a macrostate and a color we put:
where
Finally, for its acceptance condition we take the -regular language , i.e, an infinite play of will be winning for if the corresponding stream of macrostates is in .
To get some intuitions: to define , we nondeterministically guess a local strategy that is compatible with on – this guess is reflected by the disjunction in the definition of . For each such , we absorb its stationary plays into and turn to the set of modal nodes in the range of the resulting macro-state . We gather the universal and existential requirements of into an appropriate collection of “next” macro-states. This set is then to be covered by the collection of successors of the point in the Kripke model under inspection, as encoded by the formula . In the special case where makes no existential demands (i.e., if ), we add the disjunct , allowing for the possibility that the point has no successors at all. To see how this all works out precisely, the reader is advised to look at the proof of Proposition 5.9 below.
5.3 Proof of Theorem 5.1
Turning to the proof of the main theorem, we first show that the disjunctive modal automaton from Definition 5.8 is equivalent to the parity formula that we started with. After that we prove Theorem 5.1 by showing that is within the desired size bounds.
Proposition 5.9.
For any parity formula , we have where is given as in Definition 5.8.
Proof 5.10.
We show that
(1) |
where is an arbitrary but fixed pointed model, , and we write for the set of winning positions for in a game. In the sequel we will abbreviate and .
For the direction from left to right of (1), fix a positional winning strategy for in . For any point , we may associate a map with , as follows. Given a vertex , if then maps to the element such that ; if we define to be an arbitrary element in . Clearly is a local strategy in the sense of Definition 5.6, and it is not hard to prove that is locally compatible with the color of , on any such that for any . We define the following (positional) strategy for in . Let be a partial -match with . In case then plays randomly (one may show that this will never happen). If, on the other hand, , then we already saw that is locally compatible with on . Compute and recall that with each element we may associate a partial -guided match , which is stationary at and such that is the highest priority met on after : . It is then not hard to see that, for an arbitrary element we have . In particular, if such a belongs to , then ’s winning strategy in selects a successor . This assignment, , determines ’s strategy in . That is, at any partial match with , let play
(2) |
It is easy to see that this move is legitimate. To show that is actually winning for consider an arbitrary -guided partial match with . Via an inductive proof one can show that , for each . Therefore ’s moves in are indeed legitimately guided as in (2) and she wins every finite -guided match of starting at .
To see that also wins the infinite -guided matches, let be an arbitrary such match, and consider an arbitrary trace on . Let be the maximum number occurring as for infinitely many ; it then suffices to show that is even. For every one may associate -guided partial -matches and such that , and . Putting these partial plays together, with the trace we have thus associated a (full) infinite -guided -match , such that and . This means that is the highest priority that occurs infinitely often in , and since is guided by ’s winning strategy , must be even indeed.
For the other direction of (1), fix a winning strategy for in . W.l.o.g. we may assume that is an -expanded tree444A pointed model is -expanded if is the parent-child relation of a tree which has as its root, and is such that every non-root node in has at least many bisimilar siblings. It is not hard to see that every pointed model can be unravelled to a bisimilar model that is -expanded. with root , so that with each we may associate a unique state such that can be reached during an -guided match of starting from . By definition of and then, with each we may also associate a local strategy , which is locally compatible with the color on and such that ’s strategy is aimed at satisfying the one-step formula .
To define ’s strategy in , consider an arbitrary finite -match . It is not hard to see that admits a unique modal decomposition , where for all , is the unique modal position in , and either contains no modal positions, or a unique one at . This means that we may present each as for some fixed point in . The key idea underlying the definition of is that with every -guided finite match , with as above, we associate an -guided -match satisfying the condition (†) given below:
-
(†1)
for each , , we have .
-
(†2)
for each , , and the sequence is -guided; for each pair with , we have , where ;
-
(†3)
for each , with , if , then and , where .
-
(†4)
for each , with , if , then and , where .
Based on this connection, we define the following strategy for in ; we show at the same time that, playing , can maintain the condition (†) and wins all finite matches. Consider a partial -guided match , modally decomposed as as above, where , and let be an associated -match satisfying (†). We distinguish cases, writing and for brevity.
-
•
If is a propositional node, we need to show that is won by . This is immediate in case , so assume that or for some proposition letter . We only treat the case where , the other cases being similar. By (†2) we have , so that is locally compatible with the color on . But then (†1) implies that .
-
•
If , define . It is easy to see that and are related by (†).
-
•
If , suppose that picks a conjunct of . Then and are related by (†).
-
•
If , first define . Note that, since by the inductive hypothesis (†1), we find . Furthermore, recall that by our assumption on , ’s move at position in is aimed at satisfying the one-step formula , and so this move must contain a pair of the form for some . Now define , where is the (unique) element of . The modal decomposition of is then , where . (That is, in the terminology of (†) we have and .)
We now check that and are related by (†). For (†1), it suffices to show that . But this is immediate by . For (†2) it suffices to show that but this holds by construction. For (†3) we likewise have by construction. We already saw that , and we have by the induction hypothesis (†2). From this, and the observation that we obtain . Finally, for (†4) there is nothing to prove.
-
•
The case where is similar to the previous one, so we skip some details. Let be the unique successor of in , and suppose that in our -match, picks a successor of ; that is, we now look at the continuation of the -match . Consider ’s move in at position , which makes the one-step formula true, and thus contains a pair for some . Now define , and let ; this is an -guided continuation of .
To verify that and satisfy (†), first note that by definition of the set , must be of the form , where either or . Based on this observation, checking the conditions (†1), (†2) and (†4) are similar to the respective conditions (†1), (†2) and (†3) in the previous case (with the only difference that we now must also take the possibility that into account). Finally, condition (†3) needs no check since it is not applicable.
To see that is winning for consider a full -guided match, and distinguish cases. For finite matches one can check that never gets stuck. In case is an infinite -guided match, we make a further distinction as to whether the number of modal positions that passes through is finite or infinite. If passes through infinitely many modal positions, there is a unique way of decomposing as , where is the sequence of (all) modal positions in . By construction there is an associated infinite -guided -match related to via the condition (†). It is now possible to prove that is the winner of by using that is winning for in (details omitted due to space limitations). If only passes finitely many modal positions, we may represent , where each with is finite, is infinite, and is the sequence of all modal positions in . We only consider the subcase where . Let be the -guided -match that we have associated with (or, to be more precise, with the initial segments of that are long enough to have passed the last modal node of ). Observe that since is -guided, the position must be winning for , and that by (†2) the macrostate is the unique state in such that is met during an -guided -match. Write ; that is, we write and . The sequence is a trace on the stream ; but then, by the compatibility of with on , must be a good trace. Since is a tail of , this means that is won by , as required.
-
Proof of Theorem 5.1.
The equivalence part of the disjunctive modal automaton to was proved in Proposition 5.9. It remains to check the sizes of the components of the automaton . But this is fairly straightforward. To start with, from the definition of we have it immediately follows that To compute the size of , first observe that the number of local strategies is equal to , and that for each macrostate , local strategy and color we find . From this it is immediate that for each formula we have . Finally, the table of has entries, so that its total size is bounded by , as stated by the theorem. qed
Corollary 5.11.
The disjunctive modal automaton can be turned into an equivalent disjunctive parity automaton with index and size .
Proof 5.12.
A standard construction, the so-called wreath product, can be used to turn the automaton together with the automaton from Proposition 5.4 into a parity automaton (cf. e.g. [17, Definition 4.3]). The transition map of the resulting automaton will have the same size as the one of , the set of states is given as the product and the index of is equal to the index of . Hence the parity automaton has size , and index .
We finish with the main result of our paper: there is an algorithm turning a parity formula into an equivalent disjunctive one in exponential size of the original formula. Due to our size preserving translations from parity formulas to -calculus formulas in the standard syntax, the result carries directly over to formulas in standard syntax if we measure the size of this formula in terms of its closure.
Corollary 5.13.
For any parity formula we can construct an equivalent disjunctive parity formula with and with index . Here and is the index of .
6 Conclusions
We have presented an algorithm that constructs for a given arbitrary formula in the modal -calculus an equivalent disjunctive formula with a single exponential blow-up when measuring the size of a formula in closure size. While the complexity of this construction is likely to be optimal, it is an interesting question for future work whether or not the construction can be optimised to obtain “nice” disjunctive formulas. In particular, the move from modal automata to parity formulas potentially adds a large number of unnecessary disjuncts. Obtaining a nicer formula could be relevant for computing uniform interpolants. Another nagging question is the exact repercussion of our work for satisfiability checking. While satisfiability checking for disjunctive formulas is linear in subformula size, our formulas are measured in closure size, which is potentially an exponential smaller. It has to be checked whether one can use our result for ExpTime satisfiability checking when the input formula is measured in closure size.
References
- [1]
- [2] J. Bradfield & C. Stirling (2006): Modal -calculi. In J. van Benthem, P. Blackburn & F. Wolter, editors: Handbook of Modal Logic, Elsevier, pp. 721–756.
- [3] F. Bruse, O. Friedmann & M. Lange (2015): On guarded transformation in the modal -calculus. Logic Journal of the IGPL 23(2), pp. 194–216, 10.1093/jigpal/jzu030.
- [4] C.S. Calude, S. Jain, B. Khoussainov, W. Li & F. Stephan (2017): Deciding parity games in quasipolynomial time. In H. Hatami, P. McKenzie & V. King, editors: Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing, (STOC 2017), ACM, pp. 252–263, 10.1145/3055399.3055409.
- [5] G. D’Agostino & M. Hollenberg: Logical questions concerning the -calculus. Journal of Symbolic Logic 65, pp. 310–332, 10.1080/11663081.1991.10510772.
- [6] G. D’Agostino & G. Lenzi (2006): On modal mu-calculus with explicit interpolants. Journal of Applied Logic 4(3), pp. 256–278, 10.1016/j.jal.2005.06.008.
- [7] S. Demri, V. Goranko & M. Lange (2016): Temporal Logics in Computer Science: Finite-State Systems. Cambridge Tracts in Theoretical Computer Science, Cambridge University Press, 10.1017/CBO9781139236119.
- [8] E.A. Emerson & C.S. Jutla (1988): The complexity of tree automata and logics of programs (extended abstract). In: Proceedings of the 29th Symposium on the Foundations of Computer Science, IEEE Computer Society Press, pp. 328–337.
- [9] E.A. Emerson & C.S. Jutla (1991): Tree automata, mu-calculus and determinacy (extended abstract). In: Proceedings of the 32nd Symposium on the Foundations of Computer Science, IEEE Computer Society Press, pp. 368–377.
- [10] S. Enqvist, F. Seifan & Y. Venema (2018): Completeness for the modal -calculus: Separating the combinatorics from the dynamics. Theoretical Computer Science 727, pp. 37–100, 10.1016/j.tcs.2018.03.001.
- [11] G. Fontaine & Y. Venema (2018): Some model theory for the modal mu-calculus: syntactic characterizations of semantic properties. Logical Methods in Computer Science 14(1).
- [12] O. Friedmann & M. Lange (2013): Deciding the unguarded modal -calculus. Journal of Applied Non-Classical Logics 23(4), pp. 353–371, 10.1080/11663081.2013.861181.
- [13] E. Grädel, W. Thomas & T. Wilke, editors (2002): Automata, Logic, and Infinite Games. LNCS 2500, Springer.
- [14] D. Janin & I. Walukiewicz (1995): Automata for the modal -calculus and related results. In: Proceedings of the Twentieth International Symposium on Mathematical Foundations of Computer Science, MFCS’95, LNCS 969, Springer, pp. 552–562.
- [15] O. Kupferman & M.Y. Vardi (2005): From Linear Time to Branching Time. ACM Transactions on Computational Logic 6(2), pp. 273–294, 10.1145/1055686.1055689.
- [16] C. Kupke, J. Marti & Y. Venema (2020): Size matters in the modal -calculus. CoRR abs/2010.14430.
- [17] C. Kupke & Y. Venema (2008): Coalgebraic Automata Theory: Basic Results. Logical Methods in Computer Science 4(4), 10.2168/LMCS-4(4:10)2008.
- [18] K. Lehtinen (2015): Disjunctive form and the modal alternation hierarchy. In: Proceedings of FICS 2015, EPTCS 191, pp. 117–131, 10.4204/EPTCS.191.11.
- [19] N. Piterman (2007): From Nondeterministic Büchi and Streett Automata to Deterministic Parity Automata. LMCS 3(3), 10.2168/LMCS-3(3:5)2007.
- [20] S. Schewe (2009): Tighter Bounds for the Determinisation of Büchi Automata. In Luca de Alfaro, editor: Proceedings of FOSSACS 2009, LNCS 5504, Springer, pp. 167–181, 10.1007/978-3-642-00596-1_13.
- [21] C. Stirling: Modal and Temporal Properties of Processes. Texts in Computer Science, Springer-Verlag, 10.1007/978-1-4757-3550-5.
- [22] M. Y. Vardi (1998): Reasoning about the Past with Two-Way Automata. In: Proceedings of ICALP’98, LNCS 1443, Springer, pp. 628–641, 10.1007/BFb0055090.
- [23] Y. Venema (2006): Automata and Fixed Point Logic: a Coalgebraic Perspective. Information and Computation 204, pp. 637–678, 10.1016/j.ic.2005.06.003.
- [24] I. Walukiewicz (2000): Completeness of Kozen’s axiomatisation of the propositional -calculus. Information and Computation 157, pp. 142–182, 10.1006/inco.1999.2836.
- [25] T. Wilke (2001): Alternating tree automata, parity games, and modal -calculus. Bulletin of the Belgian Mathematical Society 8, pp. 359–391.