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