Suppose you have an operation D defined as D(L) = {nm| n,m ∈ L} where L is the language over SIGMA. If L is regular and D(L) should be also regular.
I am trying to prove this, by doing:
THE DEFINITION OF REGULAR LANGUAGES: A LANGUAGE L⊆Σ* IS REGULAR IF THERE IS A DFA M SUCH THAT L = L(M). so we know that since L is regular there is a DFA A = (Q, Σ, δ, q0, F), consisting of:
a finite set of states (Q)
a finite set of input called the alphabet (Σ)
a transition function (δ : Q × Σ → Q)
a start state (q0)
accept state (F ⊆ Q)
that accepts L. So there should be a NFA L' = (Σ, Γ, S, σ0, δ, w):
- Σ is the input alphabet (a finite non-empty set of symbols).
- Γ is the output alphabet (a finite, non-empty set of symbols).
- S is a finite, non-empty set of states
- σ0 is the initial state
- δ is the state-transition function
- w is the output function.
is this correct?