If a random variable $X : \Omega \to \mathbb R$ is $\{ \emptyset, \Omega \}$-measurable, then it is constant. I want to generalise this result:
Now if $\mathcal G$ is a $\sigma$-algebra such that for each $A \in \mathcal G$ we have $P(A) = 0$ or $P(A) = 1$, then if a random variable $X : \Omega \to \mathbb R$ is $\mathcal G$-measurable, then it is almost surely constant, meaning that $P(X = c) = 1$ for some $c \in \mathbb R$.
I am looking for a proof of this fact. I conjecture that $$ X \mbox{ is almost surely constant } \Leftrightarrow F(x) = 1_{[a,\infty)} $$ for some $a \in \mathbb R$, where $F(x) := P(X \le x)$ denotes the distribution function, but this I am also unable to prove?