CS 390 Solutions to Test II

June 17, 1998

1 (a) Basis Step: Let tex2html_wrap_inline73 . Then since tex2html_wrap_inline75 and tex2html_wrap_inline77 , tex2html_wrap_inline79 . Hence tex2html_wrap_inline81 .
Inductive Step: Assume that tex2html_wrap_inline83 and tex2html_wrap_inline79 . Then tex2html_wrap_inline87 and tex2html_wrap_inline89 . Hence tex2html_wrap_inline91 .

(b) Let tex2html_wrap_inline93 , and tex2html_wrap_inline95 . Then tex2html_wrap_inline97 . But tex2html_wrap_inline99 .
Hence tex2html_wrap_inline101 does not hold in general.

2. Let L denote the given language. Also let tex2html_wrap_inline105 .
Then any pair of distinct strings tex2html_wrap_inline107 and tex2html_wrap_inline109 of S can be distinguished with respect to L by using tex2html_wrap_inline115 . Hence L is not regular.

3.

tabular28

4 (a) tex2html_wrap_inline191
tex2html_wrap_inline193
tex2html_wrap_inline195 , R(3,2,1) = aa + b,
tex2html_wrap_inline199 , and R(2,3,1) = a.
Hence tex2html_wrap_inline203
Hence tex2html_wrap_inline205
tex2html_wrap_inline207




S. Toida
Wed Jun 17 19:17:19 EDT 1998