I am having trouble denoting things with quantifiers. For example, I'd like to define when a sequence is bounded from above. There is my definition:
Sequence $\{ a_n \}$ is bounded from above if and only if there exists a real number $K$ for which for every positive integer $n$ the following holds: $ a_n \leq K$
I'll try to use less words and more symbols...
Sequence $\{ a_n \}$ is bounded from above $ \iff \exists K \in \mathbb{R} \implies \forall n \in \mathbb{N} \setminus {0} \implies a_n \leq K $
But sometimes, I see things like this:
Sequence $\{ a_n \}$ is bounded from above $ \iff \left( \exists K \in \mathbb{R} \right) \left( \forall n \in \mathbb{N} \setminus {0} \right) \implies a_n \leq K $
I assume there is an "and" hidden between the parentheses.
What would be correct? I am confused.
You don't write the $\implies$ after the quantor. The correct syntax is $\forall x : \phi(x)$ where $\phi(x)$ is a correct statement. Ditto $\exists x: \phi(x)$
We also use $\forall x \in A: \phi(x)$ as a shortcut for $\forall x:( (x \in A) \implies \phi(x))$ and $\exists x \in A: \phi(x)$ for $\exists x: ((x \in A) \land \phi(x))$ The $\implies$ stands between statements, so it's always used in ($\phi \implies \psi$)-like statements (with an antecedent and a consequent).
So if $f: X \to \mathbb{R}$ is a function,we can write $f$ is bounded above by
$$\exists K \in \mathbb{R}: (\forall x \in X: (f(x) \le K))$$ with some "superfluous" brackets (being a bit formal). As a real-valued sequence is just a function from $\mathbb{N}\setminus\{0\}$ to $\mathbb{R}$, the above applies to sequences as well, changing $X$ to $\mathbb{N}\setminus\{0\}$ and $f(n)$ to $a_n$ if you prefer.