Sound Global Caching for Abstract Modal Tableaux Rajeev Goré The Australian National University  Linh Anh Nguyen University of Warsaw CS&P’2008.

Slides:



Advertisements
Similar presentations
Model Checking Lecture 4. Outline 1 Specifications: logic vs. automata, linear vs. branching, safety vs. liveness 2 Graph algorithms for model checking.
Advertisements

Model Checking Lecture 3. Specification Automata Syntax, given a set A of atomic observations: Sfinite set of states S 0 Sset of initial states S S transition.
Completeness and Expressiveness
Modal Logic with Variable Modalities & its Applications to Querying Knowledge Bases Evgeny Zolin The University of Manchester
CS848: Topics in Databases: Foundations of Query Optimization Topics covered  Introduction to description logic: Single column QL  The ALC family of.
Complexity ©D.Moshkovits 1 Where Can We Draw The Line? On the Hardness of Satisfiability Problems.
Techniques for Proving the Completeness of a Proof System Hongseok Yang Seoul National University Cristiano Calcagno Imperial College.
Representing Boolean Functions for Symbolic Model Checking Supratik Chakraborty IIT Bombay.
Automatic Verification Book: Chapter 6. What is verification? Traditionally, verification means proof of correctness automatic: model checking deductive:
Justification-based TMSs (JTMS) JTMS utilizes 3 types of nodes, where each node is associated with an assertion: 1.Premises. Their justifications (provided.
Propositional and First Order Reasoning. Terminology Propositional variable: boolean variable (p) Literal: propositional variable or its negation p 
TReasoner: System Description Andrei Grigorev Postgraduate student Tyumen State University.
Hybrid Systems Presented by: Arnab De Anand S. An Intuitive Introduction to Hybrid Systems Discrete program with an analog environment. What does it mean?
Logic.
 Dr. Vered Gafni 1 LTL Decidability Enables consistency check, but also base for verification.
© The McGraw-Hill Companies, Inc., Chapter 8 The Theory of NP-Completeness.
Planning CSE 473 Chapters 10.3 and 11. © D. Weld, D. Fox 2 Planning Given a logical description of the initial situation, a logical description of the.
SAT and Model Checking. Bounded Model Checking (BMC) A.I. Planning problems: can we reach a desired state in k steps? Verification of safety properties:
Combining the strengths of UMIST and The Victoria University of Manchester A Tableaux Decision Procedure for SHOIQ Ian Horrocks and Ulrike Sattler University.
CPSC 322, Lecture 12Slide 1 CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12 (Textbook Chpt ) January, 29, 2010.
Temporal Logic and Model Checking. Reactive Systems We often classify systems into two types: Transformational: functions from inputs available at the.
Technion 1 Generating minimum transitivity constraints in P-time for deciding Equality Logic Ofer Strichman and Mirron Rozanov Technion, Haifa, Israel.
Search in the semantic domain. Some definitions atomic formula: smallest formula possible (no sub- formulas) literal: atomic formula or negation of an.
Technion 1 (Yet another) decision procedure for Equality Logic Ofer Strichman and Orly Meir Technion.
Review of the automata-theoretic approach to model-checking.
Last time Proof-system search ( ` ) Interpretation search ( ² ) Quantifiers Equality Decision procedures Induction Cross-cutting aspectsMain search strategy.
Computability and Complexity 10-1 Computability and Complexity Andrei Bulatov Gödel’s Incompleteness Theorem.
LDK R Logics for Data and Knowledge Representation Description Logics: tableaux.
Flavio Lerda 1 LTL Model Checking Flavio Lerda. 2 LTL Model Checking LTL –Subset of CTL* of the form: A f where f is a path formula LTL model checking.
Linear and Branching Time Safety, Liveness, and Fairness
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
The Theory of NP-Completeness 1. What is NP-completeness? Consider the circuit satisfiability problem Difficult to answer the decision problem in polynomial.
An Introduction to Description Logics. What Are Description Logics? A family of logic based Knowledge Representation formalisms –Descendants of semantic.
Intro. to Logic CS402 Fall Propositional Calculus - Semantics (2/3) Propositional Calculus - Semantics (2/3) Moonzoo Kim CS Division of EECS Dept.
Notes on DL Reasoning Shawn Bowers April, 2004.
February 18, 2015CS21 Lecture 181 CS21 Decidability and Tractability Lecture 18 February 18, 2015.
LDK R Logics for Data and Knowledge Representation ClassL (part 3): Reasoning with an ABox 1.
Advanced Topics in Propositional Logic Chapter 17 Language, Proof and Logic.
Topics in artificial intelligence 1/1 Dr hab. inż. Joanna Józefowska, prof. PP Reasoning and search techniques.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Description Logics: Logic foundation of Semantic Web Semantic.
LDK R Logics for Data and Knowledge Representation Modal Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
LDK R Logics for Data and Knowledge Representation Description Logics (ALC)
More on Description Logic(s) Frederick Maier. Note Added 10/27/03 So, there are a few errors that will be obvious to some: So, there are a few errors.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
1 Parallel Model Checking Game for CTL Lecture 6 – Lecturer: Orna Grumberg.
THEORY OF COMPUTATION Komate AMPHAWAN 1. 2.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
© Copyright 2008 STI INNSBRUCK Intelligent Systems Propositional Logic.
Reasoning about the Behavior of Semantic Web Services with Concurrent Transaction Logic Presented By Dumitru Roman, Michael Kifer University of Innsbruk,
1 CSE 326: Data Structures: Graphs Lecture 24: Friday, March 7 th, 2003.
1 Propositional Logic Limits The expressive power of propositional logic is limited. The assumption is that everything can be expressed by simple facts.
15.082J & 6.855J & ESD.78J September 30, 2010 The Label Correcting Algorithm.
An Efficient Tableau Prover Using Global Caching for the Description Logic ALC Linh Anh Nguyen University of Warsaw CS&P’2008.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
TU/e Algorithms (2IL15) – Lecture 9 1 NP-Completeness NOT AND OR AND NOT AND.
LDK R Logics for Data and Knowledge Representation Description Logics.
Complexity of Compositional Model Checking of Computation Tree Logic on Simple Structures Krishnendu Chatterjee Pallab Dasgupta P.P. Chakrabarti IWDC 2004,
The Theory of NP-Completeness
Formal Modeling Concepts
(xy)(yz)(xz)(zy)
Where Can We Draw The Line?
Alternating tree Automata and Parity games
Logics for Data and Knowledge Representation
Finite Model Theory Lecture 6
Lecture 10: Query Complexity
Translating Linear Temporal Logic into Büchi Automata
The Theory of NP-Completeness
Switching Lemmas and Proof Complexity
Lecture 23 NP-Hard Problems
Presentation transcript:

Sound Global Caching for Abstract Modal Tableaux Rajeev Goré The Australian National University  Linh Anh Nguyen University of Warsaw CS&P’2008

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux2 Overview  Motivation  Examples of tableaux  Abstract modal tableaux  A tableau algorithm with global caching  Soundness of global caching

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux3 Motivation  Checking satisfiability in description logic ALC: (whether a concept is satisfiable w.r.t. a TBox) ExpTime-complete  Implemented provers like FaCT or DLP: strongly optimized 2ExpTime (in the worst case)  Goré & Nguyen - DL’07: use sound global caching optimal (ExpTime)  Extend sound global caching for abstract modal tableaux

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux4 Example: Tableaux for CPC (Classical Propositional Calculus)  Is a formula set X 0 satisfiable?  NNF: negations occur only before atoms.  Tableau rules: X ;    X ;  ;  ()() X ;    X ;  | X ;  ()() X ;   (’) X ;  ;   ()()

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux5 Example: Tableaux for CPC  A tableau is a tree... p  q ; p  q p ; q ; p  q p ; q ; pp ; q ; q  ()() ()() ()()()()

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux6 Example: Tableaux for CPC  A tableau is closed if every branch ends with  p  q ; p  q p ; q ; p  q p ; q ; pp ; q ; q  ()() ()() ()()()()

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux7 Example: Tableaux for CPC  A formula set X is inconsistent if there exists a closed tableau for X.  A formula set X is consistent if all tableaux for X are open.  The calculus is sound and complete: X is satisfiable iff X is consistent

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux8 Example: Tableaux for Modal Logic K  What is modal logic K? Formulas: ? Interpretations: ? The satisfaction relation: ?

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux9 Example: Tableaux for Modal Logic K  What is modal logic K? Formulas:  as in the case of CPC,  plus additional constructors:  , 

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux10 Example: Tableaux for Modal Logic K  What is modal logic K? Interpretations Kripke model p, r p, q p, q, r... possible world

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux11 Example: Tableaux for Modal Logic K  What is modal logic K? The satisfaction relation p, r p, q  p, q,   q,  (p(qr))...

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux12 Example: Tableaux for Modal Logic K  Is a formula set X 0 satisfiable w.r.t. a set Г of global assumptions?  i.e. Is there a Kripke model M such that X 0 is satisfied in some possible world of M, Г is satisfied in every possible world of M ?

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux13 Example: Tableaux for Modal Logic K  Tableau rules: the rules for CPC plus  X 0 is unsatisfiable w.r.t. Г iff there is a closed tableau with root (X 0 ; Г) X ;  ; { :    X}; Г ()() ,  ,... , ,... transitional

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux14 Abstract Modal Tableaux  L : logic ID (a finite bit sequence) representing a name and parameters of a logic  Formulas: finite sequences of symbols  A tableau calculus CL : a finite set of CL-tableau rules:  next page a function init CL : init CL (X) is a formula set computable from X in PTime.  A CL-tableau for X is a tree with root init CL (X), using the rules of CL for expansions.

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux15 Abstract Modal Tableaux  CL-tableau rules PTime Denominators:  Each Y i is computable from X and L in PTime Monotonicity:  X’ X  applying (ρ) to X’ results in Y’ i  Y i, 1ik Terminal, Static or Transitional:   next page X Y 1 |... | Y k (ρ)(ρ)

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux16 Abstract Modal Tableaux  CL-tableau rules Cases: ()-rule: only one denominator  static rule: X  Y i for all 1  i  k transitional rule: only one denominator, e.g. () X Y 1 |... | Y k (ρ)(ρ)

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux17 Abstract Modal Tableaux  Static rules: Example:  The original and modified rules have the same „effects” in constructing tableaux. The requirement about static rules gives an easier proof of soundness of global caching. X ;   X ;    X ;  | X ;  X ;   X ;    X ;    ;  | X ;    ; 

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux18 Abstract Modal Tableaux  A branch in a tableau is closed if it ends with .  A tableau is closed if all of its branches are closed.  A tableau is open if it is not closed.  X is CL-consistent if all CL-tableaux for X are open.  X is CL-inconsistent if any CL-tableau for X is closed.

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux19 The Analytic Subformula Property  Calculus CL has the analytic subformula property if for every finite formula set X there is a finite formula set X * CL such that every formula set carried by a node in a CL-tableau for X is a subset of X * CL.

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux20 A Tableau Algorithm with Global Caching Problem: Check whether X is CL-consistent. Algorithm: Build an and-or graph for X using CL:  The root node τ contains init CL (X).  Each node is expanded using a CL-tableau rule.  Preferences of rules: 1. ()-rule 2. unary static rules 3. non-unary static rules 4. transitional rules ...

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux21 A Tableau Algorithm with Global Caching  If a node w is expanded using: a ()-rule:  w receives status incons (inconsistent) a unary static rule:  w is an and-node, 1 successor, status = unkown a k-ary static rule, k  2:  w is an or-node, k successors, status = unknown transitional rules:  apply rules simultaneously in every possible way  n possible ways  an and-node with n successors  status = unknown

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux22 A Tableau Algorithm with Global Caching  Global Caching: Before creating a new node check whether there is an existing node of the same content. If so, use that node as a proxy.  If no rule is applicable to a node w: w receives status cons (consistent).  When a node receives status cons/incons: propagate the status backward appropriately treating cons = true, incons = false

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux23 A Tableau Algorithm with Global Caching  Stop when τ receives status cons or incons  Stop when all nodes have been expanded For every node u with status unknown:  Assign u status cons. Claim: X is CL-consistent iff τ has status cons.

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux24 Complexity  If CL has the analytic subformula property then the given algorithm for CL and X runs in exponential time in the size of X * CL.

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux25 Soundness of Global Caching Lemma 1: If the root node τ receives status incons then X is CL-inconsistent. Sketch: It is an invariant of the given algorithm that for every node v with status incons: either a ()-rule of CL is appl. to v.content, or v is an and-node and there exists an edge (v,w) such that w v and w.status = incons, or v is an or-node and for every edge (v,w), w.status = incons.

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux26 Saturation Paths  In the constructed and-or graph, define a saturation path of node v to be a sequence v 0 =v, v 1,..., v k with k  0 such that, for each 1  i  k, we have: v i.status = cons, the edge (v i-1, v i ) was created by a static rule, v k.content is closed w.r.t. the static rules.  Observe that v 0.content ...  v k.content.

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux27 Soundness of Global Caching Lemma 2: If the root node τ receives status cons then every CL-tableau T for X is open. Sketch:  Maintain a current node cn of T to pin-point an open branch of T. Initially, set cn to the root of T.  Keep a current saturation path v 0, v 1,..., v k for some v 0. Initially, v 0 = τ (the root of the graph).  Maintain the invariant cn.content  v k.content by moving cn along edges of T appropriately and possibly changing the current saturation path.  The branch formed by the instances of cn is an open branch of T.

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux28 Soundness of Global Caching  Theorem: The root of the graph constructed for X receives status cons iff X is CL-consistent.  The global caching method is sound.  Corollary: If calculus CL has the analytic subformula property and X * CL has a polynomial size in the size of X and the length of L, then the given algorithm is an ExpTime decision procedure for checking CL-consistency.  If CL is sound and complete then CL-consistency means L-satisfiability.

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux29 Applications  We have applied sound global caching for: regular grammar logics  TABLEAUX’05 regular modal logics of agent beliefs  CLIMA’07 the description logics ALC and SHI  DL’07, TABLEAUX’07

R. Goré & L.A. NguyenSound Global Caching for Modal Tableaux30 How does global caching co-operate with other optimization techniques?  Attend the next talk of Nguyen: An Efficient Tableau Prover using Global Caching for the Description Logic ALC CS&P’2008, 1st October