Let X, Tx, Y, Ty and f be given.
We prove the intermediate
claim Hf_on:
function_on f X Y.
Apply andI to the current goal.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HTx.
An exact proof term for the current goal is HTy.
An exact proof term for the current goal is Hf_on.
Let V be given.
An exact proof term for the current goal is (Hsub V HV).
An
exact proof term for the current goal is
(SepE2 (𝒫 Y) (λV0 : set ⇒ preimage_of X f V0 ∈ Tx) V HVQ).
∎