Let sub, K, leK, phi and x be given.
Apply Hw to the current goal.
Assume Hwcore Hvals.
Apply Hwcore to the current goal.
Assume Hwcore2 Hcofinal.
Apply Hwcore2 to the current goal.
Assume Hwcore3 Hmono.
Apply Hwcore3 to the current goal.
Assume Hwcore4 Hdomphi.
Apply Hwcore4 to the current goal.
Assume Hwcore5 Hgraphphi.
Apply Hwcore5 to the current goal.
Assume Hwcore6 Htotphi.
Apply Hwcore6 to the current goal.
Assume Hwcore7 Hdomsub.
Apply Hwcore7 to the current goal.
Assume Hwcore8 Hgraphsub.
Apply Hwcore8 to the current goal.
Assume Hwcore9 Htotsub.
Apply Hwcore9 to the current goal.
Assume Hwcore10 Hdomnet2.
Apply Hwcore10 to the current goal.
Assume Hwcore11 Hgraphnet2.
Apply Hwcore11 to the current goal.
Assume Hwcore12 Htotnet2.
Apply Hwcore12 to the current goal.
Assume HdirJ2 HdirK.
Apply Hconv to the current goal.
Assume HcCore HcTail.
Apply HcCore to the current goal.
Assume HcCore5 HxX.
Apply HcCore5 to the current goal.
Assume HcCore4 HdomC.
Apply HcCore4 to the current goal.
Assume HcCore3 HgraphC.
Apply HcCore3 to the current goal.
Assume HcCore2 HtotC.
Apply HcCore2 to the current goal.
Assume HTx2 HdirK2.
We prove the intermediate
claim HcovX:
X ⊆ ⋃ Fam.
We prove the intermediate
claim HxUnion:
x ∈ ⋃ Fam.
An exact proof term for the current goal is (HcovX x HxX).
We prove the intermediate
claim HexU:
∃U : set, x ∈ U ∧ U ∈ Fam.
An
exact proof term for the current goal is
(UnionE Fam x HxUnion).
Apply HexU to the current goal.
Let U be given.
Assume HU.
We prove the intermediate
claim HxU:
x ∈ U.
An
exact proof term for the current goal is
(andEL (x ∈ U) (U ∈ Fam) HU).
We prove the intermediate
claim HUFam:
U ∈ Fam.
An
exact proof term for the current goal is
(andER (x ∈ U) (U ∈ Fam) HU).
We prove the intermediate
claim HUopen:
U ∈ Tx.
We prove the intermediate
claim Hexk0:
∃k0 : set, k0 ∈ K ∧ ∀k : set, k ∈ K → (k0,k) ∈ leK → apply_fun sub k ∈ U.
An exact proof term for the current goal is (HcTail U HUopen HxU).
Apply Hexk0 to the current goal.
Let k0 be given.
Assume Hk0pack.
We prove the intermediate
claim Hk0K:
k0 ∈ K.
An
exact proof term for the current goal is
(andEL (k0 ∈ K) (∀k : set, k ∈ K → (k0,k) ∈ leK → apply_fun sub k ∈ U) Hk0pack).
We prove the intermediate
claim HtailU:
∀k : set, k ∈ K → (k0,k) ∈ leK → apply_fun sub k ∈ U.
An
exact proof term for the current goal is
(andER (k0 ∈ K) (∀k : set, k ∈ K → (k0,k) ∈ leK → apply_fun sub k ∈ U) Hk0pack).
Set jU to be the term
{U}.
We prove the intermediate
claim HjUsub:
jU ⊆ Fam.
Let V be given.
We prove the intermediate
claim HVeq:
V = U.
An
exact proof term for the current goal is
(SingE U V HV).
rewrite the current goal using HVeq (from left to right).
An exact proof term for the current goal is HUFam.
We prove the intermediate
claim HjUpow:
jU ∈ 𝒫 Fam.
An
exact proof term for the current goal is
(PowerI Fam jU HjUsub).
We prove the intermediate
claim HjUfin:
finite jU.
An
exact proof term for the current goal is
(Sing_finite U).
We prove the intermediate
claim HjUJ:
jU ∈ J.
An
exact proof term for the current goal is
(SepI (𝒫 Fam) (λF0 : set ⇒ finite F0) jU HjUpow HjUfin).
We prove the intermediate
claim HexkU:
∃kU : set, kU ∈ K ∧ (jU,apply_fun phi kU) ∈ le.
An exact proof term for the current goal is (Hcofinal jU HjUJ).
Apply HexkU to the current goal.
Let kU be given.
Assume HkUpack.
We prove the intermediate
claim HkUK:
kU ∈ K.
An
exact proof term for the current goal is
(andEL (kU ∈ K) ((jU,apply_fun phi kU) ∈ le) HkUpack).
We prove the intermediate
claim HjUle:
(jU,apply_fun phi kU) ∈ le.
An
exact proof term for the current goal is
(andER (kU ∈ K) ((jU,apply_fun phi kU) ∈ le) HkUpack).
We prove the intermediate
claim Hexkstar:
∃kstar : set, kstar ∈ K ∧ (k0,kstar) ∈ leK ∧ (kU,kstar) ∈ leK.
Apply HdirK2 to the current goal.
Assume _ HdirUB.
An exact proof term for the current goal is (HdirUB k0 kU Hk0K HkUK).
Apply Hexkstar to the current goal.
Let kstar be given.
Assume Hkstarpack.
We prove the intermediate
claim Hkstar12:
kstar ∈ K ∧ (k0,kstar) ∈ leK.
An
exact proof term for the current goal is
(andEL (kstar ∈ K ∧ (k0,kstar) ∈ leK) ((kU,kstar) ∈ leK) Hkstarpack).
We prove the intermediate
claim HkUle:
(kU,kstar) ∈ leK.
An
exact proof term for the current goal is
(andER (kstar ∈ K ∧ (k0,kstar) ∈ leK) ((kU,kstar) ∈ leK) Hkstarpack).
We prove the intermediate
claim HkstarK:
kstar ∈ K.
An
exact proof term for the current goal is
(andEL (kstar ∈ K) ((k0,kstar) ∈ leK) Hkstar12).
We prove the intermediate
claim Hk0le:
(k0,kstar) ∈ leK.
An
exact proof term for the current goal is
(andER (kstar ∈ K) ((k0,kstar) ∈ leK) Hkstar12).
We prove the intermediate
claim HsubU:
apply_fun sub kstar ∈ U.
An exact proof term for the current goal is (HtailU kstar HkstarK Hk0le).
We prove the intermediate
claim Hphi_kU_J:
apply_fun phi kU ∈ J.
We prove the intermediate
claim Hphi_kstar_J:
apply_fun phi kstar ∈ J.
An exact proof term for the current goal is (Hmono kU kstar HkUK HkstarK HkUle).
We prove the intermediate
claim HjUle2:
(jU,apply_fun phi kstar) ∈ le.
We prove the intermediate
claim HjUsubPhi:
jU ⊆ apply_fun phi kstar.
We prove the intermediate
claim HUinPhi:
U ∈ apply_fun phi kstar.
Apply (HjUsubPhi U) to the current goal.
An
exact proof term for the current goal is
(SingI U).
An exact proof term for the current goal is (Hvals kstar HkstarK).
rewrite the current goal using Hsubeq (from left to right).
rewrite the current goal using Hnet0eq (from left to right).
Use reflexivity.
We prove the intermediate
claim HpickU:
pickx (apply_fun phi kstar) ∈ U.
rewrite the current goal using HsubisPick (from right to left) at position 1.
An exact proof term for the current goal is HsubU.
An
exact proof term for the current goal is
(Hpick_spec (apply_fun phi kstar) Hphi_kstar_J).
We prove the intermediate
claim HnotU:
¬ (pickx (apply_fun phi kstar) ∈ U).
Apply HnotUnion to the current goal.
An
exact proof term for the current goal is
(UnionI (apply_fun phi kstar) (pickx (apply_fun phi kstar)) U HmemU HUinPhi).
An exact proof term for the current goal is (HnotU HpickU).
∎