MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  catcxpccl Structured version   Visualization version   GIF version

Theorem catcxpccl 18387
Description: The category of categories for a weak universe is closed under the product category operation. (Contributed by Mario Carneiro, 12-Jan-2017.) (Proof shortened by AV, 14-Oct-2024.)
Hypotheses
Ref Expression
catcxpccl.c 𝐶 = (CatCat‘𝑈)
catcxpccl.b 𝐵 = (Base‘𝐶)
catcxpccl.o 𝑇 = (𝑋 ×c 𝑌)
catcxpccl.u (𝜑 → 𝑈 ∈ WUni)
catcxpccl.1 (𝜑 → ω ∈ 𝑈)
catcxpccl.x (𝜑 → 𝑋 ∈ 𝐵)
catcxpccl.y (𝜑 → 𝑌 ∈ 𝐵)
Assertion
Ref Expression
catcxpccl (𝜑 → 𝑇 ∈ 𝐵)

Proof of Theorem catcxpccl
Dummy variables 𝑓 𝑔 𝑢 𝑣 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 catcxpccl.o . . . . 5 𝑇 = (𝑋 ×c 𝑌)
2 eqid 2760 . . . . 5 (Base‘𝑋) = (Base‘𝑋)
3 eqid 2760 . . . . 5 (Base‘𝑌) = (Base‘𝑌)
4 eqid 2760 . . . . 5 (Hom ‘𝑋) = (Hom ‘𝑋)
5 eqid 2760 . . . . 5 (Hom ‘𝑌) = (Hom ‘𝑌)
6 eqid 2760 . . . . 5 (comp‘𝑋) = (comp‘𝑋)
7 eqid 2760 . . . . 5 (comp‘𝑌) = (comp‘𝑌)
8 catcxpccl.x . . . . 5 (𝜑 → 𝑋 ∈ 𝐵)
9 catcxpccl.y . . . . 5 (𝜑 → 𝑌 ∈ 𝐵)
10 eqidd 2761 . . . . 5 (𝜑 → ((Base‘𝑋) × (Base‘𝑌)) = ((Base‘𝑋) × (Base‘𝑌)))
111, 2, 3xpcbas 18358 . . . . . . 7 ((Base‘𝑋) × (Base‘𝑌)) = (Base‘𝑇)
12 eqid 2760 . . . . . . 7 (Hom ‘𝑇) = (Hom ‘𝑇)
131, 11, 4, 5, 12xpchomfval 18359 . . . . . 6 (Hom ‘𝑇) = (𝑢 ∈ ((Base‘𝑋) × (Base‘𝑌)), 𝑣 ∈ ((Base‘𝑋) × (Base‘𝑌)) ↦ (((1st ‘𝑢)(Hom ‘𝑋)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑌)(2nd ‘𝑣))))
1413a1i 11 . . . . 5 (𝜑 → (Hom ‘𝑇) = (𝑢 ∈ ((Base‘𝑋) × (Base‘𝑌)), 𝑣 ∈ ((Base‘𝑋) × (Base‘𝑌)) ↦ (((1st ‘𝑢)(Hom ‘𝑋)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑌)(2nd ‘𝑣)))))
15 eqidd 2761 . . . . 5 (𝜑 → (𝑥 ∈ (((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌))), 𝑦 ∈ ((Base‘𝑋) × (Base‘𝑌)) ↦ (𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦), 𝑓 ∈ ((Hom ‘𝑇)‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩)) = (𝑥 ∈ (((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌))), 𝑦 ∈ ((Base‘𝑋) × (Base‘𝑌)) ↦ (𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦), 𝑓 ∈ ((Hom ‘𝑇)‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩)))
161, 2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 15xpcval 18357 . . . 4 (𝜑 → 𝑇 = {⟨(Base‘ndx), ((Base‘𝑋) × (Base‘𝑌))⟩, ⟨(Hom ‘ndx), (Hom ‘𝑇)⟩, ⟨(comp‘ndx), (𝑥 ∈ (((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌))), 𝑦 ∈ ((Base‘𝑋) × (Base‘𝑌)) ↦ (𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦), 𝑓 ∈ ((Hom ‘𝑇)‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩))⟩})
17 catcxpccl.u . . . . 5 (𝜑 → 𝑈 ∈ WUni)
18 baseid 17396 . . . . . . 7 Base = Slot (Base‘ndx)
19 catcxpccl.1 . . . . . . . 8 (𝜑 → ω ∈ 𝑈)
2017, 19wunndx 17379 . . . . . . 7 (𝜑 → ndx ∈ 𝑈)
2118, 17, 20wunstr 17372 . . . . . 6 (𝜑 → (Base‘ndx) ∈ 𝑈)
22 catcxpccl.c . . . . . . . 8 𝐶 = (CatCat‘𝑈)
23 catcxpccl.b . . . . . . . 8 𝐵 = (Base‘𝐶)
2422, 23, 17, 8catcbaselcl 18295 . . . . . . 7 (𝜑 → (Base‘𝑋) ∈ 𝑈)
2522, 23, 17, 9catcbaselcl 18295 . . . . . . 7 (𝜑 → (Base‘𝑌) ∈ 𝑈)
2617, 24, 25wunxp 10813 . . . . . 6 (𝜑 → ((Base‘𝑋) × (Base‘𝑌)) ∈ 𝑈)
2717, 21, 26wunop 10811 . . . . 5 (𝜑 → ⟨(Base‘ndx), ((Base‘𝑋) × (Base‘𝑌))⟩ ∈ 𝑈)
28 homid 17589 . . . . . . 7 Hom = Slot (Hom ‘ndx)
2928, 17, 20wunstr 17372 . . . . . 6 (𝜑 → (Hom ‘ndx) ∈ 𝑈)
3017, 26, 26wunxp 10813 . . . . . . . 8 (𝜑 → (((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌))) ∈ 𝑈)
3122, 23, 17, 8catchomcl 18296 . . . . . . . . . . . 12 (𝜑 → (Hom ‘𝑋) ∈ 𝑈)
3217, 31wunrn 10818 . . . . . . . . . . 11 (𝜑 → ran (Hom ‘𝑋) ∈ 𝑈)
3317, 32wununi 10795 . . . . . . . . . 10 (𝜑 → ∪ ran (Hom ‘𝑋) ∈ 𝑈)
3422, 23, 17, 9catchomcl 18296 . . . . . . . . . . . 12 (𝜑 → (Hom ‘𝑌) ∈ 𝑈)
3517, 34wunrn 10818 . . . . . . . . . . 11 (𝜑 → ran (Hom ‘𝑌) ∈ 𝑈)
3617, 35wununi 10795 . . . . . . . . . 10 (𝜑 → ∪ ran (Hom ‘𝑌) ∈ 𝑈)
3717, 33, 36wunxp 10813 . . . . . . . . 9 (𝜑 → (∪ ran (Hom ‘𝑋) × ∪ ran (Hom ‘𝑌)) ∈ 𝑈)
3817, 37wunpw 10796 . . . . . . . 8 (𝜑 → 𝒫 (∪ ran (Hom ‘𝑋) × ∪ ran (Hom ‘𝑌)) ∈ 𝑈)
39 ovssunirn 7457 . . . . . . . . . . . . 13 ((1st ‘𝑢)(Hom ‘𝑋)(1st ‘𝑣)) ⊆ ∪ ran (Hom ‘𝑋)
40 ovssunirn 7457 . . . . . . . . . . . . 13 ((2nd ‘𝑢)(Hom ‘𝑌)(2nd ‘𝑣)) ⊆ ∪ ran (Hom ‘𝑌)
41 xpss12 5665 . . . . . . . . . . . . 13 ((((1st ‘𝑢)(Hom ‘𝑋)(1st ‘𝑣)) ⊆ ∪ ran (Hom ‘𝑋) ∧ ((2nd ‘𝑢)(Hom ‘𝑌)(2nd ‘𝑣)) ⊆ ∪ ran (Hom ‘𝑌)) → (((1st ‘𝑢)(Hom ‘𝑋)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑌)(2nd ‘𝑣))) ⊆ (∪ ran (Hom ‘𝑋) × ∪ ran (Hom ‘𝑌)))
4239, 40, 41mp2an 705 . . . . . . . . . . . 12 (((1st ‘𝑢)(Hom ‘𝑋)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑌)(2nd ‘𝑣))) ⊆ (∪ ran (Hom ‘𝑋) × ∪ ran (Hom ‘𝑌))
43 ovex 7454 . . . . . . . . . . . . . 14 ((1st ‘𝑢)(Hom ‘𝑋)(1st ‘𝑣)) ∈ V
44 ovex 7454 . . . . . . . . . . . . . 14 ((2nd ‘𝑢)(Hom ‘𝑌)(2nd ‘𝑣)) ∈ V
4543, 44xpex 7768 . . . . . . . . . . . . 13 (((1st ‘𝑢)(Hom ‘𝑋)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑌)(2nd ‘𝑣))) ∈ V
4645elpw 4560 . . . . . . . . . . . 12 ((((1st ‘𝑢)(Hom ‘𝑋)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑌)(2nd ‘𝑣))) ∈ 𝒫 (∪ ran (Hom ‘𝑋) × ∪ ran (Hom ‘𝑌)) ↔ (((1st ‘𝑢)(Hom ‘𝑋)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑌)(2nd ‘𝑣))) ⊆ (∪ ran (Hom ‘𝑋) × ∪ ran (Hom ‘𝑌)))
4742, 46mpbir 234 . . . . . . . . . . 11 (((1st ‘𝑢)(Hom ‘𝑋)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑌)(2nd ‘𝑣))) ∈ 𝒫 (∪ ran (Hom ‘𝑋) × ∪ ran (Hom ‘𝑌))
4847rgen2w 3081 . . . . . . . . . 10 ∀𝑢 ∈ ((Base‘𝑋) × (Base‘𝑌))∀𝑣 ∈ ((Base‘𝑋) × (Base‘𝑌))(((1st ‘𝑢)(Hom ‘𝑋)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑌)(2nd ‘𝑣))) ∈ 𝒫 (∪ ran (Hom ‘𝑋) × ∪ ran (Hom ‘𝑌))
49 eqid 2760 . . . . . . . . . . 11 (𝑢 ∈ ((Base‘𝑋) × (Base‘𝑌)), 𝑣 ∈ ((Base‘𝑋) × (Base‘𝑌)) ↦ (((1st ‘𝑢)(Hom ‘𝑋)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑌)(2nd ‘𝑣)))) = (𝑢 ∈ ((Base‘𝑋) × (Base‘𝑌)), 𝑣 ∈ ((Base‘𝑋) × (Base‘𝑌)) ↦ (((1st ‘𝑢)(Hom ‘𝑋)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑌)(2nd ‘𝑣))))
5049fmpo 8080 . . . . . . . . . 10 (∀𝑢 ∈ ((Base‘𝑋) × (Base‘𝑌))∀𝑣 ∈ ((Base‘𝑋) × (Base‘𝑌))(((1st ‘𝑢)(Hom ‘𝑋)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑌)(2nd ‘𝑣))) ∈ 𝒫 (∪ ran (Hom ‘𝑋) × ∪ ran (Hom ‘𝑌)) ↔ (𝑢 ∈ ((Base‘𝑋) × (Base‘𝑌)), 𝑣 ∈ ((Base‘𝑋) × (Base‘𝑌)) ↦ (((1st ‘𝑢)(Hom ‘𝑋)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑌)(2nd ‘𝑣)))):(((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌)))⟶𝒫 (∪ ran (Hom ‘𝑋) × ∪ ran (Hom ‘𝑌)))
5148, 50mpbi 233 . . . . . . . . 9 (𝑢 ∈ ((Base‘𝑋) × (Base‘𝑌)), 𝑣 ∈ ((Base‘𝑋) × (Base‘𝑌)) ↦ (((1st ‘𝑢)(Hom ‘𝑋)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑌)(2nd ‘𝑣)))):(((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌)))⟶𝒫 (∪ ran (Hom ‘𝑋) × ∪ ran (Hom ‘𝑌))
5251a1i 11 . . . . . . . 8 (𝜑 → (𝑢 ∈ ((Base‘𝑋) × (Base‘𝑌)), 𝑣 ∈ ((Base‘𝑋) × (Base‘𝑌)) ↦ (((1st ‘𝑢)(Hom ‘𝑋)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑌)(2nd ‘𝑣)))):(((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌)))⟶𝒫 (∪ ran (Hom ‘𝑋) × ∪ ran (Hom ‘𝑌)))
5317, 30, 38, 52wunf 10816 . . . . . . 7 (𝜑 → (𝑢 ∈ ((Base‘𝑋) × (Base‘𝑌)), 𝑣 ∈ ((Base‘𝑋) × (Base‘𝑌)) ↦ (((1st ‘𝑢)(Hom ‘𝑋)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑌)(2nd ‘𝑣)))) ∈ 𝑈)
5413, 53eqeltrid 2864 . . . . . 6 (𝜑 → (Hom ‘𝑇) ∈ 𝑈)
5517, 29, 54wunop 10811 . . . . 5 (𝜑 → ⟨(Hom ‘ndx), (Hom ‘𝑇)⟩ ∈ 𝑈)
56 ccoid 17591 . . . . . . 7 comp = Slot (comp‘ndx)
5756, 17, 20wunstr 17372 . . . . . 6 (𝜑 → (comp‘ndx) ∈ 𝑈)
5817, 30, 26wunxp 10813 . . . . . . 7 (𝜑 → ((((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌))) × ((Base‘𝑋) × (Base‘𝑌))) ∈ 𝑈)
5922, 23, 17, 8catcccocl 18297 . . . . . . . . . . . . . 14 (𝜑 → (comp‘𝑋) ∈ 𝑈)
6017, 59wunrn 10818 . . . . . . . . . . . . 13 (𝜑 → ran (comp‘𝑋) ∈ 𝑈)
6117, 60wununi 10795 . . . . . . . . . . . 12 (𝜑 → ∪ ran (comp‘𝑋) ∈ 𝑈)
6217, 61wunrn 10818 . . . . . . . . . . 11 (𝜑 → ran ∪ ran (comp‘𝑋) ∈ 𝑈)
6317, 62wununi 10795 . . . . . . . . . 10 (𝜑 → ∪ ran ∪ ran (comp‘𝑋) ∈ 𝑈)
6417, 63wunpw 10796 . . . . . . . . 9 (𝜑 → 𝒫 ∪ ran ∪ ran (comp‘𝑋) ∈ 𝑈)
6522, 23, 17, 9catcccocl 18297 . . . . . . . . . . . . . 14 (𝜑 → (comp‘𝑌) ∈ 𝑈)
6617, 65wunrn 10818 . . . . . . . . . . . . 13 (𝜑 → ran (comp‘𝑌) ∈ 𝑈)
6717, 66wununi 10795 . . . . . . . . . . . 12 (𝜑 → ∪ ran (comp‘𝑌) ∈ 𝑈)
6817, 67wunrn 10818 . . . . . . . . . . 11 (𝜑 → ran ∪ ran (comp‘𝑌) ∈ 𝑈)
6917, 68wununi 10795 . . . . . . . . . 10 (𝜑 → ∪ ran ∪ ran (comp‘𝑌) ∈ 𝑈)
7017, 69wunpw 10796 . . . . . . . . 9 (𝜑 → 𝒫 ∪ ran ∪ ran (comp‘𝑌) ∈ 𝑈)
7117, 64, 70wunxp 10813 . . . . . . . 8 (𝜑 → (𝒫 ∪ ran ∪ ran (comp‘𝑋) × 𝒫 ∪ ran ∪ ran (comp‘𝑌)) ∈ 𝑈)
7217, 54wunrn 10818 . . . . . . . . . 10 (𝜑 → ran (Hom ‘𝑇) ∈ 𝑈)
7317, 72wununi 10795 . . . . . . . . 9 (𝜑 → ∪ ran (Hom ‘𝑇) ∈ 𝑈)
7417, 73, 73wunxp 10813 . . . . . . . 8 (𝜑 → (∪ ran (Hom ‘𝑇) × ∪ ran (Hom ‘𝑇)) ∈ 𝑈)
7517, 71, 74wunpm 10814 . . . . . . 7 (𝜑 → ((𝒫 ∪ ran ∪ ran (comp‘𝑋) × 𝒫 ∪ ran ∪ ran (comp‘𝑌)) ↑pm (∪ ran (Hom ‘𝑇) × ∪ ran (Hom ‘𝑇))) ∈ 𝑈)
76 fvex 6899 . . . . . . . . . . . . . . . . 17 (comp‘𝑋) ∈ V
7776rnex 7923 . . . . . . . . . . . . . . . 16 ran (comp‘𝑋) ∈ V
7877uniex 7759 . . . . . . . . . . . . . . 15 ∪ ran (comp‘𝑋) ∈ V
7978rnex 7923 . . . . . . . . . . . . . 14 ran ∪ ran (comp‘𝑋) ∈ V
8079uniex 7759 . . . . . . . . . . . . 13 ∪ ran ∪ ran (comp‘𝑋) ∈ V
8180pwex 5341 . . . . . . . . . . . 12 𝒫 ∪ ran ∪ ran (comp‘𝑋) ∈ V
82 fvex 6899 . . . . . . . . . . . . . . . . 17 (comp‘𝑌) ∈ V
8382rnex 7923 . . . . . . . . . . . . . . . 16 ran (comp‘𝑌) ∈ V
8483uniex 7759 . . . . . . . . . . . . . . 15 ∪ ran (comp‘𝑌) ∈ V
8584rnex 7923 . . . . . . . . . . . . . 14 ran ∪ ran (comp‘𝑌) ∈ V
8685uniex 7759 . . . . . . . . . . . . 13 ∪ ran ∪ ran (comp‘𝑌) ∈ V
8786pwex 5341 . . . . . . . . . . . 12 𝒫 ∪ ran ∪ ran (comp‘𝑌) ∈ V
8881, 87xpex 7768 . . . . . . . . . . 11 (𝒫 ∪ ran ∪ ran (comp‘𝑋) × 𝒫 ∪ ran ∪ ran (comp‘𝑌)) ∈ V
89 fvex 6899 . . . . . . . . . . . . . 14 (Hom ‘𝑇) ∈ V
9089rnex 7923 . . . . . . . . . . . . 13 ran (Hom ‘𝑇) ∈ V
9190uniex 7759 . . . . . . . . . . . 12 ∪ ran (Hom ‘𝑇) ∈ V
9291, 91xpex 7768 . . . . . . . . . . 11 (∪ ran (Hom ‘𝑇) × ∪ ran (Hom ‘𝑇)) ∈ V
93 ovssunirn 7457 . . . . . . . . . . . . . . . 16 ((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)) ⊆ ∪ ran (⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))
94 ovssunirn 7457 . . . . . . . . . . . . . . . . 17 (⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦)) ⊆ ∪ ran (comp‘𝑋)
95 rnss 5920 . . . . . . . . . . . . . . . . 17 ((⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦)) ⊆ ∪ ran (comp‘𝑋) → ran (⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦)) ⊆ ran ∪ ran (comp‘𝑋))
96 uniss 4874 . . . . . . . . . . . . . . . . 17 (ran (⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦)) ⊆ ran ∪ ran (comp‘𝑋) → ∪ ran (⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦)) ⊆ ∪ ran ∪ ran (comp‘𝑋))
9794, 95, 96mp2b 10 . . . . . . . . . . . . . . . 16 ∪ ran (⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦)) ⊆ ∪ ran ∪ ran (comp‘𝑋)
9893, 97sstri 3917 . . . . . . . . . . . . . . 15 ((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)) ⊆ ∪ ran ∪ ran (comp‘𝑋)
99 ovex 7454 . . . . . . . . . . . . . . . 16 ((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)) ∈ V
10099elpw 4560 . . . . . . . . . . . . . . 15 (((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)) ∈ 𝒫 ∪ ran ∪ ran (comp‘𝑋) ↔ ((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)) ⊆ ∪ ran ∪ ran (comp‘𝑋))
10198, 100mpbir 234 . . . . . . . . . . . . . 14 ((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)) ∈ 𝒫 ∪ ran ∪ ran (comp‘𝑋)
102 ovssunirn 7457 . . . . . . . . . . . . . . . 16 ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓)) ⊆ ∪ ran (⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))
103 ovssunirn 7457 . . . . . . . . . . . . . . . . 17 (⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦)) ⊆ ∪ ran (comp‘𝑌)
104 rnss 5920 . . . . . . . . . . . . . . . . 17 ((⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦)) ⊆ ∪ ran (comp‘𝑌) → ran (⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦)) ⊆ ran ∪ ran (comp‘𝑌))
105 uniss 4874 . . . . . . . . . . . . . . . . 17 (ran (⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦)) ⊆ ran ∪ ran (comp‘𝑌) → ∪ ran (⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦)) ⊆ ∪ ran ∪ ran (comp‘𝑌))
106103, 104, 105mp2b 10 . . . . . . . . . . . . . . . 16 ∪ ran (⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦)) ⊆ ∪ ran ∪ ran (comp‘𝑌)
107102, 106sstri 3917 . . . . . . . . . . . . . . 15 ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓)) ⊆ ∪ ran ∪ ran (comp‘𝑌)
108 ovex 7454 . . . . . . . . . . . . . . . 16 ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓)) ∈ V
109108elpw 4560 . . . . . . . . . . . . . . 15 (((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓)) ∈ 𝒫 ∪ ran ∪ ran (comp‘𝑌) ↔ ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓)) ⊆ ∪ ran ∪ ran (comp‘𝑌))
110107, 109mpbir 234 . . . . . . . . . . . . . 14 ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓)) ∈ 𝒫 ∪ ran ∪ ran (comp‘𝑌)
111 opelxpi 5687 . . . . . . . . . . . . . 14 ((((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)) ∈ 𝒫 ∪ ran ∪ ran (comp‘𝑋) ∧ ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓)) ∈ 𝒫 ∪ ran ∪ ran (comp‘𝑌)) → ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩ ∈ (𝒫 ∪ ran ∪ ran (comp‘𝑋) × 𝒫 ∪ ran ∪ ran (comp‘𝑌)))
112101, 110, 111mp2an 705 . . . . . . . . . . . . 13 ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩ ∈ (𝒫 ∪ ran ∪ ran (comp‘𝑋) × 𝒫 ∪ ran ∪ ran (comp‘𝑌))
113112rgen2w 3081 . . . . . . . . . . . 12 ∀𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦)∀𝑓 ∈ ((Hom ‘𝑇)‘𝑥)⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩ ∈ (𝒫 ∪ ran ∪ ran (comp‘𝑋) × 𝒫 ∪ ran ∪ ran (comp‘𝑌))
114 eqid 2760 . . . . . . . . . . . . 13 (𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦), 𝑓 ∈ ((Hom ‘𝑇)‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩) = (𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦), 𝑓 ∈ ((Hom ‘𝑇)‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩)
115114fmpo 8080 . . . . . . . . . . . 12 (∀𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦)∀𝑓 ∈ ((Hom ‘𝑇)‘𝑥)⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩ ∈ (𝒫 ∪ ran ∪ ran (comp‘𝑋) × 𝒫 ∪ ran ∪ ran (comp‘𝑌)) ↔ (𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦), 𝑓 ∈ ((Hom ‘𝑇)‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩):(((2nd ‘𝑥)(Hom ‘𝑇)𝑦) × ((Hom ‘𝑇)‘𝑥))⟶(𝒫 ∪ ran ∪ ran (comp‘𝑋) × 𝒫 ∪ ran ∪ ran (comp‘𝑌)))
116113, 115mpbi 233 . . . . . . . . . . 11 (𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦), 𝑓 ∈ ((Hom ‘𝑇)‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩):(((2nd ‘𝑥)(Hom ‘𝑇)𝑦) × ((Hom ‘𝑇)‘𝑥))⟶(𝒫 ∪ ran ∪ ran (comp‘𝑋) × 𝒫 ∪ ran ∪ ran (comp‘𝑌))
117 ovssunirn 7457 . . . . . . . . . . . 12 ((2nd ‘𝑥)(Hom ‘𝑇)𝑦) ⊆ ∪ ran (Hom ‘𝑇)
118 fvssunirn 6917 . . . . . . . . . . . 12 ((Hom ‘𝑇)‘𝑥) ⊆ ∪ ran (Hom ‘𝑇)
119 xpss12 5665 . . . . . . . . . . . 12 ((((2nd ‘𝑥)(Hom ‘𝑇)𝑦) ⊆ ∪ ran (Hom ‘𝑇) ∧ ((Hom ‘𝑇)‘𝑥) ⊆ ∪ ran (Hom ‘𝑇)) → (((2nd ‘𝑥)(Hom ‘𝑇)𝑦) × ((Hom ‘𝑇)‘𝑥)) ⊆ (∪ ran (Hom ‘𝑇) × ∪ ran (Hom ‘𝑇)))
120117, 118, 119mp2an 705 . . . . . . . . . . 11 (((2nd ‘𝑥)(Hom ‘𝑇)𝑦) × ((Hom ‘𝑇)‘𝑥)) ⊆ (∪ ran (Hom ‘𝑇) × ∪ ran (Hom ‘𝑇))
121 elpm2r 8869 . . . . . . . . . . 11 ((((𝒫 ∪ ran ∪ ran (comp‘𝑋) × 𝒫 ∪ ran ∪ ran (comp‘𝑌)) ∈ V ∧ (∪ ran (Hom ‘𝑇) × ∪ ran (Hom ‘𝑇)) ∈ V) ∧ ((𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦), 𝑓 ∈ ((Hom ‘𝑇)‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩):(((2nd ‘𝑥)(Hom ‘𝑇)𝑦) × ((Hom ‘𝑇)‘𝑥))⟶(𝒫 ∪ ran ∪ ran (comp‘𝑋) × 𝒫 ∪ ran ∪ ran (comp‘𝑌)) ∧ (((2nd ‘𝑥)(Hom ‘𝑇)𝑦) × ((Hom ‘𝑇)‘𝑥)) ⊆ (∪ ran (Hom ‘𝑇) × ∪ ran (Hom ‘𝑇)))) → (𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦), 𝑓 ∈ ((Hom ‘𝑇)‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩) ∈ ((𝒫 ∪ ran ∪ ran (comp‘𝑋) × 𝒫 ∪ ran ∪ ran (comp‘𝑌)) ↑pm (∪ ran (Hom ‘𝑇) × ∪ ran (Hom ‘𝑇))))
12288, 92, 116, 120, 121mp4an 706 . . . . . . . . . 10 (𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦), 𝑓 ∈ ((Hom ‘𝑇)‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩) ∈ ((𝒫 ∪ ran ∪ ran (comp‘𝑋) × 𝒫 ∪ ran ∪ ran (comp‘𝑌)) ↑pm (∪ ran (Hom ‘𝑇) × ∪ ran (Hom ‘𝑇)))
123122rgen2w 3081 . . . . . . . . 9 ∀𝑥 ∈ (((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌)))∀𝑦 ∈ ((Base‘𝑋) × (Base‘𝑌))(𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦), 𝑓 ∈ ((Hom ‘𝑇)‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩) ∈ ((𝒫 ∪ ran ∪ ran (comp‘𝑋) × 𝒫 ∪ ran ∪ ran (comp‘𝑌)) ↑pm (∪ ran (Hom ‘𝑇) × ∪ ran (Hom ‘𝑇)))
124 eqid 2760 . . . . . . . . . 10 (𝑥 ∈ (((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌))), 𝑦 ∈ ((Base‘𝑋) × (Base‘𝑌)) ↦ (𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦), 𝑓 ∈ ((Hom ‘𝑇)‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩)) = (𝑥 ∈ (((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌))), 𝑦 ∈ ((Base‘𝑋) × (Base‘𝑌)) ↦ (𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦), 𝑓 ∈ ((Hom ‘𝑇)‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩))
125124fmpo 8080 . . . . . . . . 9 (∀𝑥 ∈ (((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌)))∀𝑦 ∈ ((Base‘𝑋) × (Base‘𝑌))(𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦), 𝑓 ∈ ((Hom ‘𝑇)‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩) ∈ ((𝒫 ∪ ran ∪ ran (comp‘𝑋) × 𝒫 ∪ ran ∪ ran (comp‘𝑌)) ↑pm (∪ ran (Hom ‘𝑇) × ∪ ran (Hom ‘𝑇))) ↔ (𝑥 ∈ (((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌))), 𝑦 ∈ ((Base‘𝑋) × (Base‘𝑌)) ↦ (𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦), 𝑓 ∈ ((Hom ‘𝑇)‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩)):((((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌))) × ((Base‘𝑋) × (Base‘𝑌)))⟶((𝒫 ∪ ran ∪ ran (comp‘𝑋) × 𝒫 ∪ ran ∪ ran (comp‘𝑌)) ↑pm (∪ ran (Hom ‘𝑇) × ∪ ran (Hom ‘𝑇))))
126123, 125mpbi 233 . . . . . . . 8 (𝑥 ∈ (((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌))), 𝑦 ∈ ((Base‘𝑋) × (Base‘𝑌)) ↦ (𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦), 𝑓 ∈ ((Hom ‘𝑇)‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩)):((((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌))) × ((Base‘𝑋) × (Base‘𝑌)))⟶((𝒫 ∪ ran ∪ ran (comp‘𝑋) × 𝒫 ∪ ran ∪ ran (comp‘𝑌)) ↑pm (∪ ran (Hom ‘𝑇) × ∪ ran (Hom ‘𝑇)))
127126a1i 11 . . . . . . 7 (𝜑 → (𝑥 ∈ (((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌))), 𝑦 ∈ ((Base‘𝑋) × (Base‘𝑌)) ↦ (𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦), 𝑓 ∈ ((Hom ‘𝑇)‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩)):((((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌))) × ((Base‘𝑋) × (Base‘𝑌)))⟶((𝒫 ∪ ran ∪ ran (comp‘𝑋) × 𝒫 ∪ ran ∪ ran (comp‘𝑌)) ↑pm (∪ ran (Hom ‘𝑇) × ∪ ran (Hom ‘𝑇))))
12817, 58, 75, 127wunf 10816 . . . . . 6 (𝜑 → (𝑥 ∈ (((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌))), 𝑦 ∈ ((Base‘𝑋) × (Base‘𝑌)) ↦ (𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦), 𝑓 ∈ ((Hom ‘𝑇)‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩)) ∈ 𝑈)
12917, 57, 128wunop 10811 . . . . 5 (𝜑 → ⟨(comp‘ndx), (𝑥 ∈ (((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌))), 𝑦 ∈ ((Base‘𝑋) × (Base‘𝑌)) ↦ (𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦), 𝑓 ∈ ((Hom ‘𝑇)‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩))⟩ ∈ 𝑈)
13017, 27, 55, 129wuntp 10800 . . . 4 (𝜑 → {⟨(Base‘ndx), ((Base‘𝑋) × (Base‘𝑌))⟩, ⟨(Hom ‘ndx), (Hom ‘𝑇)⟩, ⟨(comp‘ndx), (𝑥 ∈ (((Base‘𝑋) × (Base‘𝑌)) × ((Base‘𝑋) × (Base‘𝑌))), 𝑦 ∈ ((Base‘𝑋) × (Base‘𝑌)) ↦ (𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑇)𝑦), 𝑓 ∈ ((Hom ‘𝑇)‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑋)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑌)(2nd ‘𝑦))(2nd ‘𝑓))⟩))⟩} ∈ 𝑈)
13116, 130eqeltrd 2860 . . 3 (𝜑 → 𝑇 ∈ 𝑈)
13222, 23, 17catcbas 18282 . . . . . 6 (𝜑 → 𝐵 = (𝑈 ∩ Cat))
1338, 132eleqtrd 2862 . . . . 5 (𝜑 → 𝑋 ∈ (𝑈 ∩ Cat))
134133elin2d 4102 . . . 4 (𝜑 → 𝑋 ∈ Cat)
1359, 132eleqtrd 2862 . . . . 5 (𝜑 → 𝑌 ∈ (𝑈 ∩ Cat))
136135elin2d 4102 . . . 4 (𝜑 → 𝑌 ∈ Cat)
1371, 134, 136xpccat 18370 . . 3 (𝜑 → 𝑇 ∈ Cat)
138131, 137elind 4097 . 2 (𝜑 → 𝑇 ∈ (𝑈 ∩ Cat))
139138, 132eleqtrrd 2863 1 (𝜑 → 𝑇 ∈ 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1569   ∈ wcel 2144  ∀wral 3076  Vcvv 3450   ⊆ wss 3895   ∩ cin 4089  𝒫 cpw 4556  {ctp 4588  ⟨cop 4834  ∪ cuni 4866   × cxp 5648  ran crn 5651  ⟶wf 6535  ‘cfv 6539  (class class class)co 7421   ∈ cmpo 7423  ωcom 7878  1st c1st 8000  2nd c2nd 8001   ↑pm cpm 8852  WUnicwun 10789  ndxcnx 17377  Basecbs 17393  Hom chom 17445  compcco 17446  Catccat 17844  CatCatccatc 18279   ×c cxpc 18348
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7752  ax-inf2 9646  ax-cnex 11260  ax-resscn 11261  ax-1cn 11262  ax-icn 11263  ax-addcl 11264  ax-addrcl 11265  ax-mulcl 11266  ax-mulrcl 11267  ax-mulcom 11268  ax-addass 11269  ax-mulass 11270  ax-distr 11271  ax-i2m1 11272  ax-1ne0 11273  ax-1rid 11274  ax-rnegex 11275  ax-rrecex 11276  ax-cnre 11277  ax-pre-lttri 11278  ax-pre-lttrn 11279  ax-pre-ltadd 11280  ax-pre-mulgt0 11281
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4835  df-uni 4867  df-int 4907  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6541  df-fn 6542  df-f 6543  df-f1 6544  df-fo 6545  df-f1o 6546  df-fv 6547  df-riota 7378  df-ov 7424  df-oprab 7425  df-mpo 7426  df-om 7879  df-1st 8002  df-2nd 8003  df-frecs 8303  df-wrecs 8334  df-recs 8383  df-rdg 8422  df-1o 8480  df-oadd 8484  df-omul 8485  df-er 8721  df-ec 8723  df-qs 8727  df-map 8853  df-pm 8854  df-en 8978  df-dom 8979  df-sdom 8980  df-fin 8981  df-wun 10791  df-ni 10961  df-pli 10962  df-mi 10963  df-lti 10964  df-plpq 10997  df-mpq 10998  df-ltpq 10999  df-enq 11000  df-nq 11001  df-erq 11002  df-plq 11003  df-mq 11004  df-1nq 11005  df-rq 11006  df-ltnq 11007  df-np 11070  df-plp 11072  df-ltp 11074  df-enr 11144  df-nr 11145  df-c 11210  df-pnf 11349  df-mnf 11350  df-xr 11351  df-ltxr 11352  df-le 11353  df-sub 11547  df-neg 11548  df-nn 12340  df-2 12409  df-3 12410  df-4 12411  df-5 12412  df-6 12413  df-7 12414  df-8 12415  df-9 12416  df-n0 12611  df-z 12698  df-dec 12819  df-uz 12970  df-fz 13644  df-struct 17331  df-slot 17366  df-ndx 17378  df-base 17394  df-hom 17458  df-cco 17459  df-cat 17848  df-cid 17849  df-catc 18280  df-xpc 18352
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator