Abstract 1 Modal automata 2 Some results References

Modal Automata: Analysing Modal Fixpoint Logics, One Step at a Time

Yde Venema Institute for Logic, Language and Computation, Universiteit van Amsterdam, The Netherlands
Abstract

We present and investigate a general framework for studying modal fixpoint logics and some related versions of monadic second-order logic, by means of certain finite automata that operate on Kripke structures. Characteristic of these modal automata is that the co-domain of their transition function is a set of formulas of a so-called one-step logic. The motivation for taking this perspective is that if a logic is characterised by a class of modal automata, many of its properties are already determined at the level of the much simpler one-step logic.

Keywords and phrases:
modal logic, parity automata, fixpoint logic, one-step logic
Category:
Invited Talk
Copyright and License:
[Uncaptioned image] © Yde Venema; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Logic
Editors:
Jörg Endrullis and Sylvain Schmitz

1 Modal automata

There is a long tradition in theoretical computer science connecting the research fields of automata theory and logic. This link becomes particularly strong when automata are used to classify (possibly) infinite objects like streams, trees or graphs. Interestingly, this research area has provided not only fundamental theoretical results, such as Rabin’s decidability theorem, but also quite concrete applications in computer science, such as tools for the automatic verification of reactive systems.

Building on this tradition, and in particular on the work by Janin & Walukiewicz [8, 9] and D’Agostino & Hollenberg [3] on the modal μ-calculus, we present and investigate a general framework for studying modal fixpoint logics, and some versions of monadic second-order logic, by means of certain finite automata that operate on Kripke structures.

Definition 1.

Let 𝚀 be a set of proposition letters. A (Kripke) structure over 𝚀 is a triple 𝕊=(S,R,κ) where S is a set of objects called points or worlds, RS×S is a binary relation and κ is a 𝚀-marking or colouring on S, that is, a map κ:S(𝚀). Given a state s, the set {tS(s,t)R} of its successors is denoted as R[s]. A pointed structure is a pair (𝕊,s) where s is a point in 𝕊, and a query is a class of pointed structures.

Characteristic of the modal automata that we are about to introduce is that the co-domain of their transition function is a set of formulas in a simple formalism that we call a one-step logic. The concept of a one-step logic was developed by several authors, including Cîrstea, Pattinson and Schröder, in the setting of coalgebraic modal logic.

Definition 2.

A one-step model over a set A of monadic predicates is a pair (D,m) where m:D(A) is a A-marking on D.

A one-step logic is a pair (𝙻,1) where 𝙻 is a one-step language, that is, a map 𝙻 assigning to any set A a collection 𝙻(A) of objects called one-step formulas; and 1 is a truth relation between one-step formulas and one-step models. If we have (D,m)1ϕ we will say that ϕ is true of (D,m) or that (D,m) satisfies ϕ.

We will require every one-step formula ϕ to be monotone; that is: (D,m)1ϕ implies (D,m)1ϕ whenever m is an extension of m (that is, m(d)m(d) for every dD).

In addition to the monotonicity requirement, we impose some natural coherence conditions on one-step logics; for instance, we require that 𝙻(A)𝙻(B) if AB, that the truth relation is invariant under isomorphism, etc. We will usually blur the distinction between one-step logics and one-step languages, since the semantics of one-step formulas is generally fixed.

Example 3.

The one-step language 𝙵𝙾𝙴1(A) of first-order logic with equality on a set of predicates A is given by the sentences (formulas without free variables) generated by the following grammar, where aA and x,y are individual variables:

ϕ::=a(x)x=yxyx.ϕx.ϕϕϕϕϕ (1)

We use 𝙵𝙾1 for the equality-free fragment of 𝙵𝙾𝙴1, where we omit the clauses x=y and xy, and we write 𝙵𝙾𝙴1 for the extension of 𝙵𝙾𝙴1 with the infinity quantifiers and . The semantics of these languages is the obvious one.

Definition 4.

Let 𝙻 and 𝚀 be, respectively, a one-step language and a set of proposition letters. An 𝙻-automaton over 𝚀 is a quadruple 𝔸=(A,Θ,Ω,aI) where A is a finite set of objects called states; Θ:A×(𝚀)𝙻(A) is its transition map; Ω:Aω is its priority function; and aI is its initial state.

We will use the term “modal automaton” as a generic name for 𝙻-automata for some one-step logic 𝙻. The operational semantics of these automata is given in terms of parity games.

Definition 5.

Let 𝙻 and 𝚀 be, respectively, a one-step language and a set of proposition letters. Furthermore, let 𝕊=(S,R,κ) and 𝔸=(A,Θ,Ω,aI) be, respectively, a Kripke structure and an 𝙻-automaton over 𝚀.

The acceptance game 𝒜(𝔸,𝕊) is given as the two-player game of which the set of positions, as well as their owners, admissible moves and priorities are given in the table below:

Position Player Admissible moves Priority
(a,s)A×S {m:S(A)R[s],m1Θ(a,κ(s))} Ω(a)
m:S(A) {(b,t)bm(t)} 0

Explained in words, the acceptance game 𝒜(𝔸,𝕊) proceeds in rounds, each round moving from one basic position (a,s)A×S to the next. At such a basic position, it is ’s task to turn the set R(s) of successors of s into the domain of a one-step model for the formula Θ(a,κ(s))𝙻(A). That is, she needs to come up with a marking m:R[s](A) such that (R[s],m)1Θ(a,κ(s)) (and if she cannot find such a valuation, she looses immediately). One may think of the set {(b,t)bm(t)} as a collection of witnesses to her claim that, indeed, the one-step formula Θ(a,κ(s)) is true of (R[s],m). The round ends with picking one of these witnesses, which then becomes the basic position at the start of the next round. (Unless, of course, managed to satisfy the formula Θ(a,κ(s)) with the empty set of witnesses, in which case gets stuck and looses immediately.)

If and play the acceptance game 𝒜(𝔸,𝕊) and neither of them gets stuck, the resulting match π will take infinitely long. In this case we use the parity condition to assign a winner to π: we consider the set 𝖨𝗇𝖿(π) of states that occur infinitely often in π, and declare to be the winner of π if the maximal priority of the states in 𝖨𝗇𝖿(π) is even, and if this maximum priority is odd.

Definition 6.

Let 𝔸=(A,Θ,Ω,aI) be some modal automaton. In case the pair (aI,s) is a winning position for in the game 𝒜(𝔸,𝕊), we say that 𝔸 accepts the pointed structure (𝕊,s) and we write 𝕊,s𝔸. A query is recognized by an automaton 𝔸 if it contains exactly those pointed structures that are accepted by 𝔸.

We say that a logic is characterised by a class of modal automata if for every formula of the logic we can find an equivalent automaton n the class, and vice versa. Some well-known logics are of this kind.

Example 7.

Any one-step logic 𝙻 naturally induces a fixpoint logic μ𝙻 which is characterised by the class 𝖠𝗎𝗍(𝙻). The modal μ-calculus μ𝙼𝙻 is characterised by the class 𝖠𝗎𝗍(𝙵𝙾1), and various fragments of μ𝙼𝙻, including the alternation-free fragment and computational tree logic (CTL), correspond to natural subclasses of 𝖠𝗎𝗍(𝙵𝙾1). The same applies to propositional dynamic logic (PDL), if we consider a multi-sorted version of 𝙵𝙾1.

Furthermore, if we restrict attention to tree-based structures, monadic second-order logic is characterised by the class 𝖠𝗎𝗍(𝙵𝙾1), and weak monadic second-order logic is characterised by a natural fragment of 𝖠𝗎𝗍(𝙵𝙾𝙴1).

2 Some results

The motivation for studying logics from the perspective of modal automata is that much of their sometimes complex behaviour is already determined at the far simpler one-step level. This means that, in order to establish some property of a class of modal automata – or of the logic it characterises – it may suffice to prove a similar result for the one-step logic(s) underlying the automata. Here are some examples, where 𝙻 and 𝙻 represent arbitrary one-step logics.

Closure properties of recognisable queries

If 𝙻 is closed under taking, respectively, disjunctions, conjunctions and boolean duals, then the class of 𝖠𝗎𝗍(𝙻)-recognizable queries is closed under taking union, intersection, and complementation.

Bisimulation invariance

We say that a one-step formula ϕ is invariant under quotients if we have (D,m)1ϕ iff (D,m)1ϕ, whenever (D,m) is a quotient of (D,m).

If 𝙻 is the quotient-invariant fragment of 𝙻 (in some strong sense), then 𝖠𝗎𝗍(𝙻) is the bisimulation-invariant fragment of 𝖠𝗎𝗍(𝙻). This result lies at the heart of the proof of the Janin-Walukiewicz Theorem, which identifies the modal μ-calculus as the bisimulation-invariant fragment of monadic second-order logic.

Nondeterminism

Modal automata are generally alternating in nature, but there is a natural notion of nondeterminism as well: we call a modal automaton 𝔸 nondeterministic if in any of its acceptance games, the role of is essentially reducible to that of a pathfinder. At the level of one-step logic, we introduce the notion of a disjunctive formula; roughly the idea is that if a disjunctive formula holds of some model then we can also satisfy it in a related model where the marking assigns to each element of the domain either the empty set or some singleton. It is easy to see that a modal automaton 𝔸=(A,Θ,Ω,aI) is nondeterministic if the codomain of Θ consists of disjunctive formulas.

Disjunctive bases and simulation

Assume that 𝙻𝙻 and that 𝙻 consists of disjunctive formulas and is closed under disjunctions. If 𝙻 and 𝙻 satisfy some natural distributive laws we call 𝙻 a disjunctive basis for 𝙻.

If 𝙻 has a disjunctive basis 𝙻 then every (alternating) 𝙻–automaton can be simulated by an equivalent (nondeterministic) 𝙻-automaton. Furthermore, the fixpoint logic characterised by 𝙻 has several nice properties, such as the finite model property and uniform interpolation. This is how D’Agostino and Hollenberg established this property for the modal μ-calculus.

Coalgebraic generalisations

The concept of a modal automaton, and all applications in the theory of fixpoint logics and monadic second-order logics that we mentioned above, can be generalised to the setting of universal coalgebra. This means that the concept and the results become available for other coalgebraic modal (fixpoint) logics, such as graded, monotone, or probabilistic modal logic. A further result that we didn’t mention above concerns the transfer of axiomatic completeness.

Disjunctive bases and axiomatic completeness

Any one-step axiomatisation 𝖧 for 𝙻 naturally induces an axiom system μ𝖧 for the μ-calculus μ𝙻 induced by 𝙻. If 𝖧 is sound and complete for 𝙻 and 𝙻 has a disjunctive basis, then μ𝖧 is sound and complete for the set of valid μ𝙻-formulas. By this result, which generalises Walukiewicz’ completeness result for the modal μ-calculus [12], one may for instance obtain complete axiomatisations for the graded and the monotone modal μ-calculus.

Here are some pertinent publications in which the theory of modal automata has been developed: [2, 1, 4, 5, 6, 7, 10, 11]

References

  • [1] Facundo Carreiro, Alessandro Facchini, Yde Venema, and Fabio Zanasi. The power of the weak. ACM Trans. Comput. Log., 21(2):15:1–15:47, 2020. doi:10.1145/3372392.
  • [2] Facundo Carreiro and Yde Venema. PDL inside the μ-calculus: A syntactic and an automata-theoretic characterization. In Rajeev Goré, Barteld P. Kooi, and Agi Kurucz, editors, Advances in Modal Logic 10, invited and contributed papers from the tenth conference on ”Advances in Modal Logic,” held in Groningen, The Netherlands, August 5-8, 2014, pages 74–93. College Publications, 2014. URL: http://www.aiml.net/volumes/volume10/Carreiro-Venema.pdf.
  • [3] Giovanna D’Agostino and Marco Hollenberg. Logical questions concerning the μ-calculus: Interpolation, lyndon and los-tarski. J. Symb. Log., 65(1):310–332, 2000. doi:10.2307/2586539.
  • [4] Sebastian Enqvist, Fatemeh Seifan, and Yde Venema. An expressive completeness theorem for coalgebraic modal mu-calculi. Log. Methods Comput. Sci., 13(2), 2017. doi:10.23638/LMCS-13(2:14)2017.
  • [5] Sebastian Enqvist, Fatemeh Seifan, and Yde Venema. Completeness for μ-calculi: A coalgebraic approach. Ann. Pure Appl. Log., 170(5):578–641, 2019. doi:10.1016/J.APAL.2018.12.004.
  • [6] Sebastian Enqvist and Yde Venema. Disjunctive bases: normal forms and model theory for modal logics. Log. Methods Comput. Sci., 15(1), 2019. doi:10.23638/LMCS-15(1:30)2019.
  • [7] Gaëlle Fontaine and Yde Venema. Some model theory for the modal μ-calculus: syntactic characterisations of semantic properties. Log. Methods Comput. Sci., 14(1), 2018. doi:10.23638/LMCS-14(1:14)2018.
  • [8] David Janin and Igor Walukiewicz. Automata for the modal μ-calculus and related results. In Jirí Wiedermann and Petr Hájek, editors, Mathematical Foundations of Computer Science 1995, 20th International Symposium, MFCS’95, Prague, Czech Republic, August 28 - September 1, 1995, Proceedings, volume 969 of Lecture Notes in Computer Science, pages 552–562. Springer, 1995. doi:10.1007/3-540-60246-1\_160.
  • [9] David Janin and Igor Walukiewicz. On the expressive completeness of the propositional μ-calculus with respect to monadic second order logic. In Ugo Montanari and Vladimiro Sassone, editors, CONCUR ’96, Concurrency Theory, 7th International Conference, Pisa, Italy, August 26-29, 1996, Proceedings, volume 1119 of Lecture Notes in Computer Science, pages 263–277. Springer, 1996. doi:10.1007/3-540-61604-7\_60.
  • [10] Johannes Marti, Fatemeh Seifan, and Yde Venema. Uniform interpolation for coalgebraic fixpoint logic. In Lawrence S. Moss and Pawel Sobocinski, editors, 6th Conference on Algebra and Coalgebra in Computer Science, CALCO 2015, June 24-26, 2015, Nijmegen, The Netherlands, volume 35 of LIPIcs, pages 238–252. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2015. doi:10.4230/LIPICS.CALCO.2015.238.
  • [11] Yde Venema. Expressiveness modulo bisimilarity: A coalgebraic perspective. In Alexandru Baltag and Sonja Smets, editors, Johan van Benthem on Logic and Information Dynamics, pages 33–65. Springer, 2014. doi:10.1007/978-3-319-06025-5\_2.
  • [12] Igor Walukiewicz. Completeness of Kozen’s axiomatisation of the propositional μ-calculus. Inf. Comput., 157(1-2):142–182, 2000. doi:10.1006/INCO.1999.2836.