As a self-studier, I was reading a proof that any open subset, U, of $\mathbb{R}$ is a disjoint union of open intervals. The proof was based on an equivalence relation where x~y if (x,y) is contained in U.
I have two questions regarding the verification that this is a valid equivalence relation. (Sorry if they are obvious.)
First, for reflexivity, x~x, is (x,x) the null set?
Second, regarding transivity, if x < y < z are elements of U, with x~y and y~z, then (x,y) and (y,z) are both contained in U. My question is how can it be claimed that x~z, i.e., that (x,z) is in U, since y is not in either of the sets (although it was stated that y is an element of U).
Thanks.