in Theory of Computation
1,195 views
1 vote
1 vote
Consider these statements:
S1: If a language is infinite, it has to be non-Regular.
S2: Let L be any language.
$(\overline{L})^{*} \neq (\overline{L^{*}})$

(a) Both are True
(c) S1 → True, S2 → False
(b) Both are False
(d) S1 → False, S2 → True
in Theory of Computation
1.2k views

1 comment

Both are fasle
1
1

1 Answer

3 votes
3 votes
Best answer

$S_1$ is false. The counter example is a very popular regular language - $(a+b)^*$

$S_2$ is true and at first glance, it looks like its prove must be subtle. But no, it is not difficult to notice that LHS will never have an empty string $\epsilon$, however, the RHS will always have an empty string. This one small difference on the two side of equality will never let them be equal to each other.

Thus, the correct answer is (d) S1 → False, S2 → True

HTH

selected by

2 Comments

I am not able to notice how LHS will never have an empty string ϵ, however, the RHS will always have an empty string?

1
1
LHS will always contain epsilon and RHS will always contain ø.

Correct me if am wrong.
0
0

Related questions