Let X, F and y be given.
We will
prove ∃x ∈ X, y ∈ F x.
Let Y be given.
Let x be given.
We use x to witness the existential quantifier.
We will
prove x ∈ X ∧ y ∈ F x.
Apply andI to the current goal.
An exact proof term for the current goal is H4.
rewrite the current goal using H5 (from right to left).
An exact proof term for the current goal is H2.
∎