Solution
It is true that both intervals and are open in , however this is not the definition of compactness.
Indeed, one has to consider an arbitrary covering of the desired set, and then deduce that there always exists a finite subcovering of our set. Which is not what we have done here since we already chose a specific covering of our set .

No messages yet.