I tried to solve it using L=a*
as anti-example, but it seems wrong.
{0, a, aa, ...}
has to do with the number of strings
any suggestions?
I tried to solve it using L=a*
as anti-example, but it seems wrong.
{0, a, aa, ...}
has to do with the number of strings
any suggestions?
A regular Language simply means the language consists of finite number of equivalence classes (set partitions) in which the string can be distributed . These strings can be however of any length. There is no limit on the number of strings as well as long as it can be designated to one of the equivalence class. Thus a language can be regular if even if it is infinite.
Finite language means Language of which all strings are of finite length.
For example language A subset of L which has strings of length atmost 3
Regular language means language of which all strings are recognised by a finite state machine.
For example L=a* is recognised by FSM.so it will be a Regular language.
So,we can say every finite language is regular,but inverse is not true.