in Theory of Computation edited by
607 views
1 vote
1 vote
From a language $L$ we create a new language $chop2 (L)$ by removing the two leftmost symbols of
every string in $L$. Specifically,

                            $chop2(L) =$ {$w: vw ∈ L,$ with $|v|= 2$}.

Show that if $L$ is regular, then $chop2 (L)$ is also regular.
in Theory of Computation edited by
607 views

2 Comments

Given that L is regular.

therefore there is no relation btw input alphabet symbols ( i mean no comparission exist btw the alphabet symbols)

List all them = { a, abb,ba,bababa,bbaab,.......} ( for example )

cut the last two symbols then also you can have no relation between the input alphabet symbols  ===> it is RL

0
0
if   W$\epsilon$ (a+b)*

then if you remove first two symbol then also the new strings  formed belongs to (a+b)* thus L will remain regular .

CORRECT ME IF I AM WRONG!!!
0
0

Please log in or register to answer this question.

Related questions