Lemma 2: For kernel items, [N ->1 .
2 ]
(
0,
) only if [ N
![]()
1 .
2 ] is valid for
.
. The basis step is so simple that we will look
at the induction step first:
x
such that
is of length n and x is a single symbol.
Suppose that [ N
1 x .
2 ] is an item
in
(
0,
x ). The fact that this item is
in this set implies that the item
[ N
1 . x
2 ] must be in
(
0,
). This, together with our inductive
assumption implies that [ N
1 . x
2 ]
must be valid for
. Therefore, there exists a
derivation:
S'with![]()
N
![]()
![]()
1 x
2

1 =
. This, however implies that
[ N
1 x .
2 ] is indeed valid for
x.
(
0, eps) is
[ S'
. S]. The derivation
S'
S'
S
shows that this item is valid for eps.