We construct the new function as follows, given then we define , otherwise , note that since is compact it's closed so that is open, since then we know that there exists some such that
Now define and . If both then and so since we assumed that would be a contradiction, so instead one of these must be non-empty, assume that , we claim that , this is the case because for any element it's true that , but also we do know that , therefore is the intersection of two closed sets and therefore closed.
Since is closed then , if it's the case that then we linearly interpolate from to over , otherwise and we linearly interpolate from to over . Note that by doing this it maintains the sup norm.
The function is continuous as it's a piecewise continuous and at each connection point they are continouous as the left and right limits are equal. Thus is a continuous extension of on , due to this we can apply WAT to to obtain a sequence of polynomials whose limit is , then by restriction the domain of the polynomails to then these "new" ones go to .