Let x be given.
We prove the intermediate
claim HUsub:
U ⊆ X.
We prove the intermediate
claim HxX:
x ∈ X.
An exact proof term for the current goal is (HUsub x Hx).
We prove the intermediate
claim Hwitness:
U ∈ Tx ∧ x ∈ U ∧ U ⊆ U.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HU.
An exact proof term for the current goal is Hx.
An
exact proof term for the current goal is
(Subq_ref U).
We prove the intermediate
claim Hexists:
∃V : set, V ∈ Tx ∧ x ∈ V ∧ V ⊆ U.
We use U to witness the existential quantifier.
An exact proof term for the current goal is Hwitness.
An
exact proof term for the current goal is
(SepI X (λx0 ⇒ ∃V : set, V ∈ Tx ∧ x0 ∈ V ∧ V ⊆ U) x HxX Hexists).
∎