In the previous section we have seen how the subgroup problem is related to the membership problem for right respectively left ideals in group rings. Unfortunately, theorem 9 cannot be generalized for the submonoid problem as the following example shows: