Let p and U be given.
Apply Hexb to the current goal.
Let b be given.
Assume Hbpair.
We prove the intermediate
claim Hpb:
p ∈ b.
We prove the intermediate
claim HbsubU:
b ⊆ U.
Apply HexU0 to the current goal.
Let U0 be given.
Assume HU0pair.
We prove the intermediate
claim HU0Tx:
U0 ∈ Tx.
An
exact proof term for the current goal is
(ReplE Ty (λV0 : set ⇒ rectangle_set U0 V0) b HbFam).
Apply HexV0 to the current goal.
Let V0 be given.
Assume HV0pair.
We prove the intermediate
claim HV0Ty:
V0 ∈ Ty.
We prove the intermediate
claim HpxX:
(p 0) ∈ X.
An
exact proof term for the current goal is
(ap0_Sigma X (λx : set ⇒ Y) p HpZ).
We prove the intermediate
claim HpyY:
(p 1) ∈ Y.
An
exact proof term for the current goal is
(ap1_Sigma X (λx : set ⇒ Y) p HpZ).
We prove the intermediate
claim Hrectmem:
p ∈ setprod U0 V0.
rewrite the current goal using Hbeq (from right to left).
An exact proof term for the current goal is Hpb.
rewrite the current goal using
(rectangle_set_def U0 V0) (from left to right) at position 1.
An exact proof term for the current goal is Hpbrect.
We prove the intermediate
claim HpxU0:
(p 0) ∈ U0.
An
exact proof term for the current goal is
(ap0_Sigma U0 (λx : set ⇒ V0) p Hrectmem).
We prove the intermediate
claim HpyV0:
(p 1) ∈ V0.
An
exact proof term for the current goal is
(ap1_Sigma U0 (λx : set ⇒ V0) p Hrectmem).
We prove the intermediate
claim HexUx:
∃Ux : set, Ux ∈ Tx ∧ (p 0) ∈ Ux ∧ closure_of X Tx Ux ⊆ U0.
We prove the intermediate
claim HUxprop:
Ux ∈ Tx ∧ (p 0) ∈ Ux ∧ closure_of X Tx Ux ⊆ U0.
An
exact proof term for the current goal is
(Eps_i_ex (λUx0 : set ⇒ Ux0 ∈ Tx ∧ (p 0) ∈ Ux0 ∧ closure_of X Tx Ux0 ⊆ U0) HexUx).
We prove the intermediate
claim HUx12:
Ux ∈ Tx ∧ (p 0) ∈ Ux.
An
exact proof term for the current goal is
(andEL (Ux ∈ Tx ∧ (p 0) ∈ Ux) (closure_of X Tx Ux ⊆ U0) HUxprop).
We prove the intermediate
claim HUxTx:
Ux ∈ Tx.
An
exact proof term for the current goal is
(andEL (Ux ∈ Tx) ((p 0) ∈ Ux) HUx12).
We prove the intermediate
claim HpUx:
(p 0) ∈ Ux.
An
exact proof term for the current goal is
(andER (Ux ∈ Tx) ((p 0) ∈ Ux) HUx12).
We prove the intermediate
claim HclUxSubU0:
closure_of X Tx Ux ⊆ U0.
An
exact proof term for the current goal is
(andER (Ux ∈ Tx ∧ (p 0) ∈ Ux) (closure_of X Tx Ux ⊆ U0) HUxprop).
We prove the intermediate
claim HexVy:
∃Vy : set, Vy ∈ Ty ∧ (p 1) ∈ Vy ∧ closure_of Y Ty Vy ⊆ V0.
We prove the intermediate
claim HVyprop:
Vy ∈ Ty ∧ (p 1) ∈ Vy ∧ closure_of Y Ty Vy ⊆ V0.
An
exact proof term for the current goal is
(Eps_i_ex (λVy0 : set ⇒ Vy0 ∈ Ty ∧ (p 1) ∈ Vy0 ∧ closure_of Y Ty Vy0 ⊆ V0) HexVy).
We prove the intermediate
claim HVy12:
Vy ∈ Ty ∧ (p 1) ∈ Vy.
An
exact proof term for the current goal is
(andEL (Vy ∈ Ty ∧ (p 1) ∈ Vy) (closure_of Y Ty Vy ⊆ V0) HVyprop).
We prove the intermediate
claim HVyTy:
Vy ∈ Ty.
An
exact proof term for the current goal is
(andEL (Vy ∈ Ty) ((p 1) ∈ Vy) HVy12).
We prove the intermediate
claim HpVy:
(p 1) ∈ Vy.
An
exact proof term for the current goal is
(andER (Vy ∈ Ty) ((p 1) ∈ Vy) HVy12).
We prove the intermediate
claim HclVySubV0:
closure_of Y Ty Vy ⊆ V0.
An
exact proof term for the current goal is
(andER (Vy ∈ Ty ∧ (p 1) ∈ Vy) (closure_of Y Ty Vy ⊆ V0) HVyprop).
We use V to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
An
exact proof term for the current goal is
(ReplI Ty (λV0 : set ⇒ rectangle_set Ux V0) Vy HVyTy).
rewrite the current goal using HTzDef (from left to right).
We prove the intermediate
claim HVpow:
V ∈ 𝒫 (setprod X Y).
Let q be given.
rewrite the current goal using HVdef (from left to right).
An exact proof term for the current goal is Hq.
We prove the intermediate
claim HqProd:
q ∈ setprod Ux Vy.
rewrite the current goal using
(rectangle_set_def Ux Vy) (from right to left) at position 1.
An exact proof term for the current goal is HqRect.
We prove the intermediate
claim HTxSub:
Tx ⊆ 𝒫 X.
We prove the intermediate
claim HTySub:
Ty ⊆ 𝒫 Y.
We prove the intermediate
claim HUxPow:
Ux ∈ 𝒫 X.
An exact proof term for the current goal is (HTxSub Ux HUxTx).
We prove the intermediate
claim HVyPow:
Vy ∈ 𝒫 Y.
An exact proof term for the current goal is (HTySub Vy HVyTy).
We prove the intermediate
claim HUxSubX:
Ux ⊆ X.
An
exact proof term for the current goal is
(PowerE X Ux HUxPow).
We prove the intermediate
claim HVySubY:
Vy ⊆ Y.
An
exact proof term for the current goal is
(PowerE Y Vy HVyPow).
An
exact proof term for the current goal is
(setprod_Subq Ux Vy X Y HUxSubX HVySubY).
An exact proof term for the current goal is (HrectSub q HqProd).
rewrite the current goal using HVdef (from left to right).
We prove the intermediate
claim HpEta:
p = (p 0,p 1).
An
exact proof term for the current goal is
(setprod_eta X Y p HpZ).
rewrite the current goal using HpEta (from left to right) at position 1.
rewrite the current goal using HVdef (from left to right) at position 1.
rewrite the current goal using
(rectangle_set_def Ux Vy) (from left to right) at position 1.
rewrite the current goal using HclVeq (from left to right).
An exact proof term for the current goal is HclUxSubU0.
An exact proof term for the current goal is HclVySubV0.
We prove the intermediate
claim HrectSubU:
setprod U0 V0 ⊆ U.
rewrite the current goal using Hbeq (from right to left).
An exact proof term for the current goal is HbsubU.