Propositional Fragments for Knowledge Compilation and Quantified - - PowerPoint PPT Presentation

propositional fragments for knowledge compilation and
SMART_READER_LITE
LIVE PREVIEW

Propositional Fragments for Knowledge Compilation and Quantified - - PowerPoint PPT Presentation

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Sylvie Coste-Marquis Daniel Le Berre Florian Letombe Pierre Marquis CRIL, CNRS


slide-1
SLIDE 1

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae

Sylvie Coste-Marquis Daniel Le Berre Florian Letombe Pierre Marquis

CRIL, CNRS FRE 2499 Lens, Universit´ e d’Artois, France

Monday, July 11, 2005

1/15

slide-2
SLIDE 2

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Introduction

The qbf problem

◮ Canonical PSPACE-complete problem ◮ Can be used in many AI areas: planning, nonmonotonic

reasoning, paraconsistent inference, abduction, etc

◮ High complexity, both in theory and in practice ◮ A possible solution: tractable classes ◮ Instances of those tractable classes hard for current qbf

solvers (e.g. (renamable) Horn benchmarks)

2/15

slide-3
SLIDE 3

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Introduction

Outline

QBF Target fragments Negation normal form Other propositional fragments Complexity results Complexity landscape A glimpse at some proofs A polynomial case Conclusion and perspectives

3/15

slide-4
SLIDE 4

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae QBF

QBF: formal definition

Definition (QBF) A QBF Π is an expression of the form Q1X1 . . . QnXnΦ, (n ≥ 0)

◮ X1 . . . Xn sets of propositional variables ◮ Φ a propositional formula on those variables ◮ Qi(0 ≤ i ≤ n) an existential ∃ or universal ∀ quantifier

4/15

slide-5
SLIDE 5

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae QBF

Validity of a QBF

Existence of a winning strategy in a game against nature (∀) Example ∀ x ∃ y1, y2 [(y1 ∨ y2) ∧ (¬y2 ∨ x)∧ (¬y1 ∨ ¬y2) ∧ (y2 ∨ ¬x)]

5/15

slide-6
SLIDE 6

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae QBF

Validity of a QBF

Existence of a winning strategy in a game against nature (∀) Example ∀ x ∃ y1, y2 [(y1 ∨ y2)∧(¬y2 ∨ x) / / / / / / / / / / / / / / /∧ (¬y1 ∨ ¬y2) ∧ (y2∨¬x / / / / / /)]

⊤ y2 ¬y1 x

5/15

slide-7
SLIDE 7

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae QBF

Validity of a QBF

Existence of a winning strategy in a game against nature (∀) Example ∀ x ∃ y1, y2 [(y1 ∨ y2) ∧ (¬y2∨x / / / /)∧ (¬y1 ∨ ¬y2)∧(y2 ∨ ¬x) / / / / / / / / / / / / / / /]

⊤ ⊤ y2 ¬y1 ¬y2 y1 x

5/15

slide-8
SLIDE 8

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae QBF

Validity of a QBF

Existence of a winning strategy in a game against nature (∀) Example ∀ x ∃ y1, y2 [(y1 ∨ y2) ∧ (¬y2 ∨ x)∧ (¬y1 ∨ ¬y2) ∧ (y2 ∨ ¬x)]

⊤ ⊤ y2 ¬y1 ¬y2 y1 x

≡ ∃ y1 ∀ x ∃ y2 [(y1 ∨ y2) ∧ (¬y2 ∨ x)∧ (¬y1 ∨ ¬y2) ∧ (y2 ∨ ¬x)]

y1 x ¬y2 ⊥ ∗ ⊤

5/15

slide-9
SLIDE 9

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Target fragments Negation normal form

Definition (NNF [Darwiche 1999]) A formula in NNFPS is a rooted DAG where:

◮ each leaf node is labeled with true, false, x or ¬x, x ∈ PS ◮ each internal node is labeled with ∧ or ∨ and can have

arbitrarily many children Example

b a c d ¬a ¬b ¬d ¬c ∨ ∧ ∧ ∨ ∨ ∨ ∨ ∧ ∧ ∧ ∧ ∧ ∧ ∧ ∧

6/15

slide-10
SLIDE 10

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Target fragments Other propositional fragments

Properties [Darwiche 1999]

◮ Decomposability ◮ Determinism ◮ Smoothness ◮ Decision ◮ Ordering

7/15

slide-11
SLIDE 11

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Target fragments Other propositional fragments

Fragments of NNFPS: examples

Example

b a c d ¬a ¬b ¬d ¬c ∨ ∧ ∧ ∨ ∨ ∨ ∨ ∧ ∧ ∧ ∧ ∧ ∧ ∧ ∧

8/15

slide-12
SLIDE 12

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Target fragments Other propositional fragments

Fragments of NNFPS: examples

Decomposability: if C1, . . . , Cn are the children of and-node C, then Var(Ci) ∩ Var(Cj) = ∅ for i = j Example Decomposability

b a c d ¬a ¬b ¬d ¬c ∨ ∧ ∧ ∨ ∨ ∨ ∨ ∧ ∧ ∧ ∧ ∧ ∧ ∧ ∧

8/15

slide-13
SLIDE 13

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Target fragments Other propositional fragments

Fragments of NNFPS: examples

Determinism: if C1, . . . , Cn are the children of or-node C, then Ci ∧ Cj | = false for i = j Example Determinism

b a c d ¬a ¬b ¬d ¬c ∨ ∧ ∧ ∨ ∨ ∨ ∨ ∧ ∧ ∧ ∧ ∧ ∧ ∧ ∧

8/15

slide-14
SLIDE 14

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Target fragments Other propositional fragments

Fragments of NNFPS: examples

Smoothness: if C1, . . . , Cn are the children of or-node C, then Var(Ci) = Var(Cj) Example Smoothness

b a c d ¬a ¬b ¬d ¬c ∨ ∧ ∧ ∨ ∨ ∨ ∨ ∧ ∧ ∧ ∧ ∧ ∧ ∧ ∧

8/15

slide-15
SLIDE 15

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Target fragments Other propositional fragments

Fragments of NNFPS: definitions

Definition (Propositional fragments [Darwiche & Marquis 2001])

◮ DNNF: NNFPS + decomposability. ◮ d-DNNF: NNFPS + decomposability and determinism. ◮ FBDD: NNFPS + decomposability and decision. ◮ OBDD<: NNFPS + decomposability, decision and ordering. ◮ MODS: DNF ∩ d-DNNF + smoothness.

9/15

slide-16
SLIDE 16

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Complexity results Complexity landscape

Complexity results for qbf

Fragment Complexity PROPPS (general case) PSPACE-c CNF PSPACE-c DNF PSPACE-c d-DNNF PSPACE-c DNNF PSPACE-c FBDD PSPACE-c OBDD< PSPACE-c OBDD< (compatible prefix) ∈ P PI PSPACE-c IP PSPACE-c MODS ∈ P

10/15

slide-17
SLIDE 17

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Complexity results A glimpse at some proofs

Inclusion of fragments [Darwiche & Marquis 2001]

NNF d-NNF DNNF f-NNF BDD FBDD OBDD OBDD< MODS DNF CNF d-DNNF IP PI sd-DNNF s-NNF

11/15

slide-18
SLIDE 18

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Complexity results A glimpse at some proofs

Inclusion of fragments [Darwiche & Marquis 2001]

NNF d-NNF DNNF f-NNF BDD FBDD OBDD OBDD< MODS DNF CNF d-DNNF IP PI sd-DNNF s-NNF

11/15

slide-19
SLIDE 19

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Complexity results A glimpse at some proofs

Inclusion of fragments [Darwiche & Marquis 2001]

NNF d-NNF DNNF f-NNF BDD FBDD OBDD OBDD< MODS DNF CNF d-DNNF IP PI sd-DNNF s-NNF

11/15

slide-20
SLIDE 20

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Complexity results A glimpse at some proofs

Inclusion of fragments [Darwiche & Marquis 2001]

NNF d-NNF DNNF f-NNF BDD FBDD OBDD OBDD< MODS DNF CNF d-DNNF IP PI sd-DNNF s-NNF

11/15

slide-21
SLIDE 21

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Complexity results A glimpse at some proofs

Inclusion of fragments [Darwiche & Marquis 2001]

NNF d-NNF DNNF f-NNF BDD FBDD OBDD OBDD< MODS DNF CNF d-DNNF IP PI sd-DNNF s-NNF

11/15

slide-22
SLIDE 22

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Complexity results A glimpse at some proofs

Inclusion of fragments [Darwiche & Marquis 2001]

NNF d-NNF DNNF f-NNF BDD FBDD OBDD OBDD< MODS DNF CNF d-DNNF IP PI sd-DNNF s-NNF

11/15

slide-23
SLIDE 23

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Complexity results A polynomial case

OBDD< with compatible prefix: a polynomial case

◮ Prefix compatible: < extension of the variable ordering

induced by the prefix of the QBF

◮ Eliminating quantifiers from the innermost to the outermost

◮ Eliminating existential quantifiers ◮ Eliminating universal quantifiers (∀x ≡ ¬∃x¬) ◮ Reduce the OBDD< at each elimination step

◮ Remark: Negation in constant time in OBDD<

12/15

slide-24
SLIDE 24

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Complexity results A polynomial case

OBDD< with compatible prefix: a polynomial case

Σ = ∃x ∀y ∃z φ φ ≡ (x ∨ y) ∧ z

13/15

slide-25
SLIDE 25

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Complexity results A polynomial case

OBDD< with compatible prefix: a polynomial case

Σ = ∃x ∀y ∃z φ φ ≡ (x ∨ y) ∧ z

φ = x y ⊥ z ⊥ ⊤

13/15

slide-26
SLIDE 26

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Complexity results A polynomial case

OBDD< with compatible prefix: a polynomial case

Σ = ∃x ∀y ∃z φ φ ≡ (x ∨ y) ∧ z

x y ⊥ ∃z φ = ⊤

13/15

slide-27
SLIDE 27

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Complexity results A polynomial case

OBDD< with compatible prefix: a polynomial case

Σ = ∃x ∀y ∃z φ φ ≡ (x ∨ y) ∧ z

x y ⊤ ¬∃z φ = ⊥

13/15

slide-28
SLIDE 28

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Complexity results A polynomial case

OBDD< with compatible prefix: a polynomial case

Σ = ∃x ∀y ∃z φ φ ≡ (x ∨ y) ∧ z

x ⊤ ⊥ ∃y¬∃z φ =

13/15

slide-29
SLIDE 29

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Complexity results A polynomial case

OBDD< with compatible prefix: a polynomial case

Σ = ∃x ∀y ∃z φ φ ≡ (x ∨ y) ∧ z

x ⊥ ⊤ ¬∃y¬ ∃z φ = ∀y

13/15

slide-30
SLIDE 30

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Complexity results A polynomial case

OBDD< with compatible prefix: a polynomial case

Σ = ∃x ∀y ∃z φ φ ≡ (x ∨ y) ∧ z

∃x∀y∃z φ = ⊤ ⇒ Σ is valid

13/15

slide-31
SLIDE 31

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae Conclusion and perspectives

Conclusion

◮ Presentation of propositional fragments ◮ Numerous intractable fragments ◮ Some tractability results (under very restrictive conditions)

Perspectives

◮ Study of other (polynomial) complete or incomplete fragments ◮ Integrate specialized algorithms into our solver ◮ A sharper analysis of the prefix in order to improve our solver

14/15

slide-32
SLIDE 32

Propositional Fragments for Knowledge Compilation and Quantified Boolean Formulae That’s all folks!

Any questions ?

15/15