Let $X$ be a topological space and let $\Delta = \{(x,x) : x\in X \}$ be the diagonal of $X\times X$ (with the product topology).
we know that $X$ is ${\rm T}_1$ if and only if $\Delta$ can be written as intersection of open subsets of $X\times X$.
I need a Counterexample for : $X$ is ${\rm T}_1$ ، but $\Delta = \{(x,x) : x\in X \}$ is not closed in $X\times X$ (with the product topology).
we know the cofinite topology on a set X is the coarsest topology on X that satisfies the ${\rm T}_1$ separation axiom.
how we can show $\Delta = \{(x,x) : x\in X \}$ is not close in $X\times X$ (with the product topology) and cofinite topology on a set X?