An exercise asks me to show that the Kleene star of any unary language $L$ is regular. $E$ is the alphabet, $E = \{ 1 \}$
Here's my reasoning :
- $L$ is regular $\implies$ $L^*$ is regular (closure property)
- $L$ is not regular
- $L$ contains the word of length 1 $\implies$ $L^* = E^* \cup \{\epsilon\}$ $\implies$ $L^*$ is regular (since $E^*$ is regular, and the union of two regular languages is regular)
- $L$ does not contain the word of length 1 -> ... ?
This is where I'm stuck. I don't know what to do if $L$ does not contain the word of length 1. I do not think that there exists a relation between $L^*$ and $(L \text{ complement})^*$.
Does anyone have any idea to continue this proof ? Thank you.