[Paper Review] Knapsack and subset sum problems in nilpotent, polycyclic, and co-context-free groups
This paper investigates the decidability and complexity of the knapsack and subset sum problems in non-archetypal group classes, establishing that knapsack is undecidable in some nilpotent groups of class two—specifically, direct products of sufficiently many copies of the discrete Heisenberg group H₃(ℤ)—while proving decidability for co-context-free groups via Parikh's theorem and effective semilinear representations. The results resolve open questions on closure properties and undecidability thresholds in combinatorial group theory.
It is shown that the knapsack problem (introduced by Myasnikov, Nikolaev, and Ushakov) is undecidable in a direct product of sufficiently many copies of the discrete Heisenberg group (which is nilpotent of class 2). Moreover, for the discrete Heisenberg group itself, the knapsack problem is decidable. Hence, decidability of the knapsack problem is not preserved under direct products. It is also shown that for every co-context-free group, the knapsack problem is decidable. For the subset sum problem (also introduced by Myasnikov, Nikolaev, and Ushakov) we show that it belongs to the class NL (nondeterministic logspace) for every finitely generated virtually nilpotent group and that there exists a polycyclic group with an NP-complete subset sum problem.
Motivation & Objective
- To determine the decidability and computational complexity of the knapsack and subset sum problems in finitely generated nilpotent, polycyclic, and co-context-free groups.
- To resolve open questions about the closure properties of the knapsack problem under group operations such as finite extensions and direct products.
- To construct a nilpotent group of class two with an undecidable knapsack problem, improving upon prior results with a simpler construction.
- To establish that the knapsack problem is decidable for co-context-free groups using Parikh's theorem and effective semilinear representations.
- To demonstrate that decidability of knapsack is not preserved under direct products, using the discrete Heisenberg group H₃(ℤ) as a counterexample.
Proposed method
- Representing group elements as words over group generators and their inverses, following the encoding framework from Myasnikov et al. (2012).
- Applying Parikh's theorem to analyze the Parikh image of context-free languages derived from the co-word problem of co-context-free groups.
- Using effective computation of semilinear sets to determine whether the Parikh image of the non-solution language equals the full set ℕᵏ, thereby deciding knapsack instances.
- Constructing a nilpotent group of class two as a direct product of copies of H₃(ℤ) to encode undecidable membership problems in subgroup products.
- Leveraging closure properties of co-context-free groups under direct products and restricted wreath products to extend decidability results.
- Reducing the knapsack problem to membership in the complement of a context-free language and using effective closure of semilinear sets under complementation.
Experimental results
Research questions
- RQ1Is the knapsack problem decidable for all finitely generated nilpotent groups, or are there undecidable instances?
- RQ2Does the decidability of the knapsack problem in a group imply decidability in its direct products?
- RQ3Can the knapsack problem be solved in polynomial time for virtually nilpotent groups, and what is its precise complexity?
- RQ4Is the knapsack problem decidable for all co-context-free groups, and if so, what techniques enable this?
- RQ5Can a fixed nilpotent group of class two be constructed such that membership in a product of four finitely generated abelian subgroups is undecidable?
Key findings
- The knapsack problem is undecidable in a nilpotent group of class two, specifically in a direct product of sufficiently many copies of the discrete Heisenberg group H₃(ℤ).
- There exists a polycyclic group with an NP-complete subset sum problem, demonstrating that NP-completeness can arise even in relatively well-structured groups.
- For every virtually nilpotent group, the subset sum problem belongs to NL (nondeterministic logspace), improving previous polynomial-time bounds.
- The knapsack problem is decidable for the discrete Heisenberg group H₃(ℤ), showing that decidability is not preserved under direct products.
- The class of groups with decidable knapsack problems is closed under finite extensions, confirming a structural closure property.
- The knapsack problem is decidable for every co-context-free group, and this result is effective via Parikh's theorem and semilinear set representations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.