Space complexity of cutting planes refutations . . . . . Nicola - - PowerPoint PPT Presentation

space complexity of cutting planes refutations
SMART_READER_LITE
LIVE PREVIEW

Space complexity of cutting planes refutations . . . . . Nicola - - PowerPoint PPT Presentation

. . Space complexity of cutting planes refutations . . . . . Nicola Galesi, Pavel Pudl ak, Neil Thapen Nicola Galesi Sapienza - University of Rome June 19, 2015 () June 19, 2015 1 / 32 Cutting planes proofs A refutational system


slide-1
SLIDE 1

. . . . . . .

Space complexity of cutting planes refutations

Nicola Galesi, Pavel Pudl´ ak, Neil Thapen

Nicola Galesi

Sapienza - University of Rome

June 19, 2015

() June 19, 2015 1 / 32

slide-2
SLIDE 2

Cutting planes proofs

A refutational system for CNFs as linear inequalities ∨

i∈P

xi ∨ ∨

i∈N

¬xi − → ∑

i∈P

xi + ∑

i∈N

(1 − xi) ≥ 1. Rules: Axioms, Linear Combination, Cut Rule x ≥ 0, −x ≥ −1 ∑ λ1

i xi ≥ t1

· · · ∑ λk

i xi ≥ tk

∑ (∑

j sjλj i

) xi ≥ ∑

j sjtj

and ∑ sλixi ≥ t ∑ λixi ≥ ⌈t/s⌉ where s1, . . . , sk and s must be strictly positive integers, and the linear combination rule can take any number of premises.

() June 19, 2015 2 / 32

slide-3
SLIDE 3

Refuting CNFs in CP

An example of CP derivation

x + y ≥ 1 x + (1 − y) ≥ 1 2x ≥ 1 x ≥ 1 (1 − x) + y ≥ 1 (1 − x) + (1 − y) ≥ 1 −2x ≥ −1 −x ≥ 0 0 ≥ 1

() June 19, 2015 3 / 32

slide-4
SLIDE 4

Memory configurations

A memory configuration M is a set of linear inequalities. A CP derivation of I from F is given by a sequence M0, . . . , Mℓ of memory configurations The sequence must satisfy that : M0 is empty, that I ∈ Mℓ, and that for each i < ℓ, Mi+1 is obtained from Mi in one of three ways:

Axiom download: Mi+1 = Mi ∪ {J} for some J ∈ F Inference: Mi+1 = Mi ∪ {J} where J follows from Mi by an inference rule, or is a Boolean axiom Erasure: Mi+1 ⊂ Mi.

A CP refutation of F is a CP derivation of 0 ≥ 1 from F.

() June 19, 2015 4 / 32

slide-5
SLIDE 5

Space measures

Three measures of the space taken by a memory configuration M. The inequality space is the number of inequalities in M. The variable space is the sum, over all inequalities J in M, of the number of distinct variables appearing in J with a non-zero coefficient. the total space, the sum, over all inequalities J in M, of the length in binary of all non-zero coefficients in J and of the constant term

  • f J (ignoring signs).

For each measure, the corresponding space of a refutation Π is the maximum space of any configuration Mi in Π. The corresponding space needed to refute a set of inequalities F is the minimum space of any refutation of F.

() June 19, 2015 5 / 32

slide-6
SLIDE 6

Space Complexity for Resolution

A memory configuration M contains clauses instead of linear inequalities. The clause space is the number of clauses in M. The total space is the overall number of variables (with repetitions) appearing in M Many works studying clause space for Resolution. n number of vars. several Ω(n) lower bounds (PHP , random 3CNFs,.....) [ET99,ABRW00,....] straightforward n + 1 upper bound. Few works exploring total space for Resolution. Ω(n2) lower bounds (PHP [ABRW00], random k-CNFs [BGT14, BBGHMW15])) straightforward O(n2) upper bound.

() June 19, 2015 6 / 32

slide-7
SLIDE 7

Res vs CP

Focus on proof size to compare proof strength of CP and Res. CP efficiently simulates Resolution (see example). CP is exponentially stronger than Resolution: PHP ha poly size CP proofs, but requires exp size proofs in Resolution

() June 19, 2015 7 / 32

slide-8
SLIDE 8

Almost no result for space in CP

  • ¨
  • s and Pitassi [GP14] give a family of CNFs of size m which cannot

simultaneously be refuted with small inequality space and small length — the space s and length ℓ of every CP refutation must satisfy s log ℓ ≥ m1/4−o(1). No explicit lower bound, no explicit upper bound was known so far.

() June 19, 2015 8 / 32

slide-9
SLIDE 9

Contradictions

The complete tree contradiction CTn is a CNF in n variables x0, . . . , xn−1, with 2n clauses. For each assignment α, it contains the clause ∨

i∈Z

xi ∨ ∨

i∈A

¬xi where A = {i : α(xi) = 1} and Z = {i : α(xi) = 0}. This clause is falsified by α and by no other assignment. The pigeonhole principle PHPn xij + xi′j ≤ 1, i ̸= i′ < n + 1, j < n. (injectivity) ∑

j<n xij ≥ 1, i < n + 1. (totality)

() June 19, 2015 9 / 32

slide-10
SLIDE 10

Results for cutting planes

. Theorem . . . . . . . . CTn has a CP refutation with inequality space 5. Observations In Res and PCR, CTn requires (clause and monomial space) Ω(n) proof uses coefficients of value O(2n)

() June 19, 2015 10 / 32

slide-11
SLIDE 11

Consequences

.

.

.

1

Any set of linear unsatisfiable linear inequalities (in particular UNSAT CNFs) has proof of inequality space 5. .

.

.

2

O(n2) total space is sufficient to refute any unsatisfiable set of linear inequalities1 .

.

.

3

any UNSAT set L of linear inequalities over n variables, with max coefficient M, can refuted using coefficients of value bounded by max{L, 2n} .

.

.

4

any UNSAT set L of linear inequalities over n variables can be refuted in variable space O(n)

1Notice that, restricted to CNFs, the upper bound follows from the O(n2) upper

bound for total space in resolution

() June 19, 2015 11 / 32

slide-12
SLIDE 12

Consequences

. Proposition . . . . . . . . Let F be an unsatisfiable CNF. The minimal width of refuting F in resolution is at most the variable space of refuting F in CP. Use Res width lower bounds to get optimality for variable space. . Theorem . . . . . . . . With high probability the variable space of refuting a random k-CNF in CP is Θ(n).

() June 19, 2015 12 / 32

slide-13
SLIDE 13

Cutting planes with bounded coefficients

CPk: coefficients bounded in absolute value by k. . Theorem (CCT) . . . . . . . . CP2 is exponentially stronger than Res. Proof PHPn has poly size CP2 proofs. CP2 p-simulates Res Known proofs of PHPn either use constant space and linear coefficients, or O(log n)spaceandconstantcoefficients

() June 19, 2015 13 / 32

slide-14
SLIDE 14

Results for cutting planes with bounded coefficients

. Theorem . . . . . . . . PHPn has polynomial size CP2 refutations with inequality space 5. . Theorem . . . . . . . . For any constant k ∈ N, the complete tree contradiction CTn requires inequality space Ω(log log log n) to refute in CPk.

() June 19, 2015 14 / 32

slide-15
SLIDE 15

Proof sketch for CTn upper bound

. Theorem . . . . . . . . CTn has a CP refutation with inequality space 5. Obs: let b ≥ 1. In space 3, ∑

i∈S λixi + ∑ i∈T λi(1 − xi) ≥ b

. . . ∑

i∈S xi + ∑ i∈T(1 − xi) ≥ 1

. Proof c ≥ max{b, λi}. Add (c − λi)xi ≥ 0 to the inequality for each i ∈ S Add (c − λi)(1 − xi) ≥ 0 for each i ∈ T. Divide by c and round.

() June 19, 2015 15 / 32

slide-16
SLIDE 16

Proof sketch for CTn upper bound

Let a < 2n. Then (a)0, . . . , (a)n−1 for the bits of the binary expansion of a, so that a = ∑ 2i(a)i. Ib for the clause of CTn which is falsified exactly by the assignment xi → (b)i. For a ∈ N, define the inequality Ta as Ta : ∑ 2ixi ≥ a. The assignments falsifying Ta are exactly those lexicographically strictly less than a. In other words, Ta is equivalent to the conjunction

  • f the inequalities Ib over all b < a,

() June 19, 2015 16 / 32

slide-17
SLIDE 17

Proof sketch for CTn upper bound

. Claim . . . . . . . . For a < 2n, in space 5 Ta, Ia ⊢ Ta+1 . Then we proceed deriving T0, T1, T2, . . . , T2n−1 and finally deriving a contradiction from T2n−1 and I2n−1.

() June 19, 2015 17 / 32

slide-18
SLIDE 18

Proof sketch for CTn upper bound

For the inductive step, fix a < 2n. Let A = {i < n : (a)i = 1} Z = {i < n : (a)i = 0} . Define two inequalities Ma : ∑

i∈Z

xi ≥ 1 Lk

a : xk +

i>k i∈Z

xi ≥ 1, k ∈ A. Obs if β ≥ a, then β satisfies Lk

a for each k ∈ A. If β > a, then β also

satisfies Ma.

() June 19, 2015 18 / 32

slide-19
SLIDE 19

Proof sketch for CTn upper bound

In space at most 5: Claim 1 Ta, Ia ⊢ Ma Claim 2 Ta ⊢ Lk

a, for any k ∈ A.

Using these two claims, we can then show Claim 3 We can derive Ta+1 from Ta and Ia in space 4.

() June 19, 2015 19 / 32

slide-20
SLIDE 20

Claim 1

Ia = ∑

i∈Z xi + ∑ i∈A(1 − xi) ≥ 1.

From Axioms get: ∑

i∈Z

(2i − 1)xi ≥ 0 and ∑

i∈A

(2i − 1)(1 − xi) ≥ 0. Sum axioms with Ta, and Ia and get 2 ∑

i∈Z

2ixi ≥ 1. Use Obs to get Ma

() June 19, 2015 20 / 32

slide-21
SLIDE 21

Claim 2

Rearrangements of Ta, plus axioms multiplied by the right coefficients plus Obs

() June 19, 2015 21 / 32

slide-22
SLIDE 22

Claim 3

Write Ma in the REG1 For each k ∈ A, we use Claim 2 to write Lk

a in REG2, and then

multiply it by 2k, giving 2kxk + 2k ∑

i>k i∈Z

xi ≥ 2k. Repeat for each k ∈ A in turn, each time adding the result to

  • REG1. At the end of this process, REG 1 contains the inequality

k∈A

2kxk + ∑

i∈Z

( ∑

k<i k∈A

2k) xi + ∑

i∈Z

xi ≥ 1 + ∑

k∈A

2k. Right hand side is a + 1. Use axioms multiplied by the right coefficients to get Ta+1

() June 19, 2015 22 / 32

slide-23
SLIDE 23

PHPn using space 5 in CP2

Standard proofs of the PHPn .

.

.

1

from axioms xij + xi′j ≤ 1 derive for all j < n ∑

i<n+1

xij ≤ 1 .

.

.

2

sum over all j < n getting: ∑

j<n

i<n+1 xij < n

.

.

.

3

sum for all i < n + 1 the axioms ∑

j<n xij ≥ 1 getting:

j<n

i<n+1 xij ≥ n

() June 19, 2015 23 / 32

slide-24
SLIDE 24

Claim: space efficient sum

. Claim . . . . . . . . Given inequalities yi + yj ≤ 1 for all i < j ≤ n, we can derive ∑n

i=1 yi ≤ 1 in polynomial size and in space 4, using coefficients

bounded by 2. Derive y0 + · · · + yk ≤ 1 by induction on k Keep in REG 1 y0 + · · · + yk ≤ 1 derive by induction on i ≤ k, y0 + · · · + yi + yk+1 ≤ 1

base: axiom ind: y0 + · · · + yi + yk+1 ≤ 1 [in REG 2] yi+1 + yk+1 ≤ 1 [AX] y0 + · · · + yi+1 ≤ 1 [weakening REG 1] y0 + · · · + yi+1 + yk+1 [sum + div by 2]

() June 19, 2015 24 / 32

slide-25
SLIDE 25

lower bound for CTn

Main ideas charecterise classes of falsifying assignments for small space configurations of linear inequalites with bounded coefficients. If number coeff is small then we can upper bound the number assignments, but the characterization still give raise to many possible assignments. group together terms with the same coefficient counting argument

() June 19, 2015 25 / 32

slide-26
SLIDE 26

lower bound for CTn

. Definition . . . . . . . . Call a set A of assignments s-symmetric if there is a partition of the variables into s or fewer blocks, such that A is closed under every permutation which preserves all blocks. Example: 2-simmetric set of assignments Variables partitioned in two sets as {{x1, x2}, {x3, x4, x5}} A = {[1, 0, 0, 0, 0], [0, 1, 0, 0, 0]} Idea of Partition: Variables with the same coefficient in the same element

() June 19, 2015 26 / 32

slide-27
SLIDE 27

lower bound for CTn

. Lemma . . . . . . . . If I is as linear inequality with no more than b different coefficients, then the set of assignments falsifying I is b-symmetric. Suppose M contains c linear inequalities, such that no more than b different coefficients appear in any inequality. Then the set of assignments falsifying M is bc-symmetric. Proof For the first part, the inequality I has the form λ1 ∑

i∈B1

xi + · · · + λb ∑

i∈Bb

xi ≥ t. The b-symmetry is witnessed by the blocks B1, . . . , Bb. For the second part, take the common refinement of the partitions for all of the inequalities in M.

() June 19, 2015 27 / 32

slide-28
SLIDE 28

lower bound for CTn

Suppose that CTn has a CP refutation M1, . . . , MN in space c, in which no more than b different coefficients appear in any inequality. Let Ai be the set of assignments falsifying the ith configuration. Then A1, . . . , AN is a sequence of bc-symmetric assignments, beginning with the empty set and ending with the set of all assignments, such that for each i < N either Ai+1 ⊆ Ai or Ai+1 = Ai ∪ {α} for some assignment α.

() June 19, 2015 28 / 32

slide-29
SLIDE 29

k-assignments

k-assignment: contains exactly k ones and the rest to 0. S(s, k) = {|A| : A is an s-symmetric set of k-assignments}. . Lemma . . . . . . . . |S(s, k)| < ns2ks.

() June 19, 2015 29 / 32

slide-30
SLIDE 30

Main theorem

. Theorem . . . . . . . . For n ≥ 2, suppose that CTn has a CP refutation in space c, in which no more than b different coefficients appear in any inequality. Then bc ≥ √ log log n.

() June 19, 2015 30 / 32

slide-31
SLIDE 31

Proof Let s = bc A1, . . . , AN be the sequence of s-symmetric assignments A′

1, . . . , A′ N be the sequence A1, . . . , AN restricted to

k-assignments Then A′

1 is empty, A′ N consists of all k-assignments, and for

each i < N either A′

i+1 ⊆ A′ i or A′ i+1 = A′ i ∪ {α} for some

k-assignment α. It follows that the sequence |A′

1|, . . . , |A′ N| must contain every

number between 0 and (n

k

) . Since each A′

i is still s-symmetric, this in particular means that for

every number m between 0 and (n

k

) , there is at least one s-symmetric set A of k-assignments with |A| = m. It follows by the Lemma that (n

k

) < ns2ks. Contradiction if k = 2s and s < √ log log n.

() June 19, 2015 31 / 32

slide-32
SLIDE 32

Focused open problems

A general problem is about the trade-off between inequality space and the size of coefficients. Problem 1. Can every unsatisfiable CNF be refuted in CP in constant space, if the coefficients are polynomially bounded? Problem 2. Can every unsatisfiable CNF be refuted in CP in linear total space? Problem 3. Prove a better space lower bound for CP2.

() June 19, 2015 32 / 32