fbpx
Wikipedia

Modal μ-calculus

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 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,[1] and was further developed by Dexter Kozen[2] 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.[3]

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.[4] The game semantics of μ-calculus is related to two-player games with perfect information, particularly infinite parity games.[5]

Syntax edit

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:

  • 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   is an action, then   is a formula; (pronounced either:   box   or after   necessarily  )
  • if   is a formula and   a variable, then   is a formula, provided that every free occurrence of   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  
  •   (pronounced either:   diamond   or after   possibly  ) meaning  
  •   means  , where   means substituting   for   in all free occurrences of   in  .

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

The notation   (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  , much like in lambda calculus   is a function with formula   in bound variable  ;[6] see the denotational semantics below for details.

Denotational semantics edit

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

  •   is a set of states;
  •   maps to each label   a binary relation on  ;
  •  , maps each proposition   to the set of states where the proposition is true.

Given a labelled transition system   and an interpretation   of the variables   of the  -calculus,  , is the function defined by the following rules:

  •  ;
  •  ;
  •  ;
  •  ;
  •  ;
  •  , where   maps   to   while preserving the mappings of   everywhere else.

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

  •  ;
  •  ;
  •  

Less formally, this means that, for a given transition system  :

  •   holds in the set of states  ;
  •   holds in every state where   and   both hold;
  •   holds in every state where   does not hold.
  •   holds in a state   if every  -transition leading out of   leads to a state where   holds.
  •   holds in a state   if there exists  -transition leading out of   that leads to a state where   holds.
  •   holds in any state in any set   such that, when the variable   is set to  , then   holds for all of  . (From the Knaster–Tarski theorem it follows that   is the greatest fixed point of  , and   its least fixed point.)

The interpretations of   and   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.[7]

Examples edit

  •   is interpreted as "  is true along every a-path".[7] The idea is that "  is true along every a-path" can be defined axiomatically as that (weakest) sentence   which implies   and which remains true after processing any a-label. [8]
  •   is interpreted as the existence of a path along a-transitions to a state where   holds.[9]
  • The property of a state being deadlock-free, meaning no path from that state reaches a dead end, is expressed by the formula[9]
     

Decision problems edit

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

See also edit

Notes edit

  1. ^ Scott, Dana; Bakker, Jacobus (1969). "A theory of programs". Unpublished Manuscript.
  2. ^ Kozen, Dexter (1982). "Results on the propositional μ-calculus". Automata, Languages and Programming. ICALP. Vol. 140. pp. 348–359. doi:10.1007/BFb0012782. ISBN 978-3-540-11576-2.
  3. ^ Clarke p.108, Theorem 6; Emerson p. 196
  4. ^ Arnold and Niwiński, pp. viii-x and chapter 6
  5. ^ Arnold and Niwiński, pp. viii-x and chapter 4
  6. ^ Arnold and Niwiński, p. 14
  7. ^ a b Bradfield and Stirling, p. 731
  8. ^ Bradfield and Stirling, p. 6
  9. ^ a b Erich Grädel; Phokion G. Kolaitis; Leonid Libkin; Maarten Marx; Joel Spencer; Moshe Y. Vardi; Yde Venema; Scott Weinstein (2007). Finite Model Theory and Its Applications. Springer. p. 159. ISBN 978-3-540-00428-8.
  10. ^ Klaus Schneider (2004). Verification of reactive systems: formal methods and algorithms. Springer. p. 521. ISBN 978-3-540-00296-3.
  11. ^ Sistla, A. P.; Clarke, E. M. (1985-07-01). "The Complexity of Propositional Linear Temporal Logics". J. ACM. 32 (3): 733–749. doi:10.1145/3828.3837. ISSN 0004-5411.
  12. ^ Vardi, M. Y. (1988-01-01). "A temporal fixpoint calculus". Proceedings of the 15th ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '88. New York, NY, USA: ACM. pp. 250–259. doi:10.1145/73560.73582. ISBN 0897912527.

References edit

  • Clarke, Edmund M. Jr.; Orna Grumberg; Doron A. Peled (1999). Model Checking. Cambridge, Massachusetts, USA: MIT press. ISBN 0-262-03270-8., chapter 7, Model checking for the μ-calculus, pp. 97–108
  • Stirling, Colin. (2001). Modal and Temporal Properties of Processes. New York, Berlin, Heidelberg: Springer Verlag. ISBN 0-387-98717-7., chapter 5, Modal μ-calculus, pp. 103–128
  • André Arnold; Damian Niwiński (2001). Rudiments of μ-Calculus. Elsevier. ISBN 978-0-444-50620-7., chapter 6, The μ-calculus over powerset algebras, pp. 141–153 is about the modal μ-calculus
  • Yde Venema (2008) ; was presented at The 18th European Summer School in Logic, Language and Information
  • Bradfield, Julian & Stirling, Colin (2006). "Modal mu-calculi". In P. Blackburn; J. van Benthem & F. Wolter (eds.). The Handbook of Modal Logic. Elsevier. pp. 721–756.
  • Emerson, E. Allen (1996). "Model Checking and the Mu-calculus". Descriptive Complexity and Finite Models. American Mathematical Society. pp. 185–214. ISBN 0-8218-0517-7.
  • Kozen, Dexter (1983). "Results on the Propositional μ-Calculus". Theoretical Computer Science. 27 (3): 333–354. doi:10.1016/0304-3975(82)90125-6.

External links edit

  • Sophie Pinchinat, Logic, Automata & Games video recording of a lecture at ANU Logic Summer School '09

modal, calculus, theoretical, computer, science, modal, calculus, sometimes, just, calculus, although, this, have, more, general, meaning, extension, propositional, modal, logic, with, many, modalities, adding, least, fixed, point, operator, greatest, fixed, p. In theoretical computer science the modal m calculus Lm Lm sometimes just m calculus although this can have a more general meaning is an extension of propositional modal logic with many modalities by adding the least fixed point operator m and the greatest fixed point operator n thus a fixed point logic The propositional modal m calculus originates with Dana Scott and Jaco de Bakker 1 and was further developed by Dexter Kozen 2 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 m calculus including CTL and its widely used fragments linear temporal logic and computational tree logic 3 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 m calculus is over the lattice of a power set algebra 4 The game semantics of m calculus is related to two player games with perfect information particularly infinite parity games 5 Contents 1 Syntax 2 Denotational semantics 2 1 Examples 3 Decision problems 4 See also 5 Notes 6 References 7 External linksSyntax editLet 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 m calculus is defined as follows each proposition and each variable is a formula if ϕ displaystyle phi nbsp and ps displaystyle psi nbsp are formulas then ϕ ps displaystyle phi wedge psi nbsp is a formula if ϕ displaystyle phi nbsp is a formula then ϕ displaystyle neg phi nbsp is a formula if ϕ displaystyle phi nbsp is a formula and a displaystyle a nbsp is an action then a ϕ displaystyle a phi nbsp is a formula pronounced either a displaystyle a nbsp box ϕ displaystyle phi nbsp or after a displaystyle a nbsp necessarily ϕ displaystyle phi nbsp if ϕ displaystyle phi nbsp is a formula and Z displaystyle Z nbsp a variable then n Z ϕ displaystyle nu Z phi nbsp is a formula provided that every free occurrence of Z displaystyle Z nbsp in ϕ displaystyle phi nbsp occurs positively i e within the scope of an even number of negations The notions of free and bound variables are as usual where n displaystyle nu nbsp is the only binding operator Given the above definitions we can enrich the syntax with ϕ ps displaystyle phi lor psi nbsp meaning ϕ ps displaystyle neg neg phi land neg psi nbsp a ϕ displaystyle langle a rangle phi nbsp pronounced either a displaystyle a nbsp diamond ϕ displaystyle phi nbsp or after a displaystyle a nbsp possibly ϕ displaystyle phi nbsp meaning a ϕ displaystyle neg a neg phi nbsp m Z ϕ displaystyle mu Z phi nbsp means n Z ϕ Z Z displaystyle neg nu Z neg phi Z neg Z nbsp where ϕ Z Z displaystyle phi Z neg Z nbsp means substituting Z displaystyle neg Z nbsp for Z displaystyle Z nbsp in all free occurrences of Z displaystyle Z nbsp in ϕ displaystyle phi nbsp The first two formulas are the familiar ones from the classical propositional calculus and respectively the minimal multimodal logic K The notation m Z ϕ displaystyle mu Z phi nbsp and its dual are inspired from the lambda calculus the intent is to denote the least and respectively greatest fixed point of the expression ϕ displaystyle phi nbsp where the minimization and respectively maximization are in the variable Z displaystyle Z nbsp much like in lambda calculus l Z ϕ displaystyle lambda Z phi nbsp is a function with formula ϕ displaystyle phi nbsp in bound variable Z displaystyle Z nbsp 6 see the denotational semantics below for details Denotational semantics editModels of propositional m calculus are given as labelled transition systems S R V displaystyle S R V nbsp where S displaystyle S nbsp is a set of states R displaystyle R nbsp maps to each label a displaystyle a nbsp a binary relation on S displaystyle S nbsp V P 2 S displaystyle V P to 2 S nbsp maps each proposition p P displaystyle p in P nbsp to the set of states where the proposition is true Given a labelled transition system S R V displaystyle S R V nbsp and an interpretation i displaystyle i nbsp of the variables Z displaystyle Z nbsp of the m displaystyle mu nbsp calculus i ϕ 2 S displaystyle cdot i phi to 2 S nbsp is the function defined by the following rules p i V p displaystyle p i V p nbsp Z i i Z displaystyle Z i i Z nbsp ϕ ps i ϕ i ps i displaystyle phi wedge psi i phi i cap psi i nbsp ϕ i S ϕ i displaystyle neg phi i S smallsetminus phi i nbsp a ϕ i s S t S s t R a t ϕ i displaystyle a phi i s in S mid forall t in S s t in R a rightarrow t in phi i nbsp n Z ϕ i T S T ϕ i Z T displaystyle nu Z phi i bigcup T subseteq S mid T subseteq phi i Z T nbsp where i Z T displaystyle i Z T nbsp maps Z displaystyle Z nbsp to T displaystyle T nbsp while preserving the mappings of i displaystyle i nbsp everywhere else By duality the interpretation of the other basic formulas is ϕ ps i ϕ i ps i displaystyle phi vee psi i phi i cup psi i nbsp a ϕ i s S t S s t R a t ϕ i displaystyle langle a rangle phi i s in S mid exists t in S s t in R a wedge t in phi i nbsp m Z ϕ i T S ϕ i Z T T displaystyle mu Z phi i bigcap T subseteq S mid phi i Z T subseteq T nbsp Less formally this means that for a given transition system S R V displaystyle S R V nbsp p displaystyle p nbsp holds in the set of states V p displaystyle V p nbsp ϕ ps displaystyle phi wedge psi nbsp holds in every state where ϕ displaystyle phi nbsp and ps displaystyle psi nbsp both hold ϕ displaystyle neg phi nbsp holds in every state where ϕ displaystyle phi nbsp does not hold a ϕ displaystyle a phi nbsp holds in a state s displaystyle s nbsp if every a displaystyle a nbsp transition leading out of s displaystyle s nbsp leads to a state where ϕ displaystyle phi nbsp holds a ϕ displaystyle langle a rangle phi nbsp holds in a state s displaystyle s nbsp if there exists a displaystyle a nbsp transition leading out of s displaystyle s nbsp that leads to a state where ϕ displaystyle phi nbsp holds n Z ϕ displaystyle nu Z phi nbsp holds in any state in any set T displaystyle T nbsp such that when the variable Z displaystyle Z nbsp is set to T displaystyle T nbsp then ϕ displaystyle phi nbsp holds for all of T displaystyle T nbsp From the Knaster Tarski theorem it follows that n Z ϕ i displaystyle nu Z phi i nbsp is the greatest fixed point of T ϕ i Z T displaystyle T mapsto phi i Z T nbsp and m Z ϕ i displaystyle mu Z phi i nbsp its least fixed point The interpretations of a ϕ displaystyle a phi nbsp and a ϕ displaystyle langle a rangle phi nbsp are in fact the classical ones from dynamic logic Additionally the operator m displaystyle mu nbsp can be interpreted as liveness something good eventually happens and n displaystyle nu nbsp as safety nothing bad ever happens in Leslie Lamport s informal classification 7 Examples edit n Z ϕ a Z displaystyle nu Z phi wedge a Z nbsp is interpreted as ϕ displaystyle phi nbsp is true along every a path 7 The idea is that ϕ displaystyle phi nbsp is true along every a path can be defined axiomatically as that weakest sentence Z displaystyle Z nbsp which implies ϕ displaystyle phi nbsp and which remains true after processing any a label 8 m Z ϕ a Z displaystyle mu Z phi vee langle a rangle Z nbsp is interpreted as the existence of a path along a transitions to a state where ϕ displaystyle phi nbsp holds 9 The property of a state being deadlock free meaning no path from that state reaches a dead end is expressed by the formula 9 n Z a A a a A a Z displaystyle nu Z left bigvee a in A langle a rangle top wedge bigwedge a in A a Z right nbsp Decision problems editSatisfiability of a modal m calculus formula is EXPTIME complete 10 Like for linear temporal logic 11 the model checking satisfiability and validity problems of linear modal m calculus are PSPACE complete 12 See also editFinite model theory Alternation free modal m calculusNotes edit Scott Dana Bakker Jacobus 1969 A theory of programs Unpublished Manuscript Kozen Dexter 1982 Results on the propositional m calculus Automata Languages and Programming ICALP Vol 140 pp 348 359 doi 10 1007 BFb0012782 ISBN 978 3 540 11576 2 Clarke p 108 Theorem 6 Emerson p 196 Arnold and Niwinski pp viii x and chapter 6 Arnold and Niwinski pp viii x and chapter 4 Arnold and Niwinski p 14 a b Bradfield and Stirling p 731 Bradfield and Stirling p 6 a b Erich Gradel Phokion G Kolaitis Leonid Libkin Maarten Marx Joel Spencer Moshe Y Vardi Yde Venema Scott Weinstein 2007 Finite Model Theory and Its Applications Springer p 159 ISBN 978 3 540 00428 8 Klaus Schneider 2004 Verification of reactive systems formal methods and algorithms Springer p 521 ISBN 978 3 540 00296 3 Sistla A P Clarke E M 1985 07 01 The Complexity of Propositional Linear Temporal Logics J ACM 32 3 733 749 doi 10 1145 3828 3837 ISSN 0004 5411 Vardi M Y 1988 01 01 A temporal fixpoint calculus Proceedings of the 15th ACM SIGPLAN SIGACT symposium on Principles of programming languages POPL 88 New York NY USA ACM pp 250 259 doi 10 1145 73560 73582 ISBN 0897912527 References editClarke Edmund M Jr Orna Grumberg Doron A Peled 1999 Model Checking Cambridge Massachusetts USA MIT press ISBN 0 262 03270 8 chapter 7 Model checking for the m calculus pp 97 108 Stirling Colin 2001 Modal and Temporal Properties of Processes New York Berlin Heidelberg Springer Verlag ISBN 0 387 98717 7 chapter 5 Modal m calculus pp 103 128 Andre Arnold Damian Niwinski 2001 Rudiments of m Calculus Elsevier ISBN 978 0 444 50620 7 chapter 6 The m calculus over powerset algebras pp 141 153 is about the modal m calculus Yde Venema 2008 Lectures on the Modal m calculus was presented at The 18th European Summer School in Logic Language and Information Bradfield Julian amp Stirling Colin 2006 Modal mu calculi In P Blackburn J van Benthem amp F Wolter eds The Handbook of Modal Logic Elsevier pp 721 756 Emerson E Allen 1996 Model Checking and the Mu calculus Descriptive Complexity and Finite Models American Mathematical Society pp 185 214 ISBN 0 8218 0517 7 Kozen Dexter 1983 Results on the Propositional m Calculus Theoretical Computer Science 27 3 333 354 doi 10 1016 0304 3975 82 90125 6 External links editSophie Pinchinat Logic Automata amp Games video recording of a lecture at ANU Logic Summer School 09 Retrieved from https en wikipedia org w index php title Modal m calculus amp oldid 1182691792, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.