Let $\mathbb{R}^2 := \mathbb{R} \times \mathbb{R}$ have the product topology (where $\mathbb{R}$ has the standard order topology). Let $D = \{(x,x) | x \in \mathbb{R}\}$ be the diagonal in $\mathbb{R}^2$. Show that $D$ is closed in $\mathbb{R}^2$.
Here, its all in Reals. I did it using Hausdorff but I cant use that. My prof said show that using if its complement (i.e. $D^C$) is open then $D$ is closed or using some other technique.
Below is what I did, please check and let me know if there is anything wrong or if it require a better notation. Thanks!!
