rewrite the current goal using HtEq (from left to right).
We prove the intermediate
claim HiNat:
nat_p i.
An
exact proof term for the current goal is
(nat_ordsucc i HiNat).
rewrite the current goal using
(nat_primrec_S 0 step i HiNat) (from left to right).
rewrite the current goal using
(nat_primrec_S 0 stepS i HiNat) (from left to right).
rewrite the current goal using Hsum_i (from left to right).
We prove the intermediate
claim HsiDom:
ordsucc i ∈ n.
An exact proof term for the current goal is HsiN.
We prove the intermediate
claim HiDom:
i ∈ n.
An exact proof term for the current goal is HiN.
rewrite the current goal using Hsa (from left to right).
We prove the intermediate
claim Hii:
i = i.
Use reflexivity.
rewrite the current goal using Happ_si (from left to right).
rewrite the current goal using Happ_i (from left to right).
We prove the intermediate
claim HiO:
i ∈ ω.
An
exact proof term for the current goal is
(omega_TransSet n HnO i HiN).
Let k be given.
We prove the intermediate
claim HkN:
k ∈ n.
Let k be given.
We prove the intermediate
claim HkN:
k ∈ n.
rewrite the current goal using Hcom3 (from left to right).
Use reflexivity.
An
exact proof term for the current goal is
(ordsuccE t (ordsucc i) HsiInSucc).
We prove the intermediate
claim HsiInT:
ordsucc i ∈ t.
Apply (Hcase (ordsucc i ∈ t)) to the current goal.
An exact proof term for the current goal is H.
Apply FalseE to the current goal.
We prove the intermediate
claim Heq2:
t = ordsucc i.
Use symmetry.
An exact proof term for the current goal is Heq.
An exact proof term for the current goal is (HtNeq Heq2).
We prove the intermediate
claim HtInN:
t ∈ n.
An
exact proof term for the current goal is
(ordsuccE n (ordsucc t) HtSIn).
Apply (HstIn (t ∈ n)) to the current goal.
We prove the intermediate
claim HnOrd:
ordinal n.
We prove the intermediate
claim HnTrans:
TransSet n.
We prove the intermediate
claim Hsub:
ordsucc t ⊆ n.
An
exact proof term for the current goal is
(HnTrans (ordsucc t) HstInN).
An
exact proof term for the current goal is
(Hsub t (ordsuccI2 t)).
rewrite the current goal using HstEq (from right to left).
An
exact proof term for the current goal is
(ordsuccI2 t).
We prove the intermediate
claim HtOrd:
ordinal t.
We prove the intermediate
claim HtTrans:
TransSet t.
We prove the intermediate
claim HbaseSubT:
base ⊆ t.
Let z be given.
rewrite the current goal using Heq (from left to right).
An exact proof term for the current goal is HsiInT.
An exact proof term for the current goal is Hz.
An
exact proof term for the current goal is
(ordsuccE (ordsucc i) z HzInSucc).
We prove the intermediate
claim HzInOi:
z ∈ ordsucc i.
Apply (HzInOr (z ∈ ordsucc i)) to the current goal.
An exact proof term for the current goal is H.
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hneq Heq).
We prove the intermediate
claim HsubOi:
ordsucc i ⊆ t.
An
exact proof term for the current goal is
(HtTrans (ordsucc i) HsiInT).
An exact proof term for the current goal is (HsubOi z HzInOi).
An
exact proof term for the current goal is
(IH (ordsuccI1 n t HtInN) HbaseSubT).
rewrite the current goal using
(nat_primrec_S 0 step t HtNat) (from left to right).
rewrite the current goal using
(nat_primrec_S 0 stepS t HtNat) (from left to right).
rewrite the current goal using Heq_t (from left to right).
We prove the intermediate
claim HtDom:
t ∈ n.
An exact proof term for the current goal is HtInN.
We prove the intermediate
claim HtNeqI:
¬ (t = i).
We prove the intermediate
claim HsiInI:
ordsucc i ∈ i.
rewrite the current goal using Heq (from right to left) at position 2.
An exact proof term for the current goal is HsiInT.
We prove the intermediate
claim HiOrd:
ordinal i.
We prove the intermediate
claim HiTrans:
TransSet i.
We prove the intermediate
claim Hsub:
ordsucc i ⊆ i.
An
exact proof term for the current goal is
(HiTrans (ordsucc i) HsiInI).
We prove the intermediate
claim Hii:
i ∈ i.
An
exact proof term for the current goal is
(Hsub i (ordsuccI2 i)).
An
exact proof term for the current goal is
((In_irref i) Hii).
We prove the intermediate
claim HtNeqSi:
¬ (t = ordsucc i).
An exact proof term for the current goal is (HtNeq Heq).
rewrite the current goal using Hsame (from left to right).
Use reflexivity.