65
The Probabilistic Method Janabel Xia and Tejas Gopalakrishna MIT PRIMES Reading Group, mentors Gwen McKinley and Jake Wellens December 7th, 2018 Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 1 / 18

The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

The Probabilistic Method

Janabel Xia and Tejas Gopalakrishna

MIT PRIMES Reading Group, mentors Gwen McKinley and Jake Wellens

December 7th, 2018

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 1 / 18

Page 2: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Introduction

What is the Probabilistic Method?

Basically, to show an object with a certain property exists, it suffices toshow that an object drawn from a particular distribution over objects hasthe desired property with positive probability. This is often easier thanexplicitly constructing such an object (and sometimes the only way weknow how to prove one exists!)

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 2 / 18

Page 3: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Introduction

What is the Probabilistic Method?

Basically, to show an object with a certain property exists, it suffices toshow that an object drawn from a particular distribution over objects hasthe desired property with positive probability. This is often easier thanexplicitly constructing such an object (and sometimes the only way weknow how to prove one exists!)

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 2 / 18

Page 4: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Basic Application: Turan’s Theorem

Consider a graph G = (V ,E ).

Let dv be the degree of vertex v .

Let α(G ) be the size of the maximal independent set of vertices.

Turan’s theorem gives a lower bound on α(G ) for graphs with |E | edges.Its proof is a classic example of the probabilistic method in action:

Theorem (Turan)

α(G ) ≥∑v∈V

1

dv + 1≥ n

1 + 2|E |n

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 3 / 18

Page 5: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Basic Application: Turan’s Theorem

Consider a graph G = (V ,E ).

Let dv be the degree of vertex v .

Let α(G ) be the size of the maximal independent set of vertices.

Turan’s theorem gives a lower bound on α(G ) for graphs with |E | edges.Its proof is a classic example of the probabilistic method in action:

Theorem (Turan)

α(G ) ≥∑v∈V

1

dv + 1≥ n

1 + 2|E |n

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 3 / 18

Page 6: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Basic Application: Turan’s Theorem

Consider a graph G = (V ,E ).

Let dv be the degree of vertex v .

Let α(G ) be the size of the maximal independent set of vertices.

Turan’s theorem gives a lower bound on α(G ) for graphs with |E | edges.Its proof is a classic example of the probabilistic method in action:

Theorem (Turan)

α(G ) ≥∑v∈V

1

dv + 1≥ n

1 + 2|E |n

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 3 / 18

Page 7: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Basic Application: Turan’s Theorem

Theorem

α(G ) ≥∑v∈V

1

dv + 1≥ n

1 + 2|E |n

(second inequality is just convexity, we’ll prove the first)

Proof:

Let < be a uniformly random linear order of V .Define the independent set

I = I (<) := {v ∈ V : {v ,w} ∈ E ⇒ v < w}.(two neighbors cannot both be the “smallest” in their neighborhoods=⇒ I is indep. set)Let Xv be the indicator variable for the event {v ∈ I}, and set

X =∑v∈V

Xv = |I |

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 4 / 18

Page 8: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Basic Application: Turan’s Theorem

Theorem

α(G ) ≥∑v∈V

1

dv + 1≥ n

1 + 2|E |n

(second inequality is just convexity, we’ll prove the first)

Proof:

Let < be a uniformly random linear order of V .

Define the independent set

I = I (<) := {v ∈ V : {v ,w} ∈ E ⇒ v < w}.(two neighbors cannot both be the “smallest” in their neighborhoods=⇒ I is indep. set)Let Xv be the indicator variable for the event {v ∈ I}, and set

X =∑v∈V

Xv = |I |

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 4 / 18

Page 9: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Basic Application: Turan’s Theorem

Theorem

α(G ) ≥∑v∈V

1

dv + 1≥ n

1 + 2|E |n

(second inequality is just convexity, we’ll prove the first)

Proof:

Let < be a uniformly random linear order of V .Define the independent set

I = I (<) := {v ∈ V : {v ,w} ∈ E ⇒ v < w}.(two neighbors cannot both be the “smallest” in their neighborhoods=⇒ I is indep. set)

Let Xv be the indicator variable for the event {v ∈ I}, and set

X =∑v∈V

Xv = |I |

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 4 / 18

Page 10: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Basic Application: Turan’s Theorem

Theorem

α(G ) ≥∑v∈V

1

dv + 1≥ n

1 + 2|E |n

(second inequality is just convexity, we’ll prove the first)

Proof:

Let < be a uniformly random linear order of V .Define the independent set

I = I (<) := {v ∈ V : {v ,w} ∈ E ⇒ v < w}.(two neighbors cannot both be the “smallest” in their neighborhoods=⇒ I is indep. set)Let Xv be the indicator variable for the event {v ∈ I}, and set

X =∑v∈V

Xv = |I |

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 4 / 18

Page 11: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Basic Application: Turan’s Theorem

Proof: (cont.)

For each v ,

E[Xv ] = Pr[v ∈ I ] =1

dv + 1,

because v ∈ I iff v is least among v and its dv neighbors.

So

E[X ] =∑v∈V

1

dv + 1

and therefore there exists an ordering < with

|I (<)| ≥∑v∈V

1

dv + 1.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 5 / 18

Page 12: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Basic Application: Turan’s Theorem

Proof: (cont.)

For each v ,

E[Xv ] = Pr[v ∈ I ] =1

dv + 1,

because v ∈ I iff v is least among v and its dv neighbors.

So

E[X ] =∑v∈V

1

dv + 1

and therefore there exists an ordering < with

|I (<)| ≥∑v∈V

1

dv + 1.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 5 / 18

Page 13: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Another Basic Application: Increasing subsequences in amatrix

Problem

Determine the smallest k = k(n) such that:

For any n by n matrix A with distinct entries, there is a permutation of therows of A so that no column in the permuted matrix contains anincreasing subsequence of length k .

Lower bound: k(n) ≥√n.

Theorem (Erdos-Szekeres, 1935)

Any sequence of n2 + 1 distinct reals contains either an increasing ordecreasing (n + 1)-subsequence.

Consider a matrix whose first column is in the reverse relative order of thesecond column. Then for any permutation of rows, either the first orsecond column contains an increasing subsequence of length ≥

√n.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 6 / 18

Page 14: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Another Basic Application: Increasing subsequences in amatrix

Problem

Determine the smallest k = k(n) such that:

For any n by n matrix A with distinct entries, there is a permutation of therows of A so that no column in the permuted matrix contains anincreasing subsequence of length k .

Lower bound: k(n) ≥√n.

Theorem (Erdos-Szekeres, 1935)

Any sequence of n2 + 1 distinct reals contains either an increasing ordecreasing (n + 1)-subsequence.

Consider a matrix whose first column is in the reverse relative order of thesecond column. Then for any permutation of rows, either the first orsecond column contains an increasing subsequence of length ≥

√n.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 6 / 18

Page 15: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Another Basic Application: Increasing subsequences in amatrix

Problem

Determine the smallest k = k(n) such that:

For any n by n matrix A with distinct entries, there is a permutation of therows of A so that no column in the permuted matrix contains anincreasing subsequence of length k .

Lower bound: k(n) ≥√n.

Theorem (Erdos-Szekeres, 1935)

Any sequence of n2 + 1 distinct reals contains either an increasing ordecreasing (n + 1)-subsequence.

Consider a matrix whose first column is in the reverse relative order of thesecond column. Then for any permutation of rows, either the first orsecond column contains an increasing subsequence of length ≥

√n.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 6 / 18

Page 16: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Another Basic Application: Increasing subsequences in amatrix

Problem

Determine the smallest k = k(n) such that:

For any n by n matrix A with distinct entries, there is a permutation of therows of A so that no column in the permuted matrix contains anincreasing subsequence of length k .

Lower bound: k(n) ≥√n.

Theorem (Erdos-Szekeres, 1935)

Any sequence of n2 + 1 distinct reals contains either an increasing ordecreasing (n + 1)-subsequence.

Consider a matrix whose first column is in the reverse relative order of thesecond column. Then for any permutation of rows, either the first orsecond column contains an increasing subsequence of length ≥

√n.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 6 / 18

Page 17: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Another Basic Application: Increasing subsequences in amatrix

Lower bound already holds for n × 2 matrices – is it much harder to avoidincreasing subsequences among n columns?

...Not really!Upper bound: There exists C > 0 such that k(n) ≤ C

√n.

Proof: Consider a random permutation σ of the rows. Let LIS(c) be thelength of the largest increasing subsequence in the column vector c .Consider each column separately:

Prσ

[1 . . . 2 . . . 3 . . . k] =1

k!

=⇒ Prσ

[LIS(c) ≥ k] ≤(n

k

)1

k!

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 7 / 18

Page 18: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Another Basic Application: Increasing subsequences in amatrix

Lower bound already holds for n × 2 matrices – is it much harder to avoidincreasing subsequences among n columns?...Not really!

Upper bound: There exists C > 0 such that k(n) ≤ C√n.

Proof: Consider a random permutation σ of the rows. Let LIS(c) be thelength of the largest increasing subsequence in the column vector c .Consider each column separately:

Prσ

[1 . . . 2 . . . 3 . . . k] =1

k!

=⇒ Prσ

[LIS(c) ≥ k] ≤(n

k

)1

k!

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 7 / 18

Page 19: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Another Basic Application: Increasing subsequences in amatrix

Lower bound already holds for n × 2 matrices – is it much harder to avoidincreasing subsequences among n columns?...Not really!Upper bound: There exists C > 0 such that k(n) ≤ C

√n.

Proof: Consider a random permutation σ of the rows. Let LIS(c) be thelength of the largest increasing subsequence in the column vector c .Consider each column separately:

Prσ

[1 . . . 2 . . . 3 . . . k] =1

k!

=⇒ Prσ

[LIS(c) ≥ k] ≤(n

k

)1

k!

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 7 / 18

Page 20: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Another Basic Application: Increasing subsequences in amatrix

Lower bound already holds for n × 2 matrices – is it much harder to avoidincreasing subsequences among n columns?...Not really!Upper bound: There exists C > 0 such that k(n) ≤ C

√n.

Proof: Consider a random permutation σ of the rows. Let LIS(c) be thelength of the largest increasing subsequence in the column vector c .Consider each column separately:

Prσ

[1 . . . 2 . . . 3 . . . k] =1

k!

=⇒ Prσ

[LIS(c) ≥ k] ≤(n

k

)1

k!

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 7 / 18

Page 21: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Another Basic Application: Increasing subsequences in amatrix

Lower bound already holds for n × 2 matrices – is it much harder to avoidincreasing subsequences among n columns?...Not really!Upper bound: There exists C > 0 such that k(n) ≤ C

√n.

Proof: Consider a random permutation σ of the rows. Let LIS(c) be thelength of the largest increasing subsequence in the column vector c .Consider each column separately:

Prσ

[1 . . . 2 . . . 3 . . . k] =1

k!

=⇒ Prσ

[LIS(c) ≥ k] ≤(n

k

)1

k!

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 7 / 18

Page 22: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Another Basic Application: Increasing subsequences in amatrix

Lower bound already holds for n × 2 matrices – is it much harder to avoidincreasing subsequences among n columns?...Not really!Upper bound: There exists C > 0 such that k(n) ≤ C

√n.

Proof: Consider a random permutation σ of the rows. Let LIS(c) be thelength of the largest increasing subsequence in the column vector c .Consider each column separately:

Prσ

[1 . . . 2 . . . 3 . . . k] =1

k!

=⇒ Prσ

[LIS(c) ≥ k] ≤(n

k

)1

k!

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 7 / 18

Page 23: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Proof of upper bound

Prσ[LIS(c) ≥ k] ≤(nk

)1k!

Use standard inequalities(nk

)≤(enk

)kand m! > (m/e)m

for k = C√n,

Pr[LIS(c) ≥ C√n ] ≤

(en

C√n

)C√n 1

(C√n)!

≤(

en

C√n

)C√n( e

C√n

)C√n

=

(e

C

)2C√n

Then by a union bound over all columns:

Pr[LIS(c) ≥ C√n for at least one column] ≤ n

(e

C

)2C√n

< 1

(for sufficiently large C ). So with positive probability over σ,LIS(c) ≤ C

√n for all columns. �

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 8 / 18

Page 24: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Proof of upper bound

Prσ[LIS(c) ≥ k] ≤(nk

)1k!

Use standard inequalities(nk

)≤(enk

)kand m! > (m/e)m

for k = C√n,

Pr[LIS(c) ≥ C√n ] ≤

(en

C√n

)C√n 1

(C√n)!

≤(

en

C√n

)C√n( e

C√n

)C√n

=

(e

C

)2C√n

Then by a union bound over all columns:

Pr[LIS(c) ≥ C√n for at least one column] ≤ n

(e

C

)2C√n

< 1

(for sufficiently large C ). So with positive probability over σ,LIS(c) ≤ C

√n for all columns. �

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 8 / 18

Page 25: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Proof of upper bound

Prσ[LIS(c) ≥ k] ≤(nk

)1k!

Use standard inequalities(nk

)≤(enk

)kand m! > (m/e)m

for k = C√n,

Pr[LIS(c) ≥ C√n ] ≤

(en

C√n

)C√n 1

(C√n)!

≤(

en

C√n

)C√n( e

C√n

)C√n

=

(e

C

)2C√n

Then by a union bound over all columns:

Pr[LIS(c) ≥ C√n for at least one column] ≤ n

(e

C

)2C√n

< 1

(for sufficiently large C ). So with positive probability over σ,LIS(c) ≤ C

√n for all columns. �

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 8 / 18

Page 26: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Proof of upper bound

Prσ[LIS(c) ≥ k] ≤(nk

)1k!

Use standard inequalities(nk

)≤(enk

)kand m! > (m/e)m

for k = C√n,

Pr[LIS(c) ≥ C√n ] ≤

(en

C√n

)C√n 1

(C√n)!

≤(

en

C√n

)C√n( e

C√n

)C√n

=

(e

C

)2C√n

Then by a union bound over all columns:

Pr[LIS(c) ≥ C√n for at least one column] ≤ n

(e

C

)2C√n

< 1

(for sufficiently large C ). So with positive probability over σ,LIS(c) ≤ C

√n for all columns. �

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 8 / 18

Page 27: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Proof of upper bound

Prσ[LIS(c) ≥ k] ≤(nk

)1k!

Use standard inequalities(nk

)≤(enk

)kand m! > (m/e)m

for k = C√n,

Pr[LIS(c) ≥ C√n ] ≤

(en

C√n

)C√n 1

(C√n)!

≤(

en

C√n

)C√n( e

C√n

)C√n

=

(e

C

)2C√n

Then by a union bound over all columns:

Pr[LIS(c) ≥ C√n for at least one column] ≤ n

(e

C

)2C√n

< 1

(for sufficiently large C ).

So with positive probability over σ,LIS(c) ≤ C

√n for all columns. �

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 8 / 18

Page 28: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Proof of upper bound

Prσ[LIS(c) ≥ k] ≤(nk

)1k!

Use standard inequalities(nk

)≤(enk

)kand m! > (m/e)m

for k = C√n,

Pr[LIS(c) ≥ C√n ] ≤

(en

C√n

)C√n 1

(C√n)!

≤(

en

C√n

)C√n( e

C√n

)C√n

=

(e

C

)2C√n

Then by a union bound over all columns:

Pr[LIS(c) ≥ C√n for at least one column] ≤ n

(e

C

)2C√n

< 1

(for sufficiently large C ). So with positive probability over σ,LIS(c) ≤ C

√n for all columns. �

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 8 / 18

Page 29: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Random Graphs

(Erdos-Renyi) Random graph G (n, p):

graph on n labeled vertices

each edge appears independently with probability p.

Question: How big does p = p(n) have to be in order for a typicalG (n, p) to contain a clique of size 4?

First moment: Expected number of cliques of size 4 is(n

4

)p6, so if

p � n−2/3, then

Pr[G (n, p) has a 4-clique ] ≤ E[number of 4-cliques]→ 0

But is p > n−2/3 enough to guarantee a 4-clique? Need to use thesecond moment.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 9 / 18

Page 30: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Random Graphs

(Erdos-Renyi) Random graph G (n, p):

graph on n labeled vertices

each edge appears independently with probability p.

Question: How big does p = p(n) have to be in order for a typicalG (n, p) to contain a clique of size 4?

First moment: Expected number of cliques of size 4 is(n

4

)p6, so if

p � n−2/3, then

Pr[G (n, p) has a 4-clique ] ≤ E[number of 4-cliques]→ 0

But is p > n−2/3 enough to guarantee a 4-clique? Need to use thesecond moment.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 9 / 18

Page 31: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Random Graphs

(Erdos-Renyi) Random graph G (n, p):

graph on n labeled vertices

each edge appears independently with probability p.

Question: How big does p = p(n) have to be in order for a typicalG (n, p) to contain a clique of size 4?

First moment: Expected number of cliques of size 4 is(n

4

)p6, so if

p � n−2/3, then

Pr[G (n, p) has a 4-clique ] ≤ E[number of 4-cliques]→ 0

But is p > n−2/3 enough to guarantee a 4-clique? Need to use thesecond moment.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 9 / 18

Page 32: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Random Graphs

(Erdos-Renyi) Random graph G (n, p):

graph on n labeled vertices

each edge appears independently with probability p.

Question: How big does p = p(n) have to be in order for a typicalG (n, p) to contain a clique of size 4?

First moment: Expected number of cliques of size 4 is(n

4

)p6, so if

p � n−2/3, then

Pr[G (n, p) has a 4-clique ] ≤ E[number of 4-cliques]→ 0

But is p > n−2/3 enough to guarantee a 4-clique? Need to use thesecond moment.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 9 / 18

Page 33: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

The Second Moment Method

Let Xi be indicator random variables for “symmetric” events Ai , andset X =

∑i Xi .

Write i ∼ j if Ai and Aj are not independent, and let

∆∗ =∑i∼j

Pr[Aj |Ai ]

(which is independent of i by symmetry)

Lemma

Pr[X = 0] ≤ 1+∆∗

E[X ] .

(Proof is a fairly straightforward application of Chebyshev’s inequality)

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 10 / 18

Page 34: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

The Second Moment Method

Let Xi be indicator random variables for “symmetric” events Ai , andset X =

∑i Xi .

Write i ∼ j if Ai and Aj are not independent, and let

∆∗ =∑i∼j

Pr[Aj |Ai ]

(which is independent of i by symmetry)

Lemma

Pr[X = 0] ≤ 1+∆∗

E[X ] .

(Proof is a fairly straightforward application of Chebyshev’s inequality)

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 10 / 18

Page 35: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

The Second Moment Method

Let Xi be indicator random variables for “symmetric” events Ai , andset X =

∑i Xi .

Write i ∼ j if Ai and Aj are not independent, and let

∆∗ =∑i∼j

Pr[Aj |Ai ]

(which is independent of i by symmetry)

Lemma

Pr[X = 0] ≤ 1+∆∗

E[X ] .

(Proof is a fairly straightforward application of Chebyshev’s inequality)

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 10 / 18

Page 36: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Cliques in G (n, p)

Theorem

If p(n) · n2/3 →∞, then Pr[G (n, p) has a 4-clique ]→ 1

Proof:

For each 4-set S of vertices in G ∼ G (n, p), let AS be the event thatS is a clique, let XS be its indicator random variable, and setX =

∑|S|=4 XS to be the number of 4-cliques in G .

Then, E[XS ] = Pr[AS ] = p6 and so

E[X ] =∑|S |=4

E[XS ] =

(n

4

)p6 ∼ n4p6

24→∞

By the lemma, it now suffices to show that ∆∗ � n4p6.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 11 / 18

Page 37: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Cliques in G (n, p)

Theorem

If p(n) · n2/3 →∞, then Pr[G (n, p) has a 4-clique ]→ 1

Proof:

For each 4-set S of vertices in G ∼ G (n, p), let AS be the event thatS is a clique, let XS be its indicator random variable, and setX =

∑|S|=4 XS to be the number of 4-cliques in G .

Then, E[XS ] = Pr[AS ] = p6 and so

E[X ] =∑|S |=4

E[XS ] =

(n

4

)p6 ∼ n4p6

24→∞

By the lemma, it now suffices to show that ∆∗ � n4p6.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 11 / 18

Page 38: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Cliques in G (n, p)

Theorem

If p(n) · n2/3 →∞, then Pr[G (n, p) has a 4-clique ]→ 1

Proof:

For each 4-set S of vertices in G ∼ G (n, p), let AS be the event thatS is a clique, let XS be its indicator random variable, and setX =

∑|S|=4 XS to be the number of 4-cliques in G .

Then, E[XS ] = Pr[AS ] = p6 and so

E[X ] =∑|S |=4

E[XS ] =

(n

4

)p6 ∼ n4p6

24→∞

By the lemma, it now suffices to show that ∆∗ � n4p6.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 11 / 18

Page 39: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Cliques in G (n, p)

Theorem

If p(n) · n2/3 →∞, then Pr[G (n, p) has a 4-clique ]→ 1

Proof:

For each 4-set S of vertices in G ∼ G (n, p), let AS be the event thatS is a clique, let XS be its indicator random variable, and setX =

∑|S|=4 XS to be the number of 4-cliques in G .

Then, E[XS ] = Pr[AS ] = p6 and so

E[X ] =∑|S |=4

E[XS ] =

(n

4

)p6 ∼ n4p6

24→∞

By the lemma, it now suffices to show that ∆∗ � n4p6.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 11 / 18

Page 40: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Cliques in G (n, p)

Proof: (cont.)

If S and T are 4-sets, then S ∼ T iff S 6= T and S ,T have commonedges (i.e. |S ∩ T | = 2 or 3).

Fix S . There are O(n2) sets T with |S ∩ T | = 2, and O(n) with|S ∩ T | = 3.

For each type of T , Pr[AT |AS ] = p5 or p3 respectively.

So (since p � n−2/3),

∆∗ = O(n2p5) + O(np3) = o(n4p6) = o(E[X ])

as needed. �

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 12 / 18

Page 41: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Cliques in G (n, p)

Proof: (cont.)

If S and T are 4-sets, then S ∼ T iff S 6= T and S ,T have commonedges (i.e. |S ∩ T | = 2 or 3).

Fix S . There are O(n2) sets T with |S ∩ T | = 2, and O(n) with|S ∩ T | = 3.

For each type of T , Pr[AT |AS ] = p5 or p3 respectively.

So (since p � n−2/3),

∆∗ = O(n2p5) + O(np3) = o(n4p6) = o(E[X ])

as needed. �

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 12 / 18

Page 42: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Cliques in G (n, p)

Proof: (cont.)

If S and T are 4-sets, then S ∼ T iff S 6= T and S ,T have commonedges (i.e. |S ∩ T | = 2 or 3).

Fix S . There are O(n2) sets T with |S ∩ T | = 2, and O(n) with|S ∩ T | = 3.

For each type of T , Pr[AT |AS ] = p5 or p3 respectively.

So (since p � n−2/3),

∆∗ = O(n2p5) + O(np3) = o(n4p6) = o(E[X ])

as needed. �

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 12 / 18

Page 43: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Cliques in G (n, p)

Proof: (cont.)

If S and T are 4-sets, then S ∼ T iff S 6= T and S ,T have commonedges (i.e. |S ∩ T | = 2 or 3).

Fix S . There are O(n2) sets T with |S ∩ T | = 2, and O(n) with|S ∩ T | = 3.

For each type of T , Pr[AT |AS ] = p5 or p3 respectively.

So (since p � n−2/3),

∆∗ = O(n2p5) + O(np3) = o(n4p6) = o(E[X ])

as needed. �

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 12 / 18

Page 44: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

k-SAT

Suppose we have a k-CNF, i.e. an AND of n OR clauses on kBoolean variables each, e.g.

(x1 ∨ ¬x2 ∨ x3) ∧ (¬x1 ∨ x2 ∨ x5) ∧ (x2 ∨ ¬x3 ∨ ¬x4) ∧ (¬x1 ∨ x5 ∨ x6)

Can we satisfy all clauses by assigning TRUE or FALSE to each xi?

(Cook-Levin) Finding a satisfying assignment (or even deciding if oneexists) for general k-CNFs is NP-complete (i.e. hopelessly hard)

What if each variable appears in a bounded number of clauses?

The probabilistic tool we need is the Lovasz Local Lemma!

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 13 / 18

Page 45: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

k-SAT

Suppose we have a k-CNF, i.e. an AND of n OR clauses on kBoolean variables each, e.g.

(x1 ∨ ¬x2 ∨ x3) ∧ (¬x1 ∨ x2 ∨ x5) ∧ (x2 ∨ ¬x3 ∨ ¬x4) ∧ (¬x1 ∨ x5 ∨ x6)

Can we satisfy all clauses by assigning TRUE or FALSE to each xi?

(Cook-Levin) Finding a satisfying assignment (or even deciding if oneexists) for general k-CNFs is NP-complete (i.e. hopelessly hard)

What if each variable appears in a bounded number of clauses?

The probabilistic tool we need is the Lovasz Local Lemma!

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 13 / 18

Page 46: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

k-SAT

Suppose we have a k-CNF, i.e. an AND of n OR clauses on kBoolean variables each, e.g.

(x1 ∨ ¬x2 ∨ x3) ∧ (¬x1 ∨ x2 ∨ x5) ∧ (x2 ∨ ¬x3 ∨ ¬x4) ∧ (¬x1 ∨ x5 ∨ x6)

Can we satisfy all clauses by assigning TRUE or FALSE to each xi?

(Cook-Levin) Finding a satisfying assignment (or even deciding if oneexists) for general k-CNFs is NP-complete (i.e. hopelessly hard)

What if each variable appears in a bounded number of clauses?

The probabilistic tool we need is the Lovasz Local Lemma!

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 13 / 18

Page 47: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

k-SAT

Suppose we have a k-CNF, i.e. an AND of n OR clauses on kBoolean variables each, e.g.

(x1 ∨ ¬x2 ∨ x3) ∧ (¬x1 ∨ x2 ∨ x5) ∧ (x2 ∨ ¬x3 ∨ ¬x4) ∧ (¬x1 ∨ x5 ∨ x6)

Can we satisfy all clauses by assigning TRUE or FALSE to each xi?

(Cook-Levin) Finding a satisfying assignment (or even deciding if oneexists) for general k-CNFs is NP-complete (i.e. hopelessly hard)

What if each variable appears in a bounded number of clauses?

The probabilistic tool we need is the Lovasz Local Lemma!

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 13 / 18

Page 48: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

k-SAT

Suppose we have a k-CNF, i.e. an AND of n OR clauses on kBoolean variables each, e.g.

(x1 ∨ ¬x2 ∨ x3) ∧ (¬x1 ∨ x2 ∨ x5) ∧ (x2 ∨ ¬x3 ∨ ¬x4) ∧ (¬x1 ∨ x5 ∨ x6)

Can we satisfy all clauses by assigning TRUE or FALSE to each xi?

(Cook-Levin) Finding a satisfying assignment (or even deciding if oneexists) for general k-CNFs is NP-complete (i.e. hopelessly hard)

What if each variable appears in a bounded number of clauses?

The probabilistic tool we need is the Lovasz Local Lemma!

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 13 / 18

Page 49: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

The (Symmetric) Local Lemma

Theorem (Lovasz, 1975)

Let A1,A2, . . . ,An be events in a probability space. Suppose each eventis independent of all but at most d others, and that Pr[Ai ] ≤ p for all1 ≤ i ≤ n. If

ep(d + 1) ≤ 1

then

Pr

[n∧

i=1

Ai

]> 0.

(i.e. with positive probability, no event Ai holds).

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 14 / 18

Page 50: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

k-SAT with bounded occurrences

Let

φ = (x1 ∨ · · · ∨ x3) ∧ (¬x10 ∨ · · · ∨ x5) ∧ · · · ∧ (x20 ∨ · · · ∨ ¬x14)

be some k-CNF.

The probability that a random assignment leaves clause i unsatisfiedis 2−k (call this event Ai )

Suppose each variable in φ appears in at most ` clauses.

Then each Ai is dependent on at most k(`− 1) other Aj .

If

` ≤ 2k

ek

then e2−k(k(`− 1) + 1) < 1 and hence the local lemma says that φ issatisfiable!

.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 15 / 18

Page 51: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

k-SAT with bounded occurrences

Let

φ = (x1 ∨ · · · ∨ x3) ∧ (¬x10 ∨ · · · ∨ x5) ∧ · · · ∧ (x20 ∨ · · · ∨ ¬x14)

be some k-CNF.

The probability that a random assignment leaves clause i unsatisfiedis 2−k (call this event Ai )

Suppose each variable in φ appears in at most ` clauses.

Then each Ai is dependent on at most k(`− 1) other Aj .

If

` ≤ 2k

ek

then e2−k(k(`− 1) + 1) < 1 and hence the local lemma says that φ issatisfiable!

.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 15 / 18

Page 52: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

k-SAT with bounded occurrences

Let

φ = (x1 ∨ · · · ∨ x3) ∧ (¬x10 ∨ · · · ∨ x5) ∧ · · · ∧ (x20 ∨ · · · ∨ ¬x14)

be some k-CNF.

The probability that a random assignment leaves clause i unsatisfiedis 2−k (call this event Ai )

Suppose each variable in φ appears in at most ` clauses.

Then each Ai is dependent on at most k(`− 1) other Aj .

If

` ≤ 2k

ek

then e2−k(k(`− 1) + 1) < 1 and hence the local lemma says that φ issatisfiable!

.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 15 / 18

Page 53: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

k-SAT with bounded occurrences

Let

φ = (x1 ∨ · · · ∨ x3) ∧ (¬x10 ∨ · · · ∨ x5) ∧ · · · ∧ (x20 ∨ · · · ∨ ¬x14)

be some k-CNF.

The probability that a random assignment leaves clause i unsatisfiedis 2−k (call this event Ai )

Suppose each variable in φ appears in at most ` clauses.

Then each Ai is dependent on at most k(`− 1) other Aj .

If

` ≤ 2k

ek

then e2−k(k(`− 1) + 1) < 1 and hence the local lemma says that φ issatisfiable!

.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 15 / 18

Page 54: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

k-SAT with bounded occurrences

Let

φ = (x1 ∨ · · · ∨ x3) ∧ (¬x10 ∨ · · · ∨ x5) ∧ · · · ∧ (x20 ∨ · · · ∨ ¬x14)

be some k-CNF.

The probability that a random assignment leaves clause i unsatisfiedis 2−k (call this event Ai )

Suppose each variable in φ appears in at most ` clauses.

Then each Ai is dependent on at most k(`− 1) other Aj .

If

` ≤ 2k

ek

then e2−k(k(`− 1) + 1) < 1 and hence the local lemma says that φ issatisfiable!

.Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 15 / 18

Page 55: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

k-SAT with bounded occurrences

We’ve just shown

Theorem

If φ is a k-CNF in which each variable shows up at most 2k

ek times, then φhas a satisfying assignment.

...how tight is this?

consider the k-CNF on k variables with each of the 2k possible clauses

unsatisfiable =⇒ cannot replace 2k

ek with 2k

a more involved construction of Gebauer, Szabo and Tardos (2016)

shows that 2k

ek cannot be replaced with (2 + ok(1)) 2k

ek

can actually be improved to 2 · 2k

ek using lopsided local lemma

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 16 / 18

Page 56: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

k-SAT with bounded occurrences

We’ve just shown

Theorem

If φ is a k-CNF in which each variable shows up at most 2k

ek times, then φhas a satisfying assignment.

...how tight is this?

consider the k-CNF on k variables with each of the 2k possible clauses

unsatisfiable =⇒ cannot replace 2k

ek with 2k

a more involved construction of Gebauer, Szabo and Tardos (2016)

shows that 2k

ek cannot be replaced with (2 + ok(1)) 2k

ek

can actually be improved to 2 · 2k

ek using lopsided local lemma

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 16 / 18

Page 57: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

k-SAT with bounded occurrences

We’ve just shown

Theorem

If φ is a k-CNF in which each variable shows up at most 2k

ek times, then φhas a satisfying assignment.

...how tight is this?

consider the k-CNF on k variables with each of the 2k possible clauses

unsatisfiable =⇒ cannot replace 2k

ek with 2k

a more involved construction of Gebauer, Szabo and Tardos (2016)

shows that 2k

ek cannot be replaced with (2 + ok(1)) 2k

ek

can actually be improved to 2 · 2k

ek using lopsided local lemma

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 16 / 18

Page 58: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

k-SAT with bounded occurrences

We’ve just shown

Theorem

If φ is a k-CNF in which each variable shows up at most 2k

ek times, then φhas a satisfying assignment.

...how tight is this?

consider the k-CNF on k variables with each of the 2k possible clauses

unsatisfiable =⇒ cannot replace 2k

ek with 2k

a more involved construction of Gebauer, Szabo and Tardos (2016)

shows that 2k

ek cannot be replaced with (2 + ok(1)) 2k

ek

can actually be improved to 2 · 2k

ek using lopsided local lemma

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 16 / 18

Page 59: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

k-SAT with bounded occurrences

We’ve just shown

Theorem

If φ is a k-CNF in which each variable shows up at most 2k

ek times, then φhas a satisfying assignment.

...how tight is this?

consider the k-CNF on k variables with each of the 2k possible clauses

unsatisfiable =⇒ cannot replace 2k

ek with 2k

a more involved construction of Gebauer, Szabo and Tardos (2016)

shows that 2k

ek cannot be replaced with (2 + ok(1)) 2k

ek

can actually be improved to 2 · 2k

ek using lopsided local lemma

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 16 / 18

Page 60: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Finding a satisfying assignment

Let φ be a k-CNF with n clauses in which each variable shows up atmost 2k

ek times, which we now know is satisfiable... how can we find asatisfying assignment?

Brute force: try all possible assignments to the variables (could be asmany as 2nk of these to try!)

A slightly (but not much) more intelligent algorithm:

start with uniformly random truth assignment of all variablespick at random any unsatisfied clause Cgive all xi in C new random assignmentsrepeat until all clauses are satisfied

is this efficient?

Theorem (Moser, Tardos 2010)

The expected number of times this algorithm has to loop before finding asatisfying assignment is . n

2k.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 17 / 18

Page 61: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Finding a satisfying assignment

Let φ be a k-CNF with n clauses in which each variable shows up atmost 2k

ek times, which we now know is satisfiable... how can we find asatisfying assignment?

Brute force: try all possible assignments to the variables (could be asmany as 2nk of these to try!)

A slightly (but not much) more intelligent algorithm:

start with uniformly random truth assignment of all variablespick at random any unsatisfied clause Cgive all xi in C new random assignmentsrepeat until all clauses are satisfied

is this efficient?

Theorem (Moser, Tardos 2010)

The expected number of times this algorithm has to loop before finding asatisfying assignment is . n

2k.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 17 / 18

Page 62: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Finding a satisfying assignment

Let φ be a k-CNF with n clauses in which each variable shows up atmost 2k

ek times, which we now know is satisfiable... how can we find asatisfying assignment?

Brute force: try all possible assignments to the variables (could be asmany as 2nk of these to try!)

A slightly (but not much) more intelligent algorithm:

start with uniformly random truth assignment of all variablespick at random any unsatisfied clause Cgive all xi in C new random assignmentsrepeat until all clauses are satisfied

is this efficient?

Theorem (Moser, Tardos 2010)

The expected number of times this algorithm has to loop before finding asatisfying assignment is . n

2k.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 17 / 18

Page 63: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Finding a satisfying assignment

Let φ be a k-CNF with n clauses in which each variable shows up atmost 2k

ek times, which we now know is satisfiable... how can we find asatisfying assignment?

Brute force: try all possible assignments to the variables (could be asmany as 2nk of these to try!)

A slightly (but not much) more intelligent algorithm:

start with uniformly random truth assignment of all variablespick at random any unsatisfied clause Cgive all xi in C new random assignmentsrepeat until all clauses are satisfied

is this efficient?

Theorem (Moser, Tardos 2010)

The expected number of times this algorithm has to loop before finding asatisfying assignment is . n

2k.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 17 / 18

Page 64: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Finding a satisfying assignment

Let φ be a k-CNF with n clauses in which each variable shows up atmost 2k

ek times, which we now know is satisfiable... how can we find asatisfying assignment?

Brute force: try all possible assignments to the variables (could be asmany as 2nk of these to try!)

A slightly (but not much) more intelligent algorithm:

start with uniformly random truth assignment of all variablespick at random any unsatisfied clause Cgive all xi in C new random assignmentsrepeat until all clauses are satisfied

is this efficient?

Theorem (Moser, Tardos 2010)

The expected number of times this algorithm has to loop before finding asatisfying assignment is . n

2k.

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 17 / 18

Page 65: The Probabilistic Method - Mathematics · Its proof is a classic example of the probabilistic method in action: Theorem (Tur an) (G) X v2V 1 d v + 1 n 1 + 2jEj n Janabel Xia and Tejas

Acknowledgements

We would like to thank:

Gwen McKinley and Jake Wellens, our mentors

Dr. Tanya Khovanova

Dr. Slava Gerovitch

MIT PRIMES

Noga Alon and Joel H. Spencer, for writing The Probabilistic Method

Our families, for all their support

Janabel Xia and Tejas Gopalakrishna Probabilistic Method December 7th, 2018 18 / 18