Rouki
Rouki

Reputation: 2345

Is this language regular

Given R a regular language.

Is the following language also regular:

Comp(R) = { u | u is NOT a sub-word of a word in R }

It looks like there are no words in Comp(R) since there can not be any sub-word of word in R. But I might get it wrong. any suggestions?

Upvotes: 3

Views: 147

Answers (1)

hivert
hivert

Reputation: 10667

The two following theorems implies that the answer is yes:

Upvotes: 1

Related Questions