Let x and y be given.
We prove the intermediate
claim Hxy0:
(x,y) ∈ setprod_le K1 le1 K2 le2.
rewrite the current goal using HleDef (from left to right).
An exact proof term for the current goal is Hxy.
We prove the intermediate
claim Hyx0:
(y,x) ∈ setprod_le K1 le1 K2 le2.
rewrite the current goal using HleDef (from left to right).
An exact proof term for the current goal is Hyx.
We prove the intermediate
claim Hxyc:
((x 0,y 0) ∈ le1) ∧ ((x 1,y 1) ∈ le2).
An
exact proof term for the current goal is
(setprod_le_pred K1 le1 K2 le2 x y Hxy0).
We prove the intermediate
claim Hyxc:
((y 0,x 0) ∈ le1) ∧ ((y 1,x 1) ∈ le2).
An
exact proof term for the current goal is
(setprod_le_pred K1 le1 K2 le2 y x Hyx0).
We prove the intermediate
claim Hx0:
(x 0) ∈ K1.
An
exact proof term for the current goal is
(ap0_Sigma K1 (λ_ : set ⇒ K2) x Hx).
We prove the intermediate
claim Hx1:
(x 1) ∈ K2.
An
exact proof term for the current goal is
(ap1_Sigma K1 (λ_ : set ⇒ K2) x Hx).
We prove the intermediate
claim Hy0:
(y 0) ∈ K1.
An
exact proof term for the current goal is
(ap0_Sigma K1 (λ_ : set ⇒ K2) y Hy).
We prove the intermediate
claim Hy1:
(y 1) ∈ K2.
An
exact proof term for the current goal is
(ap1_Sigma K1 (λ_ : set ⇒ K2) y Hy).
We prove the intermediate
claim Heq0:
(x 0) = (y 0).
We prove the intermediate
claim Heq1:
(x 1) = (y 1).
We prove the intermediate
claim Hxeta:
x = (x 0,x 1).
An
exact proof term for the current goal is
(setprod_eta K1 K2 x Hx).
We prove the intermediate
claim Hyeta:
y = (y 0,y 1).
An
exact proof term for the current goal is
(setprod_eta K1 K2 y Hy).
rewrite the current goal using Hxeta (from left to right).
rewrite the current goal using Hyeta (from left to right).
rewrite the current goal using Heq0 (from left to right).
rewrite the current goal using Heq1 (from left to right).
Use reflexivity.
Let x, y and z be given.
We prove the intermediate
claim Hxy0:
(x,y) ∈ setprod_le K1 le1 K2 le2.
rewrite the current goal using HleDef (from left to right).
An exact proof term for the current goal is Hxy.
We prove the intermediate
claim Hyz0:
(y,z) ∈ setprod_le K1 le1 K2 le2.
rewrite the current goal using HleDef (from left to right).
An exact proof term for the current goal is Hyz.
We prove the intermediate
claim Hxyc:
((x 0,y 0) ∈ le1) ∧ ((x 1,y 1) ∈ le2).
An
exact proof term for the current goal is
(setprod_le_pred K1 le1 K2 le2 x y Hxy0).
We prove the intermediate
claim Hyzc:
((y 0,z 0) ∈ le1) ∧ ((y 1,z 1) ∈ le2).
An
exact proof term for the current goal is
(setprod_le_pred K1 le1 K2 le2 y z Hyz0).
We prove the intermediate
claim Hx0:
(x 0) ∈ K1.
An
exact proof term for the current goal is
(ap0_Sigma K1 (λ_ : set ⇒ K2) x Hx).
We prove the intermediate
claim Hy0:
(y 0) ∈ K1.
An
exact proof term for the current goal is
(ap0_Sigma K1 (λ_ : set ⇒ K2) y Hy).
We prove the intermediate
claim Hz0:
(z 0) ∈ K1.
An
exact proof term for the current goal is
(ap0_Sigma K1 (λ_ : set ⇒ K2) z Hz).
We prove the intermediate
claim Hx1:
(x 1) ∈ K2.
An
exact proof term for the current goal is
(ap1_Sigma K1 (λ_ : set ⇒ K2) x Hx).
We prove the intermediate
claim Hy1:
(y 1) ∈ K2.
An
exact proof term for the current goal is
(ap1_Sigma K1 (λ_ : set ⇒ K2) y Hy).
We prove the intermediate
claim Hz1:
(z 1) ∈ K2.
An
exact proof term for the current goal is
(ap1_Sigma K1 (λ_ : set ⇒ K2) z Hz).
We prove the intermediate
claim Hxz0:
((x 0,z 0) ∈ le1).
We prove the intermediate
claim Hxz1:
((x 1,z 1) ∈ le2).
Apply andI to the current goal.
We prove the intermediate
claim Hq0:
((x,z) 0) 0 = (x 0).
rewrite the current goal using
(tuple_2_0_eq x z) (from left to right).
Use reflexivity.
We prove the intermediate
claim Hq1:
((x,z) 1) 0 = (z 0).
rewrite the current goal using
(tuple_2_1_eq x z) (from left to right).
Use reflexivity.
rewrite the current goal using Hq0 (from left to right).
rewrite the current goal using Hq1 (from left to right).
An exact proof term for the current goal is Hxz0.
We prove the intermediate
claim Hq0:
((x,z) 0) 1 = (x 1).
rewrite the current goal using
(tuple_2_0_eq x z) (from left to right).
Use reflexivity.
We prove the intermediate
claim Hq1:
((x,z) 1) 1 = (z 1).
rewrite the current goal using
(tuple_2_1_eq x z) (from left to right).
Use reflexivity.
rewrite the current goal using Hq0 (from left to right).
rewrite the current goal using Hq1 (from left to right).
An exact proof term for the current goal is Hxz1.