I think you are confused by the fact that when you say: "Doesn't A*
also include context free languages, context-sensitive and recursively enumerated languages?" you confuse A*
, which is a set of strings , with Powerset(A*)
, which contains a set of languages .
It is true that Powerset(A*) - {L1}
is a collection containing "Context Languages", "Context-Sensitive Languages โโand Recursively Enumerated Languages", but in fact it is not related to the theorem that just says: when any regular language L
(a set of strings), then the language A*-L
, also a set of strings, is also a regular language.
TL DR is the confusion between the levels in your question: sets of strings versus sets of languages. Any two sections A*
in L
and A*-L
in which L
is regular must also have regular A*-L
. A*
cannot and cannot contain languages, because it is a collection of strings.
To your second question:
In addition, the complement A * - L1 = A * intersection (L1). Does tautology define an addition to something specific by addition?
Good question. I suspect this is presented as a definition that simply defines the -
operator. As far as I can tell, it does not define a โcomplement functionโ. Perhaps the "complement" has already been defined, and your book is now trying to determine the subtraction operator. Or is it more a theorem than a definition.
source share