The membership problem for context-free grammar (CFG) can be stated as follows: given CFG (which generates language ) and word , does hold? That is, can generate given string ?
Showing decidability
editvia exhaustive search
editThis problem is decidable via bounded exhaustive search ...
by CYK algorithm
edit...