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

Theorem xpcval 16640
 Description: Value of the binary product of categories. (Contributed by Mario Carneiro, 10-Jan-2017.)
Hypotheses
Ref Expression
xpcval.t 𝑇 = (𝐶 ×c 𝐷)
xpcval.x 𝑋 = (Base‘𝐶)
xpcval.y 𝑌 = (Base‘𝐷)
xpcval.h 𝐻 = (Hom ‘𝐶)
xpcval.j 𝐽 = (Hom ‘𝐷)
xpcval.o1 · = (comp‘𝐶)
xpcval.o2 = (comp‘𝐷)
xpcval.c (𝜑𝐶𝑉)
xpcval.d (𝜑𝐷𝑊)
xpcval.b (𝜑𝐵 = (𝑋 × 𝑌))
xpcval.k (𝜑𝐾 = (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣)))))
xpcval.o (𝜑𝑂 = (𝑥 ∈ (𝐵 × 𝐵), 𝑦𝐵 ↦ (𝑔 ∈ ((2nd𝑥)𝐾𝑦), 𝑓 ∈ (𝐾𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩ · (1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩ (2nd𝑦))(2nd𝑓))⟩)))
Assertion
Ref Expression
xpcval (𝜑𝑇 = {⟨(Base‘ndx), 𝐵⟩, ⟨(Hom ‘ndx), 𝐾⟩, ⟨(comp‘ndx), 𝑂⟩})
Distinct variable groups:   𝑓,𝑔,𝑢,𝑣,𝑥,𝑦,𝐵   𝜑,𝑓,𝑔,𝑢,𝑣,𝑥,𝑦   𝐶,𝑓,𝑔,𝑢,𝑣,𝑥,𝑦   𝐷,𝑓,𝑔,𝑢,𝑣,𝑥,𝑦   𝑓,𝐾,𝑔,𝑥,𝑦
Allowed substitution hints:   (𝑥,𝑦,𝑣,𝑢,𝑓,𝑔)   𝑇(𝑥,𝑦,𝑣,𝑢,𝑓,𝑔)   · (𝑥,𝑦,𝑣,𝑢,𝑓,𝑔)   𝐻(𝑥,𝑦,𝑣,𝑢,𝑓,𝑔)   𝐽(𝑥,𝑦,𝑣,𝑢,𝑓,𝑔)   𝐾(𝑣,𝑢)   𝑂(𝑥,𝑦,𝑣,𝑢,𝑓,𝑔)   𝑉(𝑥,𝑦,𝑣,𝑢,𝑓,𝑔)   𝑊(𝑥,𝑦,𝑣,𝑢,𝑓,𝑔)   𝑋(𝑥,𝑦,𝑣,𝑢,𝑓,𝑔)   𝑌(𝑥,𝑦,𝑣,𝑢,𝑓,𝑔)

Proof of Theorem xpcval
Dummy variables 𝑏 𝑟 𝑠 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 xpcval.t . 2 𝑇 = (𝐶 ×c 𝐷)
2 df-xpc 16635 . . . 4 ×c = (𝑟 ∈ V, 𝑠 ∈ V ↦ ((Base‘𝑟) × (Base‘𝑠)) / 𝑏(𝑢𝑏, 𝑣𝑏 ↦ (((1st𝑢)(Hom ‘𝑟)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝑠)(2nd𝑣)))) / {⟨(Base‘ndx), 𝑏⟩, ⟨(Hom ‘ndx), ⟩, ⟨(comp‘ndx), (𝑥 ∈ (𝑏 × 𝑏), 𝑦𝑏 ↦ (𝑔 ∈ ((2nd𝑥)𝑦), 𝑓 ∈ (𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝑟)(1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝑠)(2nd𝑦))(2nd𝑓))⟩))⟩})
32a1i 11 . . 3 (𝜑 → ×c = (𝑟 ∈ V, 𝑠 ∈ V ↦ ((Base‘𝑟) × (Base‘𝑠)) / 𝑏(𝑢𝑏, 𝑣𝑏 ↦ (((1st𝑢)(Hom ‘𝑟)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝑠)(2nd𝑣)))) / {⟨(Base‘ndx), 𝑏⟩, ⟨(Hom ‘ndx), ⟩, ⟨(comp‘ndx), (𝑥 ∈ (𝑏 × 𝑏), 𝑦𝑏 ↦ (𝑔 ∈ ((2nd𝑥)𝑦), 𝑓 ∈ (𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝑟)(1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝑠)(2nd𝑦))(2nd𝑓))⟩))⟩}))
4 fvex 6113 . . . . . 6 (Base‘𝑟) ∈ V
5 fvex 6113 . . . . . 6 (Base‘𝑠) ∈ V
64, 5xpex 6860 . . . . 5 ((Base‘𝑟) × (Base‘𝑠)) ∈ V
76a1i 11 . . . 4 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → ((Base‘𝑟) × (Base‘𝑠)) ∈ V)
8 simprl 790 . . . . . . . 8 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → 𝑟 = 𝐶)
98fveq2d 6107 . . . . . . 7 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → (Base‘𝑟) = (Base‘𝐶))
10 xpcval.x . . . . . . 7 𝑋 = (Base‘𝐶)
119, 10syl6eqr 2662 . . . . . 6 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → (Base‘𝑟) = 𝑋)
12 simprr 792 . . . . . . . 8 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → 𝑠 = 𝐷)
1312fveq2d 6107 . . . . . . 7 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → (Base‘𝑠) = (Base‘𝐷))
14 xpcval.y . . . . . . 7 𝑌 = (Base‘𝐷)
1513, 14syl6eqr 2662 . . . . . 6 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → (Base‘𝑠) = 𝑌)
1611, 15xpeq12d 5064 . . . . 5 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → ((Base‘𝑟) × (Base‘𝑠)) = (𝑋 × 𝑌))
17 xpcval.b . . . . . 6 (𝜑𝐵 = (𝑋 × 𝑌))
1817adantr 480 . . . . 5 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → 𝐵 = (𝑋 × 𝑌))
1916, 18eqtr4d 2647 . . . 4 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → ((Base‘𝑟) × (Base‘𝑠)) = 𝐵)
20 vex 3176 . . . . . . 7 𝑏 ∈ V
2120, 20mpt2ex 7136 . . . . . 6 (𝑢𝑏, 𝑣𝑏 ↦ (((1st𝑢)(Hom ‘𝑟)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝑠)(2nd𝑣)))) ∈ V
2221a1i 11 . . . . 5 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (𝑢𝑏, 𝑣𝑏 ↦ (((1st𝑢)(Hom ‘𝑟)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝑠)(2nd𝑣)))) ∈ V)
23 simpr 476 . . . . . . 7 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → 𝑏 = 𝐵)
24 simplrl 796 . . . . . . . . . . 11 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → 𝑟 = 𝐶)
2524fveq2d 6107 . . . . . . . . . 10 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (Hom ‘𝑟) = (Hom ‘𝐶))
26 xpcval.h . . . . . . . . . 10 𝐻 = (Hom ‘𝐶)
2725, 26syl6eqr 2662 . . . . . . . . 9 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (Hom ‘𝑟) = 𝐻)
2827oveqd 6566 . . . . . . . 8 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → ((1st𝑢)(Hom ‘𝑟)(1st𝑣)) = ((1st𝑢)𝐻(1st𝑣)))
29 simplrr 797 . . . . . . . . . . 11 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → 𝑠 = 𝐷)
3029fveq2d 6107 . . . . . . . . . 10 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) = (Hom ‘𝐷))
31 xpcval.j . . . . . . . . . 10 𝐽 = (Hom ‘𝐷)
3230, 31syl6eqr 2662 . . . . . . . . 9 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) = 𝐽)
3332oveqd 6566 . . . . . . . 8 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → ((2nd𝑢)(Hom ‘𝑠)(2nd𝑣)) = ((2nd𝑢)𝐽(2nd𝑣)))
3428, 33xpeq12d 5064 . . . . . . 7 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (((1st𝑢)(Hom ‘𝑟)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝑠)(2nd𝑣))) = (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣))))
3523, 23, 34mpt2eq123dv 6615 . . . . . 6 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (𝑢𝑏, 𝑣𝑏 ↦ (((1st𝑢)(Hom ‘𝑟)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝑠)(2nd𝑣)))) = (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣)))))
36 xpcval.k . . . . . . 7 (𝜑𝐾 = (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣)))))
3736ad2antrr 758 . . . . . 6 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → 𝐾 = (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣)))))
3835, 37eqtr4d 2647 . . . . 5 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (𝑢𝑏, 𝑣𝑏 ↦ (((1st𝑢)(Hom ‘𝑟)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝑠)(2nd𝑣)))) = 𝐾)
39 simplr 788 . . . . . . 7 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → 𝑏 = 𝐵)
4039opeq2d 4347 . . . . . 6 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → ⟨(Base‘ndx), 𝑏⟩ = ⟨(Base‘ndx), 𝐵⟩)
41 simpr 476 . . . . . . 7 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → = 𝐾)
4241opeq2d 4347 . . . . . 6 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → ⟨(Hom ‘ndx), ⟩ = ⟨(Hom ‘ndx), 𝐾⟩)
4339, 39xpeq12d 5064 . . . . . . . . 9 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → (𝑏 × 𝑏) = (𝐵 × 𝐵))
4441oveqd 6566 . . . . . . . . . 10 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → ((2nd𝑥)𝑦) = ((2nd𝑥)𝐾𝑦))
4541fveq1d 6105 . . . . . . . . . 10 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → (𝑥) = (𝐾𝑥))
4624adantr 480 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → 𝑟 = 𝐶)
4746fveq2d 6107 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → (comp‘𝑟) = (comp‘𝐶))
48 xpcval.o1 . . . . . . . . . . . . . 14 · = (comp‘𝐶)
4947, 48syl6eqr 2662 . . . . . . . . . . . . 13 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → (comp‘𝑟) = · )
5049oveqd 6566 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → (⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝑟)(1st𝑦)) = (⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩ · (1st𝑦)))
5150oveqd 6566 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → ((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝑟)(1st𝑦))(1st𝑓)) = ((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩ · (1st𝑦))(1st𝑓)))
5229adantr 480 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → 𝑠 = 𝐷)
5352fveq2d 6107 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → (comp‘𝑠) = (comp‘𝐷))
54 xpcval.o2 . . . . . . . . . . . . . 14 = (comp‘𝐷)
5553, 54syl6eqr 2662 . . . . . . . . . . . . 13 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → (comp‘𝑠) = )
5655oveqd 6566 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → (⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝑠)(2nd𝑦)) = (⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩ (2nd𝑦)))
5756oveqd 6566 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝑠)(2nd𝑦))(2nd𝑓)) = ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩ (2nd𝑦))(2nd𝑓)))
5851, 57opeq12d 4348 . . . . . . . . . 10 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝑟)(1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝑠)(2nd𝑦))(2nd𝑓))⟩ = ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩ · (1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩ (2nd𝑦))(2nd𝑓))⟩)
5944, 45, 58mpt2eq123dv 6615 . . . . . . . . 9 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → (𝑔 ∈ ((2nd𝑥)𝑦), 𝑓 ∈ (𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝑟)(1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝑠)(2nd𝑦))(2nd𝑓))⟩) = (𝑔 ∈ ((2nd𝑥)𝐾𝑦), 𝑓 ∈ (𝐾𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩ · (1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩ (2nd𝑦))(2nd𝑓))⟩))
6043, 39, 59mpt2eq123dv 6615 . . . . . . . 8 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → (𝑥 ∈ (𝑏 × 𝑏), 𝑦𝑏 ↦ (𝑔 ∈ ((2nd𝑥)𝑦), 𝑓 ∈ (𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝑟)(1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝑠)(2nd𝑦))(2nd𝑓))⟩)) = (𝑥 ∈ (𝐵 × 𝐵), 𝑦𝐵 ↦ (𝑔 ∈ ((2nd𝑥)𝐾𝑦), 𝑓 ∈ (𝐾𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩ · (1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩ (2nd𝑦))(2nd𝑓))⟩)))
61 xpcval.o . . . . . . . . 9 (𝜑𝑂 = (𝑥 ∈ (𝐵 × 𝐵), 𝑦𝐵 ↦ (𝑔 ∈ ((2nd𝑥)𝐾𝑦), 𝑓 ∈ (𝐾𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩ · (1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩ (2nd𝑦))(2nd𝑓))⟩)))
6261ad3antrrr 762 . . . . . . . 8 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → 𝑂 = (𝑥 ∈ (𝐵 × 𝐵), 𝑦𝐵 ↦ (𝑔 ∈ ((2nd𝑥)𝐾𝑦), 𝑓 ∈ (𝐾𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩ · (1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩ (2nd𝑦))(2nd𝑓))⟩)))
6360, 62eqtr4d 2647 . . . . . . 7 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → (𝑥 ∈ (𝑏 × 𝑏), 𝑦𝑏 ↦ (𝑔 ∈ ((2nd𝑥)𝑦), 𝑓 ∈ (𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝑟)(1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝑠)(2nd𝑦))(2nd𝑓))⟩)) = 𝑂)
6463opeq2d 4347 . . . . . 6 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → ⟨(comp‘ndx), (𝑥 ∈ (𝑏 × 𝑏), 𝑦𝑏 ↦ (𝑔 ∈ ((2nd𝑥)𝑦), 𝑓 ∈ (𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝑟)(1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝑠)(2nd𝑦))(2nd𝑓))⟩))⟩ = ⟨(comp‘ndx), 𝑂⟩)
6540, 42, 64tpeq123d 4227 . . . . 5 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → {⟨(Base‘ndx), 𝑏⟩, ⟨(Hom ‘ndx), ⟩, ⟨(comp‘ndx), (𝑥 ∈ (𝑏 × 𝑏), 𝑦𝑏 ↦ (𝑔 ∈ ((2nd𝑥)𝑦), 𝑓 ∈ (𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝑟)(1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝑠)(2nd𝑦))(2nd𝑓))⟩))⟩} = {⟨(Base‘ndx), 𝐵⟩, ⟨(Hom ‘ndx), 𝐾⟩, ⟨(comp‘ndx), 𝑂⟩})
6622, 38, 65csbied2 3527 . . . 4 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (𝑢𝑏, 𝑣𝑏 ↦ (((1st𝑢)(Hom ‘𝑟)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝑠)(2nd𝑣)))) / {⟨(Base‘ndx), 𝑏⟩, ⟨(Hom ‘ndx), ⟩, ⟨(comp‘ndx), (𝑥 ∈ (𝑏 × 𝑏), 𝑦𝑏 ↦ (𝑔 ∈ ((2nd𝑥)𝑦), 𝑓 ∈ (𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝑟)(1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝑠)(2nd𝑦))(2nd𝑓))⟩))⟩} = {⟨(Base‘ndx), 𝐵⟩, ⟨(Hom ‘ndx), 𝐾⟩, ⟨(comp‘ndx), 𝑂⟩})
677, 19, 66csbied2 3527 . . 3 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → ((Base‘𝑟) × (Base‘𝑠)) / 𝑏(𝑢𝑏, 𝑣𝑏 ↦ (((1st𝑢)(Hom ‘𝑟)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝑠)(2nd𝑣)))) / {⟨(Base‘ndx), 𝑏⟩, ⟨(Hom ‘ndx), ⟩, ⟨(comp‘ndx), (𝑥 ∈ (𝑏 × 𝑏), 𝑦𝑏 ↦ (𝑔 ∈ ((2nd𝑥)𝑦), 𝑓 ∈ (𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝑟)(1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝑠)(2nd𝑦))(2nd𝑓))⟩))⟩} = {⟨(Base‘ndx), 𝐵⟩, ⟨(Hom ‘ndx), 𝐾⟩, ⟨(comp‘ndx), 𝑂⟩})
68 xpcval.c . . . 4 (𝜑𝐶𝑉)
69 elex 3185 . . . 4 (𝐶𝑉𝐶 ∈ V)
7068, 69syl 17 . . 3 (𝜑𝐶 ∈ V)
71 xpcval.d . . . 4 (𝜑𝐷𝑊)
72 elex 3185 . . . 4 (𝐷𝑊𝐷 ∈ V)
7371, 72syl 17 . . 3 (𝜑𝐷 ∈ V)
74 tpex 6855 . . . 4 {⟨(Base‘ndx), 𝐵⟩, ⟨(Hom ‘ndx), 𝐾⟩, ⟨(comp‘ndx), 𝑂⟩} ∈ V
7574a1i 11 . . 3 (𝜑 → {⟨(Base‘ndx), 𝐵⟩, ⟨(Hom ‘ndx), 𝐾⟩, ⟨(comp‘ndx), 𝑂⟩} ∈ V)
763, 67, 70, 73, 75ovmpt2d 6686 . 2 (𝜑 → (𝐶 ×c 𝐷) = {⟨(Base‘ndx), 𝐵⟩, ⟨(Hom ‘ndx), 𝐾⟩, ⟨(comp‘ndx), 𝑂⟩})
771, 76syl5eq 2656 1 (𝜑𝑇 = {⟨(Base‘ndx), 𝐵⟩, ⟨(Hom ‘ndx), 𝐾⟩, ⟨(comp‘ndx), 𝑂⟩})
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 383   = wceq 1475   ∈ wcel 1977  Vcvv 3173  ⦋csb 3499  {ctp 4129  ⟨cop 4131   × cxp 5036  ‘cfv 5804  (class class class)co 6549   ↦ cmpt2 6551  1st c1st 7057  2nd c2nd 7058  ndxcnx 15692  Basecbs 15695  Hom chom 15779  compcco 15780   ×c cxpc 16631 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-rep 4699  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847 This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-reu 2903  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-tp 4130  df-op 4132  df-uni 4373  df-iun 4457  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-ov 6552  df-oprab 6553  df-mpt2 6554  df-1st 7059  df-2nd 7060  df-xpc 16635 This theorem is referenced by:  xpcbas  16641  xpchomfval  16642  xpccofval  16645  catcxpccl  16670  xpcpropd  16671
 Copyright terms: Public domain W3C validator