Question: Define a bitstring - to - bitstring function Fun via the following recursive rules: Fun ( lambda ) = lambda . Fun (

Define a bitstring-to-bitstring function Fun via the following recursive rules:
Fun(\lambda )=\lambda .
Fun(s0)=Fun(s) o 0 for any s in {0,1}*.
Fun(s1)=1 o Fun(s) for any s in {0,1}*.
Does Fun preserve regularity? i.e., is Fun (L) regular for every regular language L ?
If yes, provide your reasoning, if not, provide an L for which Fun(L) is not regular.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!