Assume that a SLR(1)-grammar is given. Prove that each string has at most one rightmost derivation. Give an algorithm to check whether a given string is derivable in the grammar.
We repeat the argument used for LR(0)-grammars. The difference is that the choice of the next action depends on the next input symbol (Next).