Let X, T1, T2 and T3 be given.
Assume H12 H23.
We prove the intermediate
claim H12eq:
T1 = T2.
We prove the intermediate
claim H23eq:
T2 = T3.
Apply and3I to the current goal.
An exact proof term for the current goal is HT1.
An exact proof term for the current goal is HT3.
rewrite the current goal using H12eq (from left to right).
rewrite the current goal using H23eq (from left to right).
Use reflexivity.
∎