Let f and N be given.
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 HsuccN:
ordsucc N ∈ ω.
An
exact proof term for the current goal is
(omega_ordsucc N HNomega).
Let i be given.
An exact proof term for the current goal is (Hall i Hi).
Let i be given.
Let j be given.
We prove the intermediate
claim HiO:
i ∈ ω.
We prove the intermediate
claim HjO:
j ∈ ω.
We prove the intermediate
claim Hord_i:
ordinal i.
We prove the intermediate
claim Hord_j:
ordinal j.
An exact proof term for the current goal is (Hinc i j HiO HjO Hij).
Assume Heq'.
Let S and T be given.
Assume HeqST.
Assume Hmem.
rewrite the current goal using HeqST (from right to left).
An exact proof term for the current goal is Hmem.
rewrite the current goal using Heq' (from right to left).
Use reflexivity.
An
exact proof term for the current goal is
(Hsubst (apply_fun f j) (apply_fun f i) Hsym HfiIn).
An
exact proof term for the current goal is
(FalseE (Hneq Heq) (i = j)).
An exact proof term for the current goal is Hij.
An exact proof term for the current goal is (Hinc j i HjO HiO Hji).
Assume Heq'.
Let S and T be given.
Assume HeqST.
Assume Hmem.
rewrite the current goal using HeqST (from right to left).
An exact proof term for the current goal is Hmem.
rewrite the current goal using Heq' (from right to left).
Use reflexivity.
An
exact proof term for the current goal is
(Hsubst (apply_fun f i) (apply_fun f j) Hsym HfjIn).
rewrite the current goal using Heq (from right to left).
Use reflexivity.
An
exact proof term for the current goal is
(FalseE (Hneq HsymHeq) (i = j)).
Let i be given.
Let j be given.
An exact proof term for the current goal is (Hinj i Hi j Hj).
An exact proof term for the current goal is (Hbad Hgood).
Apply Hex1 to the current goal.
Let i be given.
Assume Hnimp.
We use i to witness the existential quantifier.
An exact proof term for the current goal is Hipair.
Apply Hexbad to the current goal.
Let k be given.
Assume Hkpair.
We prove the intermediate
claim HkInSucc:
k ∈ ordsucc N.
We prove the intermediate
claim HknotIn:
¬ (apply_fun f k ∈ N).
We prove the intermediate
claim HkOmega:
k ∈ ω.
We prove the intermediate
claim HfkOmega:
apply_fun f k ∈ ω.
An exact proof term for the current goal is (HfFun k HkOmega).
An
exact proof term for the current goal is
(FalseE (HknotIn Hlt) (∃k0 : set, k0 ∈ ω ∧ N ⊆ apply_fun f k0)).
We use k to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HkOmega.
rewrite the current goal using Heq (from left to right).
An
exact proof term for the current goal is
(Subq_ref N).
We use k to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HkOmega.
An exact proof term for the current goal is (Htrans N Hgt).
∎