Let X, d, x, n, y and z be given.
We prove the intermediate
claim HnNat:
nat_p n.
An
exact proof term for the current goal is
(omega_nat_p n HnO).
rewrite the current goal using Heq (from right to left).
An exact proof term for the current goal is Hlt2.
∎