PPSZ for satisfiable formulas: frozen variables and the guess probability #
A run of PPSZ on a satisfiable formula φ passes through partial assignments τ. When τ is the
restriction of a satisfying assignment σ to a set T of variables, an unassigned variable x is
guessed if, at its turn, the values of σ on T and on the variables placed before x do not
w-imply x = σ x. Its guess probability guessProb φ w T σ x is the fraction of the n!
orders in which this happens; for T = ∅ it is the probability that x is not forced
(guessProb_empty). A variable is frozen under τ (Frozen) if all satisfying extensions of
τ (IsSatExtension) agree on it Hertli, Definition 5 (p. 4).
Hertli analyses a modified PPSZ that sets every w-implied variable as soon as it is implied; here the algorithm is unmodified, as in Scheder, Steinberger, and the quantities below are the analogues of Hertli's for the unmodified algorithm.
This file proves the three properties of the guess probability that the adaptation of the analysis of Hertli uses.
- Monotonicity Hertli, Lemma 10 (p. 5): fixing more variables of
σdoes not increase the guess probability (guessProb_le_of_subset), since w-implication is monotone. - The first-step identity, the analogue for the unmodified algorithm of
Hertli, Lemma 11 (p. 6): with
munassigned variables,m * u = f + ∑ y, u_y, whereuis the guess probability ofx,fis1ifx = σ xis not w-implied underτand0otherwise, andu_yis the guess probability after also fixingy, for the unassignedy ≠ x(card_compl_mul_guessProb,sum_guessProb_sub). Hertli conditions on the first variable of a random order of the unassigned variables. Here the order is on allnvariables; the event only depends on the unassigned variables placed beforex, so it is the event of independent inclusion of the unassigned variables (guessProb_eq_integral, bybernoulliProb_union_of_forall_insert), and the identity iscard_add_one_mul_integral_bernoulliProb(original). - The guess bound for frozen variables: if the clauses of
φhave at mostkliterals,w ≥ ∑ i < h, (k - 1) ^ iandxis frozen, thenguessProb φ w T σ x ≤ 1 - qbar k h(guessProb_le_of_frozen), the bound of the unique case (qbar_le_card_filter_forced_div_factorial). For the unmodified algorithm this is the frozen-variable part of the finite-depth form of Scheder, Steinberger, Theorem 4 (p. 9:4), which they attribute to Paturi, Pudlák, Saks and Zane: under w-implication of depthh, against formulas with clauses of at mostkliterals, a frozen variable is guessed with probability at most1 - qbar k h. Their error notion (Definition 2) quantifies over every variable, including those liquid in F that become frozen in F|β; this bound needsxfrozen underrestrict σ T. Hertli's bound for his modified algorithm, Hertli, Theorem 6 (p. 4), which he only sketches, follows from it by monotonicity (guessProb_le_of_subset), since the modified algorithm fixes more variables ofσbeforex. Here the critical clause tree is built on the restricted formulaφ.restrictBy τand rooted atx(IsCriticalTreeAt): flippingxand other unassigned variables gives an extension ofτthat disagrees withσonx, which falsifiesφsincexis frozen. A w-implication in the restricted formula lifts toφ, one clause ofφfor each restricted clause (WImplied.of_restrictBy). This proof is original.
The restriction of a formula by a partial assignment is Cslib.Logic.PL.CNF.restrictBy. Under an
assignment that extends the partial assignment, it has the value of the formula
(Cslib.Logic.PL.CNF.eval_restrictBy), and it has no wider clauses
(Cslib.Logic.PL.CNF.length_le_of_mem_restrictBy); these facts are in
CslibFrontier.Logics.Propositional.Resolution.Restrict.
Main definitions #
Cslib.Complexity.PPSZ.Frozen: an unassigned variable on which all satisfying extensions agree.Cslib.Complexity.PPSZ.guessProb: the fraction of the orders in which a variable is guessed.
Main results #
Cslib.Complexity.PPSZ.satLit_iff_of_frozen: a frozen variable carries a single satisfying literal.Cslib.Complexity.PPSZ.WImplied.of_restrictBy: w-implication lifts from the restricted formula.Cslib.Complexity.PPSZ.guessProb_le_of_subset: the guess probability is antitone in the set of fixed variables Hertli, Lemma 10.Cslib.Complexity.PPSZ.guessProb_eq_integral: the guess probability as an integral of independent inclusion of the unassigned variables.Cslib.Complexity.PPSZ.card_compl_mul_guessProb,Cslib.Complexity.PPSZ.sum_guessProb_sub: the first-step identity Hertli, Lemma 11, for the unmodified algorithm.Cslib.Complexity.PPSZ.guessProb_le_of_frozen: frozen variables are guessed with probability at most1 - qbar k hScheder, Steinberger, Theorem 4.
References #
Lifting w-implication #
w-implication lifts from a restricted formula (original): if a value is w-implied in
φ.restrictBy ρ under τ, it is w-implied in φ under every τ' that extends both ρ and τ.
Each clause of the restricted formula is replaced by a clause of φ it comes from.
Frozen variables #
x is frozen under the partial assignment τ
Hertli, Definition 5 (p. 4): it is unassigned, and all satisfying extensions of τ
give it the same value. Hertli defines frozen variables of the restricted formula; its satisfying
assignments are the satisfying extensions of τ (Cslib.Logic.PL.CNF.eval_restrictBy).
A satisfying assignment is a satisfying extension of each of its restrictions.
Satisfying literals on a frozen variable: if y is frozen under τ, which has the
satisfying extension σ, the only satisfying literal on y is y = σ y.
The guess probability #
The guess probability of x after fixing the variables of T to their values in σ: the
fraction of the n! orders π in which the values of σ on T and on the variables placed
before x do not w-imply x = σ x, with the order taken on all variables; the variables of T
placed before x change nothing. This is the analogue for the unmodified algorithm of
p_guessed of Hertli, Definition 4 (p. 4), for the formula with the variables of
T fixed. For frozen x it is E_π[J_x(π, σ)] of
Scheder, Steinberger, p. 9:4 for that formula.
Monotonicity of the guess probability Hertli, Lemma 10 (p. 5): fixing more
variables of σ does not increase the guess probability, since w-implication is monotone
(WImplied.mono). Hertli removes the new variable from the order; here the order is on all
variables, so the statement is a comparison of events for each order.
If x = σ x is w-implied under σ restricted to T, then x is never guessed.
With no fixed variables, x is guessed exactly when it is not forced: the guess probability
is 1 minus the forcing probability of round_apply_ge.
The guess probability as an integral (original). The event that x is guessed depends
only on the unassigned variables placed before x, so the guess probability is the average over
r ∈ [0, 1] of the probability of the event when each unassigned variable other than x is fixed
independently with probability r.
The first-step identity, the analogue for the unmodified algorithm of
Hertli, Lemma 11 (p. 6), in the form m * u = f + ∑ y, u_y (original, by
card_add_one_mul_integral_bernoulliProb). Let x ∉ T,
let m = |Tᶜ| be the number of unassigned variables, u the guess probability of x, and
f = 0 if x = σ x is w-implied under σ restricted to T and f = 1 otherwise. Then m * u
is f plus the sum, over the unassigned y ≠ x, of the guess probability u_y after also
fixing y. Hertli assumes that x is not w-implied, so that f = 1.
The first-step identity, as a sum of decreases, the analogue for the unmodified algorithm
of Hertli, Lemma 11 (p. 6): with
u, u_y and f as in card_compl_mul_guessProb, ∑ y ≠ x unassigned, (u - u_y) = f - u.
The guess bound for frozen variables #
Critical clause trees for frozen variables (original). If σ satisfies φ and x is
frozen under σ restricted to T, then the restricted formula has a critical clause tree of every
height rooted at x for σ: flipping any set of variables that contains x falsifies a clause of
the restricted formula.
The guess bound for frozen variables, for the unmodified algorithm the frozen-variable part
of the finite-depth form of Scheder, Steinberger, Theorem 4 (p. 9:4),
which they attribute to Paturi, Pudlák, Saks and Zane; Hertli's bound for his modified algorithm,
Hertli, Theorem 6 (p. 4), follows from it by guessProb_le_of_subset. Let σ
satisfy φ, whose clauses have at most k literals, let w ≥ ∑ i < h, (k - 1) ^ i, and let x
be frozen under σ restricted to T. Then x is guessed in at most a 1 - qbar k h fraction of
the orders, as in the unique case (qbar_le_card_filter_forced_div_factorial). The proof,
through a critical clause tree of the restricted formula rooted at x
(exists_isCriticalTreeAt_restrictBy) and the lifting of w-implication
(WImplied.of_restrictBy), is original.