221 views

1 Answer

2 votes
2 votes

Here infinite language means infinite strings of finite length which is true..

But for regularity , the dependency should be restricted so that finite automata can get hold of it..By finite dependency we mean dependencies like strings containing even number of 0's and number of 1's modulo 3 = 1 ..So this can be done by 2 * 3 = 6 states..

Whereas infinite dependency means dependency becomes dependent on a variable ..Let us understand this point more clearly..

Say we have a language L  =  { ab| n >= 0 } ..Now for this n can be infinitesimally any large number..So we have to account for all n as we need to ensure b's come after a's and also number of a's  = number of b's and n can be any number..

So this is an infinite dependency as we are depending on the value of n which we dont know..So this is beyond the scope of finite automata..

Hence both the statements S1 and S2 are true..

Related questions

0 votes
0 votes
1 answer
2
practicalmetal asked Mar 25, 2023
390 views
The solution to $X = r +Xs$ by Arden’s Lemma when s has ϵa) an infinite number of solutionsb) a finite number of solutionsc) is always uniqued) none
1 votes
1 votes
1 answer
3
atulcse asked Jan 28, 2022
489 views
Which of the following languages is/are regular?
5 votes
5 votes
3 answers
4
Hirak asked May 25, 2019
1,840 views
Consider the following statements:$S_1:\{(a^n)^m|n\leq m\geq0\}$$S_2:\{a^nb^n|n\geq 1\} \cup \{a^nb^m|n \geq1,m \geq 1\} $Which of the following is regular?$S_1$ only$S_2...