Logic Journal of IGPL Advance Access originally published online on August 12, 2009
Logic Journal of IGPL 2009 17(5):559-587; doi:10.1093/jigpal/jzp021
| ||||||||||||||||||||||||||||||||||||||||||||||||||
This article appears in the following Logic Journal of the IGPL issue: Special Issue: Logical and Semantical Frameworks with Applications [View the issue table of contents]
Using modal logics to express and check global graph properties
Computer Science Department and Systems and Computer Engineering Program, Federal University of Rio de Janeiro, Brazil.
E-mail: mario{at}cos.ufrj.br
Systems and Computer Engineering Program, Federal University of Rio de Janeiro, Brazil.
E-mail: luis{at}cos.ufrj.br
| Abstract |
|---|
Graphs are among the most frequently used structures in Computer Science. Some of the properties that must be checked in many applications are connectivity, acyclicity and the Eulerian and Hamiltonian properties. In this work, we analyze how we can express these four properties with modal logics. This involves two issues: whether each of the modal languages under consideration has enough expressive power to describe these properties and how complex (computationally) it is to use these logics to actually test whether a given graph has some desired property. First, we show that these properties are not definable in a basic modal logic or in any bisimulation-invariant extension of it, like the modal µ-calculus. We then show that it is possible to express some of the above properties in a basic hybrid logic. Unfortunately, the Hamiltonian and Eulerian properties still cannot be efficiently checked. In a second attempt, we propose an extension of CTL* with nominals and show that the Hamiltonian property can be more efficiently checked in this logic than in the previous one. In a third attempt, we extend the basic hybrid logic with the
operator and show that we can check the Hamiltonian property with optimal (NP) complexity in this logic. Finally, we tackle the Eulerian property in two different ways. First, we develop a generic method to express edge-related properties in hybrid logics and use it to express the Eulerian property. Second, we express a necessary and sufficient condition for the Eulerian property to hold using a graded modal logic.
Key Words: Computational Complexity Frame-Checking Graphs Modal Logic Model-Checking
Received for publication 22 May 2009.
![]()
CiteULike
Connotea
Del.icio.us What's this?