In our probability class, we recently learned that the probability measure, $P$, is a set function that takes in a subset of some sample space, $\Omega$, and returns a numerical value that satisfies the probability axioms. We are now learning about conditional probabilities, namely, $P(A|B)$, for two events $A, B \subset \Omega$. To my understanding, $A|B$ only makes sense in a probabilistic context as "the event that $A$ occurs given that $B$ occurs". However, since the probability measure is a set function, does this mean that $A|B$ is also a set somehow? I am unable to see how this makes sense. Thanks.
EDIT: Thanks for some of the answers so far. If $A|B$ is not a set, then what exactly is it's type? If it isn't a set, why can we take the informality of passing it to a set function?
Good question. The literal answer is "No, $A|B$ is not a set." But there is good intuition behind your question. $A|B$ is not a set, but $A \cap B$ is. Conditional probability defines a probability function on the subsets of the subset (event) $B$ of the universe $\Omega$.