This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Bounded Game-Theoretic Semantics for Modal Mu-Calculus and Some Variants

Lauri Hella Tampere University
Finland [email protected] University of Helsinki and Tampere University
FinlandENS Paris-Saclay
France
   Antti Kuusisto University of Helsinki and Tampere University
Finland [email protected] ENS Paris-Saclay
France
   Raine Rönnholm ENS Paris-Saclay
France [email protected]
Abstract

We introduce a new game-theoretic semantics (GTS) for the modal mu-calculus. Our so-called bounded GTS replaces parity games with alternative evaluation games where only finite paths arise; infinite paths are not needed even when the considered transition system is infinite. The novel games offer alternative approaches to various constructions in the framework of the mu-calculus. For example, they have already been successfully used as a basis for an approach leading to a natural formula size game for the logic. While our main focus is introducing the new GTS, we also consider some applications to demonstrate its uses. For example, we consider a natural model transformation procedure that reduces model checking games to checking a single, fixed formula in the constructed models, and we also use the GTS to identify new alternative variants of the mu-calculus with PTime model checking.

1 Introduction

The modal μ\mu-calculus [18] is a well-known formalism that plays a central role in, e.g., program verification. The standard semantics of the μ\mu-calculus is based on fixed points, but the system has also a well-known game theoretic semantics (𝖦𝖳𝖲\mathsf{GTS}) that makes use of parity games. The related games generally involve infinite plays, and the parity condition is used for determining the winner (see, e.g., [6] for further details and a general introduction to the μ\mu-calclus).

The agenda and contributions of this article.

In this article we present an alternative game-theoretic semantics for the modal μ\mu-calculus. Our so-called bounded 𝖦𝖳𝖲\mathsf{GTS} is based on games that resemble the standard semantic games for the μ\mu-calculus, but there is an extra feature that ensures that the plays within the novel framework always end after a finite number of rounds. Thereby only finite paths arise in related evaluation games even when investigating infinite transition systems. Thus there is no need to keep track of the parity condition, so in that sense the games we present in this article simplify the standard framework. Furthermore, they offer an alternative perspective on the μ\mu-calculus, as we show that our semantics is equivalent to the standard one.

In the novel games, the evaluation of a fixed point formula begins by one of the players declaring an ordinal number; the verifying player declares ordinals for μ\mu-formulae and the falsifying player for ν\nu-formulae. The declared ordinal is then lowered as the game proceeds, and since ordinals are well-founded, the game will indeed end in finite time, i.e., after a finite number of game steps. In general, infinite ordinals are needed in the games, but finite ordinals suffice in finite models.

While the bounded 𝖦𝖳𝖲\mathsf{GTS} provides a new perspective on the standard modal μ\mu-calculus, our approach also leads naturally to a range of alternative semantic systems that are not equivalent to the standard semantics. Indeed, we divide the framework of bounded semantics into subsystems dubbed Γ\Gamma-bounded semantics for different ordinals Γ\Gamma. Here Γ\Gamma provides a strict upper limit for the ordinals that can be used during the game play. For each Γ\Gamma-bounded semantics, we define also a compositional semantics and prove the game-theoretic and compositional versions equivalent.

If only finite ordinals are allowed, meaning Γ=ω\Gamma=\omega, we obtain the finitely bounded 𝖦𝖳𝖲\mathsf{GTS}, which is an interesting system itself. While this semantics is equivalent to the standard case in finite models, the general expressive powers differ. Indeed, we will show that the μ\mu-calculus under finitely bounded 𝖦𝖳𝖲\mathsf{GTS} does not have the finite model property. Furthermore, we observe that the set of validities of the μ\mu-calculus under finitely bounded semantics is strictly contained in the set of standard validities.

We then introduce yet another class of variants of the bounded 𝖦𝖳𝖲\mathsf{GTS} consisting of the systems of ff-bounded semantics. In the Γ\Gamma-bounded semantics, each μ\mu and ν\nu-formula is associated with an ordinal of its own, while in the ff-bounded semantics this scheme is relaxed and only two ordinals are used, one for all μ\mu-formulae and another one for all ν\nu-formulae. The particular ordinals fixed in the beginning of the game depend on the particular variant of ff-bounded semantics. We prove PTime-completeness of the model checking problem of a range of simple yet expressive systems of ff-semantics. The result concerns both data and combined complexity. In addition to semantic studies, we use 𝖦𝖳𝖲\mathsf{GTS} to identify a canonical reduction of μ\mu-calculus model checking instances to checking a single, uniform formula in the model obtained by the reduction.

Further motivation of the study.

While the formal results listed above are an important part of our study, the focus of our article is mainly on the conceptual development of the theory of the μ\mu-calculus and related systems, not so much the more technical directions. While some of the technical results we obtain have straightforward and obvious implicit similarities to existing notions, such as finite approximants of fixed points, we believe the systematic, formal and conceptual study initiated in this article is justified.

Indeed, we believe the bounded 𝖦𝖳𝖲\mathsf{GTS} in general can be a fruitful framework for various further developments. The setting provides an alternative perspective to parity games, replacing infinite plays with games based on finitely many rounds only, thereby leading to a conceptually interesting territory to be explored further. The fragments with PTime-model checking we identify serve as an example of the various possibilities. Furthermore, it is worth noting here, e.g., that the difference between the standard and bounded 𝖦𝖳𝖲\mathsf{GTS} for the μ\mu-calculus is analogous to the relationship between while-loops and for-loops; while-loops are iterated possibly infinitely long, whereas for-loops run for kk\in\mathbb{N} rounds, where kk can generally be an input to the loop. Finally, we argue that the new semantics can quite often make formulae easier to read; we will illustrate this in Examples 3.3 and 3.7.

Notes on related work.

There already exist several works where simple variants of the bounded semantics have been considered in the context of temporal logics with a significantly simpler recursion mechanisms than that of the μ\mu-calculus. The papers [9], [12] consider a bounded semantics for the Alternating-time temporal logic 𝖠𝖳𝖫\mathsf{ATL}, and [11], [8] extend the related study to the extension 𝖠𝖳𝖫+\mathsf{ATL}^{+} of 𝖠𝖳𝖫\mathsf{ATL}. See also [10], [13]. Part of the original motivation behind the studies in [9], [12], [11], [8] (as well as the current article) relates to work with the direct aim of understanding variants and fragments of the general, expressively Turing-complete logic presented in [20]. It is also worth mentioning that the work in the present article has already been made essential use of in constructing a canonical formula size game for the μ\mu-calculus in [16]. The first short draft of the current submission appeared in 2017 as the arXiv manuscript [14]. It contained only the game-theoretic semantics presented below; the current article is the extended, full conference version of that short draft. The extended preprint of the current article is also available as the arXiv manuscript [15], containing full technical details.

There is a whole range of earlier but closely related logical studies that make use of notions with similar intuitions to the ones behind the bounded semantics of this paper. Indeed, for logics with time bounds, see, e.g., the paper [2] on finitary fairness and the article [19] relating to promptness in Linear temporal logic 𝖫𝖳𝖫\mathsf{LTL}. We also mention here the work related to bounded model checking, see, e.g., [5], [22] and [24]. The article [7] is one example of an early work that uses explicit ‘clocking’ of fixed point formulae in (a variant of) the μ\mu-calculus, thereby involving some ideas that bear a similarity to some features used also in the present paper. However, the approach and goals of [7] are different, e.g., the paper limits to finite models only and does not discuss game-theoretic semantics at all.

2 Preliminaries

2.1 Syntax

Let Φ\operatorname{\Phi} be a set of proposition symbols and Λ\operatorname{\Lambda} a set of label symbols. Formulae of the modal μ\mu-calculus are generated by the grammar

φ::=p¬pXφφφφφφμXφνXφ,\displaystyle\varphi::=p\mid\neg p\mid X\mid\varphi\vee\varphi\mid\varphi\wedge\varphi\mid\Diamond\varphi\mid\Box\varphi\mid\mu X\varphi\mid\nu X\varphi,

where pΦp\in\operatorname{\Phi} and XΛX\in\operatorname{\Lambda}.

Let φ\varphi be a formula of the μ\mu-calculus. The set of nodes in the syntax tree of φ\varphi is denoted by Sf(φ)\operatorname{Sf}(\varphi). All of these nodes correspond to some subformula of φ\varphi, but the same subformula may have several occurrences in the syntax tree of φ\varphi, as for example in the case of ppp\vee p. We always distinguish between different occurrences of the same subformula, and thus we always assume that the position in the syntax tree of φ\varphi is known for any given subformula of φ\varphi. We also use the following notation:

Sf_μν(φ):={θSf(φ)θ=μXψ or θ=νXψ for some ψSf(φ) and XΛ}.\operatorname{Sf}_{\_}{\mu\nu}(\varphi):=\{\theta\in\operatorname{Sf}(\varphi)\mid\theta=\mu X\psi\text{ or }\theta=\nu X\psi\text{ for some }\psi\in\operatorname{Sf}(\varphi)\text{ and }X\in\Lambda\}.

2.2 Standard Compositional Semantics

A Kripke model \mathcal{M} is a tuple (W,R,V)(W,R,V), where WW is a nonempty set, RR a binary relation over WW and V:Φ𝒫(W)V:\Phi\rightarrow\mathcal{P}(W) a valuation for proposition symbols in Φ\operatorname{\Phi}. An assignment s:Λ𝒫(W)s:\operatorname{\Lambda}\rightarrow\mathcal{P}(W) for \mathcal{M} maps label symbols XX to subsets of WW.

Definition 2.1.

Let =(W,R,V)\mathcal{M}=(W,R,V) be a Kripke model, wWw\in W. Let φ\varphi be a formula of the μ\mu-calculus. Truth of φ\varphi in \mathcal{M} and ww under assignment ss, denoted by ,w_sφ\mathcal{M},w\vDash_{\_}s\varphi, is defined as in standard modal logic for pp, ¬p\neg p, \vee, \wedge, \Diamond, \Box. The truth condition for label symbols is defined with respect to the assignment ss:

  • ,w_sX\mathcal{M},w\vDash_{\_}sX iff ws(X)w\in s(X).

To deal with μ\mu and ν\nu, we define an operator φ^_X,s:𝒫(W)𝒫(W)\widehat{\varphi}_{\_}{X,s}:\mathcal{P}(W)\rightarrow\mathcal{P}(W) such that φ^_X,s(A)={wW,w_s[A/X]φ}\widehat{\varphi}_{\_}{X,s}(A)=\{w\in W\mid\mathcal{M},w\vDash_{\_}{s[A/X]}\varphi\}, where s[A/X]s[A/X] is the assignment that sends XX to AA and treats other label symbols the same way as ss. The operators φ^_X,s\widehat{\varphi}_{\_}{X,s} are always monotone and thereby have least and greatest fixed points. The semantics for the operators μX\mu X and νX\nu X is as follows:

  • ,w_sμXψ\mathcal{M},w\vDash_{\_}s\mu X\psi iff ww is in the least fixed point of the operator ψ^_X,s\widehat{\vphantom{\wedge}\smash{\psi}}_{\_}{X,s}.

  • ,w_sνXψ\mathcal{M},w\vDash_{\_}s\nu X\psi iff ww is in the greatest fixed point of the operator ψ^_X,s\widehat{\vphantom{\wedge}\smash{\psi}}_{\_}{X,s}.

A label symbol XX is said to occur free in a formula φ\varphi if it occurs in φ\varphi but is not a subformula of any subformula of φ\varphi of the form μXψ\mu X\psi or νXψ\nu X\psi. A formula φ\varphi is called a sentence if it does not contain any free label symbols. Truth of a sentence φ\varphi is independent of assignments ss, so we may simply write ,wφ\mathcal{M},w\vDash\varphi instead of ,w_sφ\mathcal{M},w\vDash_{\_}s\varphi.

2.3 Alternating Reachability Games

The alternating reachability game problem, which is well known to be PTime-complete (see, e.g., [17]), is defined as follows. The input to the problem is a finite pointed model (,w)(\mathcal{M},w), i.e., \mathcal{M} is Kripke model and ww a state in it. We assume the vocabulary of \mathcal{M} contains the proposition symbols p_Bp_{\_}B and q_Bq_{\_}B. The game is played by two players, AA and BB, starting from the state ww. In each round, one of the players moves (if possible) to some state that can be directly reached in one step from the current state via the accessibility relation; if q_Bq_{\_}{B} holds in the current state, then BB moves, and otherwise AA moves. If the players reach a state where p_Bp_{\_}{B} holds, then the game ends and BB wins. If a player cannot make the required move in some state (meaning the state is a dead end), then the game ends and that player loses and the other player wins. If the game does not end in a finite number of moves, then AA wins. The alternating reachability game problem yields the answer yes on the input (,w)(\mathcal{M},w) iff BB has a winning strategy in the game. We let AR\mathrm{AR} denote the class of all positive instances of the alternating reachability game problem. The following observation is well known.

Proposition 2.2.

Let \mathcal{M} be a Kripke model with propositional vocabulary {p_B,q_B}\{p_{\_}\mathrm{B},q_{\_}B\} and let ww be a state in \mathcal{M}. Then (,w)AR(\mathcal{M},w)\in\mathrm{AR} if and only if ,wχ,\mathcal{M},w\vDash\chi, where χ=μX(p_B(q_BX)(¬q_BX)).\chi=\mu X\bigl{(}p_{\_}B\vee(q_{\_}B\wedge\Diamond X)\vee(\neg q_{\_}{B}\wedge\Box X)\bigr{)}.

3 Bounded Game-Theoretic Semantics

The general idea of game-theoretic semantics (𝖦𝖳𝖲\mathsf{GTS}) is that truth of a formula φ\varphi is checked in a model \mathcal{M} via playing a game where a proponent player (Eloise) attempts to show that φ\varphi holds in \mathcal{M} while an opponent player (Abelard) tries to establish the opposite—that φ\varphi is false. In this section we define a bounded game-theoretic semantics for the μ\mu-calculus, or bounded 𝖦𝖳𝖲\mathsf{GTS}. The semantics shares some features with a similar 𝖦𝖳𝖲\mathsf{GTS} for the Alternating-time temporal logic (𝖠𝖳𝖫\mathsf{ATL}) defined in [9] (see also [11]).

3.1 Bounded Evaluation Games

Let φ\varphi be a sentence of the μ\mu-calculus and XSf(φ)X\in\operatorname{Sf}(\varphi). The reference formula of XX, denoted Rf(X)\operatorname{Rf}(X), is the unique subformula of φ\varphi that binds XX. That is, Rf(X)\operatorname{Rf}(X) is of the form μXψ\mu X\psi or νXψ\nu X\psi and there is no other operator μX\mu X or νX\nu X in the syntax tree on the path from Rf(X)\operatorname{Rf}(X) to XX. Since φ\varphi is a sentence, every label symbol has a reference formula (and the reference formula is by definition unique for each label symbol).

Example 3.1.

Consider the sentence φ:=νXμY(Y(pX))\varphi^{*}:=\nu X\Box\mu Y\bigl{(}\Diamond Y\vee(p\wedge X)\bigr{)}. Here we have Rf(X)=φ\operatorname{Rf}(X)=\varphi^{*} and Rf(Y)=μY(Y(pX))\operatorname{Rf}(Y)=\mu Y(\Diamond Y\vee(p\wedge X)).

Definition 3.2.

Let \mathcal{M} be a model, w_0Ww_{\_}0\in W, φ_0\varphi_{\_}0 a sentence and Γ>0\Gamma>0 an ordinal. We define the Γ\Gamma-bounded evaluation game 𝒢=(,w_0,φ_0,Γ)\mathcal{G}=(\mathcal{M},w_{\_}0,\varphi_{\_}0,\Gamma) as follows. The game has two players, Abelard and Eloise. The positions of the game are of the form (w,φ,c)(w,\varphi,c), where wWw\in W, φSf(φ_0)\varphi\in\operatorname{Sf}(\varphi_{\_}0) and

c:Sf_μν(φ_0){γγΓ}c:\operatorname{Sf}_{\_}{\mu\nu}(\varphi_{\_}0)\;\rightarrow\;\{\gamma\mid\gamma\leq\Gamma\}

is a clock mapping. We call the value c(θ)c(\theta) the clock value of θ\theta (for θSf_μν(φ_0)\theta\in\operatorname{Sf}_{\_}{\mu\nu}(\varphi_{\_}0)).

The game begins from the initial position (w_0,φ_0,c_0)(w_{\_}0,\varphi_{\_}0,c_{\_}0), where c_0(θ)=Γc_{\_}0(\theta)=\Gamma for every θSf_μν(φ_0)\theta\in\operatorname{Sf}_{\_}{\mu\nu}(\varphi_{\_}0). The game is then played according to the following rules:

  • In a position (w,p,c)(w,p,c) for some pΦp\in\operatorname{\Phi}, Eloise wins if wV(p)w\in V(p). Otherwise Abelard wins.

  • In a position (w,¬p,c)(w,\neg p,c) for some pΦp\in\operatorname{\Phi}, Eloise wins if wV(p)w\notin V(p). Otherwise Abelard wins.

  • In a position (w,ψθ,c)(w,\psi\vee\theta,c), Eloise selects whether the next position is (w,ψ,c)(w,\psi,c) or (w,θ,c)(w,\theta,c).

  • In a position (w,ψθ,c)(w,\psi\wedge\theta,c), Abelard selects whether the next position is (w,ψ,c)(w,\psi,c) or (w,θ,c)(w,\theta,c).

  • In a position (w,ψ,c)(w,\Diamond\psi,c), Eloise selects some vWv\in W such that wRvwRv and the next position is (v,ψ,c)(v,\psi,c). If there is no such vv, then Abelard wins.

  • In a position (w,ψ,c)(w,\Box\psi,c), Abelard selects some vWv\in W such that wRvwRv and the next position is (v,ψ,c)(v,\psi,c). If there is no such vv, then Eloise wins.

  • In a position (w,μXψ,c)(w,\mu X\psi,c), Eloise chooses an ordinal γ<Γ\gamma<\Gamma. Then the game continues from the position (w,ψ,c[γ/μXψ])(w,\psi,c[\gamma/\mu X\psi]). Here c[γ/μXψ]c[\gamma/\mu X\psi] is the clock mapping that sends μXψ\mu X\psi to γ\gamma and treats other formulae as cc.

  • In a position (w,νXψ,c)(w,\nu X\psi,c), Abelard chooses an ordinal γ<Γ\gamma<\Gamma. Then the game continues from the position (w,ψ,c[γ/νXψ])(w,\psi,c[\gamma/\nu X\psi]).

  • Suppose that the game is in a position (w,X,c)(w,X,c) and let c(Rf(X))=γc(\operatorname{Rf}(X))=\gamma.

    1. 1.

      Suppose that Rf(X)=μXψ\operatorname{Rf}(X)=\mu X\psi for some ψ\psi.

      • If γ=0\gamma=0, then Abelard wins.

      • Else, Eloise must select some γ<γ\gamma^{\prime}<\gamma, and then the game continues from the position (w,ψ,c)(w,\psi,c^{\prime}), where

        • *

          c(μXψ)=γc^{\prime}(\mu X\psi)=\gamma^{\prime},

        • *

          c(θ)=Γc^{\prime}(\theta)=\Gamma for all θSf_μν(φ_0)\theta\in\operatorname{Sf}_{\_}{\mu\nu}(\varphi_{\_}0) s.t. θSf(ψ)\theta\in\operatorname{Sf}(\psi),

        • *

          c(θ)=c(θ)c^{\prime}(\theta)=c(\theta) for all other θSf_μν(φ_0)\theta\in\operatorname{Sf}_{\_}{\mu\nu}(\varphi_{\_}0).

    2. 2.

      Suppose that Rf(X)=νXψ\operatorname{Rf}(X)=\nu X\psi for some ψ\psi.

      • If γ=0\gamma=0, then Eloise wins.

      • Else, Abelard must select some γ<γ\gamma^{\prime}<\gamma, and then the game continues from the position (w,ψ,c)(w,\psi,c^{\prime}), where

        • *

          c(νXψ)=γc^{\prime}(\nu X\psi)=\gamma^{\prime},

        • *

          c(θ)=Γc^{\prime}(\theta)=\Gamma for all θSf_μν(φ_0)\theta\in\operatorname{Sf}_{\_}{\mu\nu}(\varphi_{\_}0) s.t. θSf(ψ)\theta\in\operatorname{Sf}(\psi),

        • *

          c(θ)=c(θ)c^{\prime}(\theta)=c(\theta) for all other θSf_μν(φ_0)\theta\in\operatorname{Sf}_{\_}{\mu\nu}(\varphi_{\_}0).

The positions where one of the players wins the game are called ending positions. The execution of the rules related to a position of the game constitutes one round of the game. The number of rounds in a play of the game is called the length of the play. We call the ordinals γ<Γ\gamma<\Gamma clock values and the ordinal Γ\Gamma the clock value bound. (We note that only rounds with formulae of type μXψ\mu X\psi, νXψ\nu X\psi and XX affect clock values.)

We observe that in evaluation games we do not need assignments ss. A label symbol in XΛX\in\Lambda is simply a marker that points to a node (that node being the formula Rf(X)\operatorname{Rf}(X)) in the syntax tree of the sentence φ_0\varphi_{\_}0. Hence label symbols are conceptually quite different in 𝖦𝖳𝖲\mathsf{GTS} and compositional semantics. Indeed, the operators μX\mu X (respectively νX\nu X) can be given a natural reading relating to self-reference. In the formula μXψ\mu X\psi, the operator μX\mu X is naming the formula ψ\psi with the name XX. The atoms XX inside ψ\psi are, in turn, claiming that ψ\psi holds, i.e., referring back to the formula ψ\psi. The difference between μ\mu and ν\nu is that μXψ\mu X\psi relates to verifying the formula ψ\psi while νXψ\nu X\psi is associated with preventing the falsification of ψ\psi, i.e., defending ψ\psi. Therefore, if N(ψ)N(\psi) denotes a natural language reading of ψ\psi, then the natural language reading of μXψ\mu X\psi states that “we can verify the claim named XX which asserts that N(ψ)N(\psi)”. An analogous reading can be given to νXψ\nu X\psi. This scheme of reading recursive formulae via self-reference is from [20], [21].

Example 3.3.

Consider the Kripke model =(W,R,V)\mathcal{M}^{*}=(W,R,V), where we have W={w_ii}W=\{w_{\_}i\mid i\in\mathbb{N}\}, R={(w_0,w_i)i1}{(w_i+1,w_i)i0}R=\{(w_{\_}0,w_{\_}i)\mid i\geq 1\}\cup\{(w_{\_}{i+1},w_{\_}i)\mid i\geq 0\} and V(p)={w_0}V(p)=\{w_{\_}0\}.

\mathcal{M}^{*}:ppppppppppw_0w_{\_}0w_1w_{\_}1w_2w_{\_}2w_3w_{\_}3w_4w_{\_}4

Recall the sentence φ=νXμY(Y(pX))\varphi^{*}=\nu X\Box\mu Y(\Diamond Y\vee(p\wedge X)) from Example 3.1 and consider the evaluation game 𝒢=(,w_0,φ,ω)\mathcal{G}^{*}=(\mathcal{M}^{*},w_{\_}0,\varphi^{*},\omega). In 𝒢\mathcal{G}^{*}, Abelard first announces a clock value n<ωn<\omega for Rf(X)\operatorname{Rf}(X) and then makes a jump from the intial state w_0w_{\_}0 (with a \Box-move). Next Eloise announces some clock value m<ωm<\omega for Rf(Y)\operatorname{Rf}(Y). Then she can, by repeated \vee-moves, jump in the model (making a \Diamond-move) and loop back to the formula Rf(Y)\operatorname{Rf}(Y); each time she loops back, she needs to lower the value of mm. If Eloise at some point chooses the right disjunct, Abelard can either check if pp true in the current state or loop back to Rf(X)\operatorname{Rf}(X). In the latter case, the value of nn is lowered, but the value of mm is reset back to ω\omega (allowing Eloise to choose a fresh value mm next time).

The game eventually ends when (1) the clock value of Rf(X)\operatorname{Rf}(X) goes to zero, whence Abelard loses; when (2) the clock value of Rf(Y)\operatorname{Rf}(Y) goes to zero, whence Eloise loses; or when (3) Abelard chooses the left conjunct, whence Eloise wins if and only if pp is true at the current state. We will return to this game in Example 3.7.

Proposition 3.4.

Let 𝒢=(,w,φ,Γ)\mathcal{G}=(\mathcal{M},w,\varphi,\Gamma) be a bounded evaluation game. Every play of 𝒢\mathcal{G} ends in a finite number of rounds.

Proof.

For each positive integer kk, let _k\prec_{\_}k denote the “canonical lexicographic order” of kk-tuples of ordinals. That is, (γ_1,,γ_k)_k(γ_1,,γ_k)(\gamma_{\_}1,\dots,\gamma_{\_}k)\prec_{\_}k(\gamma_{\_}1^{\prime},\dots,\gamma_{\_}k^{\prime}) if and only if there exists some iki\leq k such that γ_i<γ_i\gamma_{\_}i<\gamma_{\_}i^{\prime} and γ_j=γ_j\gamma_{\_}j=\gamma_{\_}j^{\prime} for all j<ij<i.

Consider a branch in the syntax tree of φ\varphi. Let ψ_1,,ψ_kSf_μν(φ)\psi_{\_}1,\dots,\psi_{\_}k\in\operatorname{Sf}_{\_}{\mu\nu}(\varphi) be the μν\mu\nu-formulae occurring on this branch in this order (starting from the root). In each round of the game, each such sequence (ψ_1,,ψ_k)(\psi_{\_}1,\dots,\psi_{\_}k) is associated with the kk-tuple (c(ψ_1),,c(ψ_k))(c(\psi_{\_}1),\dots,c(\psi_{\_}k)) of clock values (that are ordinals less or equal to Γ\Gamma). It is easy to see that if cc and cc^{\prime} are clock mappings such that cc^{\prime} occurs later than cc in the game, then we have (c(ψ_1),,c(ψ_k))_k(c(ψ_1),,c(ψ_k))(c^{\prime}(\psi_{\_}1),\dots,c^{\prime}(\psi_{\_}k))\preceq_{\_}k(c(\psi_{\_}1),\dots,c(\psi_{\_}k)). Also, every time a transition from some label XX to the reference formula Rf(X)\operatorname{Rf}(X) is made, there is at least one branch where the kk-tuple (for the relevant kk) of clock values becomes strictly lowered (in relation to _k\prec_{\_}k). As ordinals are well-founded, it is thus clear that the game must end after finitely many rounds. ∎

Each evaluation game 𝒢\mathcal{G} can naturally be associated with a game tree T(𝒢)=(P_𝒢,E_𝒢)T(\mathcal{G})=(P_{\_}\mathcal{G},E_{\_}\mathcal{G}), where P_𝒢P_{\_}\mathcal{G} is the set of positions (v,ψ,c)(v,\psi,c) of 𝒢\mathcal{G} and E_𝒢E_{\_}\mathcal{G} is the successor position relation. T(𝒢)T(\mathcal{G}) is formed by beginning from the initial position and adding transitions to all possible successor positions. This procedure is then repeated from the successor positions until an ending position is reached. In the game tree, the initial position is of course the root and ending positions are leafs. Complete branches correspond to possible plays of the game. Due to Proposition 3.4, the game tree of any bounded evaluation game is well-founded, i.e., it does not contain infinite branches. However, if the clock value bound Γ\Gamma or the model \mathcal{M} is infinite, then the out-degree of some of the nodes of the game tree can be infinite.

3.2 Game-Theoretic Semantics

Definition 3.5.

Let 𝒢=(,w_0,φ_0,Γ)\mathcal{G}=(\mathcal{M},w_{\_}0,\varphi_{\_}0,\Gamma) be an evaluation game. A strategy σ\sigma for Eloise in 𝒢\mathcal{G} is a partial mapping on the set of those positions (w,φ,c)(w,\varphi,c) of the game where Eloise needs to make a move such that: σ(w,ψθ,c){ψ,θ}\sigma(w,\psi\vee\theta,c)\in\{\psi,\theta\}, σ(w,ψ,c){vWwRv}\sigma(w,\Diamond\psi,c)\in\{v\in W\mid wRv\}, σ(w,μXψ,c){γγ<Γ}\sigma(w,\mu X\psi,c)\in\{\gamma\mid\gamma<\Gamma\}, and σ(w,X,c){γγ<c(Rf(X))}\sigma(w,X,c)\in\{\gamma\mid\gamma<c(\operatorname{Rf}(X))\} where Rf(X)\operatorname{Rf}(X) is of the form μXψ\mu X\psi. We say that Eloise plays according to σ\sigma if she makes all her choices according to σ\sigma and that σ\sigma is a winning strategy if Eloise always wins when playing according to σ\sigma.

Definition 3.6.

Let =(W,R,V)\mathcal{M}=(W,R,V) be a model, wWw\in W, φ\varphi a sentence and Γ>0\Gamma>0 an ordinal. We define truth of φ\varphi in \mathcal{M} and ww according to Γ\Gamma-bounded game theoretic semantics, ,wΓφ\mathcal{M},w\Vdash^{\Gamma}\!\varphi, as follows:

,wΓφ iff   Eloise has a winning strategy in (,w,φ,Γ).\mathcal{M},w\Vdash^{\Gamma}\!\varphi\text{\; iff \; Eloise has a winning strategy in }(\mathcal{M},w,\varphi,\Gamma).
Example 3.7.

Recall the game 𝒢\mathcal{G}^{*} from Example 3.3. We define a strategy for Eloise as follows. After Abelard has made a transition to some state w_jw_{\_}j, Eloise chooses jj for the clock value of Rf(Y)\operatorname{Rf}(Y) and jumps in the model until reaching again w_0w_{\_}0. She then chooses the right disjunct at w_0w_{\_}0, whence she either wins (since w_0V(p)w_{\_}0\in V(p)) or Abelard needs to lower the clock value of Rf(X)\operatorname{Rf}(X) and the clock value of Rf(Y)\operatorname{Rf}(Y) gets reset back to ω\omega. Clearly this is a winning strategy for Eloise and thus ,w_0ωφ\mathcal{M}^{*},w_{\_}0\Vdash^{\omega}\!\varphi^{*}.

From the structure of the evaluation games for φ\varphi^{*} we find an interpretation for the meaning of φ\varphi^{*}: “we can infinitely repeat the process where first (1) an arbitrary transition is made, and then (2) we can reach a state where pp is true and the process can be continued from (1)”. Hence the clock value chosen for Rf(Y)\operatorname{Rf}(Y) is intuitively a “commitment” on how many rounds at most it will take to reach a state where pp holds. The clock value for Rf(X)\operatorname{Rf}(X), on the other hand, is a “challenge” on how many times pp must be reached. Indeed, in models where pp can be reached only finitely many—say nn—times from the initial state, Abelard can win by choosing n+1n+1 as the initial clock value for Rf(X)\operatorname{Rf}(X).

4 Bounded Compositional Semantics

In this section we define a compositinal semantics based on ordinal approximants of fixed point operators. Let =(W,R,V)\mathcal{M}=(W,R,V) be a Kripke model, F:𝒫(W)𝒫(W)F:\mathcal{P}(W)\rightarrow\mathcal{P}(W) an operator and γ\gamma an ordinal. We define the sets F_μγF_{\_}\mu^{\gamma} and F_νγF_{\_}\nu^{\gamma} recursively as follows:

F_μ0:=\displaystyle F_{\_}\mu^{0}:=\emptyset and F_ν0:=W.\displaystyle F_{\_}\nu^{0}:=W.
F_μγ:=F(F_μγ1)\displaystyle F_{\_}\mu^{\gamma}:=F\bigl{(}F_{\_}\mu^{\gamma-1}\bigr{)} and F_νγ:=F(F_νγ1), if γ is a successor ordinal.\displaystyle F_{\_}\nu^{\gamma}:=F\bigl{(}F_{\_}\nu^{\gamma-1}\bigr{)},\;\text{ if $\gamma$ is a successor ordinal}.
F_μγ:=_δ<γF_μδ\displaystyle F_{\_}\mu^{\gamma}:=\bigcup_{\_}{\delta<\gamma}F_{\_}\mu^{\delta} and F_νγ:=_δ<γF_νδ, if γ is a limit ordinal.\displaystyle F_{\_}\nu^{\gamma}:=\bigcap_{\_}{\delta<\gamma}F_{\_}\nu^{\delta},\;\quad\text{ if $\gamma$ is a limit ordinal}.
Definition 4.1.

Consider a model \mathcal{M} with a state ww and a related assignment ss. We obtain Γ\Gamma-bounded compositional semantics for the modal μ\mu-calculus by defining truth of pp, ¬p\neg p, \vee, \wedge, \Diamond, \Box and XX recursively as in the standard compositional semantics and treating the μ\mu and ν\nu-operators as follows:

  • ,w_ΓsμXψ\mathcal{M},w\vDash^{\Gamma}_{\_}s\mu X\psi  iff  w(ψ^_X,s,Γ)_μΓw\in(\widehat{\vphantom{\wedge}\smash{\psi}}_{\_}{X,s,\Gamma})_{\_}\mu^{\Gamma},

  • ,w_ΓsνXψ\mathcal{M},w\vDash^{\Gamma}_{\_}s\nu X\psi  iff  w(ψ^_X,s,Γ)_νΓw\in(\widehat{\vphantom{\wedge}\smash{\psi}}_{\_}{X,s,\Gamma})_{\_}\nu^{\Gamma},

where the operator φ^_X,s,Γ:𝒫(W)𝒫(W)\widehat{\varphi}_{\_}{X,s,\Gamma}:\mathcal{P}(W)\rightarrow\mathcal{P}(W) is defined such that

φ^_X,s,Γ(A)={wW,w_Γs[A/X]φ}.\displaystyle\widehat{\varphi}_{\_}{X,s,\Gamma}(A)=\{w\in W\mid\mathcal{M},w\vDash^{\Gamma}_{\_}{s[A/X]}\varphi\}.

The semantics of the μ\mu and ν\nu-operators can be equivalently given as follows:

  • ,w_ΓsμXψ\mathcal{M},w\vDash^{\Gamma}_{\_}s\mu X\psi  iff  there exists some γ<Γ\gamma<\Gamma s.t. w(ψ^_X,s,Γ)_μγ+1w\in(\widehat{\vphantom{\wedge}\smash{\psi}}_{\_}{X,s,\Gamma})_{\_}\mu^{\gamma+1}.

  • ,w_ΓsνXψ\mathcal{M},w\vDash^{\Gamma}_{\_}s\nu X\psi  iff  w(ψ^_X,s,Γ)_νγ+1w\in(\widehat{\vphantom{\wedge}\smash{\psi}}_{\_}{X,s,\Gamma})_{\_}\nu^{\gamma+1} for every γ<Γ\gamma<\Gamma.

If Γ\Gamma is a limit ordinal, we can replace the superscripts γ+1\gamma+1 above by γ\gamma.

We say that a formula is in normal form if each label symbol in Λ\Lambda occurs in the formula at most once in the μ\mu-ν\nu-operators (but may occur several times on the atomic level). We let φ\varphi^{\prime} denote a normal form variant of φ\varphi obtained simply by renaming label symbols where appropriate. It is easy to show that φ\varphi is equivalent to φ\varphi^{\prime} with respect to both Γ\Gamma-bounded compositional semantics (Γ\vDash^{\Gamma}) and Γ\Gamma-bounded 𝖦𝖳𝖲\mathsf{GTS} (Γ\Vdash^{\Gamma}). Therefore, when proving the equivalence of these two semantics, it suffices that we consider sentences that are in normal form. Indeed, henceforth we assume that all formulae are in this normal form.

Theorem 4.2.

Let Γ\Gamma be an ordinal, \mathcal{M} a Kripke model, w_0Ww_{\_}0\in W and φ_0\varphi_{\_}0 a sentence of the modal μ\mu-calculus. Now we have

,w_0Γφ_0 iff ,w_0Γφ_0.\mathcal{M},w_{\_}0\vDash^{\Gamma}\!\varphi_{\_}0\;\text{ iff }\;\mathcal{M},w_{\_}0\Vdash^{\Gamma}\!\varphi_{\_}0.
Proof.

(Sketch.) We present here a proof sketch highlighting the main ideas. For a rigorous, fully detailed proof, please see the appendix of the full arXiv preprint version [15] of the current submission.

The key in both directions of the proof is the following condition ()(\star) which is a property satisfied/unsatisfied by positions (w,φ,c)(w,\varphi,c) in the evaluation game 𝒢=(,w_0,φ_0,Γ)\mathcal{G}=(\mathcal{M},w_{\_}0,\varphi_{\_}0,\Gamma):

  • (\star)

    There is an assignment ss such that ,w_sΓφ\mathcal{M},w\vDash_{\_}s^{\Gamma}\varphi, and for each XSf(φ_0)X\in\operatorname{Sf}(\varphi_{\_}0):

    1. 1.

      s(X)=(ψ^_X,s,Γ)_μγs(X)=(\widehat{\vphantom{\wedge}\smash{\psi}}_{\_}{X,s,\Gamma})_{\_}\mu^{\gamma}  if  Rf(X)=μXψ\operatorname{Rf}(X)=\mu X\psi and c(Rf(X))=γc(\operatorname{Rf}(X))=\gamma,

    2. 2.

      s(X)=(ψ^_X,s,Γ)_νγs(X)=(\widehat{\vphantom{\wedge}\smash{\psi}}_{\_}{X,s,\Gamma})_{\_}\nu^{\gamma}  if  Rf(X)=νXψ\operatorname{Rf}(X)=\nu X\psi and c(Rf(X))=γc(\operatorname{Rf}(X))=\gamma.

Note that this condition essentially relates the clock values γ\gamma of bounded 𝖦𝖳𝖲\mathsf{GTS} to γ\gamma-approximants in the bounded compositional semantics.

Proving the left to right implication, we first note that ()(\star) holds in the initial position of 𝒢\mathcal{G} by the assumption ,w_0Γφ_0\mathcal{M},w_{\_}0\vDash^{\Gamma}\!\varphi_{\_}0. Then we show that whenever ()(\star) holds for the current position, Eloise either wins the game in the current position or she can maintain ()(\star) to the next position. By maintaining ()(\star), we obtain a winning strategy since 𝒢\mathcal{G} ends in a finite number of rounds.

For the other direction of the equivalence, we suppose that Eloise has a winning strategy σ\sigma in 𝒢\mathcal{G}. Since the game tree of 𝒢\mathcal{G} is well-founded, we can use well-founded (backwards) induction on the positions in the tree to prove that: if a position (w,φ,c)(w,\varphi,c) can be reached with σ\sigma, then (\star) holds for (w,φ,c)(w,\varphi,c). Hence, in particular, ()(\star) holds in the initial position of 𝒢\mathcal{G} and thus ,w_0Γφ_0\mathcal{M},w_{\_}0\vDash^{\Gamma}\!\varphi_{\_}0. ∎

Let \mathcal{M} be a model. It is well-known that over \mathcal{M}, each operator related to a formula of the μ\mu-calculus reaches a fixed point in at most (𝖼𝖺𝗋𝖽())+(\mathsf{card}(\mathcal{M}))^{+} iterations, where (𝖼𝖺𝗋𝖽())+(\mathsf{card}(\mathcal{M}))^{+} is the successor cardinal of 𝖼𝖺𝗋𝖽()\mathsf{card}(\mathcal{M}). Thus it is easy to see that the standard compositional semantics and (𝖼𝖺𝗋𝖽())+(\mathsf{card}(\mathcal{M}))^{+}-bounded compositional semantics are equivalent in \mathcal{M}. Hence we obtain the following corollary:

Corollary 4.3.

Γ\Gamma-bounded 𝖦𝖳𝖲\mathsf{GTS} is equivalent with the standard compositional semantics of the modal μ\mu-calculus when Γ(𝖼𝖺𝗋𝖽())+\Gamma\geq(\mathsf{card}(\mathcal{M}))^{+}.

Also note that, in the special case of finite models, it suffices to use finite clock values that are at most the cardinality of the model.

5 Finitely Bounded Semantics

As stated in Corollary 4.3, the bounded semantics becomes equivalent with the standard (unbounded) semantics if we set a sufficiently large clock value bound Γ\Gamma. However, using smaller values of Γ\Gamma, we obtain different semantic systems typically nonequivalent to the standard semantics. We can either set some fixed bound for Γ\Gamma or use a value that is determined by some parameters—such as the size of the given model and the given formula. In this section we consider the former case; systems relating to the latter case are examined in Section 6.

A particularly interesting case with a fixed value of Γ\Gamma is the so-called finitely bounded semantics, where we set Γ=ω\Gamma=\omega for all evaluation games. In the corresponding 𝖦𝖳𝖲\mathsf{GTS}, the players can only announce finite clock values.111Note that the correspondence to for-loops is particularly natural with finitely bounded semantics: iterations can be done up to any finite bound that has to be declared in advance. Finitely bounded semantics will be denoted by 𝖥𝖡𝖲\mathsf{FBS} which refers to both game-theoretic and compositional semantics with Γ=ω\Gamma=\omega. In finite models 𝖥𝖡𝖲\mathsf{FBS} is equivalent to the standard semantics, but this equivalence breaks over infinite models; see Example 5.1 below.

In the example and proofs that follow, we will consider the sentence

φ_AFp:=μX(pX)\varphi_{\_}{\mathrm{AF}p}:=\mu X(p\vee\Box X)

which intuitively means that on every path, pp can be reached eventually. Note that φ_AFp\varphi_{\_}{\mathrm{AF}p} corresponds to the sentence AFp\mathrm{AF}p of Computation tree logic 𝖢𝖳𝖫\mathsf{CTL}.

Example 5.1.

Recall the model \mathcal{M}^{*} from Example 3.3. Let \mathcal{M}^{\dagger} be the model that is otherwise identical to \mathcal{M}^{*}, but V(p)={w_1}V(p)=\{w_{\_}1\}. Since the state w_1w_{\_}1 is eventually reached on every path starting from w_0w_{\_}0, it is easy to see that ,w_0φ_AFp\mathcal{M}^{\dagger},w_{\_}0\models\varphi_{\_}{\mathrm{AF}p}. However, ,w_0⊧̸ωφ_AFp\mathcal{M}^{\dagger},w_{\_}0\not\models^{\omega}\varphi_{\_}{\mathrm{AF}p} since from w_0w_{\_}0 there is no finite upper bound on how many transitions are needed to reach w_1w_{\_}1. Indeed, Abelard has a winning strategy in (,w_0,φ_AFp,ω)(\mathcal{M}^{\dagger},w_{\_}0,\varphi_{\_}{\mathrm{AF}p},\omega) since he can win by choosing a transition to w_j+1w_{\_}{j+1} for any clock value j<ωj<\omega for Rf(X)\operatorname{Rf}(X)—chosen by Eloise.

It is worth noting that ,w_0ω+1φ_AFp\mathcal{M}^{\dagger},w_{\_}0\models^{\omega+1}\varphi_{\_}{\mathrm{AF}p} since if Eloise can choose ω\omega as the initial clock value for Rf(X)\operatorname{Rf}(X) and then lower it to j1j-1 after Abelard has made a transition to a state w_jw_{\_}j. Moreover, we also have ,w_0ωφ_AFp\mathcal{M}^{\dagger},w_{\_}0\models^{\omega}\Box\varphi_{\_}{\mathrm{AF}p} since Eloise will know how many transitions it takes to reach w_1w_{\_}1 as Abelard has to make the first transition before Eloise must announce a clock value.

In the proofs that follow, we will use negations and implications of formulae of the modal μ\mu-calculus. Such formulae are in general not included in our official syntax (in the current paper), but it is straightforward to show that they can be translated to equivalent formulae in negation normal form.

It is well known that, with standard semantics, the modal μ\mu-calculus has the finite model property, i.e., every satisfiable sentence is satisfied in some finite model (see, e.g., [6]). However, with finitely bounded semantics, this property is lost.

Proposition 5.2.

The modal μ\mu-calculus with 𝖥𝖡𝖲\mathsf{FBS} does not have the finite model property.

Proof.

It is easy to see that φ_AFpφ_AFp\Box\varphi_{\_}{\mathrm{AF}p}\rightarrow\varphi_{\_}{\mathrm{AF}p} is valid with the standard semantics (this follows from the “fixpoint property” AFppAXAFp\mathrm{AF}p\leftrightarrow p\vee\mathrm{AXAF}p of 𝖢𝖳𝖫\mathsf{CTL}). Therefore φ_AFp¬φ_AFp\Box\varphi_{\_}{\mathrm{AF}p}\wedge\neg\varphi_{\_}{\mathrm{AF}p} is not satisfiable with the standard semantics. As the standard semantics is equivalent to 𝖥𝖡𝖲\mathsf{FBS} in finite models, φ_AFp¬φ_AFp\Box\varphi_{\_}{\mathrm{AF}p}\wedge\neg\varphi_{\_}{\mathrm{AF}p} cannot be satisfied under 𝖥𝖡𝖲\mathsf{FBS} in any finite model. However, φ_AFp¬φ_AFp\Box\varphi_{\_}{\mathrm{AF}p}\wedge\neg\varphi_{\_}{\mathrm{AF}p} is satisfiable with 𝖥𝖡𝖲\mathsf{FBS} in an infinite model—as demonstrated by the model \mathcal{M}^{\dagger} in Example 5.1. ∎

Moreover, 𝖥𝖡𝖲\mathsf{FBS} has the following interesting connection to the standard semantics.

Proposition 5.3.

The set of validities of the modal μ\mu-calculus with 𝖥𝖡𝖲\mathsf{FBS} is strictly included in the set of validities with the standard semantics.

Proof.

To prove the inclusion, let φ\varphi be a sentence valid under 𝖥𝖡𝖲\mathsf{FBS}. Then ¬φ\neg\varphi cannot be satisfied under 𝖥𝖡𝖲\mathsf{FBS} in any finite model. Since the standard semantics and 𝖥𝖡𝖲\mathsf{FBS} are equivalent in finite models, it follows that ¬φ\neg\varphi is not satisfied by the standard semantics in any finite model. Due to the finite model property of the standard semantics, ¬φ\neg\varphi is not satisfied by any model and thus φ\varphi is valid. The inclusion is strict as φ_AFpφ_AFp\Box\varphi_{\_}{\mathrm{AF}p}\rightarrow\varphi_{\_}{\mathrm{AF}p} is valid under standard semantics but not under 𝖥𝖡𝖲\mathsf{FBS} (cf. proof of Proposition 5.2). ∎

We showed in [10], [13] that the claims of Propositions 5.2, 5.3 hold also for the 𝖥𝖡𝖲\mathsf{FBS} defined for 𝖢𝖳𝖫\mathsf{CTL} and 𝖠𝖳𝖫\mathsf{ATL}. There we also developed a tableau method for showing that the validity problem of 𝖢𝖳𝖫\mathsf{CTL} and 𝖠𝖳𝖫\mathsf{ATL} with 𝖥𝖡𝖲\mathsf{FBS} is decidable and has the same complexity (ExpTime) as with the standard semantics. It remains to be investigated whether the analogous ExpTime result holds also for the μ\mu-calculus with 𝖥𝖡𝖲\mathsf{FBS}.

6 Variants with PTime Model Checking

The bounded 𝖦𝖳𝖲\mathsf{GTS} leads naturally to semantic variants of the μ\mu-calculus that can quite directly be shown to have PTime complete model checking. The main point is to make use of the intimate relationship between alternating Turing machines and semantic games. The novel systems of semantics we consider resemble the Γ\Gamma-bounded semantics but utilize a simplified way to control how many times μ\mu and ν\nu-formulae can be repeated in semantic games.

To present the alternative semantic systems in detail, let ff be a map that takes as input a model \mathcal{M}, a point ww in the domain WW of \mathcal{M} and a sentence φ\varphi, outputting an ordinal. We assume that if gg is an isomorphism from \mathcal{M} to \mathcal{M}^{\prime}, then f(,w,φ)=f(,g(w),φ)f(\mathcal{M},w,\varphi)=f(\mathcal{M}^{\prime},g(w),\varphi).222We note that ff is too large to be a set, but this is unproblematic to our study. The function ff gives rise to the simple ff-bounded 𝖦𝖳𝖲\mathsf{GTS} defined as follows.

Definition 6.1.

Let \mathcal{M} be a Kripke-model, wWw\in W and φ\varphi a sentence of the μ\mu-calculus. The simple ff-bounded evaluation game 𝒢_f=(,w,φ)\mathcal{G}_{\_}f=(\mathcal{M},w,\varphi) is played the same way as the Γ\Gamma-bounded evaluation game 𝒢_Γ=(,w,φ,Γ)\mathcal{G}_{\_}{\Gamma}=(\mathcal{M},w,\varphi,\Gamma), but with the following differences on the way the number of remaining rounds is determined:

  • Eloise is controlling an ordinal γ_\gamma_{\_}{\exists} and Abelard an ordinal γ_\gamma_{\_}{\forall}. In the beginning of the game, these ordinals are set to be equal to f(,w,φ)f(\mathcal{M},w,\varphi).

  • Every time a transition is made from some label symbol XX to the reference formula μXψ\mu X\psi, Eloise must lower the current value of γ_\gamma_{\_}{\exists}. Similarly, when a transition is made from YY to the reference formula νYψ\nu Y\psi^{\prime}, then Abelard must lower γ_\gamma_{\_}{\forall}. (Note that the values of γ_\gamma_{\_}{\exists} and γ_\gamma_{\_}{\forall} are never increased.)

If γ_=0\gamma_{\_}{\exists}=0 and we enter a position where Eloise should lower γ_\gamma_{\_}{\exists}, then Eloise loses the game, and similarly, if γ_=0\gamma_{\_}{\forall}=0 and we enter a position where Abelard should lower γ_\gamma_{\_}{\forall}, Abelard loses. In positions (,w,p)(\mathcal{M},w^{\prime},p) and (,w,¬p)(\mathcal{M},w^{\prime},\neg p) where pp is a proposition symbol, winning and losing is defined in the same way as in Γ\Gamma-bounded games. We define truth of φ\varphi in \mathcal{M} at ww according to the simple ff-bounded semantics such that ,wfφ\mathcal{M},w\Vdash^{f}\varphi iff Eloise has a winning strategy in the game 𝒢_f=(,w,φ)\mathcal{G}_{\_}f=(\mathcal{M},w,\varphi) of the simple ff-bounded semantics.

Henceforth we mostly talk about ff-bounded semantics instead of simple ff-bounded semantics to keep the presentation simpler.

The naturalness and the general properties of ff-bounded semantics of course depend heavily on the choice of ff. One of the simpler choices is to define f(,w,φ)=𝖼𝖺𝗋𝖽()|φ|f\bigl{(}\mathcal{M},w,\varphi\bigr{)}=\mathsf{card}(\mathcal{M})\cdot|\varphi| where |φ||\varphi| is the length of φ\varphi, i.e., the number of symbol occurrences.333Each proposition symbol pp and label XX counts as one symbol despite the possible subindices: for example, p_1p_{\_}{1} is one symbol, not two symbols. This semantics has the natural property that in finite models, if the players always lower their ordinal by the minimum amount 11, then, if the game ends due to γ_\gamma_{\_}{\exists} or γ_\gamma_{\_}{\forall} being zero, some state-subformula pair must have been repeated. Furthermore, we can now prove the following result.

Proposition 6.2.

The μ\mu-calculus model checking problem is PTime-complete under simple ff-bounded semantics with f(,w,φ)=𝖼𝖺𝗋𝖽()|φ|f(\mathcal{M},w,\varphi)=\mathsf{card}(\mathcal{M})\cdot|\varphi|.

Proof.

To establish the upper bound, we define a Turing machine running in alternating logarithmic space that directly simulates the model checking game (i.e., the semantic evaluation game) with any input ,w,φ\mathcal{M},w,\varphi. The game positions where Eloise makes a move correspond to existential machine states while Abelard’s positions correspond to universal states. We need some kind of a pointer indicating the current world of the Kripke structure and another pointer for the current subformula (i.e., node in the syntax tree). Furthermore, we keep binary representations of γ_\gamma_{\_}{\exists} and γ_\gamma_{\_}{\forall} in the memory. These binary strings are necessarily logarithmic in the input due to the choice of ff. Thus it is easy to see how the required alternating Turing machine is constructed.

We obtain the lower bound via the alternating reachability game. Recall Proposition 2.2 and the formula χ\chi there. We will show that, as in standard semantics, χ\chi defines the winning set of the alternating reachability game also under our ff-bounded semantics, i.e., χ\chi is true in \mathcal{M} at ww under our semantics if and only if the player BB has a winning strategy in the corresponding alternating reachability game. Indeed, it is easy to show that when BB has a winning strategy in an alternating reachability game, she can ensure a win so that no state of the game is visited more than once. Thus our choice of ff for the ff-bounded semantics guarantees that Eloise has a winning strategy in the corresponding the semantic game. And if Eloise has a winning strategy in a semantic game 𝒢_f(,w,χ)\mathcal{G}_{\_}f(\mathcal{M},w,\chi), then clearly BB wins the corresponding alternating reachability game. Thus, already with the fixed input formula χ\chi, model checking is PTime-hard. ∎

It is worth noting here that in fact all the systems with f(,w,φ)=𝖼𝖺𝗋𝖽()k|φ|f(\mathcal{M},w,\varphi)=\mathsf{card}(\mathcal{M})^{k}\cdot|\varphi| (for different positive integers kk) have PTime-complete model checking: the proof of Proposition 6.2 goes through with trivial modifications.

The ff-bounded semantics with f(,w,φ)=𝖼𝖺𝗋𝖽()|φ|f(\mathcal{M},w,\varphi)=\mathsf{card}(\mathcal{M})\cdot|\varphi| is obviously very different in spirit from the standard semantics, and the ff-bounded semantics itself changes as we modify ff. Also, several further variants of the semantics immediately suggest themselves, for example the possibility of setting different limits for Eloise and Abelard, including the possibility of no limit at all. Also, letting different occurrences of μ\mu and ν\nu-formulae be associated with different clocks similarly to the standard semantics, but without resetting the clocks, is one of many possible interesting scenarios.

Concerning the case where we do not set clocks at all but allow the players to play indefinitely long, winning occurs only when an atomic position with a literal (e.g., pp or ¬p\neg p) is reached. Thus the games are not determined, i.e., it is possible that neither player has a winning strategy (consider, e.g., the formula μXX\mu XX). This free semantics for modal logic results in a system that is essentially directly a fragment of the general, Turing-complete logic \mathcal{L} of [20]. On the other hand, the different “clocking scenarios” described above (and further variants thereof) can be naturally imposed on \mathcal{L}, and it would indeed make sense to study related phenomena in that framework.

7 Reducing Model Checking to Alternating Reachability

In this section we study model checking of the μ\mu-calculus for fixed sentences.444The complexities of the related problems are commonly referred to as data complexity as opposed to the combined complexity of the standard problem where the sentence is not fixed. We investigate model checking separately with respect to the standard semantics and with respect to Γ\Gamma-bounded semantics. Given a sentence φ\varphi of the μ\mu-calculus, we use the following notation for the corresponding model checking and bounded model checking problems:

  • MC(φ):={(,w) is finite and ,wφ}\mathrm{MC}(\varphi):=\{(\mathcal{M},w)\mid\mathcal{M}\text{ is finite and }\mathcal{M},w\vDash\varphi\}, and

  • BMC(φ):={(,w,Γ) is finite and ,wΓφ}\mathrm{BMC}(\varphi):=\{(\mathcal{M},w,\Gamma)\mid\mathcal{M}\text{ is finite and }\mathcal{M},w\vDash^{\Gamma}\varphi\}.

Recalling the relevant notations from Section 2.3, including the formula χ\chi, we note, in particular, that the alternating reachability problem AR\mathrm{AR} is equal to MC(χ)\mathrm{MC}(\chi). Our aim is to show that AR\mathrm{AR} is a complete problem for model checking and bounded model checking:

Proposition 7.1.

For each formula φ\varphi of the modal μ\mu-calculus there are LogSpace-computable model transformations J_φJ_{\_}\varphi and I_φI_{\_}\varphi such that for any finite Kripke model \mathcal{M}, state ww and ordinal Γ\Gamma we have

  • (1)

    (,w,Γ)BMC(φ) iff J_φ(,w,Γ)AR(\mathcal{M},w,\Gamma)\in\mathrm{BMC}(\varphi)\;\text{ iff }\;J_{\_}\varphi(\mathcal{M},w,\Gamma)\in\mathrm{AR}, and

  • (2)

    (,w)MC(φ) iff I_φ(,w)AR(\mathcal{M},w)\in\mathrm{MC}(\varphi)\;\text{ iff }\;I_{\_}\varphi(\mathcal{M},w)\in\mathrm{AR}.

Furthermore, neither J_φ(,w,Γ)J_{\_}\varphi(\mathcal{M},w,\Gamma) nor I_φ(,w)I_{\_}\varphi(\mathcal{M},w) contain infinite paths.

Proof.

Recall that the game tree of an evaluation game 𝒢=(,w_0,φ,Γ)\mathcal{G}=(\mathcal{M},w_{\_}0,\varphi,\Gamma) is the tree T(𝒢)=(P_𝒢,E_𝒢)T(\mathcal{G})=(P_{\_}\mathcal{G},E_{\_}\mathcal{G}), where P_𝒢P_{\_}\mathcal{G} is the set of positions (v,ψ,c)(v,\psi,c) of 𝒢\mathcal{G}, and E_𝒢E_{\_}\mathcal{G} is the successor position relation. We consider the following Kripke model that is obtained from T(𝒢)T(\mathcal{G}) by adding proposition symbols encoding winning end positions of Eloise and positions in which it is Eloise’s turn to move: 𝒯_𝒢=(P_𝒢,E_𝒢,V_𝒢)\mathcal{T}_{\_}\mathcal{G}=(P_{\_}\mathcal{G},E_{\_}\mathcal{G},V_{\_}\mathcal{G}), where V_𝒢:{p_B,q_B}𝒫(P_𝒢)V_{\_}\mathcal{G}:\{p_{\_}B,q_{\_}B\}\to\mathcal{P}(P_{\_}\mathcal{G}) is the valuation

  • V_𝒢(p_B)={(v,ψ,c)P_𝒢ψ is a literal and ,vψ}V_{\_}\mathcal{G}(p_{\_}B)=\{(v,\psi,c)\in P_{\_}\mathcal{G}\mid\psi\text{ is a literal and }\mathcal{M},v\vDash\psi\},

  • V_𝒢(q_B)={(v,ψ,c)P_𝒢ψ is of the form θη,θ,μXθ, or X withV_{\_}\mathcal{G}(q_{\_}B)=\{(v,\psi,c)\in P_{\_}\mathcal{G}\mid\psi\text{ is of the form }\theta\lor\eta,\,\Diamond\theta,\,\mu X\theta,\text{ or $X$ with} Rf(ψ)=μXθ,\operatorname{Rf}(\psi)=\mu X\theta,
    a           or ψ is a literal and ,vψ}\;\text{ or $\psi$ is a literal and }\mathcal{M},v\nvDash\psi\}.

Let r_𝒢=(w_0,φ,c_0)r_{\_}\mathcal{G}=(w_{\_}0,\varphi,c_{\_}0) be the initial position of 𝒢\mathcal{G}. Observe now that, letting Eloise play in the role of BB and Abelard in the role of AA, the alternating reachability game on the Kripke-model 𝒯_𝒢\mathcal{T}_{\_}\mathcal{G} with starting state r_𝒢r_{\_}\mathcal{G} is essentially identical with the game 𝒢\mathcal{G}: the positions and the rules for moves are the same, and the winning conditions are equivalent.555For example, in a position p=(v,ψ,c)p=(v,\psi,c) with ψ\psi a literal such that ,vψ\mathcal{M},v\nvDash\psi, BB loses the alternating reachability game since pp does not have any E_𝒢E_{\_}\mathcal{G}-successors. Thus, defining J_φ(,w_0,Γ):=(𝒯_𝒢,r_𝒢)J_{\_}\varphi(\mathcal{M},w_{\_}0,\Gamma):=(\mathcal{T}_{\_}\mathcal{G},r_{\_}\mathcal{G}), and using Theorem 4.2, we obtain the first equivalence (1). Clearly J_φ(,w_0,Γ)J_{\_}\varphi(\mathcal{M},w_{\_}0,\Gamma) can be computed from the input (,w_0,Γ)(\mathcal{M},w_{\_}0,\Gamma) in LogSpace.

The transformation I_φI_{\_}\varphi can now be defined as follows: we let I_φ(,w_0):=J_φ(,w_0,(𝖼𝖺𝗋𝖽())+)I_{\_}\varphi(\mathcal{M},w_{\_}0):=J_{\_}\varphi(\mathcal{M},w_{\_}0,(\mathsf{card}(\mathcal{M}))^{+}). Denote Γ:=(𝖼𝖺𝗋𝖽())+\Gamma^{*}:=(\mathsf{card}(\mathcal{M}))^{+} below. By Corollary 4.3 and (1) we have

(,w_0)MC(φ) iff (,w_0,Γ)BMC(φ) iff J_φ(,w_0,Γ)AR,(\mathcal{M},w_{\_}0)\in\mathrm{MC}(\varphi)\;\;\text{ iff }\;\;(\mathcal{M},w_{\_}0,\Gamma^{*})\in\mathrm{BMC}(\varphi)\;\;\text{ iff }\;\;J_{\_}\varphi(\mathcal{M},w_{\_}0,\Gamma^{*})\in\mathrm{AR},

whence (2) holds. Clearly I_φI_{\_}\varphi is LogSpace-computable.

Since game trees of bounded evaluation games are well-founded, it is clear that J_φ(,w,Γ)J_{\_}\varphi(\mathcal{M},w,\Gamma) and I_φ(,w)I_{\_}\varphi(\mathcal{M},w) do not contain infinite paths. ∎

Thus, checking the truth of an arbitrary sentence of the modal μ\mu-calculus can be reduced via I_φI_{\_}\varphi to checking the truth of the simple alternation free sentence χ\chi. A related idea was used in [4] for showing that finite parity games can be reduced to safety games by adding explicit memory MM to the states. The elements of MM are essentially the same as our clock values in the finite case, except that they are given only for one of the players. This is why the resulting game in [4] is a safety game, and this can lead to infinite plays—unlike our reachability games in I_φ(,w)I_{\_}\varphi(\mathcal{M},w).

Proposition 7.1 resembles also the “Measured Collapse Theorem” in [7], which states that checking the truth of any sentence φ\varphi of the μ\mu-calculus can be reduced to checking the truth of an alternation free sentence φ\varphi^{\prime}. However, unlike in Proposition 7.1, the result of [7] is not a reduction to MC(ψ)\mathrm{MC}(\psi) for a fixed sentence ψ\psi, as φ\varphi^{\prime} depends on φ\varphi. Moreover, the sentence φ\varphi^{\prime} is actually a translation of φ\varphi to a different logic, called μ\mu^{\sharp}-calculus, whose semantics is based on an additional domain of tuples that can be related to our clock values.

It should be noted that the existence of LogSpace-computable reductions from the model checking problems BMC\mathrm{BMC} and MC\mathrm{MC} to AR\mathrm{AR} follows directly from the well-known fact that alternating reachability is a PTime-complete problem. However, the main point here is that our reductions J_φJ_{\_}\varphi and I_φI_{\_}\varphi arise in a natural and straightforward way from the bounded evaluation game. Moreover, except for LogSpace-computability, the proof above does not rely on any point on the assumption that the Kripke models are finite. Thus we see that the reductions J_φJ_{\_}\varphi and I_φI_{\_}\varphi work on infinite Kripke models as well as on finite ones: for any Kripke model \mathcal{M}, state ww and ordinal Γ\Gamma we have

  • ,wΓφ iff J_φ(,w,Γ)χ\mathcal{M},w\models^{\Gamma}\varphi\;\text{ iff }\;J_{\_}\varphi(\mathcal{M},w,\Gamma)\models\chi, and

  • ,wφ iff I_φ(,w)χ\mathcal{M},w\models\varphi\;\text{ iff }\;I_{\_}\varphi(\mathcal{M},w)\models\chi.

8 Conclusion and Future Directions

Our study has focused on conceptual developments relating to the modal μ\mu-calculus, the main result being the new 𝖦𝖳𝖲\mathsf{GTS} and its variants. There are many relevant future research directions; we mention here some of them. Firstly, it would be interesting to understand new clocking patterns in general, in addition to the finitely bounded, the ff-bounded and the free semantics discussed above. These investigations could naturally be pushed to involve more general logics beyond modal logic, possibly containing, e.g., operators that modify the underlying models, and thereby directly linking to the research on the general logical framework of [20] and the research program of [20] and [21].

More concretely, pinpointing the complexity of the satisfiability problem of the modal μ\mu-calculus under finitely bounded semantics remains to be done. Also, it would be interesting to investigate whether the scheme of using tuples of ordinals for defining our bounded 𝖦𝖳𝖲\mathsf{GTS} can be modified to work with single ordinals in a natural way. Finally, using ordinals to reduce arbitrary game arenas to well-founded trees is in general an interesting research direction.666The problem of finding equivalent finite duration games for infinite duration games (on finite arenas) has been studied, e.g., in [3] with an essentially different kind of method. Relating to this and the work in Section 7, it would be particularly interesting to better understand reductions of general games to (well-founded) alternating reachability games.

Acknowledgements

Antti Kuusisto was funded by the Academy of Finland project Theory of Computational Logics, grant numbers 324435 and 328987. The work of Raine Rönnholm was partially supported by Jenny and Antti Wihuri Foundation. We thank the anonymous referees for comments and additional references.

References

  • [1]
  • [2] Rajeev Alur & Thomas A. Henzinger (1998): Finitary Fairness. ACM Trans. Program. Lang. Syst. 20(6), pp. 1171–1194, 10.1145/295656.295659.
  • [3] Benjamin Aminof & Sasha Rubin (2017): First-cycle games. Information and Computation 254, pp. 195–216, 10.1016/j.ic.2016.10.008.
  • [4] Julien Bernet, David Janin & Igor Walukiewicz (2002): Permissive strategies: from parity games to safety games. RAIRO Theor. Informatics Appl. 36(3), pp. 261–275, 10.1051/ita:2002013.
  • [5] Armin Biere, Alessandro Cimatti, Edmund M. Clarke & Yunshan Zhu (1999): Symbolic Model Checking without BDDs. In Rance Cleaveland, editor: TACAS ’99, Proceedings, LNCS 1579, Springer, pp. 193–207, 10.1007/3-540-49059-0_14.
  • [6] Julian Bradfield & Colin Stirling (2007): Modal mu-calculi, pp. 721–756. Elsevier, 10.1016/s1570-2464(07)80015-2.
  • [7] Doron Bustan, Orna Kupferman & Moshe Y. Vardi (2004): A Measured Collapse of the Modal μ\mathrm{\mu}-Calculus Alternation Hierarchy. In Volker Diekert & Michel Habib, editors: STACS 2004, 21st Annual Symposium on Theoretical Aspects of Computer Science, Proceedings, LNCS 2996, Springer, pp. 522–533, 10.1007/978-3-540-24749-4_46.
  • [8] Valentin Goranko, Antti Kuusisto & Raine Rönnholm: Game-Theoretic Semantics for ATL+ with Applications to Model Checking. To appear in Information and Computation.
  • [9] Valentin Goranko, Antti Kuusisto & Raine Rönnholm (2016): Game-Theoretic Semantics for Alternating-Time Temporal Logic. In: Proceedings of the 2016 International Conference on Autonomous Agents & Multiagent Systems, AAMAS, pp. 671–679.
  • [10] Valentin Goranko, Antti Kuusisto & Raine Rönnholm (2017): CTL with Finitely Bounded Semantics. In Sven Schewe, Thomas Schneider & Jef Wijsen, editors: 24th International Symposium on Temporal Representation and Reasoning, TIME, LIPIcs 90, Schloss Dagstuhl - Leibniz-Zentrum für Informatik, pp. 14:1–14:19, 10.4230/LIPIcs.TIME.2017.14.
  • [11] Valentin Goranko, Antti Kuusisto & Raine Rönnholm (2017): Game-Theoretic Semantics for ATL+ with Applications to Model Checking. In: Proceedings of the 16th Conference on Autonomous Agents and MultiAgent Systems, AAMAS, pp. 1277–1285.
  • [12] Valentin Goranko, Antti Kuusisto & Raine Rönnholm (2018): Game-Theoretic Semantics for Alternating-Time Temporal Logic. ACM Trans. Comput. Log. 19(3), pp. 17:1–17:38, 10.1145/3179998.
  • [13] Valentin Goranko, Antti Kuusisto & Raine Rönnholm (2019): Alternating-time temporal logic ATL with finitely bounded semantics. Theor. Comput. Sci. 797, pp. 129–155, 10.1016/j.tcs.2019.05.029.
  • [14] Lauri Hella, Antti Kuusisto & Raine Rönnholm (2017): Bounded game-theoretic semantics for modal mu-calculus. CoRR abs/1706.00753. Available at https://arxiv.org/pdf/1706.00753v1.pdf.
  • [15] Lauri Hella, Antti Kuusisto & Raine Rönnholm (2020): Bounded game-theoretic semantics for modal mu-calculus. CoRR abs/1706.00753. Available at https://arxiv.org/pdf/1706.00753v2.pdf.
  • [16] Lauri Hella & Miikka Vilander (2019): Formula size games for modal logic and μ\mu-calculus. J. Log. Comput. 29(8), pp. 1311–1344, 10.1093/logcom/exz025.
  • [17] Neil Immerman (1999): Descriptive complexity. Graduate texts in computer science, Springer, 10.1007/978-1-4612-0539-5.
  • [18] Dexter Kozen (1983): Results on the Propositional mu-Calculus. Theor. Comput. Sci. 27, pp. 333–354, 10.1016/0304-3975(82)90125-6.
  • [19] Orna Kupferman, Nir Piterman & Moshe Y. Vardi (2007): From Liveness to Promptness. In Werner Damm & Holger Hermanns, editors: Computer Aided Verification, 19th International Conference, CAV, Proceedings, LNCS 4590, Springer, pp. 406–419, 10.1007/978-3-540-73368-3_44.
  • [20] Antti Kuusisto (2014): Some Turing-Complete Extensions of First-Order Logic. In Adriano Peron & Carla Piazza, editors: GandALF 2014, EPTCS 161, pp. 4–17, 10.4204/EPTCS.161.4.
  • [21] Antti Kuusisto (2019): On Games and Computation. CoRR abs/1910.14603.
  • [22] Wojciech Penczek, Bozena Wozna & Andrzej Zbrzezny (2002): Bounded Model Checking for the Universal Fragment of CTL. Fundam. Inform. 51(1-2), pp. 135–156.
  • [23] Robert S. Streett & E. Allen Emerson (1989): An Automata Theoretic Decision Procedure for the Propositional Mu-Calculus. Inf. Comput. 81(3), pp. 249–264, 10.1016/0890-5401(89)90031-X.
  • [24] Wenhui Zhang (2015): Bounded semantics. Theoretical Computer Science 564, pp. 1–29, 10.1016/j.tcs.2014.10.026.