In the book The Foundations of Mathematics by Kenneth Kunen, in a chapter about set theory formalizations, the following first order logic sentence is provided (referred to as the Axiom of Comprehension/Separation Schema):
$\forall z \Big (\exists y \color{red}{\forall x} \big ( \color{red}{x} \in y \leftrightarrow x \in z \land \varphi(\color{red}{x}) \big ) \Big )$. I have colored in $\color{red}{\text{red}}$ the variable that I will be focusing on for the remainder of this question.
Consider the following two sets:
$A = \{ x \in \mathbb N \ |\ x \lt 5\}$.
$B = \{ \langle s, t \rangle \in \mathbb N \times \mathbb N \ |\ s \lt 5 \land t\lt 4 \}$
Now, let's say I wanted to look at set $A$ and confirm that it exists through the perspective of the Axiom of Comprehension Schema:
$\exists y \forall x (x \in y \ \leftrightarrow \ x \in \mathbb N \land x \lt 5)$ where $\varphi(x):= x \lt 5$. Cool. Set A exists.
To confirm set $B$'s existence, however, I run into an issue when it comes to inserting the predicate $\varphi$:
$\exists y \forall x (x \in y \ \leftrightarrow \ x \in \mathbb N \times \mathbb N \ \land \text{something} )$
I use the phrase "$\text {something}$" because "$\varphi (x)$" does not appear to decompose correctly into a statement about two variables...i.e. $\varphi(x)$ cannot be used to represent "$s \lt 5 \land t \lt 4$" because $s$ and $t$ are not necessarily equal, and therefore do not represent one object $x$.
A quick fix seems to be to switch $\forall x$ with $\forall s \forall t$ in order to generate the following statement:
$\exists y \forall s \forall t (\langle s,t \rangle \in y \ \leftrightarrow \ \langle s,t \rangle \in \mathbb N \times \mathbb N \ \land s \lt 5 \land t \lt 4 )$
I am uncertain why this is something that is allowed. Specifically, this seems to suggest that $\forall x \ \varphi(x)$ is 'semantically' (regular English definition) equivalent to $\forall s \forall t \ \varphi (s,t)$.
From what I understand about first order logic, $\forall x \ \varphi (x)$ essentially means "For all singular objects in the domain of discourse, the following sentence about a singular object is true". Comparatively, I interpret $\forall s \forall t \ \varphi(s,t)$ as saying "For any two objects in the domain of discourse, the following sentence is true about two objects".
Is the syntax "$\ s,t\ $" a singular object in the domain of discourse? It doesn't strike me as one...hence my confusion.
Any input is greatly appreciated! Thank you.