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

Theorem xpcval 17892
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 17887 . . . 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 6784 . . . . . 6 (Base‘𝑟) ∈ V
5 fvex 6784 . . . . . 6 (Base‘𝑠) ∈ V
64, 5xpex 7597 . . . . 5 ((Base‘𝑟) × (Base‘𝑠)) ∈ V
76a1i 11 . . . 4 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → ((Base‘𝑟) × (Base‘𝑠)) ∈ V)
8 simprl 768 . . . . . . . 8 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → 𝑟 = 𝐶)
98fveq2d 6775 . . . . . . 7 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → (Base‘𝑟) = (Base‘𝐶))
10 xpcval.x . . . . . . 7 𝑋 = (Base‘𝐶)
119, 10eqtr4di 2798 . . . . . 6 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → (Base‘𝑟) = 𝑋)
12 simprr 770 . . . . . . . 8 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → 𝑠 = 𝐷)
1312fveq2d 6775 . . . . . . 7 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → (Base‘𝑠) = (Base‘𝐷))
14 xpcval.y . . . . . . 7 𝑌 = (Base‘𝐷)
1513, 14eqtr4di 2798 . . . . . 6 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → (Base‘𝑠) = 𝑌)
1611, 15xpeq12d 5621 . . . . 5 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → ((Base‘𝑟) × (Base‘𝑠)) = (𝑋 × 𝑌))
17 xpcval.b . . . . . 6 (𝜑𝐵 = (𝑋 × 𝑌))
1817adantr 481 . . . . 5 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → 𝐵 = (𝑋 × 𝑌))
1916, 18eqtr4d 2783 . . . 4 ((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) → ((Base‘𝑟) × (Base‘𝑠)) = 𝐵)
20 vex 3435 . . . . . . 7 𝑏 ∈ V
2120, 20mpoex 7913 . . . . . 6 (𝑢𝑏, 𝑣𝑏 ↦ (((1st𝑢)(Hom ‘𝑟)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝑠)(2nd𝑣)))) ∈ V
2221a1i 11 . . . . 5 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (𝑢𝑏, 𝑣𝑏 ↦ (((1st𝑢)(Hom ‘𝑟)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝑠)(2nd𝑣)))) ∈ V)
23 simpr 485 . . . . . . 7 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → 𝑏 = 𝐵)
24 simplrl 774 . . . . . . . . . . 11 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → 𝑟 = 𝐶)
2524fveq2d 6775 . . . . . . . . . 10 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (Hom ‘𝑟) = (Hom ‘𝐶))
26 xpcval.h . . . . . . . . . 10 𝐻 = (Hom ‘𝐶)
2725, 26eqtr4di 2798 . . . . . . . . 9 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (Hom ‘𝑟) = 𝐻)
2827oveqd 7288 . . . . . . . 8 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → ((1st𝑢)(Hom ‘𝑟)(1st𝑣)) = ((1st𝑢)𝐻(1st𝑣)))
29 simplrr 775 . . . . . . . . . . 11 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → 𝑠 = 𝐷)
3029fveq2d 6775 . . . . . . . . . 10 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) = (Hom ‘𝐷))
31 xpcval.j . . . . . . . . . 10 𝐽 = (Hom ‘𝐷)
3230, 31eqtr4di 2798 . . . . . . . . 9 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) = 𝐽)
3332oveqd 7288 . . . . . . . 8 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → ((2nd𝑢)(Hom ‘𝑠)(2nd𝑣)) = ((2nd𝑢)𝐽(2nd𝑣)))
3428, 33xpeq12d 5621 . . . . . . 7 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (((1st𝑢)(Hom ‘𝑟)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝑠)(2nd𝑣))) = (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣))))
3523, 23, 34mpoeq123dv 7344 . . . . . 6 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (𝑢𝑏, 𝑣𝑏 ↦ (((1st𝑢)(Hom ‘𝑟)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝑠)(2nd𝑣)))) = (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣)))))
36 xpcval.k . . . . . . 7 (𝜑𝐾 = (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣)))))
3736ad2antrr 723 . . . . . 6 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → 𝐾 = (𝑢𝐵, 𝑣𝐵 ↦ (((1st𝑢)𝐻(1st𝑣)) × ((2nd𝑢)𝐽(2nd𝑣)))))
3835, 37eqtr4d 2783 . . . . 5 (((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (𝑢𝑏, 𝑣𝑏 ↦ (((1st𝑢)(Hom ‘𝑟)(1st𝑣)) × ((2nd𝑢)(Hom ‘𝑠)(2nd𝑣)))) = 𝐾)
39 simplr 766 . . . . . . 7 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → 𝑏 = 𝐵)
4039opeq2d 4817 . . . . . 6 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → ⟨(Base‘ndx), 𝑏⟩ = ⟨(Base‘ndx), 𝐵⟩)
41 simpr 485 . . . . . . 7 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → = 𝐾)
4241opeq2d 4817 . . . . . 6 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → ⟨(Hom ‘ndx), ⟩ = ⟨(Hom ‘ndx), 𝐾⟩)
4339, 39xpeq12d 5621 . . . . . . . . 9 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → (𝑏 × 𝑏) = (𝐵 × 𝐵))
4441oveqd 7288 . . . . . . . . . 10 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → ((2nd𝑥)𝑦) = ((2nd𝑥)𝐾𝑦))
4541fveq1d 6773 . . . . . . . . . 10 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → (𝑥) = (𝐾𝑥))
4624adantr 481 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → 𝑟 = 𝐶)
4746fveq2d 6775 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → (comp‘𝑟) = (comp‘𝐶))
48 xpcval.o1 . . . . . . . . . . . . . 14 · = (comp‘𝐶)
4947, 48eqtr4di 2798 . . . . . . . . . . . . 13 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → (comp‘𝑟) = · )
5049oveqd 7288 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → (⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝑟)(1st𝑦)) = (⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩ · (1st𝑦)))
5150oveqd 7288 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → ((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝑟)(1st𝑦))(1st𝑓)) = ((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩ · (1st𝑦))(1st𝑓)))
5229adantr 481 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → 𝑠 = 𝐷)
5352fveq2d 6775 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → (comp‘𝑠) = (comp‘𝐷))
54 xpcval.o2 . . . . . . . . . . . . . 14 = (comp‘𝐷)
5553, 54eqtr4di 2798 . . . . . . . . . . . . 13 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → (comp‘𝑠) = )
5655oveqd 7288 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → (⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝑠)(2nd𝑦)) = (⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩ (2nd𝑦)))
5756oveqd 7288 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝑠)(2nd𝑦))(2nd𝑓)) = ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩ (2nd𝑦))(2nd𝑓)))
5851, 57opeq12d 4818 . . . . . . . . . 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, 58mpoeq123dv 7344 . . . . . . . . 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, 59mpoeq123dv 7344 . . . . . . . 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 727 . . . . . . . 8 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → 𝑂 = (𝑥 ∈ (𝐵 × 𝐵), 𝑦𝐵 ↦ (𝑔 ∈ ((2nd𝑥)𝐾𝑦), 𝑓 ∈ (𝐾𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩ · (1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩ (2nd𝑦))(2nd𝑓))⟩)))
6360, 62eqtr4d 2783 . . . . . . 7 ((((𝜑 ∧ (𝑟 = 𝐶𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ = 𝐾) → (𝑥 ∈ (𝑏 × 𝑏), 𝑦𝑏 ↦ (𝑔 ∈ ((2nd𝑥)𝑦), 𝑓 ∈ (𝑥) ↦ ⟨((1st𝑔)(⟨(1st ‘(1st𝑥)), (1st ‘(2nd𝑥))⟩(comp‘𝑟)(1st𝑦))(1st𝑓)), ((2nd𝑔)(⟨(2nd ‘(1st𝑥)), (2nd ‘(2nd𝑥))⟩(comp‘𝑠)(2nd𝑦))(2nd𝑓))⟩)) = 𝑂)
6463opeq2d 4817 . . . . . 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 4690 . . . . 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 3877 . . . 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 3877 . . 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 (𝜑𝐶𝑉)
6968elexd 3451 . . 3 (𝜑𝐶 ∈ V)
70 xpcval.d . . . 4 (𝜑𝐷𝑊)
7170elexd 3451 . . 3 (𝜑𝐷 ∈ V)
72 tpex 7591 . . . 4 {⟨(Base‘ndx), 𝐵⟩, ⟨(Hom ‘ndx), 𝐾⟩, ⟨(comp‘ndx), 𝑂⟩} ∈ V
7372a1i 11 . . 3 (𝜑 → {⟨(Base‘ndx), 𝐵⟩, ⟨(Hom ‘ndx), 𝐾⟩, ⟨(comp‘ndx), 𝑂⟩} ∈ V)
743, 67, 69, 71, 73ovmpod 7419 . 2 (𝜑 → (𝐶 ×c 𝐷) = {⟨(Base‘ndx), 𝐵⟩, ⟨(Hom ‘ndx), 𝐾⟩, ⟨(comp‘ndx), 𝑂⟩})
751, 74eqtrid 2792 1 (𝜑𝑇 = {⟨(Base‘ndx), 𝐵⟩, ⟨(Hom ‘ndx), 𝐾⟩, ⟨(comp‘ndx), 𝑂⟩})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1542  wcel 2110  Vcvv 3431  csb 3837  {ctp 4571  cop 4573   × cxp 5588  cfv 6432  (class class class)co 7271  cmpo 7273  1st c1st 7822  2nd c2nd 7823  ndxcnx 16892  Basecbs 16910  Hom chom 16971  compcco 16972   ×c cxpc 17883
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-rep 5214  ax-sep 5227  ax-nul 5234  ax-pow 5292  ax-pr 5356  ax-un 7582
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ne 2946  df-ral 3071  df-rex 3072  df-reu 3073  df-rab 3075  df-v 3433  df-sbc 3721  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4568  df-pr 4570  df-tp 4572  df-op 4574  df-uni 4846  df-iun 4932  df-br 5080  df-opab 5142  df-mpt 5163  df-id 5490  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-res 5602  df-ima 5603  df-iota 6390  df-fun 6434  df-fn 6435  df-f 6436  df-f1 6437  df-fo 6438  df-f1o 6439  df-fv 6440  df-ov 7274  df-oprab 7275  df-mpo 7276  df-1st 7824  df-2nd 7825  df-xpc 17887
This theorem is referenced by:  xpcbas  17893  xpchomfval  17894  xpccofval  17897  catcxpccl  17922  catcxpcclOLD  17923  xpcpropd  17924
  Copyright terms: Public domain W3C validator