Let c be given.
Assume HcC.
We prove the intermediate
claim HexU:
∃U ∈ Bx, c ∈ {setprod U V|V ∈ By}.
An
exact proof term for the current goal is
(famunionE Bx (λU0 : set ⇒ {setprod U0 V0|V0 ∈ By}) c HcC).
Apply HexU to the current goal.
Let U be given.
We prove the intermediate
claim HU:
U ∈ Bx.
An
exact proof term for the current goal is
(andEL (U ∈ Bx) (c ∈ {setprod U V|V ∈ By}) HUconj).
We prove the intermediate
claim HcRepl:
c ∈ {setprod U V|V ∈ By}.
An
exact proof term for the current goal is
(andER (U ∈ Bx) (c ∈ {setprod U V|V ∈ By}) HUconj).
We prove the intermediate
claim HexV:
∃V ∈ By, c = setprod U V.
An
exact proof term for the current goal is
(ReplE By (λV0 : set ⇒ setprod U V0) c HcRepl).
Apply HexV to the current goal.
Let V be given.
We prove the intermediate
claim HV:
V ∈ By.
An
exact proof term for the current goal is
(andEL (V ∈ By) (c = setprod U V) HVconj).
We prove the intermediate
claim Hceq:
c = setprod U V.
An
exact proof term for the current goal is
(andER (V ∈ By) (c = setprod U V) HVconj).
We prove the intermediate
claim HUTx:
U ∈ Tx.
rewrite the current goal using HTx_eq (from right to left).
We prove the intermediate
claim HVTy:
V ∈ Ty.
rewrite the current goal using HTy_eq (from right to left).
rewrite the current goal using Hceq (from left to right).
An
exact proof term for the current goal is
(ReplI Ty (λW : set ⇒ rectangle_set U W) V HVTy).
Let U be given.
Let p be given.
An exact proof term for the current goal is (HUprop p Hp).
Apply Hexb to the current goal.
Let b be given.
Assume Hbpair.
We prove the intermediate
claim Hbprop:
p ∈ b ∧ b ⊆ U.
We prove the intermediate
claim Hpb:
p ∈ b.
An
exact proof term for the current goal is
(andEL (p ∈ b) (b ⊆ U) Hbprop).
We prove the intermediate
claim HbsubU:
b ⊆ U.
An
exact proof term for the current goal is
(andER (p ∈ b) (b ⊆ U) Hbprop).
Apply HexU0 to the current goal.
Let U0 be given.
We prove the intermediate
claim HU0:
U0 ∈ Tx.
An
exact proof term for the current goal is
(ReplE Ty (λV1 : set ⇒ rectangle_set U0 V1) b HbRepl).
Apply HexV0 to the current goal.
Let V0 be given.
We prove the intermediate
claim HV0:
V0 ∈ Ty.
rewrite the current goal using Hbeq (from right to left).
An exact proof term for the current goal is Hpb.
We prove the intermediate
claim Hp0U0:
p 0 ∈ U0.
An
exact proof term for the current goal is
(ap0_Sigma U0 (λ_ : set ⇒ V0) p Hpb0).
We prove the intermediate
claim Hp1V0:
p 1 ∈ V0.
An
exact proof term for the current goal is
(ap1_Sigma U0 (λ_ : set ⇒ V0) p Hpb0).
rewrite the current goal using HTx_eq (from left to right).
An exact proof term for the current goal is HU0.
rewrite the current goal using HTy_eq (from left to right).
An exact proof term for the current goal is HV0.
We prove the intermediate
claim HU0loc:
∀x ∈ U0, ∃bx ∈ Bx, x ∈ bx ∧ bx ⊆ U0.
An
exact proof term for the current goal is
(SepE2 (𝒫 X) (λU1 : set ⇒ ∀x1 ∈ U1, ∃b1 ∈ Bx, x1 ∈ b1 ∧ b1 ⊆ U1) U0 HU0gen).
We prove the intermediate
claim HV0loc:
∀y ∈ V0, ∃by ∈ By, y ∈ by ∧ by ⊆ V0.
An
exact proof term for the current goal is
(SepE2 (𝒫 Y) (λV1 : set ⇒ ∀y1 ∈ V1, ∃b1 ∈ By, y1 ∈ b1 ∧ b1 ⊆ V1) V0 HV0gen).
We prove the intermediate
claim Hexbx:
∃bx ∈ Bx, p 0 ∈ bx ∧ bx ⊆ U0.
An
exact proof term for the current goal is
(HU0loc (p 0) Hp0U0).
Apply Hexbx to the current goal.
Let bx be given.
Assume Hbxpair.
We prove the intermediate
claim Hbx:
bx ∈ Bx.
An
exact proof term for the current goal is
(andEL (bx ∈ Bx) (p 0 ∈ bx ∧ bx ⊆ U0) Hbxpair).
We prove the intermediate
claim Hbxprop:
p 0 ∈ bx ∧ bx ⊆ U0.
An
exact proof term for the current goal is
(andER (bx ∈ Bx) (p 0 ∈ bx ∧ bx ⊆ U0) Hbxpair).
We prove the intermediate
claim Hp0bx:
p 0 ∈ bx.
An
exact proof term for the current goal is
(andEL (p 0 ∈ bx) (bx ⊆ U0) Hbxprop).
We prove the intermediate
claim Hbxsub:
bx ⊆ U0.
An
exact proof term for the current goal is
(andER (p 0 ∈ bx) (bx ⊆ U0) Hbxprop).
We prove the intermediate
claim Hexby:
∃by ∈ By, p 1 ∈ by ∧ by ⊆ V0.
An
exact proof term for the current goal is
(HV0loc (p 1) Hp1V0).
Apply Hexby to the current goal.
Let by be given.
Assume Hbypair.
We prove the intermediate
claim Hby:
by ∈ By.
An
exact proof term for the current goal is
(andEL (by ∈ By) (p 1 ∈ by ∧ by ⊆ V0) Hbypair).
We prove the intermediate
claim Hbyprop:
p 1 ∈ by ∧ by ⊆ V0.
An
exact proof term for the current goal is
(andER (by ∈ By) (p 1 ∈ by ∧ by ⊆ V0) Hbypair).
We prove the intermediate
claim Hp1by:
p 1 ∈ by.
An
exact proof term for the current goal is
(andEL (p 1 ∈ by) (by ⊆ V0) Hbyprop).
We prove the intermediate
claim Hbysub:
by ⊆ V0.
An
exact proof term for the current goal is
(andER (p 1 ∈ by) (by ⊆ V0) Hbyprop).
We use
(setprod bx by) to
witness the existential quantifier.
Apply andI to the current goal.
An
exact proof term for the current goal is
(ReplI By (λw : set ⇒ setprod bx w) by Hby).
Apply andI to the current goal.
We prove the intermediate
claim Heta:
p = (p 0,p 1).
An
exact proof term for the current goal is
(setprod_eta U0 V0 p Hpb0).
rewrite the current goal using Heta (from left to right).
An
exact proof term for the current goal is
(setprod_Subq bx by U0 V0 Hbxsub Hbysub).
We prove the intermediate
claim HsubbU:
setprod U0 V0 ⊆ U.
rewrite the current goal using Hbeq (from right to left).
An exact proof term for the current goal is HbsubU.