Let U be given.
We prove the intermediate
claim HUsubX:
U ⊆ X.
An
exact proof term for the current goal is
(PowerE X U (SepE1 (𝒫 X) (λU0 : set ⇒ ∀x0 ∈ U0, ∃b0 ∈ C, x0 ∈ b0 ∧ b0 ⊆ U0) U HUgen)).
We prove the intermediate
claim HUprop:
∀x ∈ U, ∃c ∈ C, x ∈ c ∧ c ⊆ U.
An
exact proof term for the current goal is
(SepE2 (𝒫 X) (λU0 : set ⇒ ∀x0 ∈ U0, ∃b0 ∈ C, x0 ∈ b0 ∧ b0 ⊆ U0) U HUgen).
Set Fam to be the term
{c ∈ C|c ⊆ U} of type
set.
We prove the intermediate
claim HFamSubC:
Fam ⊆ C.
Let c be given.
Assume HcFam.
An
exact proof term for the current goal is
(SepE1 C (λc0 : set ⇒ c0 ⊆ U) c HcFam).
We prove the intermediate
claim HFamSubT:
Fam ⊆ T.
Let c be given.
Assume HcFam.
We prove the intermediate
claim HcC:
c ∈ C.
An exact proof term for the current goal is (HFamSubC c HcFam).
An exact proof term for the current goal is (HCsub c HcC).
We prove the intermediate
claim HFamPowT:
Fam ∈ 𝒫 T.
An
exact proof term for the current goal is
(PowerI T Fam HFamSubT).
We prove the intermediate
claim HUnionSubU:
⋃ Fam ⊆ U.
Let x be given.
Assume HxUnion.
Let c be given.
Assume Hxc HcFam.
We prove the intermediate
claim Hcprop:
c ⊆ U.
An
exact proof term for the current goal is
(SepE2 C (λc0 : set ⇒ c0 ⊆ U) c HcFam).
An exact proof term for the current goal is (Hcprop x Hxc).
We prove the intermediate
claim HUsubUnion:
U ⊆ ⋃ Fam.
Let x be given.
Assume HxU.
We prove the intermediate
claim Hex:
∃c ∈ C, x ∈ c ∧ c ⊆ U.
An exact proof term for the current goal is (HUprop x HxU).
Apply Hex to the current goal.
Let c be given.
Assume Hcpair.
We prove the intermediate
claim HcC:
c ∈ C.
An
exact proof term for the current goal is
(andEL (c ∈ C) (x ∈ c ∧ c ⊆ U) Hcpair).
We prove the intermediate
claim Hcprop:
x ∈ c ∧ c ⊆ U.
An
exact proof term for the current goal is
(andER (c ∈ C) (x ∈ c ∧ c ⊆ U) Hcpair).
We prove the intermediate
claim Hxc:
x ∈ c.
An
exact proof term for the current goal is
(andEL (x ∈ c) (c ⊆ U) Hcprop).
We prove the intermediate
claim HcsubU:
c ⊆ U.
An
exact proof term for the current goal is
(andER (x ∈ c) (c ⊆ U) Hcprop).
We prove the intermediate
claim HcFam:
c ∈ Fam.
An
exact proof term for the current goal is
(SepI C (λc0 : set ⇒ c0 ⊆ U) c HcC HcsubU).
An
exact proof term for the current goal is
(UnionI Fam x c Hxc HcFam).
We prove the intermediate
claim HUnionEqU:
⋃ Fam = U.
Let x be given.
Assume HxUnion.
An exact proof term for the current goal is (HUnionSubU x HxUnion).
Let x be given.
Assume HxU.
An exact proof term for the current goal is (HUsubUnion x HxU).
We prove the intermediate
claim HUnionInT:
⋃ Fam ∈ T.
An exact proof term for the current goal is (HUnionClosed Fam HFamPowT).
rewrite the current goal using HUnionEqU (from right to left).
An exact proof term for the current goal is HUnionInT.