Let $P$ be a distributive lattice and let for $a,b \in P$ by $a \land b$ and $a \lor b$ denote the usual notion of infimum and supremum.
How can I show the following isomorphism?
$$[a \land b , a \lor b] \cong [a \land b,a] \times [a \land b,b]$$
The following is obviously true if for example $a \land b = b$ and $a \lor b = a$ but I don't know how to prove it in general.
The first step is to find a reasonable candidate for explicit isomorphism.
Here the most natural idea is $f(x)=(x\wedge a, x\wedge b)$. And for the reciprocal, $g(x_a,x_b)=x_a\vee x_b$.
We can show that they are reciprocal, using the fact that the lattice is distributive: $g(f(x))= (x\wedge a)\vee(x\wedge b)= x\vee (a\wedge b)=x$.
The fact that is is a lattice morphism is also a consequence of distributivity, left as exercise...