Documentation

CslibFrontier.Computability.Complexity.FineGrained.PPSZ.Unique

PPSZ with w-implication: the bound for isolated and unique solutions #

Let σ be an h-isolated satisfying assignment of a CNF formula φ whose clauses have at most k literals, and let w ≥ ∑ i < h, (k - 1) ^ i. Fix a variable x and a critical clause tree of height h for x (exists_isCriticalTree). When the variables other than x are included independently with probability r, the event that every path from the root to depth h meets the included set has probability at least Q k h r (Q_le_bernoulliProb_cut): this is the depth recursion Q_le_bernoulliProb applied to the cut events of the subtrees, which are increasing (Cut.mono), satisfy the recursion cut_succ, and do not depend on the label of their own root (cut_insert_of_mem), while every node has at most k - 1 children (card_children_le). Integrating over r, the variables placed before x in a uniformly random order contain such a cut with probability at least qbar k h; by the forcing lemma (wImplied_of_cut), x is then forced. So every variable is forced with probability at least qbar k h (qbar_le_card_filter_forced_div_factorial), and one round of PPSZ outputs σ with probability at least 2^{-(1 - qbar k h) n} (round_success_of_isolated).

This is the analogue, for w-implication, of the finite-depth bound of Paturi, Pudlák, Saks, Zane, Theorem 7 before its estimate of qbar k h (Lemma 8 of the paper). A unique satisfying assignment is isolated for every h (round_success_of_unique). For k = 3 and depth 2, where qbar 3 2 = 31 / 70, this gives 2^{-(39/70) n}, better than the PPZ bound 2^{-(2/3) n} (round_success_of_unique_three).

Main results #

References #

theorem Cslib.Complexity.PPSZ.IsCriticalTreeAt.Q_le_bernoulliProb_cut {n k h : ℕ} {φ : Logic.PL.CNF (Fin n)} {σ : Fin n → Bool} {x : Fin n} {C : List (Fin n) → Logic.PL.Clause (Fin n)} (hC : IsCriticalTreeAt φ σ x h C) (hσ : Logic.PL.CNF.eval σ φ = true) (hlen : ∀ c ∈ φ, List.length c ≤ k) {r : ℝ} (hr : r ∈ Set.Icc 0 1) :
Q k h r ≤ bernoulliProb (Finset.univ.erase x) r fun (A : Finset (Fin n)) => Cut C A h [x]

The cut probability of a rooted critical clause tree Paturi, Pudlák, Saks, Zane, Lemma 7 and p. 351. Let C label a critical clause tree of height h rooted at x for a satisfying assignment σ of a formula whose clauses have at most k literals. If every variable other than x is included independently with probability r, then every path from the root x to depth h meets the included set with probability at least Q k h r.

theorem Cslib.Complexity.PPSZ.Q_le_bernoulliProb_cut {n k h : ℕ} {φ : Logic.PL.CNF (Fin n)} {σ : Fin n → Bool} {C : List (Fin n) → Logic.PL.Clause (Fin n)} (hσ : Logic.PL.CNF.eval σ φ = true) (hC : IsCriticalTree φ σ h C) (hlen : ∀ c ∈ φ, List.length c ≤ k) (x : Fin n) {r : ℝ} (hr : r ∈ Set.Icc 0 1) :
Q k h r ≤ bernoulliProb (Finset.univ.erase x) r fun (A : Finset (Fin n)) => Cut C A h [x]

The cut probability of a critical clause tree Paturi, Pudlák, Saks, Zane, Lemma 7 and p. 351. Let C label a critical clause tree of height h for a satisfying assignment σ of a formula whose clauses have at most k literals. If every variable other than x is included independently with probability r, then every path from the root x to depth h meets the included set with probability at least Q k h r.

The variables placed before x are the variables PPZ and PPSZ have processed when they reach x. (placedBefore is defined separately in the formula-free file CslibFrontier.Computability.Complexity.FineGrained.PPSZ.Placement.)

theorem Cslib.Complexity.PPSZ.qbar_le_card_filter_forced_div_factorial {n k h w : ℕ} {φ : Logic.PL.CNF (Fin n)} {σ : Fin n → Bool} (hσ : Logic.PL.CNF.eval σ φ = true) (hiso : IsIsolated φ σ h) (hlen : ∀ c ∈ φ, List.length c ≤ k) (hw : ∑ i ∈ Finset.range h, (k - 1) ^ i ≤ w) (x : Fin n) :
qbar k h ≤ ↑{π : Equiv.Perm (Fin n) | Forced φ w σ π x}.card / ↑n.factorial

Every variable is forced with probability at least qbar k h Paturi, Pudlák, Saks, Zane, Lemmas 6 and 7 and p. 351, for PPSZ with w-implication as in Scheder, Lemma 3.2. Let σ be an h-isolated satisfying assignment of a formula whose clauses have at most k literals, and let w ≥ ∑ i < h, (k - 1) ^ i. Then every variable is forced in at least a qbar k h fraction of the n! orders. The bound on w, the number of nodes of depth less than h, and the reduction from random placements to random orders are original.

theorem Cslib.Complexity.PPSZ.round_success_of_isolated {n k h w : ℕ} {φ : Logic.PL.CNF (Fin n)} {σ : Fin n → Bool} (hσ : Logic.PL.CNF.eval σ φ = true) (hiso : IsIsolated φ σ h) (hlen : ∀ c ∈ φ, List.length c ≤ k) (hw : ∑ i ∈ Finset.range h, (k - 1) ^ i ≤ w) :
2 ^ (-((1 - qbar k h) * ↑n)) ≤ ((round φ w) fun (x : Fin n) => some (σ x)).toReal

PPSZ finds isolated solutions, the analogue for w-implication of the finite-depth bound of Paturi, Pudlák, Saks, Zane, Theorem 7 (p. 344) in the form Q_T ≥ qbar k h of p. 351, before its estimate of qbar k h (Lemma 8 of the paper). Let σ be an h-isolated satisfying assignment of a CNF formula on n variables whose clauses have at most k literals, and let w ≥ ∑ i < h, (k - 1) ^ i. Then one round of PPSZ with w-implication outputs σ with probability at least 2^{-(1 - qbar k h) n}. The paper assumes k ≥ 3 and uses s-bounded resolution with s ≥ k ^ h in place of w-implication; only the bound on w, the number of nodes of depth less than h, and the reduction from random placements to random orders are original.

theorem Cslib.Complexity.PPSZ.round_success_of_unique {n k h w : ℕ} {φ : Logic.PL.CNF (Fin n)} {σ : Fin n → Bool} (hσ : Logic.PL.CNF.eval σ φ = true) (huniq : ∀ (τ : Fin n → Bool), Logic.PL.CNF.eval τ φ = true → τ = σ) (hlen : ∀ c ∈ φ, List.length c ≤ k) (hw : ∑ i ∈ Finset.range h, (k - 1) ^ i ≤ w) :
2 ^ (-((1 - qbar k h) * ↑n)) ≤ ((round φ w) fun (x : Fin n) => some (σ x)).toReal

PPSZ finds unique solutions, for every depth h, after Paturi, Pudlák, Saks, Zane, Theorem 7 and Scheder, Theorem 1.3. If σ is the only satisfying assignment of a CNF formula on n variables whose clauses have at most k literals and w ≥ ∑ i < h, (k - 1) ^ i, one round of PPSZ with w-implication outputs σ with probability at least 2^{-(1 - qbar k h) n}. Like Paturi, Pudlák, Saks, Zane, Theorem 7 (p. 344), this is a finite-depth bound; the qbar k h form is the w-implication analogue of its chain Q_T ≥ qbar k h on p. 351. Only the bound on w and the reduction from random placements to random orders are original.

theorem Cslib.Complexity.PPSZ.round_success_of_unique_three {n w : ℕ} (hw : 3 ≤ w) {φ : Logic.PL.CNF (Fin n)} {σ : Fin n → Bool} (hσ : Logic.PL.CNF.eval σ φ = true) (huniq : ∀ (τ : Fin n → Bool), Logic.PL.CNF.eval τ φ = true → τ = σ) (hlen : ∀ c ∈ φ, List.length c ≤ 3) :
2 ^ (-(39 / 70 * ↑n)) ≤ ((round φ w) fun (x : Fin n) => some (σ x)).toReal

PPSZ for unique 3-SAT at depth two (original): for w ≥ 3, one round of PPSZ with w-implication outputs the unique satisfying assignment of a 3-CNF formula on n variables with probability at least 2^{-(39/70) n}, since qbar 3 2 = 31 / 70. This improves the PPZ bound 2^{-(2/3) n} (round_success_ppz).