Let p be given.
Assume Hp.
Apply Hp to the current goal.
Assume H.
Apply H to the current goal.
Assume _.
We prove the intermediate
claim LpN:
nat_p p.
An
exact proof term for the current goal is
omega_nat_p p Hp1.
We prove the intermediate
claim Lpo:
ordinal p.
We prove the intermediate
claim LpS:
SNo p.
An
exact proof term for the current goal is
nat_p_SNo p LpN.
An exact proof term for the current goal is Hp2.
∎