Complexity.

What is a rand. alg?

·       Clearly P $ \subseteq$RP $ \subseteq$NP. Open questions:

o      RP = coRP? (equiv RP = ZPP)

o      BPP $ \subseteq$NP?

Tree evaluation.

Moving LOE through a (linear) recurrence.

deterministic model: must examine all leaves. time 2h = 4h/2 = n

nondeterministic/checking

randomized-guess which leaf wins.

W(T1oT2)

$\displaystyle \le$

L(T1) + [evalT2]L(T2)

 

W(h)

=

(3/2)L(h - 1)

 

L(h)

=

2W(h - 2)

 

W(h)

=

3W(h - 2) = 3h/2 = hlog32 $\displaystyle \approx$n.793