Modal μ-calculus

In theoretical computer science, the modal μ-calculus (Lμ, Lμ, or propositional mu-calculus, sometimes just μ-calculus, although this can have a more general meaning[which?]) is an extension of propositional modal logic (with many modalities) by adding the least fixed point operator μ and the greatest fixed point operator ν, thus a fixed-point logic.

The (propositional, modal) μ-calculus originates with Dana Scott and Jaco de Bakker, and was further developed by Dexter Kozen into the version most used nowadays. It is used to describe properties of labelled transition systems and for verifying these properties. Many temporal logics can be encoded in the μ-calculus, including CTL* and its widely used fragments—linear temporal logic and computational tree logic.

An algebraic view is to see it as an algebra of monotonic functions over a complete lattice, with operators consisting of functional composition plus the least and greatest fixed point operators; from this viewpoint, the modal μ-calculus is over the lattice of a power set algebra. The game semantics of μ-calculus is related to two-player games with perfect information, particularly infinite parity games.

Syntax

Let P (propositions) and A (actions) be two finite sets of symbols, and let Var be a countably infinite set of variables. The set of formulas of (propositional, modal) μ-calculus is defined as follows:

(The notions of free and bound variables are as usual, where ν is the only binding operator.)

Given the above definitions, we can enrich the syntax with:

The first two formulas are the familiar ones from the classical propositional calculus and respectively the minimal multimodal logic K.

The notation μZ.ϕ (and its dual) are inspired from the lambda calculus; the intent is to denote the least (and respectively greatest) fixed point of the expression ϕ where the "minimization" (and respectively "maximization") are in the variable Z, much like in lambda calculus λZ.ϕ is a function with formula ϕ in bound variable Z; see the denotational semantics below for details.

Denotational semantics

Models of (propositional) μ-calculus are given as labelled transition systems (S,R,V) where:

Given a labelled transition system (S,R,V) and an interpretation i of the variables Z of the μ-calculus, [[⋅]]i:ϕ→2S, is the function defined by the following rules:

By duality, the interpretation of the other basic formulas is:

Less formally, this means that, for a given transition system (S,R,V):

The interpretations of [a]ϕ and ⟨a⟩ϕ are in fact the "classical" ones from dynamic logic. Additionally, the operator μ can be interpreted as liveness ("something good eventually happens") and ν as safety ("nothing bad ever happens") in Leslie Lamport's informal classification.

Examples

  • νZ.ϕ∧[a]Z is interpreted as "ϕ is true along every a-path". The idea is that "ϕ is true along every a-path" can be defined axiomatically as that (weakest) sentence Z which implies ϕ and which remains true after processing any a-label.
  • μZ.ϕ∨⟨a⟩Z is interpreted as the existence of a path along a-transitions to a state where ϕ holds.
  • The property of a state being deadlock-free, meaning no path from that state reaches a dead end, is expressed by the formula νZ.(⋁a∈A⟨a⟩⊤∧⋀a∈A[a]Z)

Decision problems

Satisfiability of a modal μ-calculus formula is EXPTIME-complete. Like for linear temporal logic, the model checking, satisfiability and validity problems of linear modal μ-calculus are PSPACE-complete.

Actually, the complexity of the satisfiability problem of graded modal μ-calculus is also EXPTIME-complete, even if the number in the modalities are written in binary (graded modal μ-calculus is an extension of standard modal μ-calculus with modalities "there are at least k successors such that...).

Comparison to other logics

Recall that modal logic can be translated in first-order logic (FO) via the standard translation denoted by ST and indexed by a first-order variable x denoting the current state:

STx(p):=p(x)STx(¬ϕ):=¬STx(ϕ)STx(ϕ∧ψ):=STx(ϕ)∧STy(ψ)STx([a]ϕ):=∀y,xRay→STy(ϕ)

Recall that monadic second order logic (MSO) extends first-order logic (FO) with second order quantifications over subsets. The standard translation extends to mu-calculus that can be translated in monadic second order logic by adding the following translation rules for the fix-point operators:

STx(μX.ϕ):=∀X,(∀y,STy(ϕ)→y∈X)→x∈X)STx(νX.ϕ):=∃X,(∀y,y∈X→STy(ϕ))∧x∈X)

Janin and Walukiewicz proved in 1996 that any formula of monadic second order that is invariant by bisimulation is equivalent to some mu-calculus formula.

See also