PI is not at least as succinct as MODS Nikolay Kaleyski July 7, - - PowerPoint PPT Presentation

pi is not at least as succinct as mods
SMART_READER_LITE
LIVE PREVIEW

PI is not at least as succinct as MODS Nikolay Kaleyski July 7, - - PowerPoint PPT Presentation

PI is not at least as succinct as MODS Nikolay Kaleyski July 7, 2017 Nikolay Kaleyski PI is not at least as succinct as MODS Known results in knowledge compilation A Knowledge Compilation Map, Adnan Darwiche & Pierre Marquis (2002)


slide-1
SLIDE 1

PI is not at least as succinct as MODS

Nikolay Kaleyski July 7, 2017

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-2
SLIDE 2

Known results in knowledge compilation

“A Knowledge Compilation Map”, Adnan Darwiche & Pierre Marquis (2002)

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-3
SLIDE 3

Known results in knowledge compilation (continued)

“A Knowledge Compilation Map”, Adnan Darwiche & Pierre Marquis (2002)

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-4
SLIDE 4

Background: Sentences and Formulas

A sentence is a directed acyclic graph with Boolean

  • perations in the internal nodes and literals in the leaves.

∨ & & & & x1 x2 x3 ¬x1 ¬x2 ¬x3

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-5
SLIDE 5

Background: Sentences and Formulas

A sentence is a directed acyclic graph with Boolean

  • perations in the internal nodes and literals in the leaves.

∨ & & & & x1 x2 x3 ¬x1 ¬x2 ¬x3

Every sentence has an equivalent Boolean formula. x1x2x3 ∨ x1x2x3 ∨ x1x2x3 ∨ x1x2x3

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-6
SLIDE 6

Background: Sentences and Formulas

A sentence is a directed acyclic graph with Boolean

  • perations in the internal nodes and literals in the leaves.

∨ & & & & x1 x2 x3 ¬x1 ¬x2 ¬x3

Every sentence has an equivalent Boolean formula. x1x2x3 ∨ x1x2x3 ∨ x1x2x3 ∨ x1x2x3 We will work with formulas.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-7
SLIDE 7

Background: Languages and Succinctness

A language is a class of formulas having some given property.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-8
SLIDE 8

Background: Languages and Succinctness

A language is a class of formulas having some given property. Examples of languages: CNF, DNF, NNF, etc.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-9
SLIDE 9

Background: Languages and Succinctness

A language is a class of formulas having some given property. Examples of languages: CNF, DNF, NNF, etc. A language L1 is at least as succinct as a language L2 (L1 ≤ L2) if there is a polynomial p such that (∀ϕ2 ∈ L2)(∃ϕ1 ∈ L1)(ϕ1 ≡ ϕ2 & |ϕ1| ≤ p(|ϕ2|))

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-10
SLIDE 10

Background: MODS and PI

A variable assignment can be expressed as a term containing all pertinent variables, e.g. x1x2x3x4x5 for f = {(x1, 1), (x2, 0), (x3, 0), (x4, 1), (x5, 1)}

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-11
SLIDE 11

Background: MODS and PI

A variable assignment can be expressed as a term containing all pertinent variables, e.g. x1x2x3x4x5 for f = {(x1, 1), (x2, 0), (x3, 0), (x4, 1), (x5, 1)} An implicate of a formula ϕ is a clause π such that (∀v : Vars(ϕ) → {0, 1})(ϕ(v) = 1 = ⇒ π(v) = 1) for any variable assignment v.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-12
SLIDE 12

Background: MODS and PI

A variable assignment can be expressed as a term containing all pertinent variables, e.g. x1x2x3x4x5 for f = {(x1, 1), (x2, 0), (x3, 0), (x4, 1), (x5, 1)} An implicate of a formula ϕ is a clause π such that (∀v : Vars(ϕ) → {0, 1})(ϕ(v) = 1 = ⇒ π(v) = 1) for any variable assignment v. A prime implicate is an implicate from which no literal can be removed without it ceasing to be an implicate.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-13
SLIDE 13

Background: MODS and PI (continued)

An implicant of a formula ϕ is a term τ such that (∀v : Vars(ϕ) → {0, 1})(τ(v) = 1 = ⇒ ϕ(v) = 1) for any variable assignment v.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-14
SLIDE 14

Background: MODS and PI (continued)

An implicant of a formula ϕ is a term τ such that (∀v : Vars(ϕ) → {0, 1})(τ(v) = 1 = ⇒ ϕ(v) = 1) for any variable assignment v. A prime implicant is an implicant from which no literal can be removed without it ceasing to be an implicant.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-15
SLIDE 15

Background: MODS and PI (continued)

An implicant of a formula ϕ is a term τ such that (∀v : Vars(ϕ) → {0, 1})(τ(v) = 1 = ⇒ ϕ(v) = 1) for any variable assignment v. A prime implicant is an implicant from which no literal can be removed without it ceasing to be an implicant. A formula in the MODS language is a list (disjunction) of all

  • f its models (terms).

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-16
SLIDE 16

Background: MODS and PI (continued)

An implicant of a formula ϕ is a term τ such that (∀v : Vars(ϕ) → {0, 1})(τ(v) = 1 = ⇒ ϕ(v) = 1) for any variable assignment v. A prime implicant is an implicant from which no literal can be removed without it ceasing to be an implicant. A formula in the MODS language is a list (disjunction) of all

  • f its models (terms).

A sentence in the PI language is a list (conjunction) of all of its prime implicates.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-17
SLIDE 17

Background: MODS and PI (continued)

An implicant of a formula ϕ is a term τ such that (∀v : Vars(ϕ) → {0, 1})(τ(v) = 1 = ⇒ ϕ(v) = 1) for any variable assignment v. A prime implicant is an implicant from which no literal can be removed without it ceasing to be an implicant. A formula in the MODS language is a list (disjunction) of all

  • f its models (terms).

A sentence in the PI language is a list (conjunction) of all of its prime implicates. The MODS language is not at least as succinct as PI as witnessed by Σ =

n

  • i=1

xi

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-18
SLIDE 18

Overview

Inductive construction of a sequence of Boolean functions {ϕi}i.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-19
SLIDE 19

Overview

Inductive construction of a sequence of Boolean functions {ϕi}i. Lower bound on the number of prime implicants of ϕi: super-polynomial in the number of false points of ϕi.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-20
SLIDE 20

Overview

Inductive construction of a sequence of Boolean functions {ϕi}i. Lower bound on the number of prime implicants of ϕi: super-polynomial in the number of false points of ϕi. The negated functions ϕi witness PI ≤ MODS.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-21
SLIDE 21

Overview

Inductive construction of a sequence of Boolean functions {ϕi}i. Lower bound on the number of prime implicants of ϕi: super-polynomial in the number of false points of ϕi. The negated functions ϕi witness PI ≤ MODS. Upper bound: separation cannot be improved by better analysis.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-22
SLIDE 22

Overview

Inductive construction of a sequence of Boolean functions {ϕi}i. Lower bound on the number of prime implicants of ϕi: super-polynomial in the number of false points of ϕi. The negated functions ϕi witness PI ≤ MODS. Upper bound: separation cannot be improved by better analysis. Exact formula.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-23
SLIDE 23

Overview

Inductive construction of a sequence of Boolean functions {ϕi}i. Lower bound on the number of prime implicants of ϕi: super-polynomial in the number of false points of ϕi. The negated functions ϕi witness PI ≤ MODS. Upper bound: separation cannot be improved by better analysis. Exact formula. Thesis available at Charles University’s Thesis Repository.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-24
SLIDE 24

Finding a counterexample

Sequence of Boolean functions ϕi with “many” prime implicates and few models. . .

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-25
SLIDE 25

Finding a counterexample

Sequence of Boolean functions ϕi with “many” prime implicates and few models. . .

  • r a sequence with “many” prime implicants and few false

points.

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-26
SLIDE 26

Finding a counterexample

Sequence of Boolean functions ϕi with “many” prime implicates and few models. . .

  • r a sequence with “many” prime implicants and few false

points. Geometric view: inserting false points into a hypercube

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-27
SLIDE 27

Finding a counterexample (continued)

1 1 1 1 1 1 1 1 1 1 1

Intuition: insert false points, maximize Hamming distance between true points

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-28
SLIDE 28

Finding a counterexample (continued)

1 1 1 1 1 1 1 1 1 1 1

Intuition: insert false points, maximize Hamming distance between true points Suggestion: linear code

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-29
SLIDE 29

Construction

A sequence of matrices {Ai}i∈N is defined as A0 = (0) Ai+1 = Ai Ai Ai Ai

  • Nikolay Kaleyski

PI is not at least as succinct as MODS

slide-30
SLIDE 30

Construction

A sequence of matrices {Ai}i∈N is defined as A0 = (0) Ai+1 = Ai Ai Ai Ai

  • From these, another sequence {Bi}i∈N is defined as

Bi = Ai Ai

  • Nikolay Kaleyski

PI is not at least as succinct as MODS

slide-31
SLIDE 31

Construction

A sequence of matrices {Ai}i∈N is defined as A0 = (0) Ai+1 = Ai Ai Ai Ai

  • From these, another sequence {Bi}i∈N is defined as

Bi = Ai Ai

  • The Boolean function ϕi for i ∈ N is now defined as the

function having precisely the rows of Bi as false points.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-32
SLIDE 32

Construction

A sequence of matrices {Ai}i∈N is defined as A0 = (0) Ai+1 = Ai Ai Ai Ai

  • From these, another sequence {Bi}i∈N is defined as

Bi = Ai Ai

  • The Boolean function ϕi for i ∈ N is now defined as the

function having precisely the rows of Bi as false points. It is shown that ϕi has many prime implicants; then its negation ϕi has many prime imlicates.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-33
SLIDE 33

Number of prime implicants: Lower bound

Given a prime implicant p of ϕi with a single negative literal whose positive part agrees with precisely one row of Bi, we can construct 2i different prime implicants of ϕi+2 via the following construction step:

1 1 1 ∗ ∗ ∗ ∗ ∗ ∗ 1 1 ∗ ∗ ∗ ∗ 2i 2i 2i 2i

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-34
SLIDE 34

Number of prime implicants: Lower bound

Given a prime implicant p of ϕi with a single negative literal whose positive part agrees with precisely one row of Bi, we can construct 2i different prime implicants of ϕi+2 via the following construction step:

1 1 1 ∗ ∗ ∗ ∗ ∗ ∗ 1 1 ∗ ∗ ∗ ∗ 2i 2i 2i 2i

By induction, ϕi has Ω

  • 2

(i−1)2−1 4

  • prime implicants . . .

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-35
SLIDE 35

Number of prime implicants: Lower bound

Given a prime implicant p of ϕi with a single negative literal whose positive part agrees with precisely one row of Bi, we can construct 2i different prime implicants of ϕi+2 via the following construction step:

1 1 1 ∗ ∗ ∗ ∗ ∗ ∗ 1 1 ∗ ∗ ∗ ∗ 2i 2i 2i 2i

By induction, ϕi has Ω

  • 2

(i−1)2−1 4

  • prime implicants . . .

. . . but “only” Θ(2i) false points.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-36
SLIDE 36

Number of prime implicants: Lower bound

Given a prime implicant p of ϕi with a single negative literal whose positive part agrees with precisely one row of Bi, we can construct 2i different prime implicants of ϕi+2 via the following construction step:

1 1 1 ∗ ∗ ∗ ∗ ∗ ∗ 1 1 ∗ ∗ ∗ ∗ 2i 2i 2i 2i

By induction, ϕi has Ω

  • 2

(i−1)2−1 4

  • prime implicants . . .

. . . but “only” Θ(2i) false points. Hence ϕi has “many” prime implicates w.r.t. to its number of true points, or models.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-37
SLIDE 37

Number of prime implicants: Upper bound

The prime implicants considered are very specific.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-38
SLIDE 38

Number of prime implicants: Upper bound

The prime implicants considered are very specific. Is an exponential separation of PI and MODS possible via ϕi?

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-39
SLIDE 39

Number of prime implicants: Upper bound

The prime implicants considered are very specific. Is an exponential separation of PI and MODS possible via ϕi? A generalization of the above construction is needed.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-40
SLIDE 40

Number of prime implicants: Upper bound

The prime implicants considered are very specific. Is an exponential separation of PI and MODS possible via ϕi? A generalization of the above construction is needed. Fixing the values of variables has “global effects” and affects

  • ther variables as well:

1 1 * * * * * * * * * * *

x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16

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 Nikolay Kaleyski PI is not at least as succinct as MODS

slide-41
SLIDE 41

Number of prime implicants: Upper bound

A graph-based representation is used to express the polar relations between pairs of variables.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-42
SLIDE 42

Number of prime implicants: Upper bound

A graph-based representation is used to express the polar relations between pairs of variables. Each non-redundant fixation halves the number of connected components.

001 000 010 011 101 100 110 111 x2x8

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-43
SLIDE 43

Number of prime implicants: Upper bound

A graph-based representation is used to express the polar relations between pairs of variables. Each non-redundant fixation halves the number of connected components.

001 000 010 011 101 100 110 111 x1x2x8

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-44
SLIDE 44

Number of prime implicants: Upper bound

A graph-based representation is used to express the polar relations between pairs of variables. Each non-redundant fixation halves the number of connected components.

001 000 010 011 101 100 110 111 x1x2x5x8

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-45
SLIDE 45

Number of prime implicants: Upper bound

A graph-based representation is used to express the polar relations between pairs of variables. Each non-redundant fixation halves the number of connected components.

001 000 010 011 101 100 110 111 x1x2x4x5x8

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-46
SLIDE 46

Number of prime implicants: Upper bound

The proof is somewhat technical.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-47
SLIDE 47

Number of prime implicants: Upper bound

The proof is somewhat technical. Two variables can be fixed without merging any connected components (one positive, one negative).

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-48
SLIDE 48

Number of prime implicants: Upper bound

The proof is somewhat technical. Two variables can be fixed without merging any connected components (one positive, one negative). Every further fixation halves the number of components or introduces redundancy.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-49
SLIDE 49

Number of prime implicants: Upper bound

The proof is somewhat technical. Two variables can be fixed without merging any connected components (one positive, one negative). Every further fixation halves the number of components or introduces redundancy. After 2 + i fixations, the graph becomes connected and no further non-redundant fixations can be performed.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-50
SLIDE 50

Number of prime implicants: Upper bound

The proof is somewhat technical. Two variables can be fixed without merging any connected components (one positive, one negative). Every further fixation halves the number of components or introduces redundancy. After 2 + i fixations, the graph becomes connected and no further non-redundant fixations can be performed. Thus no prime implicant of ϕi can have more than (i + 2) literals, and their number is at most

i+2

  • l=1

n l

  • 2l ≤ 3n+2 ∈ Θ(3n)

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-51
SLIDE 51

Number of prime implicants: Upper bound

The proof is somewhat technical. Two variables can be fixed without merging any connected components (one positive, one negative). Every further fixation halves the number of components or introduces redundancy. After 2 + i fixations, the graph becomes connected and no further non-redundant fixations can be performed. Thus no prime implicant of ϕi can have more than (i + 2) literals, and their number is at most

i+2

  • l=1

n l

  • 2l ≤ 3n+2 ∈ Θ(3n)

The number of false points of ϕn is exponential in n!

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-52
SLIDE 52

Number of prime implicants: Exact formula

The polar graphs are analyzed further by observing a correspondence between variable fixations yielding connected graphs and generating sets of the vector space {0, 1}i.

Nikolay Kaleyski PI is not at least as succinct as MODS

slide-53
SLIDE 53

Number of prime implicants: Exact formula

The polar graphs are analyzed further by observing a correspondence between variable fixations yielding connected graphs and generating sets of the vector space {0, 1}i. The exact number of prime implicants of ϕi is

⌊ n

2 ⌋

  • i=1

2n+2i+1 · α2i

n

(2i + 1)(2i + 2) where αi

n is the number of i-element linearly independent sets

in {0, 1}n.

Nikolay Kaleyski PI is not at least as succinct as MODS