on the set $B=\{a \in \Bbb R ^\Bbb N \mid \exists C \in \Bbb R \forall n \in \Bbb N :|a(n)|<C\}$ we consider the distance $d(a,b):= \sup_{n \in \Bbb N}|a(n)-b(n)| $
for $a,b \in B.$ Let $J=\bigl\{a \in B \mid \forall n \in \Bbb N:a(n+1)\geq a(n) \bigr\}$ be the set of bounded increasing sequences of real numbers.
I want to figure out whether J is open or closed in $(B,d)$.
I thought to do this by constructing a continuous function $f:B \rightarrow Y$ s.t. $Z\subset Y$ and $f^{-1}(Z)=J$. and using the openness/closedness of Z to prove the openness/closedness of J.
So would this be correct ... let $Y=\Bbb R$ then let $Z=(-\infty,C)$ where $C\in \Bbb R$. then take $f: a_n \mapsto c$ where c is the maximum value obtained by the sequence. So as Z is open then so is $f^{-1}(Z)=J$.
Another method I thought to use was as J is a subset of $\Bbb R^{\Bbb N}$ and a subset of $\Bbb R^{\Bbb N}$ is closed iff whenever $a_n$ is a sequence of elements of J and $a_n\rightarrow a$ then a is also an element of J to say that as J is increasing and bounded it is converging, but it does not include its bound as $|a(n)|<C $ so a is not in $J$ and so $J$ is open.
Do either of these look on the right track ?
I think that it's much easier to use the definition: