Let X, Y and f be given.
Assume Hf1 Hf2 Hf3.
We will prove (uX, f u Y) (u vX, f u = f vu = v) (wY, uX, f u = w).
Apply and3I to the current goal.
An exact proof term for the current goal is Hf1.
An exact proof term for the current goal is Hf2.
An exact proof term for the current goal is Hf3.