I am reading through Skornjakov's Elements of Lattice Theory (1977), and am having trouble understanding what is meant by a diagonal relation. I am also unclear about how the diagonal differs from the identity.
The book defines a diagonal and identity relation as follows:
The relation consisting of all pairs $(a,a)$, where $a \in P$, is called the diagonal and denoted by $\Delta$. The relation coinciding with the entire set $P \times P$ is called the identity.
I am trying to think through this with two basic examples. Take the set $A = \{1,2,3\}$ and $B = \{5\}$. What are the diagonal and identity of $A \times A$? What are the diagonal and identity of $B \times B$?
My sense of this is that the identity of $A \times A$ is $\{(1,1),(2,2),(3,3)\}$ and the identity of $B \times B$ is $\{5\}$. I am not sure what the diagonals are?