Let k be given.
rewrite the current goal using H5 (from left to right).
We prove the intermediate
claim L1:
k ∈ m.
rewrite the current goal using H5 (from left to right).
An
exact proof term for the current goal is
(ordsuccI2 k).
We prove the intermediate
claim L2:
k ∈ n.
An
exact proof term for the current goal is
(nat_trans n Hn m H2 k L1).
rewrite the current goal using (IHn k L2) (from right to left).
An
exact proof term for the current goal is
(Inj1I2 n k L2).