Let f be given.
Let Y be given.
Let n be given.
rewrite the current goal using HYeq (from right to left).
An exact proof term for the current goal is HfY.
We prove the intermediate
claim Htail0:
∀i : set, i ∈ ω → n ∈ i → apply_fun f i = 0.
We prove the intermediate
claim HnNat:
nat_p n.
An
exact proof term for the current goal is
(omega_nat_p n HnO).
We prove the intermediate
claim HFfin:
finite F.
We prove the intermediate
claim Hprop:
∀i : set, i ∈ ω ∖ F → apply_fun f i = 0.
Let i be given.
We prove the intermediate
claim HiO:
i ∈ ω.
An
exact proof term for the current goal is
(setminusE1 ω F i Hi).
We prove the intermediate
claim HinF:
i ∉ F.
An
exact proof term for the current goal is
(setminusE2 ω F i Hi).
We prove the intermediate
claim Hordn:
ordinal n.
We prove the intermediate
claim Hordi:
ordinal i.
Apply FalseE to the current goal.
We prove the intermediate
claim HiF:
i ∈ F.
An
exact proof term for the current goal is
(ordsuccI1 n i Hin).
An exact proof term for the current goal is (HinF HiF).
Apply FalseE to the current goal.
We prove the intermediate
claim HiF:
i ∈ F.
rewrite the current goal using Heq (from left to right).
An
exact proof term for the current goal is
(ordsuccI2 n).
An exact proof term for the current goal is (HinF HiF).
An exact proof term for the current goal is (Htail0 i HiO Hnin).
Apply SepI to the current goal.
An exact proof term for the current goal is HfX.
We use F to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HFfin.
An exact proof term for the current goal is Hprop.
Let f be given.
Apply HexF to the current goal.
Let F be given.
Assume HFconj.
We prove the intermediate
claim HFfin:
finite F.
We prove the intermediate
claim HFsupp:
∀i : set, i ∈ ω ∖ F → apply_fun f i = 0.
Set Fomega to be the term
ω ∩ F.
We prove the intermediate
claim HFomegaSubO:
Fomega ⊆ ω.
We prove the intermediate
claim HFomegaSubF:
Fomega ⊆ F.
We prove the intermediate
claim HFomegaFin:
finite Fomega.
An
exact proof term for the current goal is
(Subq_finite F HFfin Fomega HFomegaSubF).
We prove the intermediate
claim Hexn:
∃n ∈ ω, ∀m ∈ Fomega, m ∈ n.
Apply Hexn to the current goal.
Let n be given.
Assume Hnconj.
We prove the intermediate
claim HnO:
n ∈ ω.
An
exact proof term for the current goal is
(andEL (n ∈ ω) (∀m ∈ Fomega, m ∈ n) Hnconj).
We prove the intermediate
claim Hbound:
∀m ∈ Fomega, m ∈ n.
An
exact proof term for the current goal is
(andER (n ∈ ω) (∀m ∈ Fomega, m ∈ n) Hnconj).
Apply SepI to the current goal.
An exact proof term for the current goal is HfX.
Let i be given.
We prove the intermediate
claim HinFomega:
i ∉ Fomega.
We prove the intermediate
claim HinN:
i ∈ n.
An exact proof term for the current goal is (Hbound i HiFomega).
An
exact proof term for the current goal is
(In_no2cycle i n HinN Hnin).
We prove the intermediate
claim HinF:
i ∉ F.
We prove the intermediate
claim HiFomega:
i ∈ Fomega.
An
exact proof term for the current goal is
(binintersectI ω F i HiO HiF).
An exact proof term for the current goal is (HinFomega HiFomega).
We prove the intermediate
claim HiOF:
i ∈ ω ∖ F.
An
exact proof term for the current goal is
(setminusI ω F i HiO HinF).
An exact proof term for the current goal is (HFsupp i HiOF).
∎