Let's say I have two sets $A = \{ x \ | \ P(x)\}$ and $B = \{y \ | \ Q(y)\}$, how does one define the cartesian product $A \times B$ on these two sets? Is it simply the following?
$$A \times B = \{(x, y) \ | \ P(x) \land Q(y) \}$$
Let's say I have two sets $A = \{ x \ | \ P(x)\}$ and $B = \{y \ | \ Q(y)\}$, how does one define the cartesian product $A \times B$ on these two sets? Is it simply the following?
$$A \times B = \{(x, y) \ | \ P(x) \land Q(y) \}$$
Recall ordered pairs have the following property. $$(a,b)=(x,y)\iff a=x\quad\text{and}\quad b=y$$ That is to say, an ordered pair is well-defined once we know what the first coordinate and second coordinate are.
Given sets $A$ and $B$, the cartesian product, denoted $A\times B$, is the collection of all ordered pairs $(a,b)$, where $a\in A$ and $b\in B$.
In your case, you have $A=\{x:P(x)\}$ and $B=\{y:Q(y)\}$. Therefore $A\times B$ is the collection of all ordered pairs $(a,b)$, where $P(a)$ holds and $Q(b)$ holds. This can indeed be denoted as $$\{(a,b):P(a)\,\wedge\,Q(b)\}$$ as you proposed.