Suppose we have the rules:
$R \rightarrow XRX | S$
$S \rightarrow aTb | bTa$
$T \rightarrow XTX | X | \epsilon$
$X \rightarrow a | b$.
My textbook says that $T \stackrel{*}\implies T$ is possible. Could this be a mistake because I am almost certain this cannot be. Or else I must not be understanding correctly.
Start with $T$. We have three choices
$T \implies XTX$. But now that we have $X$ involved, we will have $a's$ and/or $b's$ involved.
$T \implies X$. Again we will have $a$ or $b$ involved.
$T \implies \epsilon$. But $\epsilon \not= T$.
This is exercise 2.3 (i) in Michael Sipser's Theory of Computation 3rd edition (not homework)
I think this is notation problem:
I hope this helps $\ddot\smile$