We prove the intermediate
claim HxC:
x ∈ C.
We prove the intermediate
claim HyC:
y ∈ C.
We prove the intermediate
claim HxD:
x ∈ D.
We prove the intermediate
claim HzD:
z ∈ D.
We prove the intermediate
claim HCsubX:
C ⊆ X.
We prove the intermediate
claim HDsubX:
D ⊆ X.
Set F to be the term
UPair C D.
We prove the intermediate
claim HFsub:
∀E : set, E ∈ F → E ⊆ X.
Let E be given.
Apply (UPairE E C D HE (E ⊆ X)) to the current goal.
rewrite the current goal using HEq (from left to right).
An exact proof term for the current goal is HCsubX.
rewrite the current goal using HEq (from left to right).
An exact proof term for the current goal is HDsubX.
Let E be given.
rewrite the current goal using HEq (from left to right).
An exact proof term for the current goal is HCconn.
rewrite the current goal using HEq (from left to right).
An exact proof term for the current goal is HDconn.
We prove the intermediate
claim Hcommon:
∃w : set, ∀E : set, E ∈ F → w ∈ E.
We use x to witness the existential quantifier.
Let E be given.
Apply (UPairE E C D HE (x ∈ E)) to the current goal.
rewrite the current goal using HEq (from left to right).
An exact proof term for the current goal is HxC.
rewrite the current goal using HEq (from left to right).
An exact proof term for the current goal is HxD.
We prove the intermediate
claim HCinF:
C ∈ F.
An
exact proof term for the current goal is
(UPairI1 C D).
We prove the intermediate
claim HDinF:
D ∈ F.
An
exact proof term for the current goal is
(UPairI2 C D).
We prove the intermediate
claim HyUF:
y ∈ ⋃ F.
An
exact proof term for the current goal is
(UnionI F y C HyC HCinF).
We prove the intermediate
claim HzUF:
z ∈ ⋃ F.
An
exact proof term for the current goal is
(UnionI F z D HzD HDinF).
We use
(⋃ F) 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 HUnionConn.
An exact proof term for the current goal is HyUF.
An exact proof term for the current goal is HzUF.