edited by
526 views
1 votes
1 votes
Let $\Sigma=\{a,b\}.$ Given a language $L\underline\subset \Sigma^{\ast}$ and a word $w\in\Sigma^{\ast}$, define the languages:
$$Extend(L,w) :=\{xw\:|\:x\in L\}$$ $$Shrink(L,w) :=\{x\:|\:xw\in L\}$$Show that if $L$ is regular, both $Extend(L,w)$ and $Shrink(L,w)$ are regular.
edited by

1 Answer

Related questions

7 votes
7 votes
2 answers
2
4 votes
4 votes
2 answers
4