CS 390 Solutions to Test II

April 3, 1997

1 (a)

tabular12



(b) tex2html_wrap_inline68 ({4}) = {1,2,3,4}.
(c) tex2html_wrap_inline74 (1, aa) = {1,2,3,4}.

2.

tabular19

{1,2,3,4} and {2} are the accepting states.

3. click here for the NFA.

4. Basis: tex2html_wrap_inline112 by the definition of tex2html_wrap_inline114 .
Induction: Assume tex2html_wrap_inline116 for an arbitrary k.
Then tex2html_wrap_inline120
Now we are going to show tex2html_wrap_inline122
(1) tex2html_wrap_inline124 by the definition of tex2html_wrap_inline126 .
(2) tex2html_wrap_inline128 ?
Basis: The basis of tex2html_wrap_inline130 is tex2html_wrap_inline126 . Hence the basis of tex2html_wrap_inline130 is a subset of tex2html_wrap_inline126 .
Induction: Assume that for an arbitrary tex2html_wrap_inline138 , tex2html_wrap_inline140 holds.
Then since tex2html_wrap_inline140 , by the inductive clause of the definition of tex2html_wrap_inline126 , tex2html_wrap_inline146 .
Hence tex2html_wrap_inline128 holds. QED for (2).
Thus with (1) and (2) tex2html_wrap_inline122 holds.
Hence tex2html_wrap_inline152 .
This completes the induction and tex2html_wrap_inline116 has been proven.





S. Toida
Wed Apr 30 09:32:43 EDT 1997