Let f, X and Y be given.
Let x and y be given.
We prove the intermediate
claim HxyXY:
(x,y) ∈ setprod X Y.
An exact proof term for the current goal is (Hsub (x,y) Hxy).
We prove the intermediate
claim Hx0:
(x,y) 0 ∈ X.
An
exact proof term for the current goal is
(ap0_Sigma X (λ_ : set ⇒ Y) (x,y) HxyXY).
rewrite the current goal using
(tuple_2_0_eq x y) (from right to left).
An exact proof term for the current goal is Hx0.
∎