Question

prove that any regular language L can be represented by a regular expression in DNF(a1Ua2U...Uan), where...

prove that any regular language L can be represented by a regular expression in DNF(a1Ua2U...Uan), where none of ai, 1<=i<=n, contains the operator U.

Homework Answers

Answer #1

The proof for such questions can be done by using structural induction-

Let T be an operator that takes in a regular expression and it returns an equivalent regular expression in DNF.

Base Cases :

T[ϵ] = ϵ,

T[σ] = σ,

T[∅] = ∅

If r = s + t, then we define T[r] = T[s] + T[t]

Now, if r = st, then by induction we know that T[s] = s1 + s2 + s3 + .... sn and T[t] = t1 + t2 + .... tm, where + doesn't appear in any of si or tj. We thus define T[r] = ∑1≤i≤n1≤j≤m si tj.

Now, if r = s*, then by induction T[s] = s1 + s2 + .... + sn where + again doesn't appear in si. Thus T[r] = (s1* .... sn*)*

Thus by structural induction we show that for every regular language can be represented by a regular expression in DNF.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Prove by induction on n that if L is a language and R is a regular...
Prove by induction on n that if L is a language and R is a regular expression such that L = L(R) then there exists a regular expression Rn such that L(Rn) = L n. Be sure to use the fact that if R1 and R2 are regular expressions then L(R1R2) = L(R1) · L(R2).
Prove that if a language L is regular, the suffix language of L is also regular.
Prove that if a language L is regular, the suffix language of L is also regular.
5 A Non-Regular language Prove that the language}L={www∣w∈{0,1}​∗​​} is not regular.
5 A Non-Regular language Prove that the language}L={www∣w∈{0,1}​∗​​} is not regular.
Given a language L, etc. Show that the language L is a regular language. To show...
Given a language L, etc. Show that the language L is a regular language. To show that the language L is a regular language - find/design a dfa that recognizes the language L. Given a regular expression r, etc. What is the language L, L = L(r)? L(r) is the set of all strings etc.
Prove that the following language is regular. L3 = {w | if w contains any 0’s,...
Prove that the following language is regular. L3 = {w | if w contains any 0’s, then it contains at least three of them}
Let Σ = {a}, and let L be the language L={an :nisamultipleof3butnisNOTamultipleof5}. Is L a regular...
Let Σ = {a}, and let L be the language L={an :nisamultipleof3butnisNOTamultipleof5}. Is L a regular language? HINT: Maybe instead of an explicit DFA or regular expression, you can find another argument.
What is the regular expression for the language L={w| w starts with 1 and has odd...
What is the regular expression for the language L={w| w starts with 1 and has odd length}? The alphabet of the language is {0, 1};
For Automata class: Let L be a regular language over the binary alphabet. Consider the following...
For Automata class: Let L be a regular language over the binary alphabet. Consider the following language over the same alphabet: L' = {w | |w| = |u| for some u ∈ L}. Prove that L' is regular.
Are the following languages over {a, b} regular? If they are then prove it. If they...
Are the following languages over {a, b} regular? If they are then prove it. If they are not prove it with the Pumping Lemma {an bm | m != n, n >= 0} {w | w contains the substring ‘aaa’ once and only once } Clear concise details please, if the language is regular, provide a DFA/NFA along with the regular expression. Thank you. Will +1
3. Consider the following “theorem". If L is a regular language then ∀ words w ∈...
3. Consider the following “theorem". If L is a regular language then ∀ words w ∈ L where |w| > 1 ∃ an expression w = xyz where (a) ∀i≥0.xyiz∈L (b) |y| ≥ 1 Explain whether this is a (true) theorem or not ( the question want us to explain why this theorem does not work alone)