Let X, n, e, x and k be given.
We prove the intermediate
claim HkO:
k ∈ ω.
An
exact proof term for the current goal is
(omega_TransSet n HnO k HkIn).
We prove the intermediate
claim HkNat:
nat_p k.
An
exact proof term for the current goal is
(omega_nat_p k HkO).
An exact proof term for the current goal is (HtermR k HkIn).
An exact proof term for the current goal is (Hterm0 k HkIn).
rewrite the current goal using
(nat_primrec_S 0 step k HkNat) (from left to right).
rewrite the current goal using Hcomm (from left to right).
∎