Assume is Hausdorff. For any outside the diagonal, the points differ, so choose disjoint open neighborhoods . Their rectangle contains and misses the diagonal. Thus the complement of the diagonal is open in the product topology, proving (i) implies (ii). This is one direction of the closed diagonal theorem.