Lecture 9: SOS Lower Bound for Knapsack Lecture Outline Part I: - - PowerPoint PPT Presentation

β–Ά
lecture 9 sos lower bound for knapsack lecture outline
SMART_READER_LITE
LIVE PREVIEW

Lecture 9: SOS Lower Bound for Knapsack Lecture Outline Part I: - - PowerPoint PPT Presentation

Lecture 9: SOS Lower Bound for Knapsack Lecture Outline Part I: Knapsack Eqations and Pseudo- expectation Values Part II: Johnson Scheme Part III: Proving PSDness Part IV: Further Work Part I: Knapsack Eqations and


slide-1
SLIDE 1

Lecture 9: SOS Lower Bound for Knapsack

slide-2
SLIDE 2

Lecture Outline

  • Part I: Knapsack Eqations and Pseudo-

expectation Values

  • Part II: Johnson Scheme
  • Part III: Proving PSDness
  • Part IV: Further Work
slide-3
SLIDE 3

Part I: Knapsack Eqations and Pseudo-expectation Values

slide-4
SLIDE 4
  • Knapsack problem: Given weights π‘₯1, … , π‘₯π‘œ

and a knapsack with total capacity 𝐷, what is the maximum weight that can be carried?

  • In other words, defining π‘₯𝐽 = Οƒπ‘—βˆˆπ½ π‘₯𝑗 for each

subset 𝐽 βŠ† [1, π‘œ], what is max{π‘₯𝐽: 𝐽 βŠ† 1, π‘œ , π‘₯𝐽 ≀ 𝐷}?

  • Here we’ll consider the simple case where

π‘₯𝑗 = 1 for all 𝑗 and 𝐷 ∈ [0, π‘œ] is not an integer.

  • Answer is 𝐷 , but can SOS prove it?

Knapsack Problem

slide-5
SLIDE 5
  • Want 𝑦𝑗 = 1 if 𝑗 ∈ 𝐽 and 𝑦𝑗 = 0 otherwise.
  • Knapsack equations:

1. βˆ€π‘—, 𝑦𝑗

2 = 𝑦𝑗

2. σ𝑗=1

π‘œ

𝑦𝑗 = 𝑙

  • Here we take 𝑙 ∈ [0, π‘œ] to be a non-integer.
  • Equations are infeasible because σ𝑗=1

π‘œ

𝑦𝑗 ∈ β„€

Knapsack Equations

slide-6
SLIDE 6
  • Theorem[Gri01]: SOS needs degree at least

2min{𝑙, π‘œ βˆ’ 𝑙} to refute these equations

  • We’ll follow the presentation of [MPW15] and

show a lower bound of min{𝑙, π‘œ βˆ’ 𝑙}

  • Note: This presentation was already in the

retracted paper [MW13]

SOS Lower Bound for Knapsack

slide-7
SLIDE 7
  • Recall: To prove an SOS lower bound, we

generally do the following:

  • 1. Come up with pseudo-expectation values ΰ·¨

𝐹 which

  • bey the required linear equations
  • 2. Show that the moment matrix 𝑁 is PSD
  • Here we’ll use symmetry for part 1 and some

combinatorics for part 2.

Review: SOS Lower Bound Strategy

slide-8
SLIDE 8
  • Define 𝑦𝐽 = Ο‚π‘—βˆˆπ½ 𝑦𝑗
  • βˆ€π½, (Οƒπ‘˜=1

π‘œ

π‘¦π‘˜)𝑦𝐽 = Οƒπ‘˜βˆˆπ½ π‘¦π‘˜π‘¦π½ + Οƒπ‘˜βˆ‰π½ π‘¦π‘˜π‘¦π½ = 𝑙𝑦𝐽

  • If ΰ·¨

𝐹[𝑦𝐽] only depends on |𝐽|, βˆ€π½, π‘˜ βˆ‰ 𝐽, |𝐽| ΰ·¨ 𝐹[𝑦𝐽] + π‘œ βˆ’ |𝐽| ΰ·¨ 𝐹[𝑦𝐽βˆͺ{π‘˜}] = 𝑙 ΰ·¨ 𝐹[𝑦𝐽] βˆ€π½, π‘˜ βˆ‰ 𝐽, ΰ·¨ 𝐹 𝑦𝐽βˆͺ{π‘˜} = 𝑙 βˆ’ |𝐽| π‘œ βˆ’ |𝐽| ΰ·¨ 𝐹[𝑦𝐽]

  • Thus, ΰ·¨

𝐹[𝑦𝐽] = 𝑙 π‘™βˆ’1 …(π‘™βˆ’|𝐽|+1)

π‘œ π‘œβˆ’1 …(π‘œβˆ’|𝐽|+1) =

𝑙 |𝐽| π‘œ |𝐽|

Pseudo-expectation Values

slide-9
SLIDE 9
  • ΰ·¨

𝐹[𝑦𝐽] =

𝑙 |𝐽| π‘œ |𝐽|

  • Could have predicted this as follows: If we had

a set 𝐡 of 1s of size 𝑙, then of the

π‘œ |𝐽|

possible sets of size |𝐽|,

𝑙 |𝐽| of them will be

contained in 𝐡.

  • Bayesian view: ΰ·¨

𝐹[𝑦𝐽] is the expected value of 𝑦𝐽 given what we can compute (in SOS).

  • Here it is a true expectation if 𝑙 ∈ β„€

Viewing ෨ 𝐹 as an Expectation

slide-10
SLIDE 10
  • Recall from last lecture: If we have

constraints 𝑦𝑗

2 = 𝑦𝑗 or 𝑦𝑗 2 = 1, it is sufficient

to consider ΰ·¨ 𝐹[𝑕2] for multilinear 𝑕.

  • Reason: For every polynomial 𝑕, there is a

multilinear polynomial 𝑕′ with deg 𝑕′ ≀ deg(𝑕) such that ΰ·¨ 𝐹 𝑕′2 = ΰ·¨ 𝐹[𝑕2].

  • Thus, it is sufficient to consider the restriction
  • f 𝑁 to multilinear indices.

Reduction to Multilinear Indices

slide-11
SLIDE 11
  • Lemma: If we also have the constraint

σ𝑗=1

π‘œ

𝑦𝑗 = 𝑙, for every polynomial 𝑕 of degree at most

𝑒 2, there is a homogeneous, multilinear

polynomial 𝑕′ of degree exactly

𝑒 2 such that

ΰ·¨ 𝐹 𝑕′2 = ΰ·¨ 𝐹[𝑕2].

  • Proof idea: Use the following reductions:

1. βˆ€π‘—, 𝑦𝑗

2𝑔 = 𝑦𝑗𝑔

2. βˆ€π½ βŠ† 1, π‘œ : 𝐽 <

𝑒 2, 𝑦𝐽 = Οƒπ‘—βˆ‰π½

π‘œ

𝑦𝐽βˆͺ{𝑗} π‘™βˆ’|𝐽|

. To see this, note that σ𝑗=1

π‘œ

𝑦𝑗 𝑦𝐽 = 𝑙𝑦𝐽 = 𝐽 𝑦𝐽 + Οƒπ‘—βˆ‰π½

π‘œ 𝑦𝐽βˆͺ{𝑗}

Reduction to Degree

𝑒 2 Indices

slide-12
SLIDE 12
  • Corollary: To prove that 𝑁 ≽ 0, it is sufficient to

prove that the submatrix of 𝑁 with multilinear entries of degree exactly

𝑒 2 is PSD.

Reduction to Degree

𝑒 2 Indices

slide-13
SLIDE 13

Part II: Johnson Scheme

slide-14
SLIDE 14

Johnson Scheme

  • Algebra of matrices 𝑁 such that:
  • 1. The rows and columns of 𝑁 are indexed by

subsets of [1, π‘œ] of size 𝑠 for some 𝑠. 2. 𝑁𝐽𝐾 only depends on |𝐽 ∩ 𝐾|

  • Equivalently, the Johnson Scheme is the algebra
  • f matrices which are invariant under

permutations of [1, π‘œ].

  • Claim: The matrices 𝑁 in the Johnson scheme

are all symmetric and commute with each other

slide-15
SLIDE 15

Johnson Scheme Claim Proof

  • Claim: For all 𝐡, 𝐢 in the Johnson scheme, π΅π‘ˆ =

𝐡, 𝐡𝐢 is in the Johnson scheme as well, and 𝐡𝐢 = 𝐢𝐡

  • Proof: For the first part, βˆ€π½, 𝐾, 𝐡𝐽𝐾 = 𝐡𝐾𝐽 because

𝐽 ∩ 𝐾 = |𝐾 ∩ 𝐽|. For the second part, 𝐡𝐢𝐽𝐿 = ΟƒπΎβˆˆ π‘œ

𝑠 𝐡𝐽𝐾𝐢𝐾𝐿. Now observe that for any

permutation 𝜏 of [1, π‘œ], 𝐡𝐢𝐽𝐿 = ΟƒπΎβˆˆ π‘œ

𝑠 𝐡𝐽𝐾𝐢𝐾𝐿 =

ΟƒπΎβˆˆ π‘œ

𝑠 𝐡𝜏(𝐽)𝐾𝐢𝐾𝜏(𝐿) = 𝐡𝐢𝜏 𝐽 𝜏(𝐿)

  • For the third part, 𝐡𝐢 = 𝐡𝐢 π‘ˆ = πΆπ‘ˆπ΅π‘ˆ = 𝐢𝐡
slide-16
SLIDE 16

Johnson Scheme Picture for 𝑠 = 1

1 2 3 4 5 6 1 2 3 4 5 6

𝐽 ∩ 𝐾 = 0 𝐽 ∩ 𝐾 = 1

slide-17
SLIDE 17

Johnson Scheme Picture for 𝑠 = 2

12 13 14 15 16 23 24 25 26 34 35 36 45 46 56 12 13 14 15 16 23 24 25 26 34 35 36 45 46 56

𝐽 ∩ 𝐾 = 1 𝐽 ∩ 𝐾 = 2 𝐽 ∩ 𝐾 = 0

slide-18
SLIDE 18
  • Natural basis for Johnson Scheme: Define

𝐸𝑏 ∈ ℝ

π‘œ 𝑠 Γ— π‘œ 𝑠 to have entries 𝐸𝑏 𝐽𝐾 = 1 if

𝐽 ∩ 𝐾 = 𝑏 and 𝐸𝑗 𝐽𝐾 = 0 if 𝐽 ∩ 𝐾 β‰  𝑏.

  • Easy to express matrices in this basis, but not

so easy to show PSDness

Basis for Johnson Scheme

slide-19
SLIDE 19
  • Want a convenient basis of PSD matrices.
  • Building block: Define 𝑀𝐡 so that 𝑀𝐡 𝐽 = 1 if

A βŠ† 𝐽 and 0 otherwise

  • PSD basis for Johnson Scheme: Define 𝑄

𝑏 ∈

ℝ

π‘œ 𝑠 Γ— π‘œ 𝑠 to be 𝑄

𝑏 = Οƒπ΅βŠ† 1,π‘œ : 𝐡 =𝑏 𝑀𝐡𝑀𝐡 π‘ˆ

  • 𝑄

𝑏 has entries 𝑄 𝑏 𝐽𝐾 = |𝐽∩𝐾| 𝑏

because 𝑀𝐡𝑀𝐡

π‘ˆ = 1 if and only if 𝐡 βŠ† 𝐽 ∩ 𝐾 and there

are |𝐽∩𝐾|

𝑏

such 𝐡 βŠ† [1, π‘œ] of size 𝑏.

PSD Basis for Johnson Scheme

slide-20
SLIDE 20

Basis for 𝑠 = 1

1 2 3 4 5 6 1 2 3 4 5 6

𝐸0 𝐽𝐾 = 1 𝐸0 𝐽𝐾 = 0

slide-21
SLIDE 21

Basis for 𝑠 = 1

1 2 3 4 5 6 1 2 3 4 5 6

𝐸1 𝐽𝐾 = 0 𝐸1 𝐽𝐾 = 1

slide-22
SLIDE 22

PSD Basis for 𝑠 = 1

1 2 3 4 5 6 1 2 3 4 5 6

𝑄0 𝐽𝐾 = = 1 𝑄0 𝐽𝐾 = 1 = 1

slide-23
SLIDE 23

PSD Basis for 𝑠 = 1

1 2 3 4 5 6 1 2 3 4 5 6

𝑄

1 𝐽𝐾 =

1 = 0 𝑄

1 𝐽𝐾 =

1 1 = 1

slide-24
SLIDE 24

PSD Basis for 𝑠 = 2

12 13 14 15 16 23 24 25 26 34 35 36 45 46 56 12 13 14 15 16 23 24 25 26 34 35 36 45 46 56

𝑄0 𝐽𝐾 = 2 = 1 𝑄0 𝐽𝐾 = 1 = 1 𝑄0 𝐽𝐾 = = 1

slide-25
SLIDE 25

PSD Basis for 𝑠 = 2

12 13 14 15 16 23 24 25 26 34 35 36 45 46 56 12 13 14 15 16 23 24 25 26 34 35 36 45 46 56

𝑄

1 𝐽𝐾 =

2 1 = 2 𝑄

1 𝐽𝐾 =

1 1 = 1 𝑄

1 𝐽𝐾 =

1 = 0

slide-26
SLIDE 26

PSD Basis for 𝑠 = 2

12 13 14 15 16 23 24 25 26 34 35 36 45 46 56 12 13 14 15 16 23 24 25 26 34 35 36 45 46 56

𝑄2 𝐽𝐾 = 2 2 = 1 𝑄2 𝐽𝐾 = 1 2 = 0 𝑄2 𝐽𝐾 = 2 = 0

slide-27
SLIDE 27
  • Basis for Johnson Scheme: 𝐸𝑏 𝐽𝐾 = πœ€π‘|𝐽∩𝐾|
  • PSD Basis for Johnson Scheme : 𝑄

𝑏 𝐽𝐾 = |𝐽∩𝐾| 𝑏

  • Want to shift between bases.
  • Lemma:

1. 𝑄

𝑏 = σ𝑐=𝑏 𝑠 𝑐 𝑏 𝐸𝑐

2. 𝐸𝑏 = σ𝑐=𝑏

𝑠

βˆ’1 π‘βˆ’π‘ 𝑐

𝑏 𝑄𝑐

  • First part is trivial, second part follows from a

bit of combinatorics.

Shifting Between Bases

slide-28
SLIDE 28
  • Lemma:

1. 𝑄

𝑏 = σ𝑐=𝑏 𝑠 𝑐 𝑏 𝐸𝑐

2. 𝐸𝑏 = σ𝑐=𝑏

𝑠

βˆ’1 π‘βˆ’π‘ 𝑐

𝑏 𝑄𝑐

  • Proof of the second part: Observe that

σ𝑐=𝑏

𝑠

βˆ’1 π‘βˆ’π‘ 𝑐

𝑏 𝑄𝑐 = σ𝑏′=𝑏 𝑠

σ𝑐=𝑏

𝑏′

βˆ’1 π‘βˆ’π‘ 𝑐

𝑏 𝐸𝑐

  • Must show that for all 𝑏′ β‰₯ 𝑏,

σ𝑐=𝑏

𝑏′

βˆ’1 π‘βˆ’π‘

𝑏′ 𝑐 𝑐 𝑏 = πœ€π‘β€²π‘

  • In-class exercise: Prove this

Shifting Between Bases Proof

slide-29
SLIDE 29
  • Need to show: σ𝑐=𝑏

𝑏′

βˆ’1 π‘βˆ’π‘

𝑏′ 𝑐 𝑐 𝑏 = πœ€π‘β€²π‘

  • Answer: Observe that

𝑏′ 𝑐 𝑐 𝑏 = 𝑏′!𝑐! 𝑐!(π‘β€²βˆ’π‘)!𝑏!(π‘βˆ’π‘)! = 𝑏′! 𝑏! π‘β€²βˆ’π‘ ! π‘β€²βˆ’π‘ ! π‘β€²βˆ’π‘ ! π‘βˆ’π‘ !

  • Our expression is equal to

𝑏′! 𝑏! π‘β€²βˆ’π‘ ! Οƒπ‘˜=0 𝑛

βˆ’1 π‘˜

𝑛 π‘˜

where 𝑛 = 𝑏′ βˆ’ 𝑏

  • Now note that Οƒπ‘˜=0

𝑛

βˆ’1 π‘˜

𝑛 π‘˜

= 1 + βˆ’1

𝑛,

which equals 1 if 𝑛 = 0 and 0 if 𝑛 > 0.

Shifting Between Bases Proof

slide-30
SLIDE 30

Part III: Proving PSDness

slide-31
SLIDE 31
  • Recall that ΰ·¨

𝐹[𝑦𝐽] =

𝑙 |𝐽| π‘œ |𝐽|

  • 𝑁𝐽𝐾 =

𝑙 |𝐽βˆͺ𝐾| π‘œ |𝐽βˆͺ𝐾|

  • Thus, 𝑁 = σ𝑏=0

𝑠

𝑙 2π‘ βˆ’π‘ π‘œ 2π‘ βˆ’π‘ 𝐸𝑏

Decomposition of 𝑁

slide-32
SLIDE 32
  • To prove 𝑁 ≽ 0, it is sufficient to express 𝑁

as a non-negative linear combination of the matrices 𝑄

𝑏.

PSD Decomposition

slide-33
SLIDE 33

Example: Decomposition for 𝑠 = 1

1 2 3 4 5 6 1 2 3 4 5 6

𝑁𝐽𝐾 = 𝑙 𝑙 βˆ’ 1 π‘œ(π‘œ βˆ’ 1) 𝑁𝐽𝐾 = 𝑙 π‘œ

  • 𝑁 =

𝑙 π‘œ 𝐸1 + 𝑙 π‘™βˆ’1 π‘œ(π‘œβˆ’1) 𝐸0 = 𝑙 π‘œ 𝑄 1 + 𝑙 π‘™βˆ’1 π‘œ π‘œβˆ’1 (𝑄0 βˆ’ 𝑄 1)

  • 𝑁 =

𝑙 π‘œ βˆ’ 𝑙 π‘™βˆ’1 π‘œ(π‘œβˆ’1) 𝑄 1 + 𝑙 π‘™βˆ’1 π‘œ(π‘œβˆ’1) 𝑄0 = 𝑙(π‘œβˆ’π‘™) π‘œ(π‘œβˆ’1) 𝑄 1 + 𝑙 π‘™βˆ’1 π‘œ(π‘œβˆ’1) 𝑄0

slide-34
SLIDE 34
  • Claim: 𝑁 = σ𝑏=0

𝑠

𝑙 2𝑠 π‘œ 2𝑠 β‹… π‘œβˆ’π‘™ 𝑏 π‘™βˆ’2𝑠+𝑏 𝑏

𝑄

𝑏

  • For the proof, see the appendix
  • Corollary: 𝑁 ≽ 0 if 𝑙 β‰₯ 2𝑠 and π‘œ βˆ’ 𝑙 β‰₯ 𝑠

(where 𝑒 = 2𝑠)

PSD Decomposition

slide-35
SLIDE 35
  • {𝑄

𝑏} is a nice basis to work with because it is

relatively easy to go between {𝐸𝑏} and {𝑄

𝑏}.

  • However, in some sense, it’s not the right

basis to use.

  • Want a basis {𝑄

𝑏 β€²} such that all symmetric PSD

matrices are a non-negative linear combination of the {𝑄

𝑏 β€²}.

  • With the right basis, can get a higher degree

lower bound.

Improving Degree Lower Bound

slide-36
SLIDE 36
  • Let 𝐾 be the all ones matrix.
  • For the case 𝑒 = 2, 𝑠 = 1, 𝑄0 = 𝐾 and 𝑄

1 = 𝐽𝑒

  • Better basis: 𝑄0

β€² = 𝐾, 𝑄 1 β€² = π‘œβˆ’1 π‘œ 𝐽𝑒 βˆ’ 1 π‘œ 𝐾

Example

slide-37
SLIDE 37

Part IV: Further Work

slide-38
SLIDE 38
  • Can we take advantage of symmetry in the

problem more generally?

  • Yes!

Using Symmetry

slide-39
SLIDE 39
  • Proposition: Whenever there are valid pseudo-

expectation values, there are valid pseudo- expectation values which are symmetric.

  • Proof: Let 𝑇 be the group of symmetries of the
  • problem. If we have pseudo-expectation values

ΰ·¨ 𝐹, then for any 𝜏 ∈ 𝑇, ΰ·ͺ 𝐹′ f = ΰ·© E[𝜏 𝑔 ] is also

  • valid. Since the conditions for pseudo-

expectation values are convex, ΰ·« 𝐹𝑏𝑀𝑕 𝑔 =

ΰ·¨ 𝐹 Οƒπœβˆˆπ‘‡ 𝜏 𝑔 |𝑇|

is valid as well and is symmetric.

Using Symmetry

slide-40
SLIDE 40
  • Gatermann and Parrilo [GP04] show how

symmetry can be used to drastically reduce the search space for finding pseudo- expectation values.

  • Recently, Raymond, Saunderson, Singh, and

Thomas [RSST16] showed that if the problem is symmetric, it can be solved with a semidefinite program whose size is independent of π‘œ.

Using Symmetry

slide-41
SLIDE 41
  • One way to give intuition for the lower bound:

SOS β€œthinks” that we are choosing 𝑙 elements

  • ut of π‘œ and takes the corresponding pseudo-

expectation values.

  • SOS is very bad at determining functions must

be integers and needs degree β‰₯ 𝑙 to detect a problem.

Obtaining Lower Bounds Directly

slide-42
SLIDE 42
  • Is there a way to say that this intuition is good

enough to obtain a lower bound without going through the combinatorics?

  • Unless I’m mistaken, yes (this is work in

progress).

Obtaining Lower Bounds Directly

slide-43
SLIDE 43

References

  • [GP04] K. Gatermann and P. Parrilo. Symmetry groups, semidefinite programs, and

sums of squares. J. Pure Appl. Algebra, 192(1-3):95–128, 2004.

  • [Gri01] D. Grigoriev. Complexity of Positivstellensatz proofs for the knapsack.

Computational Complexity 10(2):139–154, 2001

  • [MW13] R. Meka and A. Wigderson Association schemes, non-commutative

polynomial concentration, and sum-of-squares lower bounds for planted clique. https://arxiv.org/abs/1307.7615v1

  • [MPW15] R. Meka, A Potechin, A. Wigderson, Sum-of-squares lower bounds for

planted clique. STOC p.87–96, 2015

  • [RSST16] A. Raymond, J. Saunderson, M. Singh, R. Thomas. Symmetric sums of

squares over k-subset hypercubes. https://arxiv.org/abs/1606.05639, 2016

slide-44
SLIDE 44

Appendix: PSD Decomposition Calculations

slide-45
SLIDE 45

Picture for 𝑠 = 2

12 13 14 15 16 23 24 25 26 34 35 36 45 46 56 12 13 14 15 16 23 24 25 26 34 35 36 45 46 56

𝑁𝐽𝐾 =

𝑙 3 π‘œ 3

𝑁𝐽𝐾 =

𝑙 2 π‘œ 2

𝑁𝐽𝐾 =

𝑙 4 π‘œ 4

slide-46
SLIDE 46

Decomposition for 𝑠 = 2

  • 𝑁 =

𝑙 2 π‘œ 2 𝐸2 + 𝑙 3 π‘œ 3 𝐸1 + 𝑙 4 π‘œ 4 𝐸0

  • 𝑁 =

𝑙 2 π‘œ 2 𝑄2 + 𝑙 3 π‘œ 3 (𝑄

1βˆ’2𝑄2) +

𝑙 4 π‘œ 4 (𝑄0βˆ’π‘„

1 + 𝑄2)

  • 𝑁 =

𝑙 2 π‘œ 2 βˆ’ 2 𝑙 3 π‘œ 3 + 𝑙 4 π‘œ 4

𝑄2 +

𝑙 3 π‘œ 3 βˆ’ 2 𝑙 4 π‘œ 4

𝑄

1 +

𝑙 4 π‘œ 4 𝑄0

  • 𝑙

4 π‘œ 4 =

𝑙(π‘™βˆ’1)(π‘™βˆ’2)(π‘™βˆ’3) π‘œ(π‘œβˆ’1)(π‘œβˆ’2)(π‘œβˆ’3)

  • 𝑙

3 π‘œ 3 βˆ’ 𝑙 4 π‘œ 4

=

𝑙(π‘™βˆ’1)(π‘™βˆ’2)( π‘œβˆ’3 βˆ’ π‘™βˆ’3 ) π‘œ(π‘œβˆ’1)(π‘œβˆ’2)(π‘œβˆ’3)

=

𝑙(π‘™βˆ’1)(π‘™βˆ’2)(π‘œβˆ’π‘™) π‘œ(π‘œβˆ’1)(π‘œβˆ’2)(π‘œβˆ’3)

slide-47
SLIDE 47

Decomposition for 𝑠 = 2

  • Claim:

𝑙 2 π‘œ 2 βˆ’ 2 𝑙 3 π‘œ 3 + 𝑙 4 π‘œ 4

=

𝑙(π‘™βˆ’1) π‘œβˆ’π‘™ π‘œβˆ’π‘™βˆ’1 π‘œ(π‘œβˆ’1)(π‘œβˆ’2)(π‘œβˆ’3)

  • Proof: Consider

π‘œ(π‘œβˆ’1)(π‘œβˆ’2)(π‘œβˆ’3) 𝑙(π‘™βˆ’1)

𝑙 2 π‘œ 2 βˆ’ 2 𝑙 3 π‘œ 3 + 𝑙 4 π‘œ 4

. This equals π‘œ βˆ’ 2 π‘œ βˆ’ 3 βˆ’ 2 𝑙 βˆ’ 2 π‘œ βˆ’ 3 + 𝑙 βˆ’ 2 𝑙 βˆ’ 3 which equals π‘œ βˆ’ 2 βˆ’ 𝑙 βˆ’ 2 π‘œ βˆ’ 3 βˆ’ (𝑙 βˆ’ 2)(π‘œ βˆ’ 3 βˆ’ (𝑙 βˆ’ 3)) = π‘œ βˆ’ 𝑙 π‘œ βˆ’ 3 βˆ’ 𝑙 βˆ’ 2 = (π‘œ βˆ’ 𝑙)(π‘œ βˆ’ 𝑙 βˆ’ 1)

slide-48
SLIDE 48

General Pattern

  • 𝑁 = 𝑙(π‘™βˆ’1) π‘œβˆ’π‘™

π‘œβˆ’π‘™βˆ’1 π‘œ(π‘œβˆ’1)(π‘œβˆ’2)(π‘œβˆ’3) 𝑄2 + 𝑙(π‘™βˆ’1)(π‘™βˆ’2)(π‘œβˆ’π‘™) π‘œ(π‘œβˆ’1)(π‘œβˆ’2)(π‘œβˆ’3) 𝑄 1 + 𝑙(π‘™βˆ’1)(π‘™βˆ’2)(π‘™βˆ’3) π‘œ π‘œβˆ’1 π‘œβˆ’2 π‘œβˆ’3 𝑄0

  • Can you see the pattern?
  • General Pattern: 𝑁 =

𝑙 2𝑠 π‘œ 2𝑠

σ𝑏=0

𝑠

π‘œβˆ’π‘™ 𝑏 π‘™βˆ’2𝑠+𝑏 𝑏

𝑄

𝑏

slide-49
SLIDE 49

General Pattern Proof

  • Claim: 𝑁 =

𝑙 2𝑠 π‘œ 2𝑠

σ𝑏=0

𝑠

π‘œβˆ’π‘™ 𝑏 π‘™βˆ’2𝑠+𝑏 𝑏

𝑄

𝑏

  • This gives 𝑁 =

𝑙 2𝑠 π‘œ 2𝑠

σ𝑏=0

𝑠

σ𝑐=𝑏

𝑠

π‘œβˆ’π‘™ 𝑏 π‘™βˆ’2𝑠+𝑏 𝑏

𝑐 𝑏 𝐸𝑐

  • 𝑁 =

𝑙 2𝑠 π‘œ 2𝑠

σ𝑐=0

𝑠

σ𝑏=0

𝑐

π‘œβˆ’π‘™ 𝑏 π‘™βˆ’2𝑠+𝑏 𝑏

𝑐 𝑏 𝐸𝑐

  • Need to show: σ𝑏=0

𝑐

π‘œβˆ’π‘™ 𝑏 π‘™βˆ’2𝑠+𝑏 𝑏

𝑐 𝑏 =

π‘œβˆ’2𝑠+𝑐 𝑐 π‘™βˆ’2𝑠+𝑐 𝑐

slide-50
SLIDE 50

General Pattern Proof

  • Claim: σ𝑏=0

𝑐

π‘œβˆ’π‘™ 𝑏 π‘™βˆ’2𝑠+𝑏 𝑏

𝑐 𝑏 =

π‘œβˆ’2𝑠+𝑐 𝑐 π‘™βˆ’2𝑠+𝑐 𝑐

  • Proof: Note that

π‘™βˆ’2𝑠+𝑐 𝑐 π‘™βˆ’2𝑠+𝑏 𝑏

=

π‘™βˆ’2𝑠+𝑐 π‘βˆ’π‘ 𝑐 𝑏

, so this is equivalent to the following: σ𝑏=0

𝑐 π‘œβˆ’π‘™ 𝑏 π‘™βˆ’2𝑠+𝑐 π‘βˆ’π‘

=

π‘œβˆ’2𝑠+𝑐 𝑐

slide-51
SLIDE 51

General Pattern Proof

  • Claim:σ𝑏=0

𝑐 π‘œβˆ’π‘™ 𝑏 π‘™βˆ’2𝑠+𝑐 π‘βˆ’π‘

=

π‘œβˆ’2𝑠+𝑐 𝑐

  • Proof: One way to choose 𝑐 elements out of

[1, π‘œ βˆ’ 2𝑠 + 𝑐] elements is to first choose the number 𝑏 of elements which will be in 1, π‘œ βˆ’ 𝑙 . We then choose 𝑏 elements from 1, π‘œ βˆ’ 𝑙 and choose the remaining 𝑐 βˆ’ 𝑏 elements from π‘œ βˆ’ 𝑙 + 1, π‘œ βˆ’ 2𝑠 + 𝑐 , which gives

π‘œβˆ’π‘™ 𝑏 π‘™βˆ’2𝑠+𝑐 π‘βˆ’π‘

choices for each 𝑏 ∈ [0, 𝑐].