A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Lovász Local Lemma

Research Depth 91 in the knowledge graph ☐ I know this ☆ Set as goal
9topics build on this
412prerequisites beneath it
See this on the map →
The Probabilistic Method in Graph Theory→→Ramsey Theory FoundationsStirling Numbers of the First and Second Kind+1 more
combinatorics probability

Core Idea

The Lovász Local Lemma is a powerful tool showing that if many 'bad events' have limited dependencies, then with positive probability none occur. If each event has probability at most p and affects at most d others, and ep(d+1) ≤ 1, then P(no bad event) > 0. This lemma resolves seemingly impossible combinatorial existence questions.

How It's Best Learned

Apply the lemma to a concrete problem like showing existence of graphs with low discrepancy or high girth.

Common Misconceptions

The condition ep(d+1) ≤ 1 is sufficient but not necessary; the actual threshold for positivity can be better. Also, 'd' counts neighbors in the dependency graph, not arbitrary other events.

Explainer

From your work with the probabilistic method, you know the basic technique: define a random object, compute the expected value of some property, and conclude that an object achieving that value must exist. The simplest version avoids all "bad events" by showing P(all bad events occur) < 1 — but this requires the probability of each bad event to be small and, critically, that the bad events are *independent*. The Lovász Local Lemma is a powerful generalization that works when bad events are nearly, but not perfectly, independent.

The central tension is this: in most combinatorial problems, bad events overlap. If event Aᵢ says "edge i is too long" and Aⱼ says "edge j is too long," and i and j share a vertex, these events are not independent — they share randomness. Pure union-bound arguments (P(∪Aᵢ) ≤ Σ P(Aᵢ)) can be useless when there are many events. The LLL exploits the fact that *limited* dependency is enough. Each bad event Aᵢ may depend on at most d other events, and if each event has probability at most p with ep(d+1) ≤ 1 (where e = 2.718…), then with positive probability, none of the bad events occur simultaneously.

The condition ep(d+1) ≤ 1 is doing real work. Rearranging: p ≤ 1/(e(d+1)). This says each bad event can be somewhat probable (up to 1/e times 1/(d+1)) as long as it has limited dependencies. The lemma's proof uses a clever inductive argument: it shows that the probability any specific event occurs, conditioned on all the "nearby" events not having occurred, is still at most p. This mutual consistency is maintained throughout the induction, so the entire system of avoidances is achievable simultaneously.

A canonical application: show that any graph with maximum degree Δ ≤ 2k−2 can be properly k-colored. For each edge, define the bad event that its two endpoints receive the same color. With a random coloring, P(each bad event) = 1/k. Each bad event shares randomness with at most 2(Δ−1) ≤ 2Δ neighboring edges. Setting p = 1/k and d = 2Δ, the LLL condition ep(d+1) ≤ 1 becomes e·(1/k)·(2Δ+1) ≤ 1, which holds when k is large enough relative to Δ. Existence of a proper coloring follows — no construction needed, just the probabilistic argument. This is the characteristic power of the LLL: it transforms "there are too many bad interactions for a naive argument" into "the interactions are local enough that we can avoid them all."

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Probability Density Functions and Continuous Distributions → Cumulative Distribution Functions → Continuous Random Variables → Probability Density Functions → Expected Value → The Probabilistic Method in Graph Theory → Lovász Local Lemma

Longest path: 92 steps · 412 total prerequisite topics

Prerequisites (1)

Leads To (3)