retagged by
399 views
4 votes
4 votes

Let $\text{L}$ be a language over an alphabet $\Sigma$. The equivalence relation $\sim_{\text{L}}$ on the set $\Sigma^{\ast}$ of finite strings over $\Sigma$ is defined by $\mathrm{u} \sim_{\mathrm{L}} \mathrm{v}$ if and only if for all $w \in \Sigma^{\ast}$ it is the case that $u w \in \text{L}$ if and only if $v w \in \text{L}$.
Consider the following statements :

  1. For a regular language $\text{L}$, the number of $\sim_{\text{L}}$-equivalence classes is finite.
  2. For a non-regular language $\text{L}$, the number of $\sim_{\text{L}}$-equivalence classes is infinite.

Which of the above statements is/are correct?

  1. Only $1$
  2. Only $2$
  3. Both
  4. None
retagged by

1 Answer

2 votes
2 votes
The given equivalence relation is actually Myhill-Neord relation. And we know that a language is regular if and only if the number of equivalence classes in the myhill neord relation are finite. So, both statements are true.
Answer:

Related questions

350
views
2 answers
3 votes
GO Classes asked Jun 22, 2022
350 views
Consider the following languages :$L_{1}=\left\{a^{k} b^{m} c^{n} \mid(k=m\right.$ or $m=n)$ and $\left.k+m+n \geq 2\right\}$L_{2}=\left\{a^{k} b^{m ... are Regular?$\mathrm{L}_{2}$ Only$\mathrm{L}_{3}$ Only$L_{2}$ and $L_{3}$ onlyAll
633
views
1 answers
3 votes
GO Classes asked Jun 22, 2022
633 views
Consider the following non-deterministic finite automaton(NFA), where $\Sigma = \{a, b, c\}.$How many strings of length $6$ are accepted by the given NFA over the alphabet $\Sigma=\{\mathrm{a}, \mathrm{b}, \mathrm{c}\}$ ?
230
views
1 answers
3 votes
GO Classes asked Jun 22, 2022
230 views
Consider the following languages:The language of regular expression $(0+1)^{\ast} 11(0+1)^{\ast}$ ... $1$ is a subset of $2$, nor $2$ is a subset of $1.$