$s=\sup_n a_n \implies a_n \leq s \;\; \forall n$
$-i=\inf_n( -a_n) \implies -a_n \geq i \;\; \forall n$
it's clear that $i$ is an upper bound of $a_n$ and $-s$ is a lower bound of $-a_n$
so from that we can say that
$s \leq i \; \text{&} -i \geq -s \Leftrightarrow s \geq i $
therefore $i=s \iff \sup_n a_n = -\inf_n( -a_n)$
I believe my reasoning is correct however I'd like to see a more formal proof involving epsilons
if anyone could provide that it'd be great.
thanks !
Let $i=\inf_n(-a_n)$. This means that $i$ is a lower bound of the set $\{-a_n\,|\,n\in\mathbb{N}\}$ and, more precisely, that it is the greatest lower bound. So, if $n\in\mathbb N$, $i\leqslant-a_n$, which is equivalent to $a_n\leqslant -i$. Therfore, $-i$ is an upper bound of the set $\{a_n\,|\,n\in\mathbb{N}\}$. Is there a smaller lower bound $s'$? No, because$$(\forall n\in\mathbb{N}):a_n\leqslant s'\iff(\forall n\in\mathbb{N}):-s'\leqslant a_n$$and, since $i$ is the greatest lower bound of $\{-a_n\,|\,n\in\mathbb{N}\}$, $-s'\leqslant i$, which means that $s'\geqslant-i$.
Therefore, $-i$ is the least upper bound of the set $\{a_n\,|\,n\in\mathbb{N}\}$, which means that$$-i=\sup\{a_n\,|\,n\in\mathbb{N}\}.$$