The Boolean existential pebble game #
The existential pebble game characterizes resolution width Atserias and Dalmau, Lemmas 2 and 3
and Theorem 2. Atserias and Dalmau characterize resolution width by the Boolean
existential pebble game on a CNF formula φ. Spoiler places pebbles on variables, Duplicator
answers with truth values, and Spoiler wins when the pebbled partial assignment falsifies a clause
of φ. A winning strategy for Duplicator with k pebbles
(Cslib.Logic.PL.CNF.DuplicatorStrategy, their Definition 2) is a nonempty family of partial
assignments on at most k variables that falsify no clause of φ, closed under restriction, and
such that each assignment on fewer than k variables extends to any further variable.
A partial assignment is a total assignment σ read only on a finite set d of variables, and
Cslib.Logic.PL.CNF.Falsifies σ d c says that every literal of c is on a variable of d and
false under σ.
If Duplicator has a winning strategy with w + 1 pebbles, then φ has no refutation of width w
(Cslib.Logic.PL.CNF.DuplicatorStrategy.not_refutableInWidth, their Lemma 3). By induction along a
proof of width w, no position of the strategy falsifies a line: a position falsifying a resolvent
restricts to the at most w variables of the resolvent and extends to the resolved variable, and
the extension falsifies one of the two premises. Since the strategy is nonempty and every position
falsifies the empty clause, the proof is not a refutation.
Conversely, if φ has no clause of width exactly w + 1 and no refutation of width w, then
Duplicator wins with w + 1 pebbles
(Cslib.Logic.PL.CNF.DuplicatorStrategy.ofNotRefutableInWidth, their Lemma 2). The positions are
the partial assignments on at most w + 1 variables that falsify no clause derivable within width
w. The empty assignment is one of them. A position on at most w variables extends to any
further variable, since if both extensions falsified derivable clauses, their resolvent would be a
derivable clause of width at most w falsified by the position. The clauses of φ of width at
most w are derivable within width w, and those of width more than w + 1 cannot be falsified on
at most w + 1 variables, so no position falsifies a clause of φ. Together, for formulas without
clauses of width w + 1, Duplicator wins with w + 1 pebbles exactly when there is no refutation
of width w (Cslib.Logic.PL.CNF.DuplicatorStrategy.nonempty_iff_not_refutableInWidth, their
Theorem 2). Clauses of width w + 1 must be excluded: (x₀ ∨ x₁ ∨ x₂) ∧ ¬x₀ ∧ ¬x₁ ∧ ¬x₂ has no
refutation of width 2, but Spoiler wins with 3 pebbles. Duplicator strategies also give
clause-space lower bounds, in CslibFrontier.Logics.Propositional.Resolution.SpaceWidth.
The mathematical symbols of the available copy of Atserias and Dalmau's paper do not extract, so
neither the side conditions nor the pebble counts of their statements are quoted. The statements
here are ours, with the off-by-one conventions of the library's
Cslib.Logic.PL.CNF.RefutableInWidth. The game is unrelated to the black pebble game of
CslibFrontier.Computability.Pebbling.
Main definitions #
Cslib.Logic.PL.CNF.Falsifies: a partial assignment falsifies a clause.Cslib.Logic.PL.CNF.DuplicatorStrategy: a winning strategy for Duplicator in the Boolean existentialk-pebble game.Cslib.Logic.PL.CNF.DuplicatorStrategy.ofNotRefutableInWidth: the strategy withw + 1pebbles on a formula without clauses of widthw + 1and without refutations of widthw.
Main results #
Cslib.Logic.PL.CNF.DuplicatorStrategy.exists_extend_union: a position extends to further variables, up to the number of pebbles.Cslib.Logic.PL.CNF.DuplicatorStrategy.not_falsifies_of_isProof: no position falsifies a line of a proof of widthw, forw + 1pebbles.Cslib.Logic.PL.CNF.DuplicatorStrategy.not_refutableInWidth: a Duplicator strategy withw + 1pebbles rules out refutations of widthw.Cslib.Logic.PL.CNF.DuplicatorStrategy.nonempty_iff_not_refutableInWidth: the existential pebble game characterizes width, for formulas without clauses of widthw + 1.
References #
A winning strategy for Duplicator in the Boolean existential k-pebble game on φ
Atserias and Dalmau, Definition 2: a nonempty family of partial assignments
(σ, d), read on at most k variables, that falsify no clause of φ, closed under restriction,
and such that every assignment on fewer than k variables extends to any further variable.
The positions of the strategy:
σread ond.There is a position.
Positions are read on at most
kvariables.Positions are closed under restriction.
- extend {σ : V → Bool} {d : Finset V} : self.Mem σ d → d.card < k → ∀ (v : V), ∃ (τ : V → Bool), (∀ x ∈ d, τ x = σ x) ∧ self.Mem τ (insert v d)
A position on fewer than
kvariables extends to any further variable. No position falsifies a clause of
φ.
Extension to a set of variables: a position of a k-pebble strategy on d extends to a
position on d ∪ e agreeing with it on d, provided |d| + |e| ≤ k.
No position falsifies a line of a narrow proof [Atserias and Dalmau, Lemma 3]
[AD08]: for a strategy with w + 1 pebbles, no position falsifies a line of a proof
from φ whose lines have width at most w.
A Duplicator strategy with w + 1 pebbles rules out refutations of width w Atserias and
Dalmau, Lemma 3.
A strategy from the absence of narrow refutations #
A Duplicator strategy from the absence of narrow refutations Atserias and Dalmau,
Lemma 2: if φ has no clause of width exactly w + 1 and no refutation of
width w, then Duplicator wins the existential (w + 1)-pebble game. The positions are the partial
assignments on at most w + 1 variables that falsify no clause derivable from φ within width
w. Clauses of width more than w + 1 play no role, since they cannot be falsified on at most
w + 1 variables.
Clauses of width w + 1 must be excluded: (x₀ ∨ x₁ ∨ x₂) ∧ ¬x₀ ∧ ¬x₁ ∧ ¬x₂ has no refutation of
width 2, but Spoiler wins with 3 pebbles by pebbling x₀, x₁ and x₂. From a bound
hk : ∀ c ∈ φ, c.width ≤ w, the hypothesis is fun c hc => (Nat.lt_succ_of_le (hk c hc)).ne.
The existential pebble game characterizes width Atserias and Dalmau,
Theorem 2: for a formula without clauses of width w + 1, Duplicator wins
the existential (w + 1)-pebble game exactly when there is no refutation of width w.