Say we have $ x \in R$ and a random variable $ X$.
My lecture notes say that if we look at the following event:
$$ \{\omega \in \Omega \mid X(\omega) = x\} = X^{-1}(x)$$ we can call it the event "$X = x$", and can calculate its probabilty accordingly:
$$ \Pr\lbrack X=x\rbrack = \Pr\lbrack X^{-1}(x)\rbrack = \Pr\lbrack \{\omega \in \Omega \mid X(\omega) = x\} $$
Which does not make sense to be because as I do not undestand what $X^{-1}$ means, can anyone clear this up ?
The lesson of the lecture is that a random variable $X$ is a function on a probability space. The notation $X^{-1}(x)$ means the pre-image of the value $x$, that is, the set of everything in the probability space that maps to the same value $x$.