CS 390 Solutions to Test 1


1(a) 01, 101, 001, etc.
(b) tex2html_wrap_inline56

2. Basis: tex2html_wrap_inline58
Induction: For an arbitrary string x, if tex2html_wrap_inline62 , then 1x, 0x, x0, x1 are all in U.
Extremal: Nothing is in U unless it is obtained using the above two clauses.

3. It is going to be proved for an arbitrary string x and an arbitrary state q by induction on string y.
Basis: If tex2html_wrap_inline76 , then tex2html_wrap_inline78
Also tex2html_wrap_inline80 for FA.
Hence LHS = RHS.
Induction: Assume that tex2html_wrap_inline86 for an arbitrary y.
We are going to show that tex2html_wrap_inline90
tex2html_wrap_inline92 by the definition of tex2html_wrap_inline94 .
But tex2html_wrap_inline86 .
Hence tex2html_wrap_inline98 .
But tex2html_wrap_inline100 by the definition of tex2html_wrap_inline94 .
Hence tex2html_wrap_inline90 .

4. tex2html_wrap_inline106 .