0
$\begingroup$

From Introduction to Automata Theory, Languages, and Computation (2nd Edition):

"For a final example, the closure of the empty set = { epsilon } where epsilon is the empty string. Empty set is one of only two languages whose closure is not infinite." What is the other language?

  • 0
    Oh I see, it would have to be { epsilon }.2017-01-20

1 Answers 1

0

The Kleene closure is an idempotent operator: given a language $L$, it holds $(L^*)^*=L^*$. So another such language is...

For the converse, suppose $\sigma\in L$ and $\sigma\ne\epsilon$. Then $\{\sigma,\sigma\sigma,\sigma\sigma\sigma,\cdots\}\subseteq L^*$ and all those strings are distinct, because they have strictly increasing length.

  • 0
    You mean Kleene closure, right?2017-01-20
  • 0
    @uwe Indeed${}$.2017-01-20