Let x be given.
We prove the intermediate
claim HxZ:
x â Zplus.
We prove the intermediate
claim HxNe0:
x â 0.
We prove the intermediate
claim HxEq1:
x = ordsucc 0.
Apply (Hcase (x = ordsucc 0)) to the current goal.
Apply FalseE to the current goal.
We prove the intermediate
claim Hcase0:
x â 0 ⨠x = 0.
An
exact proof term for the current goal is
(ordsuccE 0 x HxIn1).
We prove the intermediate
claim Hx0:
x = 0.
Apply (Hcase0 (x = 0)) to the current goal.
Apply FalseE to the current goal.
An
exact proof term for the current goal is
(EmptyE x HxIn0).
Assume Hx0.
An exact proof term for the current goal is Hx0.
An exact proof term for the current goal is (HxNe0 Hx0).
Assume HxEq.
An exact proof term for the current goal is HxEq.
rewrite the current goal using HxEq1 (from left to right).