Let p, q and α be given.
Assume Ha.
Let β be given.
Assume Hb H1.
Let γ be given.
Assume H2: γ β.
We will prove p γ q γ.
Apply H1 to the current goal.
We will prove γ α.
Apply Ha to the current goal.
Assume Ha1 _.
An exact proof term for the current goal is Ha1 β Hb γ H2.