The complexity of knapsack problems in wreath products

Michael Figelius, Moses Ganardi, Markus Lohrey, Georg Zetzsche

Abstract

We prove new complexity results for computational problems in certain wreath products of groups and free solvable groups. For a finitely generated group, we study the power word problem and the knapsack problem. We prove that the power word problem for wreath products $G \wr \mathbb{Z}$ with $G$ nilpotent and iterated wreath products of free abelian groups belongs to $\mathsf{TC}^0$. Consequently, the power word problem for free solvable groups is in $\mathsf{TC}^0$. Conversely, for wreath products $G \wr \mathbb{Z}$ where $G$ is a uniformly strongly efficiently non-solvable (SENS) group, the power word problem is $\mathsf{coNP}$-hard. For the knapsack problem, we show $\mathsf{NP}$-completeness for iterated wreath products of free abelian groups and free solvable groups. Furthermore, the knapsack problem for wreath products $G \wr \mathbb{Z}$ with $G$ being uniformly efficiently non-solvable is $\Sigma^2_p$-hard.

Introduction

Algorithmic group theory investigates the computational difficulty of fundamental algebraic questions. This research focuses on the complexity of two specific problems—the power word problem and the knapsack problem—within the context of wreath products and free solvable groups. Wreath products, denoted $G \wr H$, provide a rich structure for simulating computational processes, where $H$ acts as a cursor moving along a "tape" of elements from $G$.

Problem Definitions

The study centers on two primary computational challenges:

  1. The Power Word Problem: Given an expression $u_1^{k_1} \cdots u_d^{k_d}$, where $u_i$ are words over group generators and $k_i$ are binary-encoded integers, does the product evaluate to the identity element?
  2. The Knapsack Problem for Groups: Given group elements $g_1, \dots, g_d, h$, does there exist a sequence of natural numbers $x_1, \dots, x_d$ such that $g_1^{x_1} \cdots g_d^{x_d} = h$? This generalizes the classic subset sum and knapsack problems to a non-commutative setting.

Methodology

The authors employ a purely theoretical approach, utilizing mathematical proofs and complexity reductions. Key techniques include:

  • Periodic Infinite Words: To address the power word problem in nilpotent groups, the authors analyze periodic functions, demonstrating they satisfy polynomial-order recurrences, which facilitates efficient identity checking.
  • Semilinear Sets: To establish $\mathsf{NP}$ membership for certain knapsack problems, the authors prove that solution sets form semilinear sets with exponentially bounded magnitudes. This ensures that if a solution exists, a "small" one exists that can be verified in polynomial time.
  • Hardness Reductions: To prove $\Sigma_2^P$-hardness, the authors reduce from $\exists\forall$-SAT. They exploit the "cursor and tape" mechanics of wreath products to simulate boolean circuit evaluation algebraically.

Key Insights

Wreath Products as Computational Models

A significant insight is the conceptualization of $G \wr \mathbb{Z}$ as a computational device. The cursor (represented by $\mathbb{Z}$) moves across a tape, modifying values (represented by $G$), mirroring the operation of a Turing machine. This structural property is pivotal for proving computational hardness.

The Role of SENS Groups

The research highlights "uniformly strongly efficiently non-solvable" (SENS) groups. These groups contain nested commutator structures that can simulate boolean logic gates (via Barrington’s Theorem). This allows the authors to demonstrate that the knapsack problem in these groups reaches the second level of the polynomial hierarchy ($\Sigma_2^P$).

Results and Complexity Classifications

The findings categorize the problems into distinct complexity classes based on the underlying group structure:

  • $\mathsf{TC}^0$ (Highly Parallelizable): The Power Word Problem for $G \wr \mathbb{Z}$ (where $G$ is nilpotent) and for free solvable groups.
  • $\mathsf{NP}$-Complete: The Knapsack Problem for $G \wr \mathbb{Z}$ (where $G$ is a finite nontrivial nilpotent group) and systems of exponent equations in free solvable groups.
  • $\mathsf{coNP}$-Hard / $\Sigma_2^P$-Hard: For uniformly SENS groups (e.g., Thompson’s group $F$), the Power Word Problem is $\mathsf{coNP}$-hard, and the Knapsack Problem is $\Sigma_2^P$-hard.

Conclusion and Future Work

This work provides a comprehensive map of the complexity landscape for knapsack-like problems in wreath products. A primary area for future research is establishing the exact complexity for Thompson’s group $F$. While proven to be $\Sigma_2^P$-hard, the upper bound remains an open question, with the authors conjecturing $\Sigma_2^P$-completeness. Additionally, generalizing the semilinear set bounds to broader group classes remains a significant challenge for the field.

Summary updated

Abstract

We prove new complexity results for computational problems in certain wreath products of groups and (as an application) for free solvable group. For a finitely generated group we study the so-called power word problem (does a given expression $u_1^{k_1} \ldots u_d^{k_d}$, where $u_1, \ldots, u_d$ are words over the group generators and $k_1, \ldots, k_d$ are binary encoded integers, evaluate to the group identity?) and knapsack problem (does a given equation $u_1^{x_1} \ldots u_d^{x_d} = v$, where $u_1, \ldots, u_d,v$ are words over the group generators and $x_1,\ldots,x_d$ are variables, has a solution in the natural numbers). We prove that the power word problem for wreath products of the form $G \wr \mathbb{Z}$ with $G$ nilpotent and iterated wreath products of free abelian groups belongs to $\mathsf{TC}^0$. As an application of the latter, the power word problem for free solvable groups is in $\mathsf{TC}^0$. On the other hand we show that for wreath products $G \wr \mathbb{Z}$, where $G$ is a so called uniformly strongly efficiently non-solvable group (which form a large subclass of non-solvable groups), the power word problem is $\mathsf{coNP}$-hard. For the knapsack problem we show $\mathsf{NP}$-completeness for iterated wreath products of free abelian groups and hence free solvable groups. Moreover, the knapsack problem for every wreath product $G \wr \mathbb{Z}$, where $G$ is uniformly efficiently non-solvable, is $\Sigma^2_p$-hard.
BibTeX
@inproceedings{figelius2020complexity,
  author = {Michael Figelius and Moses Ganardi and Markus Lohrey and Georg Zetzsche},
  title = {{The complexity of knapsack problems in wreath products}},
  booktitle = {ICALP},
  year = {2020},
  doi = {10.4230/lipics.icalp.2020.126},
}

Loading related content...

Figure