Documentation

CslibFrontier.Logics.Propositional.Resolution.TreeLikePigeonhole

Tree-like resolution lower bound for the pigeonhole principle #

Every tree-like resolution refutation of the weak pigeonhole formula PHP^m_n, m > n, has at least (n + 1 - h) ^ h nodes for every h, a bound that is positive for h ≤ n and nontrivial for 0 < h < n (Cslib.Logic.PL.CNF.Derivation.pow_le_size_pigeonhole). At h = n / 2 this is the (n / 2 + 1) ^ (n / 2) = 2 ^ Ω(n log n) bound of Beyersdorff, Galesi and Lauria [BeyersdorffGalesiLauria2010, Theorem 2] (Cslib.Logic.PL.CNF.Derivation.pow_half_le_size_pigeonhole), which they obtain from an asymmetric Prover–Delayer game as a simpler proof of the lower bound of Dantchev and Riis [DR01], who showed that the tree-like size is 2 ^ Θ(n log n) for every m > n. Iwama and Miyazaki [IM99] had earlier shown that tree-like resolution is superpolynomially slower than general resolution on the pigeonhole principle (their paper was not inspected here). The bound improves on the bound 2 ^ (n / 24) that Haken's theorem gives for m = n + 1 (Cslib.Logic.PL.CNF.Derivation.two_pow_le_size_pigeonhole), and holds for every number of pigeons. The same bound applies to DPLL search trees: a decision tree finding a falsified clause of PHP^m_n has more than (n + 1 - h) ^ h / 2 leaves (Cslib.Logic.PL.CNF.pow_lt_two_mul_leafCount_pigeonhole).

The potential. Delayer keeps the positive literals of the partial assignment ρ a partial matching of pigeons to holes. For an unmatched pigeon i, let p_i be the number of holes that are unoccupied but excluded for i by ρ, and d_i = n + 1 - h - p_i (truncated at 0). With k matched pigeons, the potential of ρ is the least product ∏_{i ∈ U} d_i over sets U of h - k unmatched pigeons; it is (n + 1 - h) ^ h at the empty assignment. As Cslib.Logic.PL.CNF.Derivation.potential_le_size requires, it splits at every unset variable (i, j): if i is matched or j occupied, setting (i, j) to false changes nothing; otherwise setting it to false lowers d_i by one and setting it to true matches i, which removes the factor d_i and can only raise the other d's. A pigeon clause is falsified only when the pigeon is unmatched and every unoccupied hole is excluded for it, so either h pigeons are matched (potential 1) or d_i = 0 (potential 0); a hole clause is never falsified by a matching. Their theorem uses h = n / 2 and assigns a pigeon to a hole once it has n / 2 excluded holes; here pigeons with d_i = 0 are left to the Prover, which removes that rule. Informally, choosing h ≈ n - n / ln n gives n ^ ((1 - o(1)) n), whose logarithm has the same leading term n log n as the size ≈ n! of the refutation that places the pigeons one at a time; only the explicit bound for each h is formalized.

Main results #

References #

Partial matchings and the potential #

The empty assignment #

Falsified clauses #

Setting one variable #

Splitting #

The lower bound #

Leaves of tree-like refutations of the pigeonhole principle. For m > n and every h, every tree-like resolution refutation of PHP^m_n has at least (n + 1 - h) ^ h leaves (the bound is 0 for h > n). This is the asymmetric Prover–Delayer argument of [BeyersdorffGalesiLauria2010, Theorem 2] with the threshold n / 2 replaced by h; the potential argument of their Theorem 1 counts leaves.

theorem Cslib.Logic.PL.CNF.Derivation.pow_le_size_pigeonhole {m n : ℕ} (h : ℕ) (hnm : n < m) (d : (pigeonhole m n).Derivation []) :
(n + 1 - h) ^ h ≤ d.size

Tree-like resolution lower bound for the pigeonhole principle. For m > n and every h, every tree-like resolution refutation of PHP^m_n has at least (n + 1 - h) ^ h nodes (the bound is 0 for h > n). This is the asymmetric Prover–Delayer argument of [BeyersdorffGalesiLauria2010, Theorem 2] with the threshold n / 2 replaced by h.

theorem Cslib.Logic.PL.CNF.Derivation.pow_half_le_size_pigeonhole {m n : ℕ} (hnm : n < m) (d : (pigeonhole m n).Derivation []) :
(n / 2 + 1) ^ (n / 2) ≤ d.size

Tree-like resolution needs 2 ^ Ω(n log n) nodes for the pigeonhole principle [BeyersdorffGalesiLauria2010, Theorem 2]: for m > n, every tree-like resolution refutation of PHP^m_n has at least (n / 2 + 1) ^ (n / 2) nodes.

theorem Cslib.Logic.PL.CNF.Derivation.pow_half_le_leafCount_relabel_pigeonhole {m n : ℕ} {W : Type u_1} [DecidableEq W] {f : Fin m × Fin n → W} (hf : Function.Injective f) (hnm : n < m) (d : (relabel f (pigeonhole m n)).Derivation []) :
(n / 2 + 1) ^ (n / 2) ≤ d.toDecisionTree.leafCount

Relabelled pigeonhole formulas. For m > n and an injective map f renaming the variables of PHP^m_n, every tree-like refutation of the renamed formula has at least (n / 2 + 1) ^ (n / 2) leaves [BeyersdorffGalesiLauria2010, Theorem 2].

theorem Cslib.Logic.PL.CNF.pow_lt_two_mul_leafCount_pigeonhole {m n : ℕ} (h : ℕ) (hnm : n < m) {t : DecisionTree (Fin m × Fin n) (Clause (Fin m × Fin n))} (ht : t.FindsFalsifiedClause (pigeonhole m n)) :
(n + 1 - h) ^ h < 2 * t.leafCount

DPLL search trees for the pigeonhole principle: for m > n and every h, a decision tree finding a falsified clause of PHP^m_n has more than (n + 1 - h) ^ h / 2 leaves.

theorem Cslib.Logic.PL.CNF.pow_half_le_leafCount_relabel_pigeonhole {m n : ℕ} {W : Type u_1} {f : Fin m × Fin n → W} (hf : Function.Injective f) (hnm : n < m) {t : DecisionTree W (Clause W)} (ht : t.FindsFalsifiedClause (relabel f (pigeonhole m n))) :
(n / 2 + 1) ^ (n / 2) ≤ t.leafCount

DPLL search trees for relabelled pigeonhole formulas: for m > n and an injective map f renaming the variables of PHP^m_n, a decision tree finding a falsified clause of the renamed formula has at least (n / 2 + 1) ^ (n / 2) leaves [BeyersdorffGalesiLauria2010, Theorem 2].