Let V be given.
Apply (ReplE_impred Fam0 (λW : set ⇒ Vof W) V HV) to the current goal.
Let W be given.
rewrite the current goal using HVeq (from left to right).
We prove the intermediate
claim HexV:
∃V0 : set, V0 ∈ Tx ∧ W = V0 ∩ Y.
We prove the intermediate
claim HWty:
W ∈ Ty.
An exact proof term for the current goal is (HF0open W HW).
rewrite the current goal using HdefTy (from right to left).
An exact proof term for the current goal is HWty.
Apply HexV to the current goal.
Let V0 be given.
An
exact proof term for the current goal is
(andEL (Vof W ∈ Tx) (W = Vof W ∩ Y) (Eps_i_ax (λV1 : set ⇒ V1 ∈ Tx ∧ W = V1 ∩ Y) V0 HV0pair)).
Let y be given.
We prove the intermediate
claim HyUG:
y ∈ ⋃ G.
An exact proof term for the current goal is (HGcov y HyY).
Let V be given.
We prove the intermediate
claim HVFam:
V ∈ Fam.
An exact proof term for the current goal is (HGsub V HVG).
We prove the intermediate
claim HexW:
∃W0 : set, W0 ∈ Fam0 ∧ V = Vof W0.
Apply (ReplE_impred Fam0 (λW0 : set ⇒ Vof W0) V HVFam) to the current goal.
Let W0 be given.
We use W0 to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HW0.
An exact proof term for the current goal is HVeq.
We prove the intermediate
claim HVeq:
V = Vof (Wof V).
Apply HexW to the current goal.
Let W0 be given.
An
exact proof term for the current goal is
(andER (Wof V ∈ Fam0) (V = Vof (Wof V)) (Eps_i_ax (λW1 : set ⇒ W1 ∈ Fam0 ∧ V = Vof W1) W0 HW0pair)).
We prove the intermediate
claim HWty:
(Wof V) ∈ Ty.
We prove the intermediate
claim HWinFam0:
(Wof V) ∈ Fam0.
Apply HexW to the current goal.
Let W0 be given.
An
exact proof term for the current goal is
(andEL (Wof V ∈ Fam0) (V = Vof (Wof V)) (Eps_i_ax (λW1 : set ⇒ W1 ∈ Fam0 ∧ V = Vof W1) W0 HW0pair)).
An exact proof term for the current goal is (HF0open (Wof V) HWinFam0).
We prove the intermediate
claim HexV:
∃V0 : set, V0 ∈ Tx ∧ (Wof V) = V0 ∩ Y.
rewrite the current goal using HdefTy (from right to left).
An exact proof term for the current goal is HWty.
We prove the intermediate
claim HWrepr:
(Wof V) = (Vof (Wof V)) ∩ Y.
Apply HexV to the current goal.
Let V0 be given.
An
exact proof term for the current goal is
(andER (Vof (Wof V) ∈ Tx) ((Wof V) = (Vof (Wof V)) ∩ Y) (Eps_i_ax (λV1 : set ⇒ V1 ∈ Tx ∧ (Wof V) = V1 ∩ Y) V0 HV0pair)).
We prove the intermediate
claim HyInWof:
y ∈ (Wof V).
rewrite the current goal using HWrepr (from left to right) at position 1.
rewrite the current goal using HVeq (from right to left) at position 1.
An
exact proof term for the current goal is
(binintersectI V Y y HyV HyY).
An
exact proof term for the current goal is
(UnionI G0 y (Wof V) HyInWof (ReplI G (λV0 : set ⇒ Wof V0) V HVG)).