Assume Hqr.
Apply Hqr to the current goal.
Assume Hqr1: alpha = beta.
Apply orIR to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is Hqr1.
An
exact proof term for the current goal is
PNoEq_tra_ alpha p q r Hpq Hqr2.
∎