The Lovsz Local Lemma and Satisfiability Algorithmic Aspects Robin - - PowerPoint PPT Presentation

the lov sz local lemma and satisfiability
SMART_READER_LITE
LIVE PREVIEW

The Lovsz Local Lemma and Satisfiability Algorithmic Aspects Robin - - PowerPoint PPT Presentation

Introduction Proof Further work The Lovsz Local Lemma and Satisfiability Algorithmic Aspects Robin Moser ETH Zurich China Theory Week - September 2010 Robin Moser The Lovsz Local Lemma and Satisfiability Introduction Proof Problem


slide-1
SLIDE 1

Introduction Proof Further work

The Lovász Local Lemma and Satisfiability

Algorithmic Aspects Robin Moser

ETH Zurich

China Theory Week - September 2010

Robin Moser The Lovász Local Lemma and Satisfiability

slide-2
SLIDE 2

Introduction Proof Further work Problem overview

1 Introduction

Problem overview

2 Proof

Algorithm The proof

3 Further work

Robin Moser The Lovász Local Lemma and Satisfiability

slide-3
SLIDE 3

Introduction Proof Further work Problem overview

Setting: the k-SAT problem

a k-CNF formula: F = (x1 ∨ ¯ x2 ∨ . . . ∨ ¯ x19)

  • k

∧ (¯ x3 ∨ x7 ∨ . . . ∨ x19)

  • k

∧ . . . A conjunction of disjunctions (clauses), each composed of k literals.

Robin Moser The Lovász Local Lemma and Satisfiability

slide-4
SLIDE 4

Introduction Proof Further work Problem overview

Setting: the k-SAT problem

a k-CNF formula: F = (x1 ∨ ¯ x2 ∨ . . . ∨ ¯ x19)

  • k

∧ (¯ x3 ∨ x7 ∨ . . . ∨ x19)

  • k

∧ . . . A conjunction of disjunctions (clauses), each composed of k literals. Is there a satisfying assignment of truth values? Which one?

Robin Moser The Lovász Local Lemma and Satisfiability

slide-5
SLIDE 5

Introduction Proof Further work Problem overview

Setting: the k-SAT problem

a k-CNF formula: F = (x1 ∨ ¯ x2 ∨ . . . ∨ ¯ x19)

  • k

∧ (¯ x3 ∨ x7 ∨ . . . ∨ x19)

  • k

∧ . . . A conjunction of disjunctions (clauses), each composed of k literals. Is there a satisfying assignment of truth values? Which one? Notation: n : number of variables

Robin Moser The Lovász Local Lemma and Satisfiability

slide-6
SLIDE 6

Introduction Proof Further work Problem overview

Setting: the k-SAT problem

a k-CNF formula: F = (x1 ∨ ¯ x2 ∨ . . . ∨ ¯ x19)

  • k

∧ (¯ x3 ∨ x7 ∨ . . . ∨ x19)

  • k

∧ . . . A conjunction of disjunctions (clauses), each composed of k literals. Is there a satisfying assignment of truth values? Which one? Notation: n : number of variables m : number of clauses

Robin Moser The Lovász Local Lemma and Satisfiability

slide-7
SLIDE 7

Introduction Proof Further work Problem overview

Setting: the k-SAT problem

a k-CNF formula: F = (x1 ∨ ¯ x2 ∨ . . . ∨ ¯ x19)

  • k

∧ (¯ x3 ∨ x7 ∨ . . . ∨ x19)

  • k

∧ . . . A conjunction of disjunctions (clauses), each composed of k literals. Is there a satisfying assignment of truth values? Which one? Notation: n : number of variables m : number of clauses vbl(C) : the set of variables occurring in clause C

Robin Moser The Lovász Local Lemma and Satisfiability

slide-8
SLIDE 8

Introduction Proof Further work Problem overview

A simple subclass

Neighbourhood of a clause C ∈ F: Γ(C) := { D ∈ F | D = C, vbl(C) ∩ vbl(D) = ∅ }

Robin Moser The Lovász Local Lemma and Satisfiability

slide-9
SLIDE 9

Introduction Proof Further work Problem overview

A simple subclass

Neighbourhood of a clause C ∈ F: Γ(C) := { D ∈ F | D = C, vbl(C) ∩ vbl(D) = ∅ } Inclusive neighbourhood : Γ+(C) := Γ(C) ∪ {C}

Robin Moser The Lovász Local Lemma and Satisfiability

slide-10
SLIDE 10

Introduction Proof Further work Problem overview

A simple subclass

Neighbourhood of a clause C ∈ F: Γ(C) := { D ∈ F | D = C, vbl(C) ∩ vbl(D) = ∅ } Inclusive neighbourhood : Γ+(C) := Γ(C) ∪ {C} Theorem (Erdös, Lovász ’75) Let F be any k-CNF formula. If each C ∈ F has |Γ+(C)| ≤ 2k/e, then F admits a satisfying assignment.

Robin Moser The Lovász Local Lemma and Satisfiability

slide-11
SLIDE 11

Introduction Proof Further work Problem overview

A simple subclass

Neighbourhood of a clause C ∈ F: Γ(C) := { D ∈ F | D = C, vbl(C) ∩ vbl(D) = ∅ } Inclusive neighbourhood : Γ+(C) := Γ(C) ∪ {C} Theorem (Erdös, Lovász ’75) Let F be any k-CNF formula. If each C ∈ F has |Γ+(C)| ≤ 2k/e, then F admits a satisfying assignment. classical proof is non-constructive

Robin Moser The Lovász Local Lemma and Satisfiability

slide-12
SLIDE 12

Introduction Proof Further work Problem overview

A simple subclass

Neighbourhood of a clause C ∈ F: Γ(C) := { D ∈ F | D = C, vbl(C) ∩ vbl(D) = ∅ } Inclusive neighbourhood : Γ+(C) := Γ(C) ∪ {C} Theorem (Erdös, Lovász ’75) Let F be any k-CNF formula. If each C ∈ F has |Γ+(C)| ≤ 2k/e, then F admits a satisfying assignment. classical proof is non-constructive Q: can we find a satisfying assignment?

Robin Moser The Lovász Local Lemma and Satisfiability

slide-13
SLIDE 13

Introduction Proof Further work Problem overview

History

Previous approaches to the problem: Beck, 1991: for neighbourhoods up to 2k/48

Robin Moser The Lovász Local Lemma and Satisfiability

slide-14
SLIDE 14

Introduction Proof Further work Problem overview

History

Previous approaches to the problem: Beck, 1991: for neighbourhoods up to 2k/48 Alon, 1991: for neighbourhoods up to 2k/8

Robin Moser The Lovász Local Lemma and Satisfiability

slide-15
SLIDE 15

Introduction Proof Further work Problem overview

History

Previous approaches to the problem: Beck, 1991: for neighbourhoods up to 2k/48 Alon, 1991: for neighbourhoods up to 2k/8 Srinivasan, 2008: for neighbourhoods up to 2k/4

Robin Moser The Lovász Local Lemma and Satisfiability

slide-16
SLIDE 16

Introduction Proof Further work Problem overview

History

Previous approaches to the problem: Beck, 1991: for neighbourhoods up to 2k/48 Alon, 1991: for neighbourhoods up to 2k/8 Srinivasan, 2008: for neighbourhoods up to 2k/4 M, 2008: for neighbourhoods up to 2k/2

Robin Moser The Lovász Local Lemma and Satisfiability

slide-17
SLIDE 17

Introduction Proof Further work Problem overview

History

Previous approaches to the problem: Beck, 1991: for neighbourhoods up to 2k/48 Alon, 1991: for neighbourhoods up to 2k/8 Srinivasan, 2008: for neighbourhoods up to 2k/4 M, 2008: for neighbourhoods up to 2k/2 Theorem There exists a randomized algorithm which, given a k-CNF formula F with ∀C ∈ F : |Γ+(C)| ≤ 2k−3, finds a satisfying assignment for F in expected polynomial time.

Robin Moser The Lovász Local Lemma and Satisfiability

slide-18
SLIDE 18

Introduction Proof Further work Algorithm The proof

Algorithm

solve(F): start with a random assignment while(∃C ∈ F : C violated) pick lexicographically first such C locally_correct(C)

Robin Moser The Lovász Local Lemma and Satisfiability

slide-19
SLIDE 19

Introduction Proof Further work Algorithm The proof

Algorithm

solve(F): start with a random assignment while(∃C ∈ F : C violated) pick lexicographically first such C locally_correct(C) locally_correct(C): resample new values for vbl(C)

Robin Moser The Lovász Local Lemma and Satisfiability

slide-20
SLIDE 20

Introduction Proof Further work Algorithm The proof

Algorithm

solve(F): start with a random assignment while(∃C ∈ F : C violated) pick lexicographically first such C locally_correct(C) locally_correct(C): resample new values for vbl(C) // post-condition: strictly fewer violated clauses

Robin Moser The Lovász Local Lemma and Satisfiability

slide-21
SLIDE 21

Introduction Proof Further work Algorithm The proof

Algorithm

solve(F): start with a random assignment while(∃C ∈ F : C violated) pick lexicographically first such C locally_correct(C) locally_correct(C): resample new values for vbl(C) while(∃D ∈ Γ+(C) : D violated) pick lexicographically first such D locally_correct(D) // post-condition: strictly fewer violated clauses

Robin Moser The Lovász Local Lemma and Satisfiability

slide-22
SLIDE 22

Introduction Proof Further work Algorithm The proof

Algorithm

solve(F): start with a random assignment while(∃C ∈ F : C violated) // repeats <= m times pick lexicographically first such C locally_correct(C) locally_correct(C): resample new values for vbl(C) while(∃D ∈ Γ+(C) : D violated) pick lexicographically first such D locally_correct(D) // post-condition: strictly fewer violated clauses

Robin Moser The Lovász Local Lemma and Satisfiability

slide-23
SLIDE 23

Introduction Proof Further work Algorithm The proof

Logging the Program Execution

solve(F): start with a random assignment while(∃C ∈ F : C violated) pick lexicographically first such C locally_correct(C) locally_correct(C): resample new values for vbl(C) while(∃D ∈ Γ+(C) : D violated) pick lexicographically first such D locally_correct(D)

Robin Moser The Lovász Local Lemma and Satisfiability

slide-24
SLIDE 24

Introduction Proof Further work Algorithm The proof

Logging the Program Execution

solve(F): start with a random assignment while(∃C ∈ F : C violated) pick lexicographically first such C log(“new recursion for“ + index(C)) locally_correct(C) locally_correct(C): resample new values for vbl(C) while(∃D ∈ Γ+(C) : D violated) pick lexicographically first such D locally_correct(D)

Robin Moser The Lovász Local Lemma and Satisfiability

slide-25
SLIDE 25

Introduction Proof Further work Algorithm The proof

Logging the Program Execution

solve(F): start with a random assignment while(∃C ∈ F : C violated) pick lexicographically first such C log(“new recursion for“ + index(C)) locally_correct(C) locally_correct(C): resample new values for vbl(C) while(∃D ∈ Γ+(C) : D violated) pick lexicographically first such D log(–>“next clause“ + relative_index(D,C)) locally_correct(D)

Robin Moser The Lovász Local Lemma and Satisfiability

slide-26
SLIDE 26

Introduction Proof Further work Algorithm The proof

Logging the Program Execution

solve(F): start with a random assignment while(∃C ∈ F : C violated) pick lexicographically first such C log(“new recursion for“ + index(C)) locally_correct(C) locally_correct(C): resample new values for vbl(C) while(∃D ∈ Γ+(C) : D violated) pick lexicographically first such D log(–>“next clause“ + relative_index(D,C)) locally_correct(D) log(<–)

Robin Moser The Lovász Local Lemma and Satisfiability

slide-27
SLIDE 27

Introduction Proof Further work Algorithm The proof

Logging the Program Execution

A sample log looks like this [with storage space requirements]: new recursion for 6 [log m bits] next clause 1 [(k − 3) + 1 + 1 bits] next clause 2 [(k − 3) + 1 + 1 bits] next clause 2 [(k − 3) + 1 + 1 bits] ... Lemma Each line of the log allows to reconstruct k bits of the random input used by the algorihtm.

Robin Moser The Lovász Local Lemma and Satisfiability

slide-28
SLIDE 28

Introduction Proof Further work Algorithm The proof

Information Theoretic Balance

at most O(m log m) bits (in total) output by top-level calls

Robin Moser The Lovász Local Lemma and Satisfiability

slide-29
SLIDE 29

Introduction Proof Further work Algorithm The proof

Information Theoretic Balance

at most O(m log m) bits (in total) output by top-level calls every further recursive call: k − 1 bits

Robin Moser The Lovász Local Lemma and Satisfiability

slide-30
SLIDE 30

Introduction Proof Further work Algorithm The proof

Information Theoretic Balance

at most O(m log m) bits (in total) output by top-level calls every further recursive call: k − 1 bits every line allows to reconstruct k bits of random input

Robin Moser The Lovász Local Lemma and Satisfiability

slide-31
SLIDE 31

Introduction Proof Further work Algorithm The proof

Information Theoretic Balance

at most O(m log m) bits (in total) output by top-level calls every further recursive call: k − 1 bits every line allows to reconstruct k bits of random input after O(m log m), process starts compressing fully random data

Robin Moser The Lovász Local Lemma and Satisfiability

slide-32
SLIDE 32

Introduction Proof Further work Algorithm The proof

Information Theoretic Balance

at most O(m log m) bits (in total) output by top-level calls every further recursive call: k − 1 bits every line allows to reconstruct k bits of random input after O(m log m), process starts compressing fully random data The process has to stop in O(m log m) time. ✷

Robin Moser The Lovász Local Lemma and Satisfiability

slide-33
SLIDE 33

Introduction Proof Further work

Further work

References: Schweitzer ’09: independently found almost same proof

Robin Moser The Lovász Local Lemma and Satisfiability

slide-34
SLIDE 34

Introduction Proof Further work

Further work

References: Schweitzer ’09: independently found almost same proof Final version in collaboration with Gábor Tardos:

2k/e neighbours (no gap anymore)

Robin Moser The Lovász Local Lemma and Satisfiability

slide-35
SLIDE 35

Introduction Proof Further work

Further work

References: Schweitzer ’09: independently found almost same proof Final version in collaboration with Gábor Tardos:

2k/e neighbours (no gap anymore) rules on choice of constraints not necessary

Robin Moser The Lovász Local Lemma and Satisfiability

slide-36
SLIDE 36

Introduction Proof Further work

Further work

References: Schweitzer ’09: independently found almost same proof Final version in collaboration with Gábor Tardos:

2k/e neighbours (no gap anymore) rules on choice of constraints not necessary generalization to applications beyond SAT

Robin Moser The Lovász Local Lemma and Satisfiability

slide-37
SLIDE 37

Introduction Proof Further work

Derandomization and Output Distribution

References: Chandrasekaran, Goyal, Haeupler ’09:

Robin Moser The Lovász Local Lemma and Satisfiability

slide-38
SLIDE 38

Introduction Proof Further work

Derandomization and Output Distribution

References: Chandrasekaran, Goyal, Haeupler ’09:

deterministic variant if neighborhood of each clause is at most 2k/(1+ǫ) in size

Robin Moser The Lovász Local Lemma and Satisfiability

slide-39
SLIDE 39

Introduction Proof Further work

Derandomization and Output Distribution

References: Chandrasekaran, Goyal, Haeupler ’09:

deterministic variant if neighborhood of each clause is at most 2k/(1+ǫ) in size works by considering partial witness trees and adding the ǫ-slack

Robin Moser The Lovász Local Lemma and Satisfiability

slide-40
SLIDE 40

Introduction Proof Further work

Derandomization and Output Distribution

References: Chandrasekaran, Goyal, Haeupler ’09:

deterministic variant if neighborhood of each clause is at most 2k/(1+ǫ) in size works by considering partial witness trees and adding the ǫ-slack

Haeupler, Saha, Srinivasan ’10:

Robin Moser The Lovász Local Lemma and Satisfiability

slide-41
SLIDE 41

Introduction Proof Further work

Derandomization and Output Distribution

References: Chandrasekaran, Goyal, Haeupler ’09:

deterministic variant if neighborhood of each clause is at most 2k/(1+ǫ) in size works by considering partial witness trees and adding the ǫ-slack

Haeupler, Saha, Srinivasan ’10:

analyse the output distribution of the algorithm

Robin Moser The Lovász Local Lemma and Satisfiability

slide-42
SLIDE 42

Introduction Proof Further work

Derandomization and Output Distribution

References: Chandrasekaran, Goyal, Haeupler ’09:

deterministic variant if neighborhood of each clause is at most 2k/(1+ǫ) in size works by considering partial witness trees and adding the ǫ-slack

Haeupler, Saha, Srinivasan ’10:

analyse the output distribution of the algorithm settings with super-polynomially many events

Robin Moser The Lovász Local Lemma and Satisfiability

slide-43
SLIDE 43

Introduction Proof Further work

Derandomization and Output Distribution

References: Chandrasekaran, Goyal, Haeupler ’09:

deterministic variant if neighborhood of each clause is at most 2k/(1+ǫ) in size works by considering partial witness trees and adding the ǫ-slack

Haeupler, Saha, Srinivasan ’10:

analyse the output distribution of the algorithm settings with super-polynomially many events interesting applications (e.g. Santa Claus problem and coloring problems)

Robin Moser The Lovász Local Lemma and Satisfiability

slide-44
SLIDE 44

Introduction Proof Further work

Simplified algorithm

The more sophisticated proof variant demonstrates the following simplified algorithm to terminte in O(mk) expected time: solve(F): start with a random assignment while(∃C ∈ F : C violated) pick any such C resample new values for vbl(C)

Robin Moser The Lovász Local Lemma and Satisfiability

slide-45
SLIDE 45

Introduction Proof Further work

Simplified algorithm

The more sophisticated proof variant demonstrates the following simplified algorithm to terminte in O(mk) expected time: solve(F): start with a random assignment while(∃C ∈ F : C violated) pick any such C resample new values for vbl(C) => That’s almost Schöning’s algorithm for general k-SAT with success probability 1 2 k k − 1 n

Robin Moser The Lovász Local Lemma and Satisfiability

slide-46
SLIDE 46

Introduction Proof Further work

Simplified algorithm

The more sophisticated proof variant demonstrates the following simplified algorithm to terminte in O(mk) expected time: solve(F): start with a random assignment while(∃C ∈ F : C violated) pick any such C Schöning: flip one u.a.r. from vbl(C) => That’s almost Schöning’s algorithm for general k-SAT with success probability 1 2 k k − 1 n

Robin Moser The Lovász Local Lemma and Satisfiability

slide-47
SLIDE 47

Introduction Proof Further work

Juxtaposition

For up to 2k/e − 1 neighbors per clause:

Robin Moser The Lovász Local Lemma and Satisfiability

slide-48
SLIDE 48

Introduction Proof Further work

Juxtaposition

For up to 2k/e − 1 neighbors per clause: ’throw away’ all previous information on the support of the violated clause

Robin Moser The Lovász Local Lemma and Satisfiability

slide-49
SLIDE 49

Introduction Proof Further work

Juxtaposition

For up to 2k/e − 1 neighbors per clause: ’throw away’ all previous information on the support of the violated clause complexity linear

Robin Moser The Lovász Local Lemma and Satisfiability

slide-50
SLIDE 50

Introduction Proof Further work

Juxtaposition

For up to 2k/e − 1 neighbors per clause: ’throw away’ all previous information on the support of the violated clause complexity linear For 2k/e or more neighbors:

Robin Moser The Lovász Local Lemma and Satisfiability

slide-51
SLIDE 51

Introduction Proof Further work

Juxtaposition

For up to 2k/e − 1 neighbors per clause: ’throw away’ all previous information on the support of the violated clause complexity linear For 2k/e or more neighbors: be minimalistic: change as little as possible information on the support of the violated clause

Robin Moser The Lovász Local Lemma and Satisfiability

slide-52
SLIDE 52

Introduction Proof Further work

Juxtaposition

For up to 2k/e − 1 neighbors per clause: ’throw away’ all previous information on the support of the violated clause complexity linear For 2k/e or more neighbors: be minimalistic: change as little as possible information on the support of the violated clause complexity exponential

Robin Moser The Lovász Local Lemma and Satisfiability

slide-53
SLIDE 53

Introduction Proof Further work

Juxtaposition

For up to 2k/e − 1 neighbors per clause: ’throw away’ all previous information on the support of the violated clause complexity linear For 2k/e or more neighbors: be minimalistic: change as little as possible information on the support of the violated clause complexity exponential Open questions: does Schöning work for the LLL case?

Robin Moser The Lovász Local Lemma and Satisfiability

slide-54
SLIDE 54

Introduction Proof Further work

Juxtaposition

For up to 2k/e − 1 neighbors per clause: ’throw away’ all previous information on the support of the violated clause complexity linear For 2k/e or more neighbors: be minimalistic: change as little as possible information on the support of the violated clause complexity exponential Open questions: does Schöning work for the LLL case? is there such a jump in complexity or can it be smoothened?

Robin Moser The Lovász Local Lemma and Satisfiability

slide-55
SLIDE 55

Introduction Proof Further work

Structural results on the ’jump’

By Gebauer, Szabó and Tardos: there are unsatisfiable formulas where each clause has 2k(e−1 + o(1)) neighbors, so the LLL is asymptotically tight for SAT. The formulas can be constructed in such a way that no variables is featured in more than (2/e + ǫ) · 2k/k clauses.

Robin Moser The Lovász Local Lemma and Satisfiability

slide-56
SLIDE 56

Introduction Proof Further work

Thanks

THANK YOU

Robin Moser The Lovász Local Lemma and Satisfiability