Let a be given.
We prove the intermediate
claim HaA:
a ∈ A.
An
exact proof term for the current goal is
(pair_map_apply A X Y f g a HaA).
rewrite the current goal using Happ (from right to left).
An exact proof term for the current goal is Himg.
We prove the intermediate
claim HfaU:
apply_fun f a ∈ U.
An exact proof term for the current goal is Hfst.
We prove the intermediate
claim HgaV:
apply_fun g a ∈ V.
An exact proof term for the current goal is Hsnd.
An
exact proof term for the current goal is
(SepI A (λa0 : set ⇒ apply_fun f a0 ∈ U) a HaA HfaU).
An
exact proof term for the current goal is
(SepI A (λa0 : set ⇒ apply_fun g a0 ∈ V) a HaA HgaV).
Let a be given.
We prove the intermediate
claim HaA:
a ∈ A.
An
exact proof term for the current goal is
(SepE1 A (λa0 : set ⇒ apply_fun f a0 ∈ U) a Haf).
We prove the intermediate
claim HfaU:
apply_fun f a ∈ U.
An
exact proof term for the current goal is
(SepE2 A (λa0 : set ⇒ apply_fun f a0 ∈ U) a Haf).
We prove the intermediate
claim HgaV:
apply_fun g a ∈ V.
An
exact proof term for the current goal is
(SepE2 A (λa0 : set ⇒ apply_fun g a0 ∈ V) a Hag).
An
exact proof term for the current goal is
(pair_map_apply A X Y f g a HaA).
rewrite the current goal using Happ (from left to right).
An exact proof term for the current goal is HpairIn.
∎