Let U be given.
We prove the intermediate
claim HG:
G ⊆ U ∧ finite G ∧ X ⊆ ⋃ G.
An
exact proof term for the current goal is
(Eps_i_ex (λG0 : set ⇒ G0 ⊆ U ∧ finite G0 ∧ X ⊆ ⋃ G0) Hfin).
We use G to witness the existential quantifier.
Apply andI to the current goal.
We prove the intermediate
claim HG1:
G ⊆ U ∧ finite G.
An
exact proof term for the current goal is
(andEL (G ⊆ U ∧ finite G) (X ⊆ ⋃ G) HG).
We prove the intermediate
claim HGsub:
G ⊆ U.
An
exact proof term for the current goal is
(andEL (G ⊆ U) (finite G) HG1).
We prove the intermediate
claim HGfin:
finite G.
An
exact proof term for the current goal is
(andER (G ⊆ U) (finite G) HG1).
We prove the intermediate
claim HsubU:
X ⊆ ⋃ G.
An
exact proof term for the current goal is
(andER (G ⊆ U ∧ finite G) (X ⊆ ⋃ G) HG).
∎