Let p be given.
We prove the intermediate
claim HpXY:
p ∈ setprod X Y.
An
exact proof term for the current goal is
((setprod_Subq A B X Y HAsub HBsub) p Hp).
We prove the intermediate
claim Hexab:
∃x ∈ A, ∃y ∈ B, p ∈ setprod {x} {y}.
We prove the intermediate
claim HpNotW:
p ∉ W.
Apply Hexab to the current goal.
Let x be given.
Assume Hx_conj.
We prove the intermediate
claim HxA':
x ∈ A.
An
exact proof term for the current goal is
(andEL (x ∈ A) (∃y0 ∈ B, p ∈ setprod {x} {y0}) Hx_conj).
We prove the intermediate
claim Hexy:
∃y0 ∈ B, p ∈ setprod {x} {y0}.
An
exact proof term for the current goal is
(andER (x ∈ A) (∃y0 ∈ B, p ∈ setprod {x} {y0}) Hx_conj).
Apply Hexy to the current goal.
Let y be given.
Assume Hy_conj.
We prove the intermediate
claim HyB:
y ∈ B.
An
exact proof term for the current goal is
(andEL (y ∈ B) (p ∈ setprod {x} {y}) Hy_conj).
We prove the intermediate
claim Hpsing:
p ∈ setprod {x} {y}.
An
exact proof term for the current goal is
(andER (y ∈ B) (p ∈ setprod {x} {y}) Hy_conj).
Apply (binunionE W1 W2 p HpW) to the current goal.
We prove the intermediate
claim Hxy:
x ∈ (X ∖ A) ∧ y ∈ Y.
An
exact proof term for the current goal is
(setprod_coords_in x y (X ∖ A) Y p Hpsing HpW1).
We prove the intermediate
claim HxXA:
x ∈ X ∖ A.
An
exact proof term for the current goal is
(andEL (x ∈ X ∖ A) (y ∈ Y) Hxy).
An
exact proof term for the current goal is
((setminusE2 X A x HxXA) HxA').
We prove the intermediate
claim Hxy:
x ∈ X ∧ y ∈ (Y ∖ B).
An
exact proof term for the current goal is
(setprod_coords_in x y X (Y ∖ B) p Hpsing HpW2).
We prove the intermediate
claim HyYB:
y ∈ Y ∖ B.
An
exact proof term for the current goal is
(andER (x ∈ X) (y ∈ Y ∖ B) Hxy).
An
exact proof term for the current goal is
((setminusE2 Y B y HyYB) HyB).
An
exact proof term for the current goal is
(setminusI (setprod X Y) W p HpXY HpNotW).
Let p be given.
We prove the intermediate
claim HpXY:
p ∈ setprod X Y.
We prove the intermediate
claim HpNotW:
p ∉ W.
We prove the intermediate
claim Hexxy:
∃x ∈ X, ∃y ∈ Y, p ∈ setprod {x} {y}.
Apply Hexxy to the current goal.
Let x be given.
Assume Hx_conj.
We prove the intermediate
claim HxX:
x ∈ X.
An
exact proof term for the current goal is
(andEL (x ∈ X) (∃y0 ∈ Y, p ∈ setprod {x} {y0}) Hx_conj).
We prove the intermediate
claim Hexy:
∃y0 ∈ Y, p ∈ setprod {x} {y0}.
An
exact proof term for the current goal is
(andER (x ∈ X) (∃y0 ∈ Y, p ∈ setprod {x} {y0}) Hx_conj).
Apply Hexy to the current goal.
Let y be given.
Assume Hy_conj.
We prove the intermediate
claim HyY:
y ∈ Y.
An
exact proof term for the current goal is
(andEL (y ∈ Y) (p ∈ setprod {x} {y}) Hy_conj).
We prove the intermediate
claim Hpsing:
p ∈ setprod {x} {y}.
An
exact proof term for the current goal is
(andER (y ∈ Y) (p ∈ setprod {x} {y}) Hy_conj).
We prove the intermediate
claim HxA:
x ∈ A.
Apply (xm (x ∈ A)) to the current goal.
Assume H.
An exact proof term for the current goal is H.
We prove the intermediate
claim HxXA:
x ∈ X ∖ A.
An
exact proof term for the current goal is
(setminusI X A x HxX HxNotA).
We prove the intermediate
claim HxSingSub:
{x} ⊆ X ∖ A.
We prove the intermediate
claim HySingSub:
{y} ⊆ Y.
We prove the intermediate
claim HpW1:
p ∈ W1.
An
exact proof term for the current goal is
(setprod_Subq {x} {y} (X ∖ A) Y HxSingSub HySingSub).
An exact proof term for the current goal is (Hsub p Hpsing).
Apply FalseE to the current goal.
An
exact proof term for the current goal is
(HpNotW (binunionI1 W1 W2 p HpW1)).
We prove the intermediate
claim HyB:
y ∈ B.
Apply (xm (y ∈ B)) to the current goal.
Assume H.
An exact proof term for the current goal is H.
We prove the intermediate
claim HyYB:
y ∈ Y ∖ B.
An
exact proof term for the current goal is
(setminusI Y B y HyY HyNotB).
We prove the intermediate
claim HySingSub:
{y} ⊆ Y ∖ B.
We prove the intermediate
claim HxSingSub:
{x} ⊆ X.
We prove the intermediate
claim HpW2:
p ∈ W2.
An
exact proof term for the current goal is
(setprod_Subq {x} {y} X (Y ∖ B) HxSingSub HySingSub).
An exact proof term for the current goal is (Hsub p Hpsing).
Apply FalseE to the current goal.
An
exact proof term for the current goal is
(HpNotW (binunionI2 W1 W2 p HpW2)).
We prove the intermediate
claim HxSingSubA:
{x} ⊆ A.
We prove the intermediate
claim HySingSubB:
{y} ⊆ B.
We prove the intermediate
claim HpAB:
p ∈ setprod A B.
An
exact proof term for the current goal is
(setprod_Subq {x} {y} A B HxSingSubA HySingSubB).
An exact proof term for the current goal is (Hsub p Hpsing).
An exact proof term for the current goal is HpAB.