P-complete

Context-free Grammar Empty (CFGempty)

Input

A context-free grammar $G = (N, T, P, S)$.

Problem

Is $L(G)$ empty?

Status

$\P$-complete (Jones and Laaser [1], Goldschlager [2]).

Remarks

Same reduction as for CFGmem suffices, but it may also be reduced from MCVP [3].

Note, this reduction and the one for CFGinf, have no $\epsilon$-productions yet remain complete. The original proof of Jones and Laaser reduced GEN to CFGempty. Their proof used the reduction for CFGmem, and instead checked if $L(G)$ is empty [1].

References

  1. N. D. Jones and W. T. Laaser (1976). Complete problems for deterministic polynomial time.
  2. L. M. Goldschlager (1981). ϵ-productions in context-free grammars.
  3. Greenlaw, R., Hoover, H. J., and Ruzzo, W. L. (1995). Limits to Parallel Computation: P-Completeness Theory. Oxford University Press. Problem A.7.2.