b).
Let be deterministic finite automata. The languages denoted by cut expressions are regular, it suffices to show how to construct deterministic finite automata recognizing.
Here that an alternative proof would be obtained by showing how to construct alternating automata (AFAs) recognizing .
Such a construction would be slightly simpler, especially for the iterated cut, but since the conversion of AFAs to deterministic finite automata causes a doubly exponential size increase, prefer the construction given below, which (almost) saves one level of exponentiality. Moreover, we hope that this construction, though more complex, is more instructive. First handle the comparatively simple case The idea of the construction is to combine A with a kind of product automaton of .
The automaton starts working like .At the point where reaches one of its final states,starts running in parallel with A.
However, in contrast to the ordinary product automaton, the computation of is reset to its initial state whenever reaches one of its final states again. Finally, the string is accepted if and only if is in one of its final states.
By the definition of and the choice of F, they imply that .
Hence, the class of regular languages is closed under CUT is proved.