Let X, d, U and x be given.
We prove the intermediate
claim Hcovers:
covers X U.
We prove the intermediate
claim Hexu:
∃u : set, u ∈ U ∧ x ∈ u.
An exact proof term for the current goal is (Hcovers x HxX).
Apply Hexu to the current goal.
Let u be given.
We prove the intermediate
claim HuU:
u ∈ U.
An
exact proof term for the current goal is
(andEL (u ∈ U) (x ∈ u) Hupair).
We prove the intermediate
claim Hxu:
x ∈ u.
An
exact proof term for the current goal is
(andER (u ∈ U) (x ∈ u) Hupair).
We use u to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HuU.
An exact proof term for the current goal is Hexr.
∎