Hello my lecturer gave a proof that is not uniformly convergent to on . Which went as follows:

Given and suppose we have uniform convergence then:

Given such an N take n=N

then which is a contradiction and we are done.

However I am confused why this breaks down if the function is only defined on where in which case it is uniformly convergent?

Thanks for any help