Let's say that $X$ and $Y$ are random variables that take values in sets $\mathcal{A}$ and $\mathcal{B}$, respectively, then my question is: what does this probability really mean: $$\Pr(X=a, Y=b)$$
My thoughts so far
Probabilities are functions that map from the space of events, into the space $[0,1]$. Specifically, this is the probability function prototype: $$\Pr: \text{space of events} \rightarrow [0,1]$$
An event is essentially a set of outcomes in $\Omega$. So the space of events is essentially the power set of the space of outcomes $\mathbb{P}(\Omega)$. So we can rewrite the probability definition: $$\Pr: \mathbb{P}(\Omega) \rightarrow [0,1]$$
Random variables $X$ and $Y$ are functions with the prototype $X:\Omega \rightarrow \mathcal{A}$, $Y:\Omega \rightarrow \mathcal{B}$, where $\mathcal{A}$ and $\mathcal{B}$ are some sets.
For any $a \in \mathcal{A}$, if we say $\Pr(X=a)$, clearly $X=a$ is not an event (it is literally a function name being equated against an element of a set, which is wrong in this context). So what we really mean is this: $$\Pr(\{\omega : \omega \in \Omega, X(\omega) = a\})$$
And that makes sense, because $\{\omega : \omega \in \Omega, X(\omega) = a\}$ is an event (a set of outcomes).
But $\Pr(X=a)$ is a fairly popular notation abuse because it makes writing easier. Some do further abuse by stating $\Pr(a)$ which in my view too abusive because it is potentially ambiguous.
Now let's look at my question $\Pr(X=a,Y=b)$. I am not sure what it really means, because I have two possibilities.
Possibility 1: this possibility makes sense to me (but I need your confirmation) since $\{\omega : \omega \in \Omega, X(\omega)=a, Y(\omega)=b\}$ is an event (set of outcomes). $$\Pr(\{\omega : \omega \in \Omega, X(\omega)=a, Y(\omega)=b\})$$
Possibility 2: this possibility makes no perfect sense to me since $\{(\omega_i, \omega_j) : (\omega_i,\omega_j) \in \Omega^2, X(\omega_i)=a, Y(\omega_j)=b\}$ is not a set of outcomes to me... Or is it? This causes me to be doubtful about my understanding. $$\Pr(\{(\omega_i, \omega_j) : (\omega_i,\omega_j) \in \Omega^2, X(\omega_i)=a, Y(\omega_j)=b\})$$
Possibility 3: perhaps you know of a better possibility that I didn't think about? If so kindly share.