Let $F:\mathbb{R}\to[0,1]$ be a right continuous non-decreasing function. Prove that $\sup\{x\in\mathbb{R}:F(x)<w\}\leq x\iff w\leq F(x)$.
The common trick involving supremum (show the supremum is always less than arbitrary dominant factor) doesn't work well for me and I am not sure how I should use right continuity in this case. This comes up in the proof that the random variable corresponding to any distribution function always exists. Could someone give any insight?