Let x be given.
We prove the intermediate
claim HxZ:
x â Zplus.
We prove the intermediate
claim Hmemb:
m â x.
An
exact proof term for the current goal is
(ordsuccE (ordsucc m) x HxInb).
We prove the intermediate
claim HxEq:
x = ordsucc m.
Apply (Hcase (x = ordsucc m)) to the current goal.
Apply FalseE to the current goal.
We prove the intermediate
claim Hcase2:
x â m ⨠x = m.
An
exact proof term for the current goal is
(ordsuccE m x HxIn1).
We prove the intermediate
claim HxInm:
x â m.
Apply (Hcase2 (x â m)) to the current goal.
Assume Hxm.
An exact proof term for the current goal is Hxm.
Assume Hxeq.
Apply FalseE to the current goal.
We prove the intermediate
claim Hmm:
m â m.
rewrite the current goal using Hxeq (from right to left) at position 2.
An exact proof term for the current goal is Hmemb.
An
exact proof term for the current goal is
(In_irref m Hmm).
An
exact proof term for the current goal is
(In_no2cycle m x Hmemb HxInm).
Assume Hxeq.
An exact proof term for the current goal is Hxeq.
rewrite the current goal using HxEq (from left to right).
An
exact proof term for the current goal is
(SingI (ordsucc m)).