PPSZ: random placements and the depth recursion #
The analysis of PPSZ Paturi, Pudlák, Saks, Zane bounds the
probability that a variable x is forced by the probability of a cut event on the set A of
variables processed before x. This file contains the probabilistic part of that argument; it
does not mention formulas.
The paper places the variables at independent uniform times in [0, 1]. We work with a uniformly
random order instead. If x is fixed and the order π is uniform, the set A of the other m
variables placed before x equals a given set S with probability
1 / ((m + 1) * C(m, |S|)) = ∫₀¹ r ^ |S| * (1 - r) ^ (m - |S|) dr
(card_filter_placedBefore_mul_choose, card_filter_placedBefore_div_factorial). Hence for
every event E on sets of variables, the probability of E(A) is the average over r ∈ [0, 1]
of the probability of E when each of the other variables is included independently with
probability r (card_filter_placedBefore_div_factorial_eq_integral). The integrand
bernoulliProb U r E is a finite sum, so no measure on [0, 1]ⁿ is needed. This reduction is
ours (original).
For a fixed r, the Harris inequality (bernoulliProb_mul_le, from Mathlib's fkg) bounds the
probability of an intersection of increasing events below by the product of their probabilities.
This gives the fixed-r form of Lemma 7 of the paper with all qᵢ = r
(prod_le_bernoulliProb_forall_or), and by induction on the depth the bound Q k d r of the
PPSZ recursion (Q_le_bernoulliProb)
Paturi, Pudlák, Saks, Zane, Lemma 7 (p. 350) and p. 351.
Main definitions #
Cslib.Complexity.PPSZ.Q: the recursionQ k 0 r = 0,Q k (d + 1) r = (r + (1 - r) * Q k d r) ^ (k - 1)Paturi, Pudlák, Saks, Zane, p. 351.Cslib.Complexity.PPSZ.qbar: its average∫₀¹ Q k d r dr.Cslib.Complexity.PPSZ.placedBefore: the variables placed beforexin an order.Cslib.Complexity.PPSZ.bernoulliProb: the probability of an event on subsets ofUwhen every element is included independently with probabilityr, as an explicit finite sum.
Main results #
Cslib.Complexity.PPSZ.qbar_three_two:qbar 3 2 = 31 / 70.Cslib.Complexity.PPSZ.antitone_qbar_width:qbar k dis antitone in the clause widthk(original).Cslib.Complexity.PPSZ.integral_pow_mul_one_sub_pow: the Beta integral∫₀¹ r ^ i * (1 - r) ^ j dr = i! * j! / (i + j + 1)!.Cslib.Complexity.PPSZ.card_filter_placedBefore_mul_choose: the set placed beforexis a given setSin a1 / (n * C(n - 1, |S|))fraction of the orders (original).Cslib.Complexity.PPSZ.card_filter_placedBefore_div_factorial_eq_integral: the probability of any event on the set placed beforexis∫₀¹ bernoulliProb (univ.erase x) r E dr(original).Cslib.Complexity.PPSZ.bernoulliProb_eq_bernoulliAverage:bernoulliProbis theBitString.bernoulliAverageof the indicator of the event, over masksU → Bool.Cslib.Complexity.PPSZ.bernoulliProb_union_of_forall_insert: elements that an event ignores can be dropped (original).Cslib.Complexity.PPSZ.card_add_one_mul_integral_bernoulliProb: conditioning a random order on its first element, in the form of independent inclusion (original).Cslib.Complexity.PPSZ.bernoulliProb_mul_le: the Harris inequality for increasing events.Cslib.Complexity.PPSZ.prod_le_bernoulliProb_forall_or: Lemma 7 of the paper, for a fixedr, with allqᵢ = rPaturi, Pudlák, Saks, Zane, Lemma 7.Cslib.Complexity.PPSZ.Q_le_bernoulliProb: the depth recursion bounds a recursively defined family of increasing events Paturi, Pudlák, Saks, Zane, p. 351.Cslib.Complexity.PPSZ.qbar_le_card_filter_placedBefore_div_factorial: the bound for a uniformly random order, by integration.
References #
The depth recursion #
The PPSZ depth recursion Paturi, Pudlák, Saks, Zane, p. 351:
Q k 0 r = 0 and
Q k (d + 1) r = (r + (1 - r) * Q k d r) ^ (k - 1). For a critical clause tree of degree at most
k - 1 and depth d, it bounds the probability of a cut when each variable is placed before the
root with probability r. The uppercase name follows the paper's Q_k^{(d)}.
The average ∫₀¹ Q k d r dr of the depth recursion, the bound on the probability that a
variable is forced Paturi, Pudlák, Saks, Zane, p. 351.
Q k d is a polynomial in r, hence continuous.
Q is antitone in the clause width k on [0, 1]: wider clauses give smaller bounds. The
idea is the remark of Hertli, p. 8 that S_k increases with k; the proof, by
induction on the depth, is original.
qbar is antitone in the clause width k; in particular qbar k d ≤ qbar 3 d for
k ≥ 3. This is the finite-depth form of the remark of Hertli, p. 8 that S_k
increases with k.
The Beta integral #
The Beta integral ∫₀¹ r ^ i * (1 - r) ^ j dr = i! * j! / (i + j + 1)!, by induction on
j. This is the value B(i + 1, j + 1) of the Beta function at natural numbers. Mathlib has the
general form, ProbabilityTheory.beta α β = Γ(α) Γ(β) / Γ(α + β) with
ProbabilityTheory.beta_eq_betaIntegralReal relating it to Complex.betaIntegral, but that
integral uses complex powers, so for natural exponents the elementary induction is shorter.
Independent inclusion #
Independent inclusion. The probability that a random subset of U, containing each
element independently with probability r, satisfies E: the sum of the weights
r ^ |S| * (1 - r) ^ (|U| - |S|) over the subsets S ⊆ U that satisfy E.
This is the measure of BitString.bernoulliAverage carried by subsets of U instead of masks
U → Bool: bernoulliProb_eq_bernoulliAverage identifies the two through the bijection between
subsets of U and their indicator masks. We keep the Finset carrier because the events of PPSZ
are monotone families of variable sets and Mathlib's FKG inequality fkg, which gives the Harris
inequality bernoulliProb_mul_le, is stated on the lattice Finset α.
bernoulliProb as a sum, for any decidability instance of the event.
The weights sum to one.
The impossible event has probability 0.
Masks and subsets. bernoulliProb U r E is the expectation, under
BitString.bernoulliAverage at rate r, of the indicator of E evaluated at the subset
{a ∈ U | s a} of U selected by a mask s : U → Bool.
The probability of an event is a polynomial in r, hence continuous.
Conditioning on one element. For v ∉ U, a random subset of insert v U omits v with
probability 1 - r and contains it with probability r.
An element and an independent event. If v ∈ U and E does not depend on v, then a
random subset contains v or satisfies E with probability r + (1 - r) * Pr[E].
A given element is in the random set with probability r.
Ignored elements do not matter (original). If D is disjoint from U and E does not
depend on the elements of D, then a random subset of U ∪ D satisfies E with the same
probability as a random subset of U.
Averaging independent inclusion over r (original): ∫₀¹ Pr[E] dr gives each subset
S ⊆ U the weight |S|! * (|U| - |S|)! / (|U| + 1)!, by the Beta integral.
The first element of a random order, for independent inclusion (original). For every
event E on subsets of U,
(|U| + 1) * ∫₀¹ Pr_U[E] dr = [E ∅] + ∑ y ∈ U, ∫₀¹ Pr_{U ∖ {y}}[E (insert y ·)] dr.
By card_filter_placedBefore_div_factorial_eq_integral, the integrals are probabilities over a
uniformly random order of U and one more element x, of the event on the set placed before x.
The identity conditions on the first element of the order: it is x with probability
1 / (|U| + 1), and the set placed before x is then empty; it is y ∈ U with the same
probability, and the rest of the order is then uniform.
The Harris inequality. Increasing events are positively correlated under independent
inclusion; a consequence of the FKG inequality (Mathlib's fkg).
The PPSZ product bound, the fixed-r form of
Paturi, Pudlák, Saks, Zane, Lemma 7 with all qᵢ = r. Let vᵢ ∈ U
and let Eᵢ be increasing events that do not depend on vᵢ. Then the event that every vᵢ is
in the random set or Eᵢ holds has probability at least ∏ᵢ (r + (1 - r) * Pr[Eᵢ]). In the
paper, vᵢ are the children of the root of a critical clause tree and Eᵢ are the cut events of
the subtrees below them.
The PPSZ product bound, uniform form. If there are at most m events Eᵢ as in
prod_le_bernoulliProb_forall_or, each of probability at least q ∈ [0, 1], the probability is
at least (r + (1 - r) * q) ^ m.
One step of the depth recursion. If at most k - 1 increasing events Eᵢ, each not
depending on vᵢ ∈ U, have probability at least Q k d r, then the event that every vᵢ is in
the random set or Eᵢ holds has probability at least Q k (d + 1) r.
The depth recursion bounds recursive events
Paturi, Pudlák, Saks, Zane, p. 351. Let E d b be increasing
events indexed by a height d and a node b, among the nodes satisfying good d b. Suppose a
good node b of height d + 1 has a set ch b ⊆ U of at most k - 1 child labels, the child
nxt b y of label y is good of height d, its event does not depend on y, and E (d + 1) b
holds exactly when every child label is in the set or its child's event holds. Then every good
node of height d has Q k d r ≤ Pr[E d b]. For a critical clause tree, E d b is the event
that the paths of length d below b are cut.
Random placements #
The variables placed before x by the order π, in which π j is placed at step j. This is
PPZ.prefixSet π (π.symm x) (placedBefore_eq_prefixSet, in
CslibFrontier.Computability.Complexity.FineGrained.PPSZ.Unique); it is defined separately because
this file does not depend on formulas or on PPZ.
y is placed before x when its position is smaller.
x is not placed before itself.
x is preceded by as many variables as its position.
The orders placing S before x (original): |S|! * (n - 1 - |S|)! of the n! orders
place exactly the variables of S before x.
The set placed before x is uniform given its size (original): it is a given set S in
a 1 / (n * C(n - 1, |S|)) fraction of the orders.
The placement integral for one set (original): the probability that exactly the
variables of S are placed before x is ∫₀¹ r ^ |S| * (1 - r) ^ (n - 1 - |S|) dr.
Random orders as random placements (original). For every event E on sets of variables,
the probability over a uniformly random order that the set placed before x satisfies E is the
average over r ∈ [0, 1] of the probability of E when each other variable is included
independently with probability r.
The depth bound for a random order. If for every r ∈ [0, 1] the event E has
probability at least Q k d r under independent inclusion of the variables other than x, then
over a uniformly random order the set placed before x satisfies E with probability at least
qbar k d.