Prover–Delayer potentials for tree-like resolution #
A partial assignment ρ : V → Option Bool falsifies a clause
(Cslib.Logic.PL.Clause.FalsifiedBy) if it sets every literal of the clause to false. Following a
tree-like derivation from its conclusion towards the leaves, a Prover keeps a partial assignment
falsifying the current clause: at a resolution step on v, if v is unset, either value of v
falsifies one of the two premises (Cslib.Logic.PL.Clause.FalsifiedBy.resolvent_update). So a
potential μ : (V → Option Bool) → ℕ that splits at every unset variable,
μ ρ ≤ μ ρ[v ↦ 0] + μ ρ[v ↦ 1], and is at most 1 on partial assignments falsifying a clause of
φ, bounds the number of leaves, and so the size, of every tree-like derivation of a clause ρ
falsifies from below (Cslib.Logic.PL.CNF.Derivation.potential_le_leafCount,
Cslib.Logic.PL.CNF.Derivation.potential_le_size). In particular μ (fun _ => none) is at most
the size of every tree-like refutation (Cslib.Logic.PL.CNF.Derivation.potential_none_le_size).
This is the potential form of the asymmetric Prover–Delayer game of Beyersdorff, Galesi and Lauria
[BeyersdorffGalesiLauria2010, Theorem 1]: if Delayer can secure p points in the (c₀, c₁)-game,
with 1 / c₀ + 1 / c₁ = 1, then every tree-like refutation has at least 2 ^ p nodes. A Delayer
strategy guaranteeing p points gives a real-valued splitting potential with value 2 ^ p at the
empty assignment, and its ceiling, of value ⌈2 ^ p⌉, is a potential in the sense used here; the
proof of their theorem is the induction above. Splitting with μ ρ ≤ μ ρ[v ↦ b] at a variable whose
value Delayer chooses as b is a special case of the split inequality.
Main definitions #
Cslib.Logic.PL.Clause.FalsifiedBy: a partial assignment sets every literal of a clause to false.
Main results #
Cslib.Logic.PL.CNF.Derivation.potential_le_leafCount,Cslib.Logic.PL.CNF.Derivation.potential_le_size,Cslib.Logic.PL.CNF.Derivation.potential_none_le_size: splitting potentials bound the number of leaves and of nodes of tree-like derivations and refutations from below.
References #
The partial assignment ρ falsifies the clause c: it sets every literal of c to false,
that is, it gives the variable of each literal the opposite of the literal's sign. Partial
assignments are encoded as in Cslib.Logic.PL.CNF.restrictBy, with none for unset variables.
Every partial assignment falsifies the empty clause.
If ρ falsifies the resolvent of c₁ and c₂ on v and sets v to false, it falsifies
c₁.
If ρ falsifies the resolvent of c₁ and c₂ on v and sets v to true, it falsifies
c₂.
Setting a variable that ρ leaves unset keeps every clause ρ falsifies falsified.
The Prover's step. If ρ falsifies the resolvent of c₁ and c₂ on an unset variable
v, setting v to false falsifies c₁ and setting it to true falsifies c₂.
Prover–Delayer potentials bound the leaves of tree-like derivations
[BeyersdorffGalesiLauria2010, Theorem 1]. Let μ split at every unset variable,
μ ρ ≤ μ ρ[v ↦ 0] + μ ρ[v ↦ 1], and be at most 1 on partial assignments falsifying a clause of
φ. Then every tree-like derivation of a clause that ρ falsifies has at least μ ρ leaves.
Prover–Delayer potentials bound tree-like derivations [BeyersdorffGalesiLauria2010,
Theorem 1]. Under the hypotheses of potential_le_leafCount, every tree-like derivation of a
clause that ρ falsifies has at least μ ρ nodes.
Prover–Delayer potentials bound tree-like refutations: under the hypotheses of
potential_le_size, every tree-like refutation of φ has at least μ (fun _ => none) nodes.