Suppose a formal language $\gamma$ is defined with $\Sigma=\left\{M,I,U\right\}$ and the following rules:
let $x,y \in \gamma$
- $MI$ is in the language
- If $xI$ is in the language then so is $xIU$
- If $xIIIy$ is in the language then so is xUy
- If $Mx$ is in the language is then so is $Mxx$
- If $xUy$ is in the language then so is $xy$
The following theorem has been stated in our course notes: If $xIII$ is in $\gamma$ so is $x$
I have tried playing around with the rules of the language but I haven't been able to get the desired result, could someone show me how?
HINT
$y$ can be the empty string.