On the Relative Efficiency of DPLL and OBDDs with Axiom and Join
Matti J¨ arvisalo
University of Helsinki, Finland
September 16, 2011 @ CP
- M. J¨
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 1 / 15
On the Relative Efficiency of DPLL and OBDDs with Axiom and Join - - PowerPoint PPT Presentation
On the Relative Efficiency of DPLL and OBDDs with Axiom and Join Matti J arvisalo University of Helsinki, Finland September 16, 2011 @ CP M. J arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 1 / 15 Background Two main
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 1 / 15
◮ Complete search-based methods: here DPLL and CDCL ◮ Compilation-based approaches: here OBDDs
◮ CDCL (with restarts) → Resolution
◮ DPLL → tree-like resolution
◮ there is a polynomial S′-proof of Fn w.r.t. n ◮ minimum-size S proofs of Fn are of exponential w.r.t. n
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 2 / 15
◮ Complete search-based methods: here DPLL and CDCL ◮ Compilation-based approaches: here OBDDs
◮ CDCL (with restarts) → Resolution
◮ DPLL → tree-like resolution
◮ there is a polynomial S′-proof of Fn w.r.t. n ◮ minimum-size S proofs of Fn are of exponential w.r.t. n
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 2 / 15
◮ With quantifier elimination (+weakening):
◮ Without quantifier elimination: OBDDaj
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 3 / 15
◮ With quantifier elimination (+weakening):
◮ Without quantifier elimination: OBDDaj
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 3 / 15
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 4 / 15
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 5 / 15
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 5 / 15
◮ here we do not restrict this non-deterministic choice.
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 6 / 15
◮ Rooted DAG with ⋆ decision nodes labelled with
⋆ two terminal nodes 0 and 1 ◮ Each decision node v has two
◮ Edge v → low(v) (high(v), resp.)
◮ a total variable order ≺ enforced on on all paths from root to terminals
◮ isomorphic subgraphs merged ◮ nodes with isomorphic children eliminated
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 7 / 15
◮ Bm(φm, ≺) is the single-node OBDD representing 0 ◮ for each i = 1..m, either
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 8 / 15
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 9 / 15
◮ (xi,0 ∨ xi,1) for each source node (in-degree 0) i of G; ◮ (¬xi,0) and (¬xi,1) for each sink node (out-degree 0) i of G; ◮ (¬xi1,a1 ∨ · · · ∨ ¬xik,ak ∨ xj,0 ∨ xj,1) for each non-source node j, where
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 10 / 15
1 Label each source j of G with axiom B((xj,0 ∨ xj,1), ≺). 2 Following an topological ordering ≺ of Gn: ◮ Poly-size OBDDaj derivation of B((xj,0 ∨ xj,1), ≺) for non-source j ⋆ OBDD of any n-variable formula is of size O(2n/n)
⋆ G has log-bounded node in-degree
◮ ⇒ poly-size OBDDaj derivation of B((xt,0 ∨ xt,1), ≺) for the sink t of G 3 Join B((xt,0 ∨ xt,1), ≺) with axioms B((¬xt,0), ≺) and B((¬xt,1), ≺).
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 11 / 15
1 Label each source j of G with axiom B((xj,0 ∨ xj,1), ≺). 2 Following an topological ordering ≺ of Gn: ◮ Poly-size OBDDaj derivation of B((xj,0 ∨ xj,1), ≺) for non-source j ⋆ OBDD of any n-variable formula is of size O(2n/n)
⋆ G has log-bounded node in-degree
◮ ⇒ poly-size OBDDaj derivation of B((xt,0 ∨ xt,1), ≺) for the sink t of G 3 Join B((xt,0 ∨ xt,1), ≺) with axioms B((¬xt,0), ≺) and B((¬xt,1), ≺).
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 11 / 15
◮ Introduce new variable x to stand for a ∧ b, where a and b are variables
◮ The extension rule of Extended Resolution
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 12 / 15
◮ Take new variables ei ↔ Ci for i = 1, . . . , m −1 using the extension rule
◮ Branch according to e1 ≺ · · · ≺ em−1 ⋆ ei = 0 ⇒ immediate conflict with unit propagation
⋆ All e′ i s 1 ⇒ conflicting unit clauses in πF
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 13 / 15
◮ OBDDaj proofs are exponential wrt n ◮ Fn has polynomial DPLL proofs under suitable extensions
n
n+1
n
n
n+1
◮ Explicit short proofs: [J¨
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 14 / 15
◮ OBDDaj proofs are exponential wrt n ◮ Fn has polynomial DPLL proofs under suitable extensions
n
n+1
n
n
n+1
◮ Explicit short proofs: [J¨
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 14 / 15
arvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP 15 / 15