Succinct Compilation of Propositional Theories Simone Bova Vienna - - PowerPoint PPT Presentation

succinct compilation of propositional theories
SMART_READER_LITE
LIVE PREVIEW

Succinct Compilation of Propositional Theories Simone Bova Vienna - - PowerPoint PPT Presentation

C LASSICAL C OMPILATION P ARAMETERIZED C OMPILATION R ESEARCH A GENDA Succinct Compilation of Propositional Theories Simone Bova Vienna University of Technology Universidad del Pa s Vasco February 6, 2013 C LASSICAL C OMPILATION P


slide-1
SLIDE 1

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Succinct Compilation of Propositional Theories

Simone Bova

Vienna University of Technology

Universidad del Pa´ ıs Vasco February 6, 2013

slide-2
SLIDE 2

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Outline

Classical Compilation Parameterized Compilation Research Agenda

slide-3
SLIDE 3

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Outline

Classical Compilation Parameterized Compilation Research Agenda

slide-4
SLIDE 4

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Idea

Many reasoning tasks in artificial intelligence (inference, decision) are computationally intractable.

slide-5
SLIDE 5

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Idea

Many reasoning tasks in artificial intelligence (inference, decision) are computationally intractable. Example (LATINCOMPLETION) 1 2 Problem LATINCOMPLETION Instance A partial function f : [n] × [n] → [n].

slide-6
SLIDE 6

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Idea

Many reasoning tasks in artificial intelligence (inference, decision) are computationally intractable. Example (LATINCOMPLETION) 1 2

  • 1

3 2 3 2 1 2 1 3 Problem LATINCOMPLETION Instance A partial function f : [n] × [n] → [n]. Question Does there exist a n × n Latin square extending f? LATINCOMPLETION is computationally intractable (Colbourn, 1984).

slide-7
SLIDE 7

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Idea

However, part of the information specifying such tasks is typically background knowledge, ie:

slide-8
SLIDE 8

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Idea

However, part of the information specifying such tasks is typically background knowledge, ie:

  • 1. known before the execution of individual tasks;
slide-9
SLIDE 9

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Idea

However, part of the information specifying such tasks is typically background knowledge, ie:

  • 1. known before the execution of individual tasks;
  • 2. remains stable through the execution of several individual tasks.
slide-10
SLIDE 10

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Idea

A proposition is a Boolean formula (Boolean variables combined by ¬, ∧, ∨). Example (Cont’d) 1 2

slide-11
SLIDE 11

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Idea

A proposition is a Boolean formula (Boolean variables combined by ¬, ∧, ∨). Example (Cont’d) 1 2 Is the proposition φ3 ∧ x111 ∧ x222 satisfiable?

slide-12
SLIDE 12

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Idea

A proposition is a Boolean formula (Boolean variables combined by ¬, ∧, ∨). Example (Cont’d) 1 2

  • 1

3 2 3 2 1 2 1 3 Is the proposition φ3 ∧ x111 ∧ x222 satisfiable? Yes!

slide-13
SLIDE 13

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Idea

A proposition is a Boolean formula (Boolean variables combined by ¬, ∧, ∨). Example (Cont’d) 1 2

  • 1

3 2 3 2 1 2 1 3 Is the proposition φ3 ∧ x111 ∧ x222 satisfiable? Yes! In the above LATINCOMPLETION instance:

  • 1. φ3, the propositional theory of the 3 × 3 Latin square,

is background knowledge (known, stable);

slide-14
SLIDE 14

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Idea

A proposition is a Boolean formula (Boolean variables combined by ¬, ∧, ∨). Example (Cont’d) 1 2

  • 1

3 2 3 2 1 2 1 3 Is the proposition φ3 ∧ x111 ∧ x222 satisfiable? Yes! In the above LATINCOMPLETION instance:

  • 1. φ3, the propositional theory of the 3 × 3 Latin square,

is background knowledge (known, stable);

  • 2. x111 ∧ x222, the given partial function,

is online information (unknown, varying).

slide-15
SLIDE 15

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Idea

A proposition is a Boolean formula (Boolean variables combined by ¬, ∧, ∨). Example (Cont’d) 1 2

  • 1

3 2 3 2 1 2 1 3 Is the proposition φ3 ∧ x111 ∧ x222 satisfiable? Yes! In the above LATINCOMPLETION instance:

  • 1. φ3, the propositional theory of the 3 × 3 Latin square,

is background knowledge (known, stable);

  • 2. x111 ∧ x222, the given partial function,

is online information (unknown, varying). Infer the solution by combining 1 and 2.

slide-16
SLIDE 16

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Idea

Example (Cont’d)

slide-17
SLIDE 17

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Idea

Example (Cont’d) For (i, j, k) ∈ [n]3, the propositional variable xijk means, “(i, j) maps to k ”.

slide-18
SLIDE 18

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Idea

Example (Cont’d) For (i, j, k) ∈ [n]3, the propositional variable xijk means, “(i, j) maps to k ”. φn is the propositional theory of the n × n Latin square, ie, satisfying assignments to φn correspond to n × n Latin squares (mapping (i, j) to k iff the assignment maps variable xijk to ⊤).

slide-19
SLIDE 19

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Idea

Example (Cont’d) For (i, j, k) ∈ [n]3, the propositional variable xijk means, “(i, j) maps to k ”. φn is the propositional theory of the n × n Latin square, ie, satisfying assignments to φn correspond to n × n Latin squares (mapping (i, j) to k iff the assignment maps variable xijk to ⊤). φn = φn1 ∧ φn2 ∧ φn3 where: φn1 =

  • (i,j)∈[n]2

   

k∈[n]

xijk   ∧

  • k∈[n]

 xijk →  

  • k=k′∈[n]

¬xijk′       , φn2 =

  • (i,k)∈[n]2

   

j∈[n]

xijk   ∧

  • j∈[n]

 xijk →  

j=j′∈[n]

¬xij′k       , φn3 =

  • (j,k)∈[n]2

   

i∈[n]

xijk   ∧

  • i∈[n]

 xijk →  

i=i′∈[n]

¬xi′jk       .

slide-20
SLIDE 20

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Idea

Exploit background knowledge against computational intractability:

slide-21
SLIDE 21

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Idea

Exploit background knowledge against computational intractability:

  • 1. preprocess the background knowledge into a compiled knowledge

that allows for solving the reasoning task easily (in polynomial time);

slide-22
SLIDE 22

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Idea

Exploit background knowledge against computational intractability:

  • 1. preprocess the background knowledge into a compiled knowledge

that allows for solving the reasoning task easily (in polynomial time);

  • 2. process many individual tasks using the shared compiled knowledge

together with task specific online information.

slide-23
SLIDE 23

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Idea

Exploit background knowledge against computational intractability:

  • 1. preprocess the background knowledge into a compiled knowledge

that allows for solving the reasoning task easily (in polynomial time);

  • 2. process many individual tasks using the shared compiled knowledge

together with task specific online information. Compilation cost is amortized by reusing compiled knowledge to ease a large number of individual executions.

slide-24
SLIDE 24

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Entailment

The key problem in knowledge compilation since the 90s: Problem CLAUSEENTAILMENT Instance A proposition φ (theory) and a clause δ (query). Question φ | = δ?

slide-25
SLIDE 25

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Entailment

The key problem in knowledge compilation since the 90s: Problem CLAUSEENTAILMENT Instance A proposition φ (theory) and a clause δ (query). Question φ | = δ?

φ δ1 δ2 w x y z (x ∨ z) ∧ (x ∨ y) ∧ (¬w ∨ y ∨ ¬z) ∧ (¬w ∨ ¬x ∨ ¬y) ¬w ∨ ¬y ∨ z y ∨ z 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

slide-26
SLIDE 26

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Entailment

CLAUSEENTAILMENT is computationally intractable (coNP-hard).

slide-27
SLIDE 27

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Entailment

CLAUSEENTAILMENT is computationally intractable (coNP-hard). Take φ, the theory, as background knowledge and δ, the query, as online information (practical case in artificial intelligence).

slide-28
SLIDE 28

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Entailment

CLAUSEENTAILMENT is computationally intractable (coNP-hard). Take φ, the theory, as background knowledge and δ, the query, as online information (practical case in artificial intelligence). Definition (Compilation) A compilation is a (computable) map c st for all φ and δ:

  • 1. c(φ) |

= δ iff φ | = δ (ie, c(φ) logically equivalent to φ);

  • 2. c(φ) |

= δ is poly-time decidable.

slide-29
SLIDE 29

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Entailment

CLAUSEENTAILMENT is computationally intractable (coNP-hard). Take φ, the theory, as background knowledge and δ, the query, as online information (practical case in artificial intelligence). Definition (Compilation) A compilation is a (computable) map c st for all φ and δ:

  • 1. c(φ) |

= δ iff φ | = δ (ie, c(φ) logically equivalent to φ);

  • 2. c(φ) |

= δ is poly-time decidable. A series of hard instances, (φ, δ1) (φ, δ2) (φ, δ3) . . .

slide-30
SLIDE 30

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Entailment

CLAUSEENTAILMENT is computationally intractable (coNP-hard). Take φ, the theory, as background knowledge and δ, the query, as online information (practical case in artificial intelligence). Definition (Compilation) A compilation is a (computable) map c st for all φ and δ:

  • 1. c(φ) |

= δ iff φ | = δ (ie, c(φ) logically equivalent to φ);

  • 2. c(φ) |

= δ is poly-time decidable. A series of hard instances, compiles into a series of easy equivalent instances: (φ, δ1)

  • (c(φ), δ1)

(φ, δ2)

  • (c(φ), δ2)

(φ, δ3)

  • (c(φ), δ3)

. . . . . . . . .

slide-31
SLIDE 31

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Entailment

Example (Compilation into DNF) Compile φ into DNF c(φ) logically equivalent to φ, eg:

slide-32
SLIDE 32

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Entailment

Example (Compilation into DNF) Compile φ into DNF c(φ) logically equivalent to φ, eg: φ = (x1 ∨ x2) ∧ (x3 ∨ x4),

slide-33
SLIDE 33

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Entailment

Example (Compilation into DNF) Compile φ into DNF c(φ) logically equivalent to φ, eg: φ = (x1 ∨ x2) ∧ (x3 ∨ x4), c(φ) = (x1 ∧ x3) ∨ (x1 ∧ x4) ∨ (x2 ∧ x3) ∨ (x2 ∧ x4).

slide-34
SLIDE 34

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Entailment

Example (Compilation into DNF) Compile φ into DNF c(φ) logically equivalent to φ, eg: φ = (x1 ∨ x2) ∧ (x3 ∨ x4), c(φ) = (x1 ∧ x3) ∨ (x1 ∧ x4) ∨ (x2 ∧ x3) ∨ (x2 ∧ x4). Check c(φ) | = δ, eg, δ = ¬x3 ∨ x4:

slide-35
SLIDE 35

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Entailment

Example (Compilation into DNF) Compile φ into DNF c(φ) logically equivalent to φ, eg: φ = (x1 ∨ x2) ∧ (x3 ∨ x4), c(φ) = (x1 ∧ x3) ∨ (x1 ∧ x4) ∨ (x2 ∧ x3) ∨ (x2 ∧ x4). Check c(φ) | = δ, eg, δ = ¬x3 ∨ x4: c(φ) | = δ iff c(φ) ∧ ¬δ unsatisfiable,

slide-36
SLIDE 36

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Entailment

Example (Compilation into DNF) Compile φ into DNF c(φ) logically equivalent to φ, eg: φ = (x1 ∨ x2) ∧ (x3 ∨ x4), c(φ) = (x1 ∧ x3) ∨ (x1 ∧ x4) ∨ (x2 ∧ x3) ∨ (x2 ∧ x4). Check c(φ) | = δ, eg, δ = ¬x3 ∨ x4: c(φ) | = δ iff c(φ) ∧ ¬δ unsatisfiable, iff c(φ) ∧ (x3 ∧ ¬x4) unsatisfiable,

slide-37
SLIDE 37

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Entailment

Example (Compilation into DNF) Compile φ into DNF c(φ) logically equivalent to φ, eg: φ = (x1 ∨ x2) ∧ (x3 ∨ x4), c(φ) = (x1 ∧ x3) ∨ (x1 ∧ x4) ∨ (x2 ∧ x3) ∨ (x2 ∧ x4). Check c(φ) | = δ, eg, δ = ¬x3 ∨ x4: c(φ) | = δ iff c(φ) ∧ ¬δ unsatisfiable, iff c(φ) ∧ (x3 ∧ ¬x4) unsatisfiable, iff ((x1 ∧ x3) ∨ (x1 ∧ x4) ∨ (x2 ∧ x3) ∨ (x2 ∧ x4)) ∧ (x3 ∧ ¬x4) unsatisfiable,

slide-38
SLIDE 38

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Entailment

Example (Compilation into DNF) Compile φ into DNF c(φ) logically equivalent to φ, eg: φ = (x1 ∨ x2) ∧ (x3 ∨ x4), c(φ) = (x1 ∧ x3) ∨ (x1 ∧ x4) ∨ (x2 ∧ x3) ∨ (x2 ∧ x4). Check c(φ) | = δ, eg, δ = ¬x3 ∨ x4: c(φ) | = δ iff c(φ) ∧ ¬δ unsatisfiable, iff c(φ) ∧ (x3 ∧ ¬x4) unsatisfiable, iff ((x1 ∧ x3) ∨ (x1 ∧ x4) ∨ (x2 ∧ x3) ∨ (x2 ∧ x4)) ∧ (x3 ∧ ¬x4) unsatisfiable, iff x1 ∨ x2 unsatisfiable (false).

slide-39
SLIDE 39

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Entailment

Example (Compilation into DNF) Compile φ into DNF c(φ) logically equivalent to φ, eg: φ = (x1 ∨ x2) ∧ (x3 ∨ x4), c(φ) = (x1 ∧ x3) ∨ (x1 ∧ x4) ∨ (x2 ∧ x3) ∨ (x2 ∧ x4). Check c(φ) | = δ, eg, δ = ¬x3 ∨ x4: c(φ) | = δ iff c(φ) ∧ ¬δ unsatisfiable, iff c(φ) ∧ (x3 ∧ ¬x4) unsatisfiable, iff ((x1 ∧ x3) ∨ (x1 ∧ x4) ∨ (x2 ∧ x3) ∨ (x2 ∧ x4)) ∧ (x3 ∧ ¬x4) unsatisfiable, iff x1 ∨ x2 unsatisfiable (false). Thus, CLAUSEENTAILMENT compiles via such c:

slide-40
SLIDE 40

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Entailment

Example (Compilation into DNF) Compile φ into DNF c(φ) logically equivalent to φ, eg: φ = (x1 ∨ x2) ∧ (x3 ∨ x4), c(φ) = (x1 ∧ x3) ∨ (x1 ∧ x4) ∨ (x2 ∧ x3) ∨ (x2 ∧ x4). Check c(φ) | = δ, eg, δ = ¬x3 ∨ x4: c(φ) | = δ iff c(φ) ∧ ¬δ unsatisfiable, iff c(φ) ∧ (x3 ∧ ¬x4) unsatisfiable, iff ((x1 ∧ x3) ∨ (x1 ∧ x4) ∨ (x2 ∧ x3) ∨ (x2 ∧ x4)) ∧ (x3 ∧ ¬x4) unsatisfiable, iff x1 ∨ x2 unsatisfiable (false). Thus, CLAUSEENTAILMENT compiles via such c:

  • 1. c(φ) |

= δ iff φ | = δ for all δ;

slide-41
SLIDE 41

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Entailment

Example (Compilation into DNF) Compile φ into DNF c(φ) logically equivalent to φ, eg: φ = (x1 ∨ x2) ∧ (x3 ∨ x4), c(φ) = (x1 ∧ x3) ∨ (x1 ∧ x4) ∨ (x2 ∧ x3) ∨ (x2 ∧ x4). Check c(φ) | = δ, eg, δ = ¬x3 ∨ x4: c(φ) | = δ iff c(φ) ∧ ¬δ unsatisfiable, iff c(φ) ∧ (x3 ∧ ¬x4) unsatisfiable, iff ((x1 ∧ x3) ∨ (x1 ∧ x4) ∨ (x2 ∧ x3) ∨ (x2 ∧ x4)) ∧ (x3 ∧ ¬x4) unsatisfiable, iff x1 ∨ x2 unsatisfiable (false). Thus, CLAUSEENTAILMENT compiles via such c:

  • 1. c(φ) |

= δ iff φ | = δ for all δ;

  • 2. c(φ) |

= δ is poly-time decidable (reduction to DNF satisfiability, easy).

slide-42
SLIDE 42

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Succinctness

Example (Compilation into DNF, Cont’d)

  • φ = (x1 ∨ x2) ∧ (x3 ∨ x4) ∧ · · · ∧ (xn−1 ∨ xn) is size |φ| = n;
slide-43
SLIDE 43

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Succinctness

Example (Compilation into DNF, Cont’d)

  • φ = (x1 ∨ x2) ∧ (x3 ∨ x4) ∧ · · · ∧ (xn−1 ∨ xn) is size |φ| = n;
  • |c(φ)| ≥ |(x1 ∧ x3 ∧ · · · ∧ xn−1) ∨ · · · ∨ (x2 ∧ x4 ∧ · · · ∧ xn)| ≥ 2n/2 · n/2;
slide-44
SLIDE 44

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Succinctness

Example (Compilation into DNF, Cont’d)

  • φ = (x1 ∨ x2) ∧ (x3 ∨ x4) ∧ · · · ∧ (xn−1 ∨ xn) is size |φ| = n;
  • |c(φ)| ≥ |(x1 ∧ x3 ∧ · · · ∧ xn−1) ∨ · · · ∨ (x2 ∧ x4 ∧ · · · ∧ xn)| ≥ 2n/2 · n/2;
  • |c(φ)| is not polynomially bounded in the size of |φ|.
slide-45
SLIDE 45

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Succinctness

Example (Compilation into DNF, Cont’d)

  • φ = (x1 ∨ x2) ∧ (x3 ∨ x4) ∧ · · · ∧ (xn−1 ∨ xn) is size |φ| = n;
  • |c(φ)| ≥ |(x1 ∧ x3 ∧ · · · ∧ xn−1) ∨ · · · ∨ (x2 ∧ x4 ∧ · · · ∧ xn)| ≥ 2n/2 · n/2;
  • |c(φ)| is not polynomially bounded in the size of |φ|.

Definition (Succinctness) A compilation c is succinct if |c(φ)| is polynomially bounded in |φ|, ie, there exists d st for all φ, |c(φ)| ∈ O(|φ|d).

slide-46
SLIDE 46

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Succinctness

Example (Compilation into DNF, Cont’d)

  • φ = (x1 ∨ x2) ∧ (x3 ∨ x4) ∧ · · · ∧ (xn−1 ∨ xn) is size |φ| = n;
  • |c(φ)| ≥ |(x1 ∧ x3 ∧ · · · ∧ xn−1) ∨ · · · ∨ (x2 ∧ x4 ∧ · · · ∧ xn)| ≥ 2n/2 · n/2;
  • |c(φ)| is not polynomially bounded in the size of |φ|.

Definition (Succinctness) A compilation c is succinct if |c(φ)| is polynomially bounded in |φ|, ie, there exists d st for all φ, |c(φ)| ∈ O(|φ|d). Remark Without succinctness, CLAUSEENTAILMENT compiles even requiring that c(φ) | = δ is decidable in time O(|φ|d).

slide-47
SLIDE 47

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Compilability

LITERALENTAILMENT is CLAUSEENTAILMENT restricted to instances (φ, δ) where δ is a literal.

slide-48
SLIDE 48

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Compilability

LITERALENTAILMENT is CLAUSEENTAILMENT restricted to instances (φ, δ) where δ is a literal. Fact LITERALENTAILMENT compiles succinctly.

slide-49
SLIDE 49

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Compilability

LITERALENTAILMENT is CLAUSEENTAILMENT restricted to instances (φ, δ) where δ is a literal. Fact LITERALENTAILMENT compiles succinctly. Proof. The map c sends φ to c(φ), the conjunction of all literals entailed by φ (computing c involves solving ≤ |φ| many instances of a coNP-hard problem). For all literals δ, clearly c(φ) | = δ is poly-time decidable (check δ occurs in c(φ) as a conjunct), c(φ) | = δ iff φ | = δ. Moreover, |c(φ)| ≤ |φ|, thus c is succinct.

slide-50
SLIDE 50

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Classical Compilability | Incompilability

Theorem (Selman and Kautz, 1996) CLAUSEENTAILMENT does not compile succinctly (under standard assumptions in complexity theory).

slide-51
SLIDE 51

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Classical Compilability | Incompilability

Theorem (Selman and Kautz, 1996) CLAUSEENTAILMENT does not compile succinctly (under standard assumptions in complexity theory). Proof. Suppose not. Let n ∈ N. Key observation (easy). There exists a proposition τn of size O(n3) st for all 3CNF χ

  • n n variables, there exists a clause δχ st τn |

= δχ if and only if χ is unsatisfiable. Let τn c(τn) be a succint compilation of τn. We give a polynomial-time algorithm for the satisfiability of 3CNFs on n variables, ie, 3SAT in P/poly which implies NP⊆P/poly and thus PH collapses to Σp

2 (Karp

and Lipton, 1980). The algorithm, given a propositional formula χ on n variables, decides in polynomial-time the question c(τn) | = δχ (here c(τn) is the advice), and reports that χ is satisfiable if and only if the answer is negative.

slide-52
SLIDE 52

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Outline

Classical Compilation Parameterized Compilation Research Agenda

slide-53
SLIDE 53

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Fixed-Parameter Tractability

3SAT: Given a 3CNF φ on n variables, is φ satisfiable?

slide-54
SLIDE 54

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Fixed-Parameter Tractability

3SAT: Given a 3CNF φ on n variables, is φ satisfiable? 3SAT is NP-hard:

slide-55
SLIDE 55

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Fixed-Parameter Tractability

3SAT: Given a 3CNF φ on n variables, is φ satisfiable? 3SAT is NP-hard:

  • 1. solvable in exponential time O(dn) with d < 2;
slide-56
SLIDE 56

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Fixed-Parameter Tractability

3SAT: Given a 3CNF φ on n variables, is φ satisfiable? 3SAT is NP-hard:

  • 1. solvable in exponential time O(dn) with d < 2;
  • 2. believed not solvable in subexponential time 2o(n).
slide-57
SLIDE 57

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Fixed-Parameter Tractability

3SAT: Given a 3CNF φ on n variables, is φ satisfiable? 3SAT is NP-hard:

  • 1. solvable in exponential time O(dn) with d < 2;
  • 2. believed not solvable in subexponential time 2o(n).

Theorem 3SAT is is solvable in time O(k2k · n) where k is the treewidth of the instance

slide-58
SLIDE 58

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Fixed-Parameter Tractability

3SAT: Given a 3CNF φ on n variables, is φ satisfiable? 3SAT is NP-hard:

  • 1. solvable in exponential time O(dn) with d < 2;
  • 2. believed not solvable in subexponential time 2o(n).

Theorem 3SAT is is solvable in time O(k2k · n) where k is the treewidth of the instance O(k2k · n) faster than O(dn) if k is much smaller than n (k ≪ n).

slide-59
SLIDE 59

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Fixed-Parameter Tractability

3SAT: Given a 3CNF φ on n variables, is φ satisfiable? 3SAT is NP-hard:

  • 1. solvable in exponential time O(dn) with d < 2;
  • 2. believed not solvable in subexponential time 2o(n).

Theorem 3SAT is is solvable in time O(k2k · n) where k is the treewidth of the instance O(k2k · n) faster than O(dn) if k is much smaller than n (k ≪ n). Example Treewidth tw(φ) of typical industrial instance φ on 2000 vars is < 10.

slide-60
SLIDE 60

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Fixed-Parameter Tractability

3SAT: Given a 3CNF φ on n variables, is φ satisfiable? 3SAT is NP-hard:

  • 1. solvable in exponential time O(dn) with d < 2;
  • 2. believed not solvable in subexponential time 2o(n).

Theorem 3SAT is is solvable in time O(k2k · n) where k is the treewidth of the instance, ie, 3SAT is fixed-parameter tractable wrt parameterization tw, ie, it has a runtime of the form f(tw(φ))|φ|d for some constant d and function f. O(k2k · n) faster than O(dn) if k is much smaller than n (k ≪ n). Example Treewidth tw(φ) of typical industrial instance φ on 2000 vars is < 10.

slide-61
SLIDE 61

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Treewidth

Example

φ = (¬x7 ∨ ¬x5 ∨ ¬x3) ∧ (x4 ∨ x2 ∨ ¬x3) ∧ (¬x3 ∨ ¬x8 ∨ ¬x4) ∧ (¬x8 ∨ x6 ∨ ¬x5) ∧ (x4 ∨ ¬x1 ∨ ¬x7).

slide-62
SLIDE 62

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Treewidth

Example

φ = (¬x7 ∨ ¬x5 ∨ ¬x3) ∧ (x4 ∨ x2 ∨ ¬x3) ∧ (¬x3 ∨ ¬x8 ∨ ¬x4) ∧ (¬x8 ∨ x6 ∨ ¬x5) ∧ (x4 ∨ ¬x1 ∨ ¬x7).

1 4 3 5 2 7 8 6 Figure: Primal graph of φ.

slide-63
SLIDE 63

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Treewidth

Example

φ = (¬x7 ∨ ¬x5 ∨ ¬x3) ∧ (x4 ∨ x2 ∨ ¬x3) ∧ (¬x3 ∨ ¬x8 ∨ ¬x4) ∧ (¬x8 ∨ x6 ∨ ¬x5) ∧ (x4 ∨ ¬x1 ∨ ¬x7).

1 4 3 5 2 7 8 6 Figure: {{1, 4}, {2, 3}, {5, 6, 8}, {7}} 4-bramble implies tw(φ) ≥ 3.

slide-64
SLIDE 64

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Treewidth

Example

φ = (¬x7 ∨ ¬x5 ∨ ¬x3) ∧ (x4 ∨ x2 ∨ ¬x3) ∧ (¬x3 ∨ ¬x8 ∨ ¬x4) ∧ (¬x8 ∨ x6 ∨ ¬x5) ∧ (x4 ∨ ¬x1 ∨ ¬x7).

1 4 3 5 2 7 8 6 Figure: Primal graph of φ. Elimination 2, 1, 6, 5, 4, 3, 8, 7 gives tw(φ) ≤ 3.

slide-65
SLIDE 65

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Treewidth

Example

φ = (¬x7 ∨ ¬x5 ∨ ¬x3) ∧ (x4 ∨ x2 ∨ ¬x3) ∧ (¬x3 ∨ ¬x8 ∨ ¬x4) ∧ (¬x8 ∨ x6 ∨ ¬x5) ∧ (x4 ∨ ¬x1 ∨ ¬x7).

1 4 3 5 2 7 8 6 Figure: Eliminating 2, neigborhood size |{3, 4}| = 2 . . .

slide-66
SLIDE 66

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Treewidth

Example

φ = (¬x7 ∨ ¬x5 ∨ ¬x3) ∧ (x4 ∨ x2 ∨ ¬x3) ∧ (¬x3 ∨ ¬x8 ∨ ¬x4) ∧ (¬x8 ∨ x6 ∨ ¬x5) ∧ (x4 ∨ ¬x1 ∨ ¬x7).

1 4 3 5 2 7 8 6 Figure: Eliminating 1, neigborhood size |{4, 7}| = 2 . . .

slide-67
SLIDE 67

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Treewidth

Example

φ = (¬x7 ∨ ¬x5 ∨ ¬x3) ∧ (x4 ∨ x2 ∨ ¬x3) ∧ (¬x3 ∨ ¬x8 ∨ ¬x4) ∧ (¬x8 ∨ x6 ∨ ¬x5) ∧ (x4 ∨ ¬x1 ∨ ¬x7).

1 4 3 5 2 7 8 6 Figure: Eliminating 6, neigborhood size |{5, 8}| = 2 . . .

slide-68
SLIDE 68

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Treewidth

Example

φ = (¬x7 ∨ ¬x5 ∨ ¬x3) ∧ (x4 ∨ x2 ∨ ¬x3) ∧ (¬x3 ∨ ¬x8 ∨ ¬x4) ∧ (¬x8 ∨ x6 ∨ ¬x5) ∧ (x4 ∨ ¬x1 ∨ ¬x7).

1 4 3 2 7 8 6 5 Figure: Eliminating 5, neigborhood size |{3, 7, 8}| = 3 . . .

slide-69
SLIDE 69

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Treewidth

Example

φ = (¬x7 ∨ ¬x5 ∨ ¬x3) ∧ (x4 ∨ x2 ∨ ¬x3) ∧ (¬x3 ∨ ¬x8 ∨ ¬x4) ∧ (¬x8 ∨ x6 ∨ ¬x5) ∧ (x4 ∨ ¬x1 ∨ ¬x7).

1 3 2 7 8 6 5 Figure: Eliminating 4, neigborhood size |{3, 7, 8}| = 3.

slide-70
SLIDE 70

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Treewidth

Example

φ = (¬x7 ∨ ¬x5 ∨ ¬x3) ∧ (x4 ∨ x2 ∨ ¬x3) ∧ (¬x3 ∨ ¬x8 ∨ ¬x4) ∧ (¬x8 ∨ x6 ∨ ¬x5) ∧ (x4 ∨ ¬x1 ∨ ¬x7).

1 3 2 7 8 6 5 Figure: Eliminating 4, neigborhood size |{3, 7, 8}| = 3. Done.

slide-71
SLIDE 71

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Treewidth

Example

φ = (¬x7 ∨ ¬x5 ∨ ¬x3) ∧ (x4 ∨ x2 ∨ ¬x3) ∧ (¬x3 ∨ ¬x8 ∨ ¬x4) ∧ (¬x8 ∨ x6 ∨ ¬x5) ∧ (x4 ∨ ¬x1 ∨ ¬x7).

1 4 3 5 2 7 8 6 Figure: tw(φ) = 3.

slide-72
SLIDE 72

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Parameterized Compilation

CLAUSEENTAILMENT: Given (φ, δ), does φ | = δ?

slide-73
SLIDE 73

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Parameterized Compilation

CLAUSEENTAILMENT: Given (φ, δ), does φ | = δ? A parameterization is a map κ sending pairs (φ, δ) into N.

slide-74
SLIDE 74

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Parameterized Compilation

CLAUSEENTAILMENT: Given (φ, δ), does φ | = δ? A parameterization is a map κ sending pairs (φ, δ) into N. Definition (Parametrically Succinct Compilation) Let κ be a parameterization. A compilation c is (wrt parameterization κ):

slide-75
SLIDE 75

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Parameterized Compilation

CLAUSEENTAILMENT: Given (φ, δ), does φ | = δ? A parameterization is a map κ sending pairs (φ, δ) into N. Definition (Parametrically Succinct Compilation) Let κ be a parameterization. A compilation c is (wrt parameterization κ):

  • 1. kernel-size if |c(φ)| ≤ f(κ(φ, δ)) for some function f;
slide-76
SLIDE 76

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Parameterized Compilation

CLAUSEENTAILMENT: Given (φ, δ), does φ | = δ? A parameterization is a map κ sending pairs (φ, δ) into N. Definition (Parametrically Succinct Compilation) Let κ be a parameterization. A compilation c is (wrt parameterization κ):

  • 1. kernel-size if |c(φ)| ≤ f(κ(φ, δ)) for some function f;
  • 2. fpt-size (or fixed-parameter tractable in size) if

|c(φ)| ≤ f(κ(φ, δ)) · |(φ, δ)|d for some function f and constant d.

slide-77
SLIDE 77

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Parameterized Compilation

CLAUSEENTAILMENT fails classical compilation, ie, does not compile succinctly (unless PH collapses).

slide-78
SLIDE 78

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Parameterized Compilation

CLAUSEENTAILMENT fails classical compilation, ie, does not compile succinctly (unless PH collapses). Can we relativize classical incompilability by parametrized compilability? Ie:

slide-79
SLIDE 79

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Parameterized Compilation

CLAUSEENTAILMENT fails classical compilation, ie, does not compile succinctly (unless PH collapses). Can we relativize classical incompilability by parametrized compilability? Ie:

  • 1. find parameterizations κ st CLAUSEENTAILMENT

compiles in kernel-size (wrt κ);

slide-80
SLIDE 80

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Parameterized Compilation

CLAUSEENTAILMENT fails classical compilation, ie, does not compile succinctly (unless PH collapses). Can we relativize classical incompilability by parametrized compilability? Ie:

  • 1. find parameterizations κ st CLAUSEENTAILMENT

compiles in kernel-size (wrt κ);

  • 2. find parameterizations κ st CLAUSEENTAILMENT

compiles in fpt-size (wrt κ).

slide-81
SLIDE 81

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Parameterized Compilation

CLAUSEENTAILMENT fails classical compilation, ie, does not compile succinctly (unless PH collapses). Can we relativize classical incompilability by parametrized compilability? Ie:

  • 1. find parameterizations κ st CLAUSEENTAILMENT

compiles in kernel-size (wrt κ);

  • 2. find parameterizations κ st CLAUSEENTAILMENT

compiles in fpt-size (wrt κ). Remark

  • 1. There are examples witnessing (1) kernel-size compilability, (2 and not 1)

fpt-size compilability but kernel-size incompilability, and (not 2) fpt-size incompilability.

slide-82
SLIDE 82

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Parameterized Compilation

CLAUSEENTAILMENT fails classical compilation, ie, does not compile succinctly (unless PH collapses). Can we relativize classical incompilability by parametrized compilability? Ie:

  • 1. find parameterizations κ st CLAUSEENTAILMENT

compiles in kernel-size (wrt κ);

  • 2. find parameterizations κ st CLAUSEENTAILMENT

compiles in fpt-size (wrt κ). Remark

  • 1. There are examples witnessing (1) kernel-size compilability, (2 and not 1)

fpt-size compilability but kernel-size incompilability, and (not 2) fpt-size incompilability.

  • 2. Parameterizations κ yielding fixed-parameter tractability of

CLAUSEENTAILMENT are uninteresting wrt parameterized compilation.

slide-83
SLIDE 83

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Implicates

φ is a proposition, δ is a clause:

slide-84
SLIDE 84

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Implicates

φ is a proposition, δ is a clause:

  • 1. δ implicate of φ if φ |

= δ and ⊤ | = δ;

slide-85
SLIDE 85

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Implicates

φ is a proposition, δ is a clause:

  • 1. δ implicate of φ if φ |

= δ and ⊤ | = δ;

  • 2. δ prime implicate of φ if,

φ | = δ′ | = δ implies δ | = δ′ for all implicates δ′ of φ.

slide-86
SLIDE 86

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Implicates

φ is a proposition, δ is a clause:

  • 1. δ implicate of φ if φ |

= δ and ⊤ | = δ;

  • 2. δ prime implicate of φ if,

φ | = δ′ | = δ implies δ | = δ′ for all implicates δ′ of φ. pif(φ), prime implicate form of φ, is conjunction of prime implicates of φ.

slide-87
SLIDE 87

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Implicates

φ is a proposition, δ is a clause:

  • 1. δ implicate of φ if φ |

= δ and ⊤ | = δ;

  • 2. δ prime implicate of φ if,

φ | = δ′ | = δ implies δ | = δ′ for all implicates δ′ of φ. pif(φ), prime implicate form of φ, is conjunction of prime implicates of φ. Fact

  • 1. For all clauses δ, φ |

= δ iff δi | = δ for some clause δi of pif(φ).

slide-88
SLIDE 88

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Implicates

φ is a proposition, δ is a clause:

  • 1. δ implicate of φ if φ |

= δ and ⊤ | = δ;

  • 2. δ prime implicate of φ if,

φ | = δ′ | = δ implies δ | = δ′ for all implicates δ′ of φ. pif(φ), prime implicate form of φ, is conjunction of prime implicates of φ. Fact

  • 1. For all clauses δ, φ |

= δ iff δi | = δ for some clause δi of pif(φ).

  • 2. pif(φ) |

= δ is poly-time.

slide-89
SLIDE 89

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Implicates

φ is a proposition, δ is a clause:

  • 1. δ implicate of φ if φ |

= δ and ⊤ | = δ;

  • 2. δ prime implicate of φ if,

φ | = δ′ | = δ implies δ | = δ′ for all implicates δ′ of φ. pif(φ), prime implicate form of φ, is conjunction of prime implicates of φ. Fact

  • 1. For all clauses δ, φ |

= δ iff δi | = δ for some clause δi of pif(φ).

  • 2. pif(φ) |

= δ is poly-time.

  • 3. pif(φ) is logically equivalent to φ.
slide-90
SLIDE 90

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Implicates

φ is a proposition, δ is a clause:

  • 1. δ implicate of φ if φ |

= δ and ⊤ | = δ;

  • 2. δ prime implicate of φ if,

φ | = δ′ | = δ implies δ | = δ′ for all implicates δ′ of φ. pif(φ), prime implicate form of φ, is conjunction of prime implicates of φ. Fact

  • 1. For all clauses δ, φ |

= δ iff δi | = δ for some clause δi of pif(φ).

  • 2. pif(φ) |

= δ is poly-time.

  • 3. pif(φ) is logically equivalent to φ.

Remark Prime implicate forms can be redundant. Irredundant prime implicate forms are not unique.

slide-91
SLIDE 91

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Implicates

1

  • 2
  • 3
  • w

x y z φ x ∨ z x ∨ y ¬w ∨ y ∨ ¬z ¬w ∨ ¬y ∨ z ¬w ∨ ¬x ∨ ¬z ¬w ∨ ¬x ∨ ¬y 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

φ has 3 irredundant prime implicate forms.

slide-92
SLIDE 92

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Kernel-Size Compilation

Parameterization minvar(φ, δ) is the smallest k ∈ N such that φ is logically equivalent to a proposition on k variables.

slide-93
SLIDE 93

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Kernel-Size Compilation

Parameterization minvar(φ, δ) is the smallest k ∈ N such that φ is logically equivalent to a proposition on k variables. Observation CLAUSEENTAILMENT compiles in kernel-size wrt parameterization minvar.

slide-94
SLIDE 94

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Kernel-Size Compilation

Parameterization minvar(φ, δ) is the smallest k ∈ N such that φ is logically equivalent to a proposition on k variables. Observation CLAUSEENTAILMENT compiles in kernel-size wrt parameterization minvar. Proof. Let φ be a proposition. Take c(φ) be the prime implicate normal form of φ (computable by Quine and McKluskey algorithm, hard). Then c(φ) uses exactly minvar(φ, δ) = k variables, thus |c(φ)| ≤ k2k.

slide-95
SLIDE 95

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Kernel-Size Compilation

Parameterization minvar(φ, δ) is the smallest k ∈ N such that φ is logically equivalent to a proposition on k variables. Observation CLAUSEENTAILMENT compiles in kernel-size wrt parameterization minvar. Proof. Let φ be a proposition. Take c(φ) be the prime implicate normal form of φ (computable by Quine and McKluskey algorithm, hard). Then c(φ) uses exactly minvar(φ, δ) = k variables, thus |c(φ)| ≤ k2k. Conjecture CLAUSEENTAILMENT not in fpt-time wrt parameterization minvar.

slide-96
SLIDE 96

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Kernel-Size Compilation

F class of propositions, κ parameterization. F is κ-bounded if there exists k st for all φ ∈ F, κ(φ) ≤ k.

slide-97
SLIDE 97

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Kernel-Size Compilation

F class of propositions, κ parameterization. F is κ-bounded if there exists k st for all φ ∈ F, κ(φ) ≤ k. CLAUSEENTAILMENT(F) is CLAUSEENTAILMENT restricted to instances (φ, δ) with φ ∈ F.

slide-98
SLIDE 98

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Kernel-Size Compilation

F class of propositions, κ parameterization. F is κ-bounded if there exists k st for all φ ∈ F, κ(φ) ≤ k. CLAUSEENTAILMENT(F) is CLAUSEENTAILMENT restricted to instances (φ, δ) with φ ∈ F. Conjecture CLAUSEENTAILMENT(F) compiles in constant-size if and only if F is minvar-bounded.

slide-99
SLIDE 99

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Kernel-Size Compilation

F class of propositions, κ parameterization. F is κ-bounded if there exists k st for all φ ∈ F, κ(φ) ≤ k. CLAUSEENTAILMENT(F) is CLAUSEENTAILMENT restricted to instances (φ, δ) with φ ∈ F. Conjecture CLAUSEENTAILMENT(F) compiles in constant-size if and only if F is minvar-bounded. The proposition gives sufficiency (necessity is open).

slide-100
SLIDE 100

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Fpt-Size Compilation

Parameterization mintw(φ, δ) is the smallest k ∈ N such that φ is logically equivalent to a CNF of treewidth k.

slide-101
SLIDE 101

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Fpt-Size Compilation

Parameterization mintw(φ, δ) is the smallest k ∈ N such that φ is logically equivalent to a CNF of treewidth k. Observation CLAUSEENTAILMENT compiles in fpt-size wrt parameterization mintw.

slide-102
SLIDE 102

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Fpt-Size Compilation

Parameterization mintw(φ, δ) is the smallest k ∈ N such that φ is logically equivalent to a CNF of treewidth k. Observation CLAUSEENTAILMENT compiles in fpt-size wrt parameterization mintw. Proof. Let φ be a proposition using n variables. Let φ′ be an irredundant prime implicate normal form of φ with minimum treewidth (among all irredundant prime implicate normal forms of φ). Then, tw(φ′) = mintw(φ, δ) = k. Take c(φ) to be the join tree form (a certain CNF) of a small tree decomposition of φ′ (computable, hard). Then |c(φ)| ≤ k2k · n.

slide-103
SLIDE 103

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Fpt-Size Compilation

Parameterization mintw(φ, δ) is the smallest k ∈ N such that φ is logically equivalent to a CNF of treewidth k. Observation CLAUSEENTAILMENT compiles in fpt-size wrt parameterization mintw. Proof. Let φ be a proposition using n variables. Let φ′ be an irredundant prime implicate normal form of φ with minimum treewidth (among all irredundant prime implicate normal forms of φ). Then, tw(φ′) = mintw(φ, δ) = k. Take c(φ) to be the join tree form (a certain CNF) of a small tree decomposition of φ′ (computable, hard). Then |c(φ)| ≤ k2k · n. Conjecture CLAUSEENTAILMENT not in fpt-time neither compiles in kernel-size wrt parameterization mintw.

slide-104
SLIDE 104

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Fpt-Size Incompilability

Parameterization clsize(φ, δ) = |δ| is the number of literals in clause δ.

slide-105
SLIDE 105

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Fpt-Size Incompilability

Parameterization clsize(φ, δ) = |δ| is the number of literals in clause δ. Observation CLAUSEENTAILMENT does not compile in fpt-size prime implicate form wrt parameterization clsize.

slide-106
SLIDE 106

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Fpt-Size Incompilability

Parameterization clsize(φ, δ) = |δ| is the number of literals in clause δ. Observation CLAUSEENTAILMENT does not compile in fpt-size prime implicate form wrt parameterization clsize. Proof. Assume f and d witness fpt-size compilation c in prime implicate form, ie, |c(φ)| ≤ f(|δ|)|φ|d for all φ and δ. For all m, n ∈ N, let φmn =  

  • (i,j)∈[m]×[n]

(xi ∨ yij)   ∧  

i∈[m]

¬xi   . Then |φmn| = O(mn). Moreover, φmn has mn + (n + 1)m ≥ nm prime implicates ({y11, . . . , y1n, ¬x1} × {y21, . . . , y2n, ¬x2} × · · · × {ym1, . . . , ymn, ¬xm}). Therefore |c(φmn)| ≥ nm. Let |δ| = k and m, n ∈ N st f(k)|φmn|d < nm ≤ |c(φmn)|.

slide-107
SLIDE 107

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Fpt-Size Incompilability

Parameterization clsize(φ, δ) = |δ| is the number of literals in clause δ. Observation CLAUSEENTAILMENT does not compile in fpt-size prime implicate form wrt parameterization clsize. Proof. Assume f and d witness fpt-size compilation c in prime implicate form, ie, |c(φ)| ≤ f(|δ|)|φ|d for all φ and δ. For all m, n ∈ N, let φmn =  

  • (i,j)∈[m]×[n]

(xi ∨ yij)   ∧  

i∈[m]

¬xi   . Then |φmn| = O(mn). Moreover, φmn has mn + (n + 1)m ≥ nm prime implicates ({y11, . . . , y1n, ¬x1} × {y21, . . . , y2n, ¬x2} × · · · × {ym1, . . . , ymn, ¬xm}). Therefore |c(φmn)| ≥ nm. Let |δ| = k and m, n ∈ N st f(k)|φmn|d < nm ≤ |c(φmn)|. Conjecture CLAUSEENTAILMENT does not compile in fpt-size wrt parameterization clsize.

slide-108
SLIDE 108

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Outline

Classical Compilation Parameterized Compilation Research Agenda

slide-109
SLIDE 109

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Propositional Logic

Compilation map (Darwiche and Marquis, 2002):

  • 1. propositional reasoning tasks (entailment et cetera);
  • 2. propositional logic formalisms (formulas et cetera).

A certain formalism supports certain tasks in poly-time.

slide-110
SLIDE 110

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Propositional Logic

Compilation map (Darwiche and Marquis, 2002):

  • 1. propositional reasoning tasks (entailment et cetera);
  • 2. propositional logic formalisms (formulas et cetera).

A certain formalism supports certain tasks in poly-time. Typical complexity issues within the compilation map (under standard hypotheses in classical complexity):

  • 1. a formalism does not support a task in poly-time;
  • 2. a formalism does not compile into another formalism in poly-size.
slide-111
SLIDE 111

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Propositional Logic

Compilation map (Darwiche and Marquis, 2002):

  • 1. propositional reasoning tasks (entailment et cetera);
  • 2. propositional logic formalisms (formulas et cetera).

A certain formalism supports certain tasks in poly-time. Typical complexity issues within the compilation map (under standard hypotheses in classical complexity):

  • 1. a formalism does not support a task in poly-time;
  • 2. a formalism does not compile into another formalism in poly-size.

Revisit complexity issues of the compilation map within parameterized tractability and parameterized compilability.

slide-112
SLIDE 112

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Literature

  • M. Cadoli, F.M. Donini, P. Liberatore, and M. Schaerf.

Preprocessing of Intractable Problems. Information and Computation, 176(2), 89–120, 2002.

  • H. Chen.

Parameterized Compilability. In Proceedings of IJCAI’05, 412–417, 2005.

  • C. Colbourn.

The Complexity of Completing Partial Latin Squares. Discrete Applied Mathematics, 8, 25–30, 1984.

  • A. Darwiche and P. Marquis.

A Knowledge Compilation Map. Journal of Artificial Intelligence Research, 17:229–264, 2002.

  • G. Gogic, H. Kautz, H. Papadimitriou, and B. Selman.

The Comparative Linguistics of Knowledge Representation. In Proceedings of IJCAI’95, 862–869, 1995.

  • P. Mathieu and J.-P. Delahaye.

A Kind of Logical Compilation for Knowledge Bases. Theoretical Computer Science, 131(1):197–218, 1994.

  • B. Selman and H.A. Kautz.

Knowledge Compilation and Theory Approximation. Journal of the ACM, 43:193–224, 1996.

slide-113
SLIDE 113

CLASSICAL COMPILATION PARAMETERIZED COMPILATION RESEARCH AGENDA

Gracias por su atenci´

  • n!