Critical clause trees and the forcing lemma for PPSZ #
Let σ satisfy a CNF formula φ. It is h-isolated (IsIsolated) if flipping any nonempty
set of at most h variables falsifies φ [Paturi, Pudlák, Saks, Zane, p. 343]
[PPSZ05]; a unique satisfying assignment is h-isolated for every h
(isIsolated_of_unique).
The critical clause tree of a variable x has root labelled x. A node is identified with its
root path p, the list of the variable labels from the node up to the root. A node of depth less
than h has at most h labels on its root path, so flipping them falsifies φ; the node is
labelled by a clause C p of φ violated by that flip, and its children are labelled by the
variables of C p not on p (children) Scheder, §3.1
Paturi, Pudlák, Saks, Zane, §3.2. Here the tree is given by the
labelling C, a function on all lists, and IsCriticalTree φ σ h C says that it labels every
root path of at most h variables by such a clause. Labellings exist for h-isolated σ
(exists_isCriticalTree), labels on a path are distinct (nodup_append_of_descends), and every
node of depth less than h has at most k - 1 children when the clauses of φ have at most k
literals (card_children_le).
The tree of x only visits root paths that contain x. IsCriticalTreeAt φ σ x h C asks for
the clause labels on those paths only; it follows from IsCriticalTree φ σ h C
(IsCriticalTree.isCriticalTreeAt), and the degree bound and the forcing lemma need no more. For
general satisfiable formulas, PPSZ needs trees for frozen variables of restricted formulas, which
are rooted trees but not isolated ones.
Cut C A d p says that every downward path of d steps from the node p has a node other than
p labelled in A (cut_iff_forall_descends). It is decidable, monotone in A (Cut.mono),
and satisfies Cut C A (d + 1) p ↔ ∀ y ∈ children C p, y ∈ A ∨ Cut C A d (y :: p) (cut_succ).
Forcing lemma. If every path from the root of the tree of x to depth h meets A, then
x = σ x is implied, under σ restricted to A, by the clause labels of the tree, which are
at most ∑ i < h, (k - 1) ^ i (wImplied_of_cut, and IsCriticalTreeAt.wImplied_of_cut for
rooted trees). In PPSZ, with A the variables placed before
x, this says that x is forced Scheder, Lemma 3.2.
Main definitions #
Cslib.Complexity.PPSZ.IsIsolated: flipping at mosthvariables falsifies the formula.Cslib.Complexity.PPSZ.IsCriticalTree: a clause labelling of the critical clause tree.Cslib.Complexity.PPSZ.IsCriticalTreeAt: a clause labelling of the critical clause tree rooted at a given variable.Cslib.Complexity.PPSZ.children: the children of a node.Cslib.Complexity.PPSZ.Descends: the downward paths from a node.Cslib.Complexity.PPSZ.Cut: every downward path from a node meets a set of variables.Cslib.Complexity.PPSZ.labels: the clause labels of the nodes of bounded depth.
Main results #
Cslib.Complexity.PPSZ.exists_isCriticalTree: critical clause trees of isolated assignments.Cslib.Complexity.PPSZ.card_children_le: the tree has degree at mostk - 1.Cslib.Complexity.PPSZ.cut_succ: the recursion ofCut.Cslib.Complexity.PPSZ.cut_insert_of_mem:Cutbelowpdoes not depend on the labels onp.Cslib.Complexity.PPSZ.cut_iff_forall_descends:Cutin terms of paths.Cslib.Complexity.PPSZ.IsCriticalTreeAt.wImplied_of_cut: the forcing lemma for a rooted tree andw ≥ ∑ i < h, (k - 1) ^ i.Cslib.Complexity.PPSZ.wImplied_of_cut: the forcing lemma forw ≥ ∑ i < h, (k - 1) ^ i.Cslib.Complexity.PPSZ.wImplied_of_forall_descends: the forcing lemma forw ≥ (k - 1) ^ (h + 1)Scheder, Lemma 3.2.
References #
Isolation and critical clause trees #
σ is h-isolated in φ: flipping any nonempty set of at most h variables falsifies
φ. For a satisfying σ, no other satisfying assignment is within Hamming distance h
Paturi, Pudlák, Saks, Zane, p. 343.
A unique satisfying assignment is h-isolated for every h.
The clause labelling C defines a critical clause tree of height h for σ: every root
path p of at most h variables (a node of depth less than h, listed from the node up to the
root) is labelled by a clause of φ that flipping the variables of p violates
Scheder, §3.1.
Critical clause trees exist for isolated assignments.
The clause labelling C defines a critical clause tree of height h rooted at x for
σ: every root path p of at most h variables that contains x is labelled by a clause of φ
that flipping the variables of p violates. The root paths of the nodes of the tree of x end
in x, so this is the part of IsCriticalTree that the tree of x uses
(IsCriticalTree.isCriticalTreeAt). Unlike IsCriticalTree, it can hold when σ is not
isolated, for instance for a frozen variable of a restricted formula (original).
A critical clause tree is a critical clause tree rooted at every variable.
The children of the node with root path p: the variables of its clause label that are
not on p Paturi, Pudlák, Saks, Zane, §3.2.
The critical clause tree has degree at most k - 1 for clauses of at most k literals:
some variable of a node's clause label is on its root path Scheder, §3.1.
Paths and cuts #
Labels on a path are distinct Scheder, Observation 3.1.
Cut C A d p: every downward path of d steps from the node p has a node other than p
labelled by a variable of A. For the root [x] of the tree of x with x ∉ A, this says that
every path from the root to depth d meets A; the set of nodes labelled in A then contains a
cut in the sense of Paturi, Pudlák, Saks, Zane, p. 347.
Instances For
A cut does not depend on the labels of the root path: the nodes below p are labelled by
variables not on p, so adding a variable of p to the set does not change Cut.
The forcing lemma #
The clause labels of the nodes of depth less than d below the node p, including p.
The clause labels of a critical clause tree are clauses of the formula.
The number of clause labels of nodes of depth less than d is at most
∑ i < d, (k - 1) ^ i.
The core of the forcing lemma: an assignment γ that agrees with σ on A and differs from
σ on the root path p violates a clause label below p if p has a cut in A. Follow the
children on which γ differs from σ; where this stops, γ agrees with the flip of σ on the
whole clause label.
The forcing lemma for a rooted tree (original: a strengthening of
Scheder, Lemma 3.2, whose proof uses only the number of clause-labelled nodes).
Let σ satisfy φ, whose clauses have at most k literals, and let C label a critical clause
tree of height h rooted at x. If every path from the root x to depth h meets A outside
the root, then x = σ x is w-implied under σ restricted to A whenever
w ≥ ∑ i < h, (k - 1) ^ i, a bound on the number of nodes of depth less than h.
The forcing lemma (original: a strengthening of Scheder, Lemma 3.2, whose
proof uses only the number of clause-labelled nodes). Let σ satisfy φ, whose clauses have at
most k literals, and let C label a critical clause tree of height h. If every path from the
root x to depth h meets A outside the root, then x = σ x is w-implied under σ
restricted to A whenever w ≥ ∑ i < h, (k - 1) ^ i, a bound on the number of nodes of depth
less than h.
The forcing lemma Scheder, Lemma 3.2. Let σ satisfy the k-CNF formula
φ with k ≥ 3, let C label a critical clause tree of height h, and let
w ≥ (k - 1) ^ (h + 1). If every path from the root x to a node at depth h contains a node
labelled in A, then x = σ x is w-implied under σ restricted to A. Scheder
builds the tree for a unique satisfying assignment; here it only needs to exist, which
h-isolation guarantees (exists_isCriticalTree). For bounded resolution in place of
w-implication, the corresponding statements are
Paturi, Pudlák, Saks, Zane, Definition 1 and Lemma 4.