The number of phases used in the Positive solution is characterized by the following theorem.
Proof:Since
(by Lemma 1),
it suffices to prove that
if a distribution
, then at most phases are needed.
When an input distribution
,
the Positive solution is the same as the Complete solution,
and hence requires the same number of phases, which is at most
.
When
,
the number of phase used in the Positive solution is
.
When
,
it is immediate, from the construction of the solution, that the
Positive solution requires
at most one more phase than the
Complete solution.
For this , the Complete solution requires phases,
and hence the Positive solution requires
phases. width 1ex height 1ex depth 0pt