Suvarna Garge (Editor)

Modal μ calculus

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

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

Contents

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 V be a countably infinite set of variables. The set of formulas of (propositional, modal) μ-calculus is defined as follows:

  • each proposition and each variable is a formula;
  • if ϕ and ψ are formulas, then ϕ ψ is a formula.
  • if ϕ is a formula, then ¬ ϕ is a formula;
  • if ϕ is a formula and a is an action, then [ a ] ϕ is a formula;(pronounced either: a box ϕ or after a necessarily ϕ )
  • if ϕ is a formula and Z a variable, then ν Z . ϕ is a formula, provided that every free occurrence of Z in ϕ occurs positively, i.e. within the scope of an even number of negations.
  • (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:

  • ϕ ψ meaning ¬ ( ¬ ϕ ¬ ψ )
  • a ϕ (pronounced either: a diamond ϕ or after a possibly ϕ ) meaning ¬ [ a ] ¬ ϕ
  • μ Z . ϕ means ¬ ν Z . ¬ ϕ [ Z := ¬ Z ] , where ϕ [ Z := ¬ Z ] means substituting ¬ Z for Z in all free occurrences of Z in ϕ .
  • 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:

  • S is a set of states;
  • R maps to each label a a binary relation on S ;
  • V : P 2 S , maps to each proposition p P the set of states where the proposition is true.
  • Given a labelled transition system ( S , R , V ) and an interpretation i of the variables Z of the μ -calculus, [ [   _ ] ] i : ϕ 2 S , is the function defined by the following rules:

  • [ [ p ] ] i = V ( p ) ;
  • [ [ Z ] ] i = i ( Z ) ;
  • [ [ ϕ ψ ] ] i = [ [ ϕ ] ] i [ [ ψ ] ] i ;
  • [ [ ¬ ϕ ] ] i = S [ [ ϕ ] ] i ;
  • [ [ [ a ] ϕ ] ] i = { s S t S , ( s , t ) R a t [ [ ϕ ] ] i } ;
  • [ [ ν Z . ϕ ] ] i = { T S T [ [ ϕ ] ] i [ Z := T ] } , where i [ Z := T ] maps Z to T while preserving the mappings of i everywhere else.
  • By duality, the interpretation of the other basic formulas is:

  • [ [ ϕ ψ ] ] i = [ [ ϕ ] ] i [ [ ψ ] ] i ;
  • [ [ a ϕ ] ] i = { s S t S , ( s , t ) R a t [ [ ϕ ] ] i } ;
  • [ [ μ Z . ϕ ] ] i = { T S [ [ ϕ ] ] i [ Z := T ] T }
  • Less formally, this means that, for a given transition system ( S , R , V ) :

  • p holds in the set of states V ( p ) ;
  • ϕ ψ holds in every state where ϕ and ψ both hold;
  • ¬ ϕ holds in every state where ϕ does not hold.
  • [ a ] ϕ holds in a state s if every a -transition leading out of s leads to a state where ϕ holds.
  • a ϕ holds in a state s if there exists a -transition leading out of s that leads to a state where ϕ holds.
  • ν Z . ϕ holds in any state in any set T such that, when the variable Z is set to T , then ϕ holds for all of T . (From the Knaster–Tarski theorem it follows that [ [ ν Z . ϕ ] ] i is the greatest fixpoint of [ [ ϕ ] ] i [ Z := T ] , and [ [ μ Z . ϕ ] ] i its least fixpoint.)
  • The interpretations of [ a ] ϕ and a ϕ are if 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".
  • μ Z . ϕ a Z is interpreted as the existence of a path along a-transitions to a state where ϕ holds.
  • The property of a system of being deadlock-free, understood as having no states without outgoing transitions and furthermore there does not exists a path to such a state, is expressed by formula
  • Decision problems

    Satisfiability of a modal μ-calculus formula is EXPTIME-complete. As for Linear Temporal Logic, model checking, satisfiability and validity problems of linear modal μ-calculus are PSPACE-complete.

    References

    Modal μ-calculus Wikipedia