For a Heyting algebra $H$, the category ${\mathcal H}$ associated to the poset underlying $H$ is a small, skeletal, Cartesian closed category with finite coproducts in which any two parallel morphisms are equal - and in fact this assignment is a bijection. Now if $x\in H$ then $x\wedge -: {\mathcal H}\to{\mathcal H}$ is a left adjoint with right adjoint $x\Rightarrow -$, hence preserves colimits up to canonical isomorphism; in particular, for any $y_1,...,y_n\in{\mathcal H}$, the canonical morphism $\varphi: (x\wedge y_1)\vee ...\vee (x\wedge y_n)\to x\wedge (y_1\vee ...\vee y_n)$ is an isomorphism in ${\mathcal H}$. By the above-mentioned properties of ${\mathcal H}$, this means that $(x\wedge y_1)\vee ...\vee (x\wedge y_n)=x\wedge (y_1\vee ...\vee y_n)$ and that $\varphi$ is the identity.
The Yoneda lemma is hidden here in the proof of the fact that left adjoints preserve colimits.