Let x be given.
We prove the intermediate
claim HxX:
x ∈ X.
An
exact proof term for the current goal is
(SepE1 X (λy ⇒ apply_fun id y ∈ V) x Hx).
We prove the intermediate
claim Hidx_in_V:
apply_fun id x ∈ V.
An
exact proof term for the current goal is
(SepE2 X (λy ⇒ apply_fun id y ∈ V) x Hx).
We prove the intermediate
claim Hidx_eq:
apply_fun id x = x.
rewrite the current goal using Hidx_eq (from right to left).
An exact proof term for the current goal is Hidx_in_V.