R -> XRX | S
S -> aTb | bTa
T -> XTX | X | ε (empty string)
X -> a | b
- $T \Rightarrow T$
- $T \stackrel{*}{\Rightarrow} T$
I know the first one is false since you cannot derived it to T but for the second one my friend said it is true while I thought it is false. I was wondering how do you eventually derived from T to T.