A Tbleu Prover for Hybrid Logic Dniel Götzmnn Grdute Seminr Progrmming Systems Lb 2008-07-14 Advisor: Mrk Kminski
Bsic Modl Logic s ::= p s s s s s propositionl logic
Bsic Modl Logic s ::= p s s s s s <r> s [r] s propositionl logic + modl opertors
Bsic Modl Logic s ::= p s s s s s <r> s [r] s propositionl logic + modl opertors s : S B s x predictes on sttes s holds on stte x
Bsic Modl Logic s ::= p s s s s s <r> s [r] s propositionl logic + modl opertors s : S B s x predictes on sttes s holds on stte x <r> s x := y. r x y s y <r> s r s
Bsic Modl Logic s ::= p s s s s s <r> s [r] s propositionl logic + modl opertors s : S B s x predictes on sttes s holds on stte x <r> s x := y. r x y s y <r> s r s [r] s x := y. r x y s y [r] s r r s s
Hybrid Logic s ::= p s s s s s <r> s [r] s x @ x s bsic modl logic + nominls, @-opertor y x @ y s x := x = y := s y stte x is nmed y s holds on the stte nmed y
Hybrid Logic s ::= p s s s s s <r> s [r] s bsic modl logic x @ + nominls, @-opertor x s A s E s + globl modlities y x @ y s x A s x E s x := x = y := s y := y.s y := y.s y stte x is nmed y s holds on the stte nmed y s holds on ll sttes s holds on some stte
Applictions nd Systems Knowledge representtion semntic web description logics (nottionl vrints of hybrid logics)
Applictions nd Systems Knowledge representtion semntic web description logics (nottionl vrints of hybrid logics) DL resoners Fct++ pellet Rcer other implementtions HTAB (http://owl.mn.c.uk/fctplusplus/) (http://pellet.owldl.com/) (http://www.rcer-systems.com/products/rcerpro/index.phtml) (http://hylo.lori.fr/intohylo/htb.php) HyLoRes (http://hylo.lori.fr/intohylo/hylores.php) HyLoTb (http://homepges.cwi.nl/~jve/hylotb/)
Tbleu Rules disjunction dimond universl equlity (s t) x s x t x <r> t x r x y, A t x x = y s x s y y fresh y on brnch conflict s x s x
Tbleu Rules disjunction (s t) x s x t x conjunction (s t) x s x, t x dimond <r> t x r x y, y fresh [r] t x r x y box universl A t x y on brnch existentil E t x y fresh equlity x = y s x s y @-opertor @ y t x conflict s x s x nominls y x x = y
Tsk Implement tbleu-bsed prover for hybrid logic with globl modlities Investigte implementtion nd optimiztion techniques Prover should be resonbly efficient
Comprison Bsic Modl Logic Hybrid Logic with globl modlities tree structure propgtion to successors only lwys terminting
Comprison Bsic Modl Logic Hybrid Logic with globl modlities E s s <r>x,... <r>x,... x, t,... <r>x,... @ x t tree structure propgtion to successors only lwys terminting typiclly not tree cretion of new sources (E) propgtion to remote sttes (A, @) merging equivlent sttes termintion non-trivil
Queue Problem: keep trck of unexpnded dimonds, disjunctions,... Wnted: flexible expnsion order Ide: bcktrckble priority queue
Queue Problem: keep trck of unexpnded dimonds, disjunctions,... Wnted: flexible expnsion order Ide: bcktrckble priority queue <r>s 2 y (s 3 s 4 ) x <r>s 0 x (s 1 s 8 ) y <r>s 5 z Es 9 FIFO <r>s 2 y <r>s 0 x <r>s 5 z (s 3 s 4 ) x (s 1 s 8 ) y Es 9 <> (FIFO) before (FIFO) (s 1 s 8 ) y (s 3 s 4 s 7 ) x <r>s 5 z <r>s 2 y <r>s 0 x Es 9 (incr. size) before <> (new sttes first)
Termintion A (<r> p) <r> t x r x y, A t x [r] t x r x y y fresh y on brnch
Termintion A (<r> p) universl modlities: <r> t x r x y, y fresh A t x y on brnch [r] t x r x y
Termintion universl modlities: <r> p <r> t x r x y, A t x [r] t x r x y y fresh y on brnch
Termintion <r> p universl modlities: <r> t x r x y, y fresh <r> p A t x y on brnch [r] t x r x y
Termintion <r> p universl modlities: <r> t x r x y, y fresh p r <r> p A t x [r] t x r x y y on brnch
Termintion <r> p universl modlities: <r> t x r x y, y fresh r p, <r> p <r> p A t x [r] t x r x y y on brnch
Termintion <r> p universl modlities: <r> t x r x y, y fresh r p, <r> p r <r> p A t x [r] t x r x y y on brnch p, <r> p nïve pproch: not terminting!
Termintion <r> p universl modlities: <r> t x r x y, y fresh r p, <r> p self loop: terminting! r <r> p A t x [r] t x r x y y on brnch
Pttern-bsed Blocking <r> p, [r] q 1, [r] q 2 universl modlities: <r> t x r x y, y fresh <r> p A t x y on brnch [r] t x r x y blocked ptterns:
Pttern-bsed Blocking <r> p, [r] q 1, [r] q 2 universl modlities: <r> t x r x y, y fresh r <r> p A t x y on brnch p, q 1, q 2 [r] t x r x y blocked ptterns: <r> p, [r] q 1, [r] q 2
Pttern-bsed Blocking <r> p, [r] q 1, [r] q 2 universl modlities: <r> t x r x y, y fresh r p, q 1, q 2, <r> p <r> p A t x [r] t x r x y y on brnch blocked ptterns: <r> p, [r] q 1, [r] q 2
Pttern-bsed Blocking <r> p, [r] q 1, [r] q 2 universl modlities: <r> t x r x y, y fresh r p, q 1, q 2, <r> p <r> p is blocked, hence not expnded <r> p blocked ptterns: A t x [r] t x r x y y on brnch <r> p, [r] q 1, [r] q 2
Pttern-bsed Blocking <r> p, [r] q 1, [r] q 2 universl modlities: <r> t x r x y, y fresh r p, q 1, q 2, <r> p <r> p is blocked, hence not expnded r <r> p blocked ptterns: A t x [r] t x r x y y on brnch <r> p, [r] q 1, [r] q 2
Pttern-bsed Blocking Necessry to gurntee termintion Useful optimiztion Efficiency needed for inserting ptterns removing ptterns (when bcktrcking) mtching ptterns (superset mtching) e.g., tree structure (Hoffmnn nd Koehler, 1999) bitvector-bsed structure (Giunchigli, Tcchell, 2000)
Stte Equivlence Disjoint set forest represents stte equivlence clsses s 1 b s 2 c s 1, s 3 d s 4 e s 4, s 5
Stte Equivlence Disjoint set forest represents stte equivlence clsses s 1, s 4 b s 2 c s 1, s 3 d s 4 e s 4, s 5 = d
Stte Equivlence Disjoint set forest represents stte equivlence clsses s 1, s 4 b s 2 c s 1, s 3, s 4, s 5 d s 4 e s 4, s 5 = d c = e
Stte Equivlence Disjoint set forest represents stte equivlence clsses s 1, s 4, s 3, s 5 b s 2 c s 1, s 3, s 4, s 5 d s 4 e s 4, s 5 = d c = e = e
Stte Equivlence Disjoint set forest represents stte equivlence clsses s 1, s 4, s 3, s 5 b s 2 c s 1, s 3, s 4, s 5 d s 4 e s 4, s 5 = d c = e = e Sttes re equivlent if they re in the sme tree Representtive of equivlence clss = root in forest Informtion shifted to representtive
Stte Equivlence Disjoint set forest represents stte equivlence clsses s 1, s 4, s 3, s 5, s 6 b s 2 c s 1, s 3, s 4, s 5 d s 4 e s 4, s 5 = d c = e = e s 6 e Sttes re equivlent if they re in the sme tree Representtive of equivlence clss = root in forest Informtion shifted to representtive Propgte new terms only to representtive (less redundncy)
Stte Equivlence Disjoint set forest represents stte equivlence clsses s 1, s 4, s 3, s 5, s 6 b s 2 c s 1, s 3, s 4, s 5 d s 4 e s 4, s 5 = d c = e = e s 6 e Sttes re equivlent if they re in the sme tree Representtive of equivlence clss = root in forest Informtion shifted to representtive Propgte new terms only to representtive (less redundncy)
Conclusion nd Outlook Implementing efficient decision methods chllenging Prototype implementtion exists for modl logic with globl modlities Preliminry results encourging Still much room for optimiztion
References Hybrid Logic C. Areces nd B. ten Cte. Hybrid Logics. In P. Blckburn, J. vn Benthem, nd F. Wolter, editors, Hndbook of Modl Logic. Elsevier, 2007. Pttern-bsed blocking M. Kminski nd G. Smolk. Hybrid Tbleux for the Difference Modlity. In Proc. 5th Workshop on Methods for Modlities (M4M-5), pp. 269-284, Cchn, Frnce, November 2007. To Apper in ENTCS M. Kminski nd G. Smolk. Terminting Tbleu Systems for Modl Logic with Equlity. Drft. April 2008. http://www.ps.uni-sb.de/ppers/bstrcts/kminskismolk08equlity.pdf Superset-mtching J. Hoffmnn nd J. Koehler. A New Method to Index nd Query Sets. In Proceedings of the 16th Interntionl Joint Conference on Artificil Intelligence, pp. 462-467, 1999. E. Giunchigli nd O. Tcchell. A subset-mtching size-bounded cche for stisfibility of modl logics. In Proceedings Interntionl Conference Tbleux 2000, pp. 237-251. 2000. Disjoint Set Forests T. H. Cormen, C. E. Leiserson, R. L. Rivest, nd C. Stein. Introduction to Algorithms. MIT Press, 2001.