Chapter 1: Getting Started
The Probabilistic Method Summer 2020 Freie UniversitΓ€t Berlin
Chapter 1: Getting Started The Probabilistic Method Summer 2020 - - PowerPoint PPT Presentation
Chapter 1: Getting Started The Probabilistic Method Summer 2020 Freie Universitt Berlin Chapter Overview Survey quick applications of the basic method to different areas 1 Unsatisfiable Formulae Chapter 1: Getting Started The
The Probabilistic Method Summer 2020 Freie UniversitΓ€t Berlin
Chapter 1: Getting Started The Probabilistic Method
Binary values
Logical operators
Not: Β¬ Or: β¨ And: β§
Boolean formulae
Every Boolean formula can be written in Conjunctive Normal Form: Variables
Literals
Clauses
CNF Formula
Satisfiability Problem (SAT)
Theorem 1.1.1 (Cook, 1971; Levin, 1973) SAT is ππ-Complete, i.e. is probably very difficult. A universal model
Simplifying the problem
Theorem 1.1.2 (Karp, 1972) For all π β₯ 3, π-SAT is still ππ-Complete. Does size matter?
Extremal problem
Definition 1.1.3 Given π β β, let π0 π be the minimum π β β for which there is an unsatisfiable instance of π-SAT with π clauses. Small π-SAT is easy
Lower bounds
A worked example (π = 3) π¦1 β¨ Β¬π¦2 β¨ π¦3 β§ Β¬π¦1 β¨ π¦2 β¨ Β¬π¦4 β§ Β¬π¦2 β¨ Β¬π¦3 β¨ Β¬π¦5
ππ ππ ππ ππ ππ ? ? ? ? ?
Lower bounds
A worked example (π = 3) π¦1 β¨ Β¬π¦2 β¨ π¦3 β§ Β¬π¦1 β¨ π¦2 β¨ Β¬π¦4 β§ Β¬π¦2 β¨ Β¬π¦3 β¨ Β¬π¦5 Step 1
ππ ππ ππ ππ ππ ? ? ? ? ?
Lower bounds
A worked example (π = 3) 1 β¨ Β¬π¦2 β¨ π¦3 β§ 0 β¨ π¦2 β¨ Β¬π¦4 β§ Β¬π¦2 β¨ Β¬π¦3 β¨ Β¬π¦5 Step 1
ππ ππ ππ ππ ππ 1 ? ? ? ?
Lower bounds
A worked example (π = 3) 1 β¨ Β¬π¦2 β¨ π¦3 β§ 0 β¨ π¦2 β¨ Β¬π¦4 β§ Β¬π¦2 β¨ Β¬π¦3 β¨ Β¬π¦5 Step 2
ππ ππ ππ ππ ππ 1 ? ? ? ?
Lower bounds
A worked example (π = 3) 1 β¨ 0 β¨ π¦3 β§ 0 β¨ 1 β¨ Β¬π¦4 β§ 0 β¨ Β¬π¦3 β¨ Β¬π¦5 Step 2
ππ ππ ππ ππ ππ 1 1 ? ? ?
Lower bounds
A worked example (π = 3) 1 β¨ 0 β¨ 0 β§ 0 β¨ 1 β¨ Β¬π¦4 β§ 0 β¨ 1 β¨ Β¬π¦5 Step 3
ππ ππ ππ ππ ππ 1 1 ? ?
Lower bounds
A worked example (π = 3) 1 β¨ 0 β¨ 0 β§ 0 β¨ 1 β¨ Β¬π¦4 β§ 0 β¨ 1 β¨ Β¬π¦5 Step 3
ππ ππ ππ ππ ππ 1 1 ? ?
Proof
β
Proposition 1.1.4 For all π β β, π0 π > π.
What if we have more clauses?
Extending our example
π¦1 β¨ Β¬π¦2 β¨ π¦3 β§ Β¬π¦1 β¨ π¦2 β¨ Β¬π¦4 β§ Β¬π¦2 β¨ Β¬π¦3 β¨ Β¬π¦5 β§ Β¬π¦1 β¨ Β¬π¦2 β¨ π¦3
ππ ππ ππ ππ ππ ? ? ? ? ?
What if we have more clauses?
Extending our example
1 β¨ 0 β¨ 0 β§ 0 β¨ 1 β¨ Β¬π¦4 β§ 0 β¨ 1 β¨ Β¬π¦5 β§ 0 β¨ 0 β¨ 0
Steps 1-3
ππ ππ ππ ππ ππ 1 1 ? ?
What if we have more clauses?
Extending our example
1 β¨ 0 β¨ 1 β§ 0 β¨ 1 β¨ Β¬π¦4 β§ 0 β¨ 0 β¨ 1 β§ 0 β¨ 0 β¨ 1
Formula is still satisfiable
ππ ππ ππ ππ ππ 1 1 1 ?
Proposition 1.1.5 For all π β β, π0 π β€ 2π.
Intuition
Building an unsatisfiable formula
Upper bound
Lower bound
Existential reformulation
π¦ β Ξ© = {0,1}π with the property π Τ¦ π¦ = 1
Theorem 1.1.6 For all π β β, π0 π = 2π.
Existential reformulation
π¦ β Ξ© = {0,1}π with the property π Τ¦ π¦ = 1
The probabilistic method
π¦ β {0,1}π uniformly at random
π¦ = 1 > 0
Theorem 1.1.6 For all π β β, π0 π = 2π.
Union Bound Given arbitrary events πΉπ, we have βΪπ πΉπ β€ Οπ β πΉπ .
Setting
π¦ β {0,1}π
π¦ = 1 > 0
Bad events
π¦ = 0 < 1
π¦
π¦ = 0 =Ϊπ=1
π πΉπ
π¦ = 0 = βΪπ=1
π πΉπ
Individual clauses
π¦
β π Τ¦ π¦ = 0 = β α«
π=1 π
πΉπ β€ ΰ·
π=1 π
β πΉπ = π2βπ < 1 Conclusion
π¦ = 1 = 1 β β Τ¦ π¦ = 0 > 0
π¦ β {0,1}π for which π Τ¦ π¦ = 1 β
Trivial unsatisfiability
Non-repetitive formulae
Extremal problem
Definition 1.1.7 Given π β β, let π0 π be the minimum π β β for which there is an unsatisfiable non-repetitive π-SAT formula with π variables.
Theorem 1.1.6 For all π β β, π0 π = 2π.
Observation
π clauses
Corollary 1.1.8 For all π, π β β, if π
π < 2π, then π0 π > π.
Existential formulation
π¦ β {0,1}π, π Τ¦ π¦ = 0
Probabilistic approach
π sets of π variables:
π¦ β {0,1}π, π Τ¦ π¦ = 0 > 0
Satisfying assignments
π¦ β {0,1}π, let πΉ Τ¦
π¦ be the event that π Τ¦
π¦ = 1
π¦ πΉ Τ¦ π¦ < 1
π¦
π¦ πΉ Τ¦ π¦ β€ Ο Τ¦ π¦ β πΉ Τ¦ π¦
π¦ < 2βn for all Τ¦
π¦
Fix an assignment Τ¦ π¦
π¦ = 1, Τ¦ π¦ must satisfy each of the π
π clauses
π be the event that Τ¦
π¦ satisfies the πth clause
π¦ =β©π πΊ π
Recall
π¦: event that π Τ¦
π¦ = 1; πΊ
π: event that Τ¦
π¦ satisfies the πth clause of π
π¦ = β β©π πΊ π < 2βπ
Independence
π are independent
π = Οπ β πΊ π
Satisfying a single clause
π¦, unique choice of literals such that πΊ
π doesnβt hold
π = 1 β 2βπ
Theorem 1.1.9 For all π β β, if π
π < 2π, then π0 π > π, and if π π > 2ππ ln 2, then
π0 π β€ π.
A final calculation
π¦ = Οπ β πΊ π = 1 β 2βπ
π π
Exponential bound For all π¦ β β, 1 + π¦ β€ ππ¦
π¦ = 1 β 2βπ
π π β€ πβ2βπ π π
π > 2ππ ln 2
Binomial estimates
π π π
β€
π π β€ ππ π π
π = 2 1+π 1 πΌ π½ π as π β β
http://page.mi.fu-berlin.de/shagnik/notes/binomials.pdf
Theorem 1.1.9 For all π β β, if π
π < 2π, then π0 π > π, and if π π > 2ππ ln 2, then
π0 π β€ π.
Lower bound
π π½π = 2 1+π 1 πΌ π½ π
π βΌ 2π if π = π½π and πΌ π½ = π½
Upper bound
π
=
π+1 πβπ+1 π π βΌ 1 1βπ½ π π
π
βΌ 2ππ ln 2
Corollary 1.1.10 As π β β, π0 π = 1.2938 β¦ + π 1 π.
Chapter 1: Getting Started The Probabilistic Method
Evolutionary pitfalls
Technical problem
Binary encoding
Examples
π£π’π΅ β 001 | 000 | 100 β 001000100 011000 β 011 | 000 β ππ’
000 001 010 011 100
Wasteful encoding
Idea
1 00 01 10
Encoding is simple
πππ β 01 | 01 | 01 β 010101
But how do we decode?
010101 β 01 | 01 | 01 β πππ ? 010101 β 0 | 1 | 0 | 1 | 0 | 1 β π’π£π’π£π’π£? 010101 β 01 | 0 | 10 | 1 β ππ’π΅π£?
1 00 01 10
Set-up
Encoding
Objectives
Prefixes
Prefix-free codes
a prefix of any other codeword π₯
π, π β π
no codeword is an ancestor of another
Proof
π
π would be a prefix of π₯π1
β
Proposition 1.2.1 All prefix-free codes are decipherable.
Uniform codes Given β, any injection π΅ β {0,1}β is prefix- free
β 1 00 01 10 11 000 001 010 011 100 101 110 111 π’ π£ π π π΅ ___
Length We must have π΅ β€ 0,1 β = 2β β β β₯ log π΅ β β β₯ log π΅
Improvements Can sometimes find prefix-free codes with a shorter average codeword length
β 1 00 01 10 11 π’ π£ π____________ 000 001 010 011 100 101 110 111 π π΅
Theorem 1.2.2 (Kraft, 1949) Given an alphabet π΅ of size π, any prefix-free code with codeword lengths β1, β2, β¦ , βπ must satisfy Οπ=1
π
2ββπ β€ 1.
Extremal problem
Corollary 1.2.3 (Convexity) Given an alphabet π΅ of size π, the average length of the codewords in any prefix-free code is at least log π.
Existential reformulation
π
2ββπ > 1
π, π β π, such that π₯π is a prefix of π₯ π
Key observation
π are prefixes of π₯
π or wj is a prefix of π₯π
New objective
Basic Fact For any random variable π, the events π β₯ π½ π and π β€ π½ π must occur with positive probability.
Probability space
be the length of the longest codeword
Random variables
π: π₯π is a prefix of π₯ count the number of codeword prefixes
Simpler objective
Linearity of Expectation For any sequence π1, π2, β¦ , ππ of random variables, and any sequence π1, π2, β¦ , ππ of constants, if π = π1π1 + π2π2 + β― + ππππ, then π½ π = π1π½ π1 + π2π½ π2 + β― + πππ½ ππ .
Indicator random variables
π
ππ
Reduction to probabilities
π
π½[ππ] = Οπ=1
π
β(πΉπ)
Recall
π
β(πΉπ)
Computing probabilities
A grand finale
π
2ββπ > 1, there is some π₯ β 0,1 β with two codewords as prefixes
π
2ββπ β€ 1 β
Union bound revisited
Using linearity instead
Chapter 1: Getting Started The Probabilistic Method
Definition 1.3.1 A set π΅ is sum-free if there are no π¦, π§, π¨ β π΅ with π¦ + π§ = π¨. Theorem 1.3.3 (Schur, 1912) β cannot be partitioned into finitely many sum-free sets. Theorem 1.3.2 (Fermat, 1637; Wiles, 1995) For all π β₯ 3, the set π¦π: π¦ β β is sum-free.
Answer
π 2
π 2
Question How large can a sum-free subset of [π] be?
Extremal function
π΅ : π΅ β π, π΅ sumβfree
Question (ErdΕs, 1965) Does every set of π natural numbers have a large sum-free subset? Theorem 1.3.4 (Deshouillers, Freiman, SΓ³s) If π΅ β [π] is sum-free, then either π΅ β π, π΅ β π, or π΅ <
2 5 π + 1.
Beating trivial
π 10 large odd integers, take π = π β π
2 5 π + 1
9 10 π β€ π π < 2 5 π + 1
4 9 π + 10 9
A trivial bound
π =
π 2
Goal
Greedy approach
2
sums
2
< π β π, there is an element of π β π΅ that can be added to π΅
2π β 2
Theorem 1.3.5 (ErdΕs, 1965) For all π β β, π π β₯
1 3 (π + 1).
The problem with π
The cyclic group has more symmetry
1 3 π < π¦ < 2 3 π is sum-free
π 3
Proof idea
Randomness to the rescue
Theorem 1.3.5 (ErdΕs, 1965) For all π β β, π π β₯
1 3 (π + 1).
Choosing a prime
Choosing a sum-free subset
Using linearity
= π½ Οπ‘βπ 1 π‘βπ½π = Οπ‘βπ π½ 1 π‘βπ½π = Οπ‘βπ β π‘ β π½π
Computing probabilities
π πβ1 = π+1 3π+1 > 1 3
Finishing the proof
>
1 3 π β for some π½, ππ½ β₯ 1 3 (π + 1)
β
Improving the lower bound
1 3 (π + 2) for π β₯ 3
Upper bounds
1 3 + π 1
π
Chapter 1: Getting Started The Probabilistic Method
Rival superpowers
Objectives
Problem
Tournaments
Objectives
Easy case
Easy case
Easy case
Easy case
Easy case
Easy case
Harder case
Easy case
Harder case
Easy case
Harder case
Easy case
Harder case
Easy case
Harder case
Easy case
Harder case
Worst-case scenario
Proving bounds on π(π)
A recursive algorithm
Proposition 1.4.1 For all π β β, π π β₯ 2π+1 β 1.
Large out-degree
1 π π 2 = 1 2 (π β 1)
1 2 (π β 1)
Induction
1 2 π β 1 β₯ π΅ β₯ π π β 1 β₯ 2π β 1 (induction hypothesis)
β
Goal
Random tournament
Theorem 1.4.2 (ErdΕs, 1963) If π
π
1 β 2βπ πβπ < 1, then there is an π-vertex tournament with the property ππ.
Bad events
π π , let πΉπ be the event that π is a dominating set
Computing probabilities
π π
π π
1 β 2βπ πβπ < 1. β
Corollary 1.4.3 As π β β, π π β€ π22π ln 2 + π 1 .
Find the smallest π for which π
π
1 β 2βπ πβπ < 1
π β€ ππ and 1 β 2βπ < πβ2βπ
, so this suffices
Chapter 1: Getting Started The Probabilistic Method
Theorem 1.5.2 (ErdΕs, 1947) As π β β, we have π π β₯ 1 π 2 + π 1 π 2
π.
Definition 1.5.1 (Ramsey number) Given π β β, π π is the minimum π for which any π-vertex graph has either a clique or independent set on π vertices. Proof idea
Proof by induction
Theorem 1.5.3 (ErdΕs-Szekeres, 1935) For all π β β, we have π π β€
2πβ2 πβ1 . In particular, as π β β,
π π β€
1+π 1 4 ππ 4π.
Definition 1.5.4 (Asymmetric Ramsey numbers) Given β, π β β, π(β, π) is the minimum π for which any π-vertex graph contains either a clique on β vertices or an independent set on π vertices.
Theorem 1.5.5 (ErdΕs-Szekeres, 1935) For all β, π β β, π β, π β€ β + π β 2 β β 1 = π πββ1 .
Problem
Theorem 1.5.6 (TurΓ‘n, 1941) An π-vertex πΏβ-free graph can have at most 1 β
1 ββ1 π 2 edges.
Goal
Intuition
Construction
π ββ1 β π β, π > β β 1
π β 1
π π lower bound
1 2
π(β, π) for fixed β β β, π β β
ErdΕs-RΓ©nyi model
Proof idea
Theorem 1.5.7 Given β, π, π β β and π β 0,1 , if π β π
β 2 + π
π 1 β π
π 2 < 1,
then π β, π > π.
Bad cliques
[π] β , let πΉπ be the event that π»[π] is a clique
2 pairs, each an edge independently with probability π
β 2
Bad independent sets
π π , let πΊπ be the event that π»[π] is an independent set
2 pairs, each a non-edge independently with probability 1 β π
π 2
Recall
β 2
π 2
Union bound does the job
β€ Οπ β πΉπ + Οπ β(πΊπ)
π β π
β 2 +
π π
1 β π
π 2 < 1
β β π» Ramsey = 1 β β(π» not Ramsey) > 0 β
What does this tell us about π(β, π)? Goal
β π
β 2 +
π π
1 β π
π 2 < 1 for some π β [0,1]
Theorem 1.5.7 Given β, π, π β β and π β 0,1 , if π β π
β 2 + π
π 1 β π
π 2 < 1,
then π β, π > π.
Goal
β π
β 2 +
π π
1 β π
π 2 < 1 for some π β [0,1]
Varying π
β π
β 2 increases and π
π
1 β π
π 2 decreases
Simplification
β π
β 2 <
1 2 and π π
1 β π
π 2 <
1 2
π β π
β 2 <
1 2:
β β€ πβ, so π β π
β 2 β€ ππ ββ1 2
β
πβ2/(ββ1)
π π
1 β π
π 2 <
1 2:
π β€ ππ and 1 β π β€ πβπ, so π π
1 β π
π 2 β€ ππβπ πβ1 /2 π
Corollary 1.5.8 For fixed β β β and π β β, we have Ξ© π 2 ln π
ββ1 2
= π β, π = π πββ1 .
Recall
Solve for π
π 2 ln π
ββ1 2 β
π 2 ln π
ββ1 2