Clearly π βπ³ππ(π,π) is homotopic to itself via β(π₯,π‘) =π(π₯),
so β is reflexive.
If β :π Γ[0,1] βπ is a homotopy from π to π
then ββ² :(π₯,π‘) β¦β(π₯,1 βπ‘) is a homotopy from π to π,
so β is symmetric.
If β is a homotopy from π to π and ββ² is a homotopy from π to π,
then
ββ²β
β={β(2π‘)0β€π‘β€12ββ²(2π‘β1)12β€π‘β€1is a homotopy from π to π,
so β is transitive.
Therefore β is an equivalence relation.
To show β is a congruence relation, let π1,π2 :π βπ with β1 :π1 βπ2 and π1,π2 :π βπ with β2 :π1 βπ2.
Then π2β1 :π2π1 βπ2π2,
and similarly β2(π( β), β) :π1π1 βπ2π1.
Thus π1π1 βπ2π2, as required.