QUICK REVIEW
[Paper Review] An NP-hardness Result on the Monoid Frobenius Problem
Zhi Xu, Jeffrey Shallit|ArXiv.org|May 27, 2008
TL;DR
This paper proves that determining whether the language generated by a regular expression $E^*$ is co-finite (i.e., contains all sufficiently long strings) is NP-hard, even when the input is given in compressed form via regular expressions. The result is established via a polynomial-time reduction from 3SAT, showing that satisfiability of a 3CNF formula is equivalent to $E^*$ not being co-finite, and the problem is also shown to be in PSPACE.
ABSTRACT
The following problem is NP-hard: given a regular expression $E$, decide if $E^*$ is not co-finite.
Motivation & Objective
- To investigate the computational complexity of the Monoid Frobenius Problem when the input set of words is given in compressed form via a regular expression.
- To determine whether the language $E^*$ generated by a regular expression $E$ is co-finite, i.e., contains all sufficiently long strings over the alphabet.
- To establish the NP-hardness of deciding whether $E^*$ is not co-finite, under the constraint that the input is a regular expression.
- To show that the problem lies in PSPACE, completing a complexity classification for the compressed Monoid Frobenius Problem.
Proposed method
- Construct a star-free regular expression $E$ from a 3SAT instance, encoding clauses as strings over $Σ = \{T, F\}$, where each clause corresponds to a disjunction of literals.
- Define $E = E' + E''(T+F)$, where $E'$ encodes the clauses and $E'' = (T+F)^n$ represents all possible variable assignments.
- Use Lemma 3 to show that $E^*$ is not co-finite if and only if $E' \neq E''$, which holds precisely when the 3SAT instance is satisfiable.
- Establish a polynomial-time reduction from 3SAT to the decision problem of whether $E^*$ is co-finite, proving NP-hardness.
- Construct an NFA of size $O(t+1)$ from the regular expression $E$, where $t$ is the length of $E$, to simulate $E^*$.
- Use Savitch’s theorem to show that the problem is in PSPACE by verifying the existence of a rejected word of length in $[n, 2n)$ for $n = 2^{t+1}$, using polynomial space to track state reachability.
Experimental results
Research questions
- RQ1Is the problem of deciding whether $E^*$ is co-finite NP-hard when $E$ is a regular expression?
Key findings
- The problem of deciding whether $E^*$ is co-finite is NP-hard, even when the input is a regular expression over a binary alphabet and the language consists of words of only two lengths.
- The NP-hardness is established via a polynomial-time reduction from 3SAT, where the 3SAT instance is satisfiable if and only if $E^*$ is not co-finite.
- The problem is contained in PSPACE, as the existence of a rejected word of length in $[n, 2n)$ for $n = 2^{t+1}$ can be verified using polynomial space.
- The result implies that the Monoid Frobenius Problem with compressed input is NP-hard, even under restricted input formats.
- The proof relies on the fact that if $S^*$ is co-finite and $S o Σ^n \cup \u03A3^{n+1}$ with $\gcd(n,n+1)=1$, then $\Sigma^n \subseteq S$, which fails when $E' \neq E''$, corresponding to satisfiable 3SAT.
- The problem remains NP-hard even when restricted to star-free regular expressions or when the language consists of words of exactly two lengths.
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.