Knapsack problems in hyperbolic groups Andrey Nikolaev (Stevens - - PowerPoint PPT Presentation

knapsack problems in hyperbolic groups
SMART_READER_LITE
LIVE PREVIEW

Knapsack problems in hyperbolic groups Andrey Nikolaev (Stevens - - PowerPoint PPT Presentation

Knapsack problems in hyperbolic groups Andrey Nikolaev (Stevens Institute) GAGTA, May 2013 Based on joint work with A.Miasnikov and A.Ushakov Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups Non-commutative discrete


slide-1
SLIDE 1

Knapsack problems in hyperbolic groups

Andrey Nikolaev (Stevens Institute) GAGTA, May 2013 Based on joint work with A.Miasnikov and A.Ushakov

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-2
SLIDE 2

Non-commutative discrete optimization

Basic idea: Take a classical algorithmic problem from computer science (traveling salesman, Post correspondence, knapsack, . . . ) and translate it into group-theoretic setting.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-3
SLIDE 3

Non-commutative discrete optimization

The classical subset sum problem (SSP): Given a1, . . . , ak, a ∈ Z decide if ε1a1 + . . . + εkak = a for some ε1, . . . , εk ∈ {0, 1}. SSP for a group G: Given g1, . . . , gk, g ∈ G decide if gε1

1 . . . gεk k = g

for some ε1, . . . , εk ∈ {0, 1}. Elements in G are given as words in a fixed set of generators of G.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-4
SLIDE 4

Non-commutative discrete optimization

The classical subset sum problem (SSP): Given a1, . . . , ak, a ∈ Z decide if ε1a1 + . . . + εkak = a for some ε1, . . . , εk ∈ {0, 1}. SSP for a group G: Given g1, . . . , gk, g ∈ G decide if gε1

1 . . . gεk k = g

for some ε1, . . . , εk ∈ {0, 1}. Elements in G are given as words in a fixed set of generators of G.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-5
SLIDE 5

Non-commutative discrete optimization

The classical subset sum problem (SSP): Given a1, . . . , ak, a ∈ Z decide if ε1a1 + . . . + εkak = a for some ε1, . . . , εk ∈ {0, 1}. SSP for a group G: Given g1, . . . , gk, g ∈ G decide if gε1

1 . . . gεk k = g

for some ε1, . . . , εk ∈ {0, 1}. Elements in G are given as words in a fixed set of generators of G.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-6
SLIDE 6

Non-commutative discrete optimization

In the classical (commutative) case, SSP is pseudo-polynomial. Classical SSP If input is given in unary, SSP is in P, if input is given in binary, SSP is NP-complete. The situation is quite more involved in non-commutative case.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-7
SLIDE 7

Non-commutative discrete optimization

In the classical (commutative) case, SSP is pseudo-polynomial. Classical SSP If input is given in unary, SSP is in P, if input is given in binary, SSP is NP-complete. The situation is quite more involved in non-commutative case.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-8
SLIDE 8

Non-commutative discrete optimization

Group Complexity Why Nilpotent P Poly growth Z ≀ Z NP-complete ZOE Free metabelian NP-complete Z ≀ Z Thompson’s F NP-complete Z ≀ Z BS(1, p) NP-complete Binary SSP(Z) Hyperbolic P Later in the talk Note that the NP-completeness is despite unary input.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-9
SLIDE 9

Non-commutative discrete optimization

Group Complexity Why Nilpotent P Poly growth Z ≀ Z NP-complete ZOE Free metabelian NP-complete Z ≀ Z Thompson’s F NP-complete Z ≀ Z BS(1, p) NP-complete Binary SSP(Z) Hyperbolic P Later in the talk Note that the NP-completeness is despite unary input.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-10
SLIDE 10

Knapsack problems in groups

Three principle Knapsack type (decision) problems in groups: SSP subset sum, KP knapsack, SMP submonoid membership. Variations of SSP, KP, SMP: search,

  • ptimization,

bounded.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-11
SLIDE 11

Knapsack problems in groups

Three principle Knapsack type (decision) problems in groups: SSP subset sum, KP knapsack, SMP submonoid membership. Variations of SSP, KP, SMP: search,

  • ptimization,

bounded.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-12
SLIDE 12

Knapsack problems in groups

Three principle Knapsack type (decision) problems in groups: SSP subset sum, KP knapsack, SMP submonoid membership. Variations of SSP, KP, SMP: search,

  • ptimization,

bounded.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-13
SLIDE 13

Knapsack problems in groups

Three principle Knapsack type (decision) problems in groups: SSP subset sum, KP knapsack, SMP submonoid membership. Variations of SSP, KP, SMP: search,

  • ptimization,

bounded.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-14
SLIDE 14

The knapsack problem in groups

The knapsack problem (KP) for G: Given g1, . . . , gk, g ∈ G decide if gε1

1 . . . gεk k = g

for some non-negative integers ε1, . . . , εk. There are minor variations of this problem, for instance, integer KP, when εi are arbitrary integers. They are all similar, we omit them here. The subset sum problem sometimes is called 0 − 1 knapsack.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-15
SLIDE 15

The knapsack problem in groups

The knapsack problem (KP) for G: Given g1, . . . , gk, g ∈ G decide if gε1

1 . . . gεk k = g

for some non-negative integers ε1, . . . , εk. There are minor variations of this problem, for instance, integer KP, when εi are arbitrary integers. They are all similar, we omit them here. The subset sum problem sometimes is called 0 − 1 knapsack.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-16
SLIDE 16

The knapsack problem in groups

The knapsack problems in groups is closely related to the big powers method, which appeared long before any complexity considerations (Baumslag, 1962).

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-17
SLIDE 17

The submonoid membership problem in groups

Submonoid membership problem (SMP): Given a finite set A = {g1, . . . , gk, g} of elements of G decide if g belongs to the submonoid generated by A, i.e., if g = gi1, . . . , gis for some gij ∈ A. If the set A is closed under inversion then we have the subgroup membership problem in G.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-18
SLIDE 18

Bounded variations

It makes sense to consider the bounded versions of KP and SMP, they are always decidable in groups with decidable word problem. The bounded knapsack problem (BKP) for G: decide, when given g1, . . . , gk, g ∈ G and 1m ∈ N, if g =G gε1

1 . . . gεk k

for some εi ∈ {0, 1, . . . , m}. BKP is P-time equivalent to SSP in G.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-19
SLIDE 19

Bounded variations

It makes sense to consider the bounded versions of KP and SMP, they are always decidable in groups with decidable word problem. The bounded knapsack problem (BKP) for G: decide, when given g1, . . . , gk, g ∈ G and 1m ∈ N, if g =G gε1

1 . . . gεk k

for some εi ∈ {0, 1, . . . , m}. BKP is P-time equivalent to SSP in G.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-20
SLIDE 20

Bounded variations

Bounded submonoid membership problem (BSMP) for G: Given g1, . . . gk, g ∈ G and 1m ∈ N (in unary) decide if g is equal in G to a product of the form g = gi1 · · · gis, where gi1, . . . , gis ∈ {g1, . . . , gk} and s ≤ m.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-21
SLIDE 21

Hyperbolic groups

Theorem Let G be a hyperbolic group then all the problems SSP(G), KP(G), BSMP(G), as well as their search and

  • ptimization versions are in P.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-22
SLIDE 22

KP(G) ∈ P, sketch of proof

Draw equality gε1

1 . . . gεk k = g

in the Cayley graph. If one of εi’s is large, we can cut some powers

  • ut.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-23
SLIDE 23

KP(G) ∈ P, sketch of proof

gi gi gi gj gj d d gj

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-24
SLIDE 24

KP(G) ∈ P, sketch of proof

g

εj j

gεi

i

d d d

Now we only need to solve SSP(G).

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-25
SLIDE 25

KP(G) ∈ P, sketch of proof

g

εj j

gεi

i

d d d

Now we only need to solve SSP(G).

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-26
SLIDE 26

SSP(G) ∈ P, sketch of proof

w1, w2, . . . , wk, w is a positive instance of SSP iff a word equal to 1 in G is readable in the following graph:

  • w1
  • ε
  • w2
  • ε
  • wk
  • ε
  • w−1
  • . . .

α ω To recognize whether a word equal to 1 in G is readable, we perform two operations, so called R-completion and folding.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-27
SLIDE 27

SSP(G) ∈ P, sketch of proof

For a symmetrized presentation X | R and a graph Γ labeled by X, at each vertex of Γ we add a loop labeled by r, for each r ∈ R:

r1 r2 R-completion C

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-28
SLIDE 28

SSP(G) ∈ P, sketch of proof

For each “foldable” pair of consecutive edges we add a new edge:

x x−1 x x−1 folding F ε

“Foldable” pairs: s1

x

→ s2

x−1

→ s3 s1

ε

→ s3 s1

x

→ s2

ε

→ s3 s1

x

→ s3 s1

ε

→ s2

x

→ s3 s1

x

→ s3 s1

ε

→ s2

ε

→ s3 s1

ε

→ s3.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-29
SLIDE 29

SSP(G) ∈ P, sketch of proof

One application of completion and folding corresponds to “peeling

  • ff” one layer of cells in van Kampen diagram:

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-30
SLIDE 30

SSP(G) ∈ P, sketch of proof

Lemma Let X | R be a finite presentation of a hyperbolic group G. Let Γ be an acyclic automaton over X ∪ X −1 with at most m nontrivially labeled edges. Then 1 ∈ L(Γ) if and only if F(CO(log m)(Γ)) contains an edge α

ε

→ ω. Proof: in a hyperbolic group G, the depth of van Kampen diagrams is logarithmic in perimeter (Drut ¸u 2001).

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-31
SLIDE 31

SSP(G) ∈ P, sketch of proof

Lemma Let X | R be a finite presentation of a hyperbolic group G. Let Γ be an acyclic automaton over X ∪ X −1 with at most m nontrivially labeled edges. Then 1 ∈ L(Γ) if and only if F(CO(log m)(Γ)) contains an edge α

ε

→ ω. Proof: in a hyperbolic group G, the depth of van Kampen diagrams is logarithmic in perimeter (Drut ¸u 2001).

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-32
SLIDE 32

SSP(G) ∈ P, the algorithm

To solve SSP in a hyperbolic group G, given words w1, w2, . . . , w, we construct the graph Γ as above

  • w1
  • ε
  • w2
  • ε
  • wk
  • ε
  • w−1
  • . . .

α ω

Figure : Graph Γ = Γ(w1, . . . , wk, w).

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-33
SLIDE 33

SSP(G) ∈ P, the algorithm

and apply O(log(|w| + |wi|)) R-completions and then the (non-Stallings) folding to construct the graph F(CO(log m)(Γ)):

α ω

Figure : Graph F(CO(log(|w|+ |wi|))(Γ))

and check whether the resulting graph contains the edge α

ε

→ ω.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-34
SLIDE 34

SSP(G) ∈ P, the algorithm

and apply O(log(|w| + |wi|)) R-completions and then the (non-Stallings) folding to construct the graph F(CO(log m)(Γ)):

α ω

Figure : Graph F(CO(log(|w|+ |wi|))(Γ))

and check whether the resulting graph contains the edge α

ε

→ ω.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-35
SLIDE 35

Hyperbolic groups

The same argument can be used to show that search and

  • ptimization variations of SSP, KP are in P for a hyperbolic

group G.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-36
SLIDE 36

The big finish

The same argument can be also used to show that BSMP(G) (together with its search and optimization variations) for a hyperbolic group is in P. Surprise The bounded SMP is polynomial time decidable in any hyperbolic group, while there are hyperbolic groups with undecidable SMP.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-37
SLIDE 37

The big finish

The same argument can be also used to show that BSMP(G) (together with its search and optimization variations) for a hyperbolic group is in P. Surprise The bounded SMP is polynomial time decidable in any hyperbolic group, while there are hyperbolic groups with undecidable SMP.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups

slide-38
SLIDE 38

The big finish

The same argument can be also used to show that BSMP(G) (together with its search and optimization variations) for a hyperbolic group is in P. Surprise The bounded SMP is polynomial time decidable in any hyperbolic group, while there are hyperbolic groups with undecidable SMP.

Andrey Nikolaev (Stevens Institute) Knapsack problems in hyperbolic groups