I want to prove that the equalizer of $\pi_0,\pi_1: B^2 \rightarrow B$ is the diagonal $\delta_B:B \rightarrow B^2$.
That $\delta_B$ equalizes is easy enough but the universal part is a little bit more tricky for me. Let $x:T \rightarrow B^2$ such that $\pi_0x =\pi_1 x$, then there should exist a $\bar{x}:T \rightarrow B$ such that $x=\delta_B \bar{x}$.
My first thought was to try $\bar{x}=\pi_0 x$, but that doesn't help since $\delta_B \bar{x}= \delta_B (\pi_0 x) = (\delta_B \pi_0)x$ doesn't equal $x$.
Any help is much appreciated!
By definition $\delta_B$ is the unique arrow $B\to B\times B$ with $\pi_0\delta_B=1_B=\pi_1\delta_B$.
If $x:T\to B\times B$ such that $\pi_0x=\pi_1x$ then for $\bar x:=\pi_0x=\pi_1x$ we find the equalities:
This allows the conclusion that: $$\delta_B\bar x=x$$