Let U, V, X and Y be given.
Let p be given.
We prove the intermediate
claim Hp0:
p 0 ∈ U.
An
exact proof term for the current goal is
(ap0_Sigma U (λu ⇒ V) p Hp).
We prove the intermediate
claim Hp1:
p 1 ∈ V.
An
exact proof term for the current goal is
(ap1_Sigma U (λu ⇒ V) p Hp).
We prove the intermediate
claim Hp0X:
p 0 ∈ X.
An
exact proof term for the current goal is
(HU (p 0) Hp0).
We prove the intermediate
claim Hp1Y:
p 1 ∈ Y.
An
exact proof term for the current goal is
(HV (p 1) Hp1).
We prove the intermediate
claim Heta:
p = (p 0,p 1).
An
exact proof term for the current goal is
(setprod_eta U V p Hp).
rewrite the current goal using Heta (from left to right).
∎