P-complete

Straight-line Program Nonempty (SLPnonempty)

Input

A straight-line program over a non-empty alphabet $\Sigma$ with operations taken from $\Phi = \Sigma \cup \{\{\epsilon\}, \varnothing, \cup, \cdot\}$, and a string $x$.

Problem

Is the set constructed by the program nonempty? See SLPmem for definition.

Status

$\P$-complete (Goodrich [1]).

Remarks

Same as SLPmem, reduces from GEN and MCVP. With $\cap$ added, SLPnonempty becomes complete for nondeterministic exponential time [1].

References

  1. G. B. Goodrich (1983). The Complexity of Finite Languages.
  2. Greenlaw, R., Hoover, H. J., and Ruzzo, W. L. (1995). Limits to Parallel Computation: P-Completeness Theory. Oxford University Press. Problem A.7.7.