Let v be given.
Apply (ReplE_impred X (λx0 : set ⇒ pick x0) v HvV (v ∈ U)) to the current goal.
Let x be given.
rewrite the current goal using HvEq (from left to right).
We prove the intermediate
claim Hcov:
covers X U.
We prove the intermediate
claim Hexu:
∃u : set, u ∈ U ∧ x ∈ u.
An exact proof term for the current goal is (Hcov x HxX).
We prove the intermediate
claim Hp:
pick x ∈ U ∧ x ∈ pick x.
An
exact proof term for the current goal is
(Eps_i_ex (λu : set ⇒ u ∈ U ∧ x ∈ u) Hexu).
An
exact proof term for the current goal is
(andEL (pick x ∈ U) (x ∈ pick x) Hp).