P-complete

Forward Deterministic Growing Context-sensitive Grammar Membership (CSGmem)

Input

A forward deterministic growing context-sensitive grammar $G = (N, T, P, S)$ and a string $x \in T^\ast$.

Problem

Is $x \in L(G)$?

Definitions

A context-sensitive grammar is growing if for each production $\alpha \to \beta \in P$, where $\alpha, \beta \in (N \cup T)^\ast$, $|\alpha|$ is less than $|\beta|$. A context-sensitive grammar is forward deterministic if whenever there are derivations of a sentential form $u$, $u \Rightarrow v$ and $u \Rightarrow v’$, then $v$ equals $v’$.

Status

$\P$-complete (Sang Cho and Huynh [1]).

Remarks

The reduction to show hardness is from a version of GMSP. The proof yields as a straightforward corollary that Nondeterministic Growing Context-sensitive Grammar Membership is $\NP$-complete [1].

References

  1. Sang Cho and D. T. Huynh (1990). The complexity of membership for deterministic growing context-sensitive grammars.
  2. Greenlaw, R., Hoover, H. J., and Ruzzo, W. L. (1995). Limits to Parallel Computation: P-Completeness Theory. Oxford University Press. Problem A.7.5.