Documentation

CslibFrontier.Logics.Propositional.Resolution.SpaceWidth

Clause space bounds width #

Atserias and Dalmau's inequality Atserias and Dalmau, Theorem 3: a formula of clauses of width at most k that is refutable in clause space s is refutable in width s + k - 3 (Cslib.Logic.PL.CNF.RefutableInSpace.refutableInWidth). The exact constant s + k - 3 is that of Filmus, Lauria, Mikša, Nordström and Vinyals, Theorem 1, whose statement we follow. They state it as a result of Atserias and Dalmau, labelling it "Theorem 1 ([2])" with [2] the journal version of Atserias and Dalmau's paper:

Let F be a k-CNF formula and let π : F ⊢ ⊥ be a resolution refutation in space Sp(π) = s. Then there is a resolution refutation π′ of F in width W(π′) ≤ s + k − 3.

That paper assumes that F does not contain the empty clause; we do not, since a formula containing it is refutable in width 0. Clauses there are sets, and weakening is optional; here they are lists (Cslib.Logic.PL.Clause.width counts distinct literals), and neither the space refutation nor the width refutation uses weakening. Lower bounds on width thus give lower bounds on clause space (Cslib.Logic.PL.CNF.RefutableInSpace.add_four_le).

The proof follows Atserias and Dalmau, and works for any winning strategy S for Duplicator in the existential p-pebble game (Cslib.Logic.PL.CNF.DuplicatorStrategy): if φ has clauses of width at most k and is refutable in space s, then p + 3 ≤ s + k (Cslib.Logic.PL.CNF.DuplicatorStrategy.add_three_le). A position of S on at most p - k variables extends to a position satisfying any given clause of φ, which it cannot falsify. Then, along a refutation in space s, every set N of fewer than s clauses of the current configuration is satisfied by a position of S on at most |N| variables: after a download of A ∈ N, satisfy the other clauses of N and extend to satisfy A; after an inference of R ∈ N, satisfy the parents of R instead, which together satisfy R; and keep only one satisfying variable per clause (the Locality Lemma, Atserias and Dalmau, Lemma 4). Applied to the set of the empty clause, this is a contradiction. Atserias and Dalmau (Lemma 5) keep one assignment satisfying the whole configuration; asking only for sets of fewer than s clauses saves one in the width bound and gives the constant of Filmus et al. The constant stated in Atserias and Dalmau's Theorem 3 may be weaker and is not quoted or claimed here.

If φ has no refutation of width w and no clause of width w + 1, Duplicator wins with w + 1 pebbles Atserias and Dalmau, Lemma 2 (Cslib.Logic.PL.CNF.DuplicatorStrategy.ofNotRefutableInWidth), which gives add_four_le; if some clause has width w + 1, then w < k and the bound 3 ≤ s suffices.

Main results #

References #

Satisfying partial assignments #

A partial assignment is a total assignment σ read only on a finite set d of variables; Cslib.Logic.PL.CNF.Falsifies σ d c says that it falsifies c.

The invariant #

The inequality #

theorem Cslib.Logic.PL.CNF.DuplicatorStrategy.add_three_le {V : Type u_1} [DecidableEq V] {φ : CNF V} {k p s : ℕ} (S : φ.DuplicatorStrategy p) (hk : ∀ c ∈ φ, c.width ≤ k) (h : φ.RefutableInSpace s) :
p + 3 ≤ s + k

Duplicator strategies give clause-space lower bounds Atserias and Dalmau, Lemma 5: if Duplicator wins the existential p-pebble game on a formula of clauses of width at most k, its refutations need clause space at least p + 3 - k. The constant is the one that gives that of Filmus, Lauria, Mikša, Nordström and Vinyals, Theorem 1 with p = w + 1; the constant of Atserias and Dalmau's Lemma 5 is not quoted.

theorem Cslib.Logic.PL.CNF.RefutableInSpace.add_four_le {V : Type u_1} [DecidableEq V] {φ : CNF V} {w k s : ℕ} (hk : ∀ c ∈ φ, c.width ≤ k) (hw : ¬φ.RefutableInWidth w) (h : φ.RefutableInSpace s) :
w + 4 ≤ s + k

Width lower bounds give clause-space lower bounds: if a formula of clauses of width at most k has no refutation of width w, its refutations need clause space at least w + 4 - k.

theorem Cslib.Logic.PL.CNF.RefutableInSpace.refutableInWidth {V : Type u_1} [DecidableEq V] {φ : CNF V} {k s : ℕ} (hk : ∀ c ∈ φ, c.width ≤ k) (h : φ.RefutableInSpace s) :
φ.RefutableInWidth (s + k - 3)

Clause space bounds width Atserias and Dalmau, Theorem 3 Filmus, Lauria, Mikša, Nordström and Vinyals, Theorem 1: a formula of clauses of width at most k that is refutable in clause space s is refutable in width s + k - 3. The exact constant s + k - 3 is that of Filmus et al., Theorem 1.