Let p be given.
Apply In_ind to the current goal.
Let alpha be given.
We will prove p alpha.
Apply (H1 alpha H2) to the current goal.
Let beta be given.
We will prove p beta.
Apply (IH beta H3) to the current goal.
An
exact proof term for the current goal is
(ordinal_Hered alpha H2 beta H3).
∎