Proof.
(Veech, PAMS, '71)
Let

in

with the
wk

-topology. We know

is compact and metrizable. Let

be a metric giving this topology. Notice

are sequences.
For each

, by Hahn-Banach, there is

so that

is the

element of

for all

.
Let
.
Claim: Every
wk
-cluster point of
is in
.
If
in
wk
, then
as

. That is,
dist

as

. Pick

such that

dist

(as

is
wk

-compact and
dist is lower semicontinuous). Thus,

is the only
wk

-cluster point of

in

in

.
Since this sequence has a
wk

-cluster point, we have
in the
wk

-topology.
Define

by
Clearly,

extends

. (

) and

(

). Then

is the required projection if

is the identity map.