Language $L\subset \{a,b\}^*$ is such that:
- $\epsilon \in L$
- $a \in L$
- For any $x\in L$, $xb\in L$ and $xba\in L$
- Nothing else in $L$.
Im just learning recursive sets, but with that definition am I correct that:
$\epsilon \in L$ so: $b\in L$ and $ba\in L$, $bb\in L$ and $baba\in L$, $bbb\in L$ and $bababa\in L$ ... $a \in L$ so: $ab\in L$ and $aba\in L$, $abb\in L$ and $ababa\in L$, $abbb\in L$ and $abababa\in L$ ...
I need to prove that $L$ is the language of all strings not containing the substring $aa$. How do I begin proving this? I've used induction on other recursively defined sets but I cant figure out how to use it here.
\inLwhen you should have been using\in L. [Also{instead of\{and*instead of^*, etc.] – Clive Newstead Sep 25 '13 at 15:41