Prove: $\inf\{E\}=-1$ for $E=\{\frac{2}{n}+(-1)^n\mid n\in \mathbb{N}\}$
Let assume the contrary , there is $x\in E$ such that $\frac{2}{n}+(-1)^n\leq-1$.
Because we are looking at negative numbers we can look only at odd $n\in \mathbb{N}$ that is $\frac{2}{n}-1\leq-1\Rightarrow \frac{2}{n}\leq0$
But for all $n\in \mathbb{N}$ $\frac{2}{n}>0$, therefore $\inf\{E\}=-1$
Is the proof vaild?
No. As it stands, what's written in the proof is correct (although worded in a somewhat confusing manner), but it doesn't actually prove the claim. All you prove is that $-1$ is a lower bound of $E$, but that doesn't imply that $-1$ is actually the infimum. After all: What you've written works perfectly well if you replace $-1$ with $-2$. You need to also show that there is no lower bound of $E$ larger than $-1$.
To rewrite it, here are some suggestions:
State clearly that you're proving that $-1$ is a lower bound. This doesn't need to be done by contradiction - just do it directly.
Now you need to prove that $-1$ is the greatest lower bound. To this end, take a number $x > -1$. Find an odd value of $n$ so that $$-1 < -1 + \frac 2 n < x$$ which can be done by algebra. Then explain how this shows the claim.