Let n be given.
Assume HnZ.
We prove the intermediate
claim HnOmega:
n ∈ ω.
We prove the intermediate
claim HnNat:
nat_p n.
An
exact proof term for the current goal is
(omega_nat_p n HnOmega).
We prove the intermediate
claim HnNeq0:
n ≠ 0.
An
exact proof term for the current goal is
(nat_inv n HnNat).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HnNeq0 Hn0).
Apply Hex to the current goal.
Let m be given.
Assume Hmpair.
Apply Hmpair to the current goal.
Assume HmNat HnEq.
Apply (xm (m = 0)) to the current goal.
rewrite the current goal using HnEq (from left to right).
rewrite the current goal using Hm0 (from left to right).
We prove the intermediate
claim HmZ:
m ∈ Zplus.
rewrite the current goal using HnEq (from left to right).
∎