Let f, U and V be given.
Let y be given.
Let x be given.
We prove the intermediate
claim HxV:
x ∈ V.
An exact proof term for the current goal is (HUV x HxU).
rewrite the current goal using Hyx (from left to right).
An
exact proof term for the current goal is
(ReplI V (λx0 : set ⇒ apply_fun f x0) x HxV).
∎