Space Complexity of Polynomial Calculus
Massimo Lauria
Sapienza – Universit` a di Roma
LOGICAL APPROACHES TO BARRIERS IN COMPLEXITY II CAMBRIDGE 2012 (joint work with Y. Filmus, J. Nordstr¨
- m, N.Thapen and N. Zewi)
Space Complexity of Polynomial Calculus Massimo Lauria Sapienza - - PowerPoint PPT Presentation
Space Complexity of Polynomial Calculus Massimo Lauria Sapienza Universit` a di Roma L OGICAL A PPROACHES TO B ARRIERS IN C OMPLEXITY II C AMBRIDGE 2012 (joint work with Y. Filmus, J. Nordstr om, N.Thapen and N. Zewi) SAT has been
Massimo Lauria
Sapienza – Universit` a di Roma
LOGICAL APPROACHES TO BARRIERS IN COMPLEXITY II CAMBRIDGE 2012 (joint work with Y. Filmus, J. Nordstr¨
—the daring practitioner—
—the savvy theorist—
—the relentless coder—
Modern SAT solvers are based on Resolution
but
algebraic reasoning can be beneficial.
(e.g. Polynomial Calculus)
(e.g. Polynomial Calculus)
(e.g. Buchberger)
(e.g. Polynomial Calculus)
(e.g. Buchberger)
(e.g POLYBORI)
width variables space PCR
[Alekhnovich et al. 02] PC
pigeonhole principle PC
any formula PCR
bit-pigeonhole principle PCR
xor-pigeonhole principle
width variables space PCR
[Alekhnovich et al. 02] PC
pigeonhole principle PC
any formula PCR
bit-pigeonhole principle PCR
xor-pigeonhole principle
1
Algebraic proof system PCR
2
Model space complexity in PCR refutations
3
We sketch the proof of a space lower bound for PCR
Deterministic polynomial time P(·, ·) if F ∈ UNSAT then P(F, π) = 1 for some π ∈ {0, 1}∗ if F ∈ UNSAT then P(F, π) = 0 for all π ∈ {0, 1}∗
There is P where any unsat formula has a “short” refutation in P ⇐ ⇒
Cook-Reckhow program (1979)
Prove proof length lower bound for stronger and stronger system in order to prove NP=CONP
The trace of “SAT-solver(F)=unsat” is a refutation for F. DLL − → tree-like resolution Clause Learning − → regular WRTL [BHJ ’08] CL + Restarts − → resolution CRYPTOMINISAT − → fragments of PCR on GF(2) POLYBORI − → PC on GF(2)
CNF formula − → set of polynomials SAT assignments − → common roots true − → false − → 1 variable x − → x,¯ x x ∈ {true, false} − → x2 − x x + ¯ x − 1 x ∨ ¬y ∨ ¬z ∨ s ∨ t − → x · ¯ y · ¯ z · s · t
LINEAR COMBINATION
MULTIPLICATION
F ⊢ 1 iff F ∈ UNSAT (SOUNDNESS) INFERENCE PRESERVES COMMON ROOTS (COMPLETENESS) SIMULATES DECISION TREES
PC defined in [CEI96] and PCR in [ABRW02]; PCR strictly better than resolution in proof length; Size-Degree Trade-off [IPS99,GL10a]; Exponential lower bounds on length are known [Raz98,AR03, BGIP01, BI10, IPS99, Raz98]; Proof search is hard [GL10b] based on [AR08].
· · · → xz + yz xz − 1
· · · → xz + yz xz − 1 → xz + yz xz − 1 1 − yz inference step from polynomials in memory
· · · → xz + yz xz − 1 → xz + yz xz − 1 1 − yz → xz + yz — 1 − yz inference step from polynomials in memory erasure of a polynomial
· · · → xz + yz xz − 1 → xz + yz xz − 1 1 − yz → xz + yz 1 − yz → xz + yz x2 − x 1 − yz · · · inference step from polynomials in memory erasure of a polynomial logical axiom/initial polynomial download
Space measure: #monomials in a configuration
Space measure: #monomials in a configuration
xz + yz xz − 1 1 − yz
(this configuration counts as space six)
Space measure: #monomials in a configuration
xz + yz xz − 1 1 − yz
(this configuration counts as space six)
Roads not taken
O(1) polynomials are always sufficient (#polynomials) too expensive compared to implementations (#symbols)
Lower bounds for wide CNFs [Alekhnovich et al. 2002] Length-Space trade-offs [Huynh, Nordstr¨
Lower bounds for narrow CNFs [FLNTZ 2012]
BIT-PIGEONHOLE PRINCIPLE
Fix n = 2m: there is no injective function F : [n + 1] → {0, 1}m.
BIT-PIGEONHOLE PRINCIPLE
Fix n = 2m: there is no injective function F : [n + 1] → {0, 1}m. For each: two pigeons a and b hole s ∈ {0, 1}m (fa,1 = s1) ∨ · · · ∨ (fa,m = sm)
EXAMPLE
F(1) = 1101 or F(3) = 1101 translates to (¬f1,1 ∨ ¬f1,2 ∨ f1,3 ∨ ¬f1,4)
Any PCR refutation of the “Bit” pigeohole principle has a configuration with at least n/8 monomials.
. . . . . . . . . . . . . . . 1 = 0
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1 = 0
1 a parallel sequence of (. . .) such that (. . .) [. . .] ;
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1 = 0
1 a parallel sequence of (. . .) such that (. . .) [. . .] ; 2 size of (. . .) if at most twice the size of [. . .]; (assuming monomial space ≤ n/8: )
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1 = 0
1 a parallel sequence of (. . .) such that (. . .) [. . .] ; 2 size of (. . .) if at most twice the size of [. . .]; (assuming monomial space ≤ n/8: ) 3 (. . .) of size ≤ n/4 are all satisfiable;
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1 = 0
1 a parallel sequence of (. . .) such that (. . .) [. . .] ; 2 size of (. . .) if at most twice the size of [. . .]; (assuming monomial space ≤ n/8: ) 3 (. . .) of size ≤ n/4 are all satisfiable; 4 contradiction since (. . .) [1 = 0]
(2-CNFs where no pigeon is mentioned twice)
¬f1,3 ∨ f4,2 f5,1 ∨ f7,3 . . . ¬f6,5 ∨ ¬f2,3 A satisfying assignment: satisfies the 2-CNFs no collision on the occurring pigeons
Observation
Any special configuration with at most n/4 clauses is satisfiable.
Proof.
¬f1,3 ∨ f4,2 f5,1 ∨ f7,3 . . . ¬f6,5 ∨ ¬f2,3
1
at most n/2 pigeons;
2
at least n/2 + 1 free holes per pigeon;
3
at least one free hole per satisfied literal.
Input: (M0, M1, . . . , Ml)
with |Mi| ≤ n/8
Output: (S0, S1, . . . , Sl)
such that |Si| ≤ 2|Mi| and Si implies Mi
Input: (M0, M1, . . . , Ml)
with |Mi| ≤ n/8
Output: (S0, S1, . . . , Sl)
such that |Si| ≤ 2|Mi| and Si implies Mi
S0 := ∅ [Initial configuration] Si+1 := Si [Inference] Si+1 := Si [Logical axioms]
Input: (M0, M1, . . . , Ml)
with |Mi| ≤ n/8
Output: (S0, S1, . . . , Sl)
such that |Si| ≤ 2|Mi| and Si implies Mi
S0 := ∅ [Initial configuration] Si+1 := Si [Inference] Si+1 := Si [Logical axioms] [Download of F(a) = s ∨ F(b) = s] Si+1 := Si [a, b ∈ Si] Si+1 := Si ∪ {fa,1 ∨ fb,1} [a, b ∈ Si] Si+1 := Si ∪ {fa,1 ∨ fc,1} for some c ∈ Si [a ∈ Si, b ∈ Si]
[Erasure step] is the hard case How may clauses in 2-CNF influence the value of a monomial? ≤ 2 space complexity preserved; > 2 weak influence, most clauses can be removed.
PROOF RECAP
Assuming monomial space ≤ n/8: a corresponding sequence of small 2-CNFs; all such small 2-CNFs are “satisfiable”; last memory configuration is satisfiable. (contradiction)
PCR is a candidate model of future SAT solvers; we need to study space to discover if it is the case; we have sketched a space lower bounds for 2 log n-CNFs.
A linear PCR space lower bounds for (random) 3-CNFs space bounds for other proof systems (e.g. cutting planes) trading space for time
A linear PCR space lower bounds for (random) 3-CNFs space bounds for other proof systems (e.g. cutting planes) trading space for time theoretical space bounds vs memory usage improve PCR implementations
J.Nordstr¨