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

Theorem xpcval 18356
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 18351 . . . 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 6898 . . . . . 6 (Base‘𝑟) ∈ V
5 fvex 6898 . . . . . 6 (Base‘𝑠) ∈ V
64, 5xpex 7767 . . . . 5 ((Base‘𝑟) × (Base‘𝑠)) ∈ V
76a1i 11 . . . 4 ((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) → ((Base‘𝑟) × (Base‘𝑠)) ∈ V)
8 simprl 783 . . . . . . . 8 ((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) → 𝑟 = 𝐶)
98fveq2d 6889 . . . . . . 7 ((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) → (Base‘𝑟) = (Base‘𝐶))
10 xpcval.x . . . . . . 7 𝑋 = (Base‘𝐶)
119, 10eqtr4di 2813 . . . . . 6 ((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) → (Base‘𝑟) = 𝑋)
12 simprr 785 . . . . . . . 8 ((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) → 𝑠 = 𝐷)
1312fveq2d 6889 . . . . . . 7 ((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) → (Base‘𝑠) = (Base‘𝐷))
14 xpcval.y . . . . . . 7 𝑌 = (Base‘𝐷)
1513, 14eqtr4di 2813 . . . . . 6 ((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) → (Base‘𝑠) = 𝑌)
1611, 15xpeq12d 5681 . . . . 5 ((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) → ((Base‘𝑟) × (Base‘𝑠)) = (𝑋 × 𝑌))
17 xpcval.b . . . . . 6 (𝜑 → 𝐵 = (𝑋 × 𝑌))
1817adantr 486 . . . . 5 ((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) → 𝐵 = (𝑋 × 𝑌))
1916, 18eqtr4d 2798 . . . 4 ((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) → ((Base‘𝑟) × (Base‘𝑠)) = 𝐵)
20 vex 3454 . . . . . . 7 𝑏 ∈ V
2120, 20mpoex 8092 . . . . . 6 (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (((1st ‘𝑢)(Hom ‘𝑟)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑠)(2nd ‘𝑣)))) ∈ V
2221a1i 11 . . . . 5 (((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (((1st ‘𝑢)(Hom ‘𝑟)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑠)(2nd ‘𝑣)))) ∈ V)
23 simpr 490 . . . . . . 7 (((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → 𝑏 = 𝐵)
24 simplrl 789 . . . . . . . . . . 11 (((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → 𝑟 = 𝐶)
2524fveq2d 6889 . . . . . . . . . 10 (((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (Hom ‘𝑟) = (Hom ‘𝐶))
26 xpcval.h . . . . . . . . . 10 𝐻 = (Hom ‘𝐶)
2725, 26eqtr4di 2813 . . . . . . . . 9 (((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (Hom ‘𝑟) = 𝐻)
2827oveqd 7437 . . . . . . . 8 (((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → ((1st ‘𝑢)(Hom ‘𝑟)(1st ‘𝑣)) = ((1st ‘𝑢)𝐻(1st ‘𝑣)))
29 simplrr 790 . . . . . . . . . . 11 (((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → 𝑠 = 𝐷)
3029fveq2d 6889 . . . . . . . . . 10 (((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) = (Hom ‘𝐷))
31 xpcval.j . . . . . . . . . 10 𝐽 = (Hom ‘𝐷)
3230, 31eqtr4di 2813 . . . . . . . . 9 (((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) = 𝐽)
3332oveqd 7437 . . . . . . . 8 (((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → ((2nd ‘𝑢)(Hom ‘𝑠)(2nd ‘𝑣)) = ((2nd ‘𝑢)𝐽(2nd ‘𝑣)))
3428, 33xpeq12d 5681 . . . . . . 7 (((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (((1st ‘𝑢)(Hom ‘𝑟)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑠)(2nd ‘𝑣))) = (((1st ‘𝑢)𝐻(1st ‘𝑣)) × ((2nd ‘𝑢)𝐽(2nd ‘𝑣))))
3523, 23, 34mpoeq123dv 7495 . . . . . 6 (((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (((1st ‘𝑢)(Hom ‘𝑟)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑠)(2nd ‘𝑣)))) = (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (((1st ‘𝑢)𝐻(1st ‘𝑣)) × ((2nd ‘𝑢)𝐽(2nd ‘𝑣)))))
36 xpcval.k . . . . . . 7 (𝜑 → 𝐾 = (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (((1st ‘𝑢)𝐻(1st ‘𝑣)) × ((2nd ‘𝑢)𝐽(2nd ‘𝑣)))))
3736ad2antrr 739 . . . . . 6 (((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → 𝐾 = (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (((1st ‘𝑢)𝐻(1st ‘𝑣)) × ((2nd ‘𝑢)𝐽(2nd ‘𝑣)))))
3835, 37eqtr4d 2798 . . . . 5 (((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) → (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (((1st ‘𝑢)(Hom ‘𝑟)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑠)(2nd ‘𝑣)))) = 𝐾)
39 simplr 781 . . . . . . 7 ((((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐾) → 𝑏 = 𝐵)
4039opeq2d 4846 . . . . . 6 ((((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐾) → ⟨(Base‘ndx), 𝑏⟩ = ⟨(Base‘ndx), 𝐵⟩)
41 simpr 490 . . . . . . 7 ((((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐾) → ℎ = 𝐾)
4241opeq2d 4846 . . . . . 6 ((((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐾) → ⟨(Hom ‘ndx), ℎ⟩ = ⟨(Hom ‘ndx), 𝐾⟩)
4339, 39xpeq12d 5681 . . . . . . . . 9 ((((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐾) → (𝑏 × 𝑏) = (𝐵 × 𝐵))
4441oveqd 7437 . . . . . . . . . 10 ((((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐾) → ((2nd ‘𝑥)ℎ𝑦) = ((2nd ‘𝑥)𝐾𝑦))
4541fveq1d 6887 . . . . . . . . . 10 ((((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐾) → (ℎ‘𝑥) = (𝐾‘𝑥))
4624adantr 486 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐾) → 𝑟 = 𝐶)
4746fveq2d 6889 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐾) → (comp‘𝑟) = (comp‘𝐶))
48 xpcval.o1 . . . . . . . . . . . . . 14 · = (comp‘𝐶)
4947, 48eqtr4di 2813 . . . . . . . . . . . . 13 ((((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐾) → (comp‘𝑟) = · )
5049oveqd 7437 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐾) → (⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑟)(1st ‘𝑦)) = (⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩ · (1st ‘𝑦)))
5150oveqd 7437 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐾) → ((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑟)(1st ‘𝑦))(1st ‘𝑓)) = ((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩ · (1st ‘𝑦))(1st ‘𝑓)))
5229adantr 486 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐾) → 𝑠 = 𝐷)
5352fveq2d 6889 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐾) → (comp‘𝑠) = (comp‘𝐷))
54 xpcval.o2 . . . . . . . . . . . . . 14 ∙ = (comp‘𝐷)
5553, 54eqtr4di 2813 . . . . . . . . . . . . 13 ((((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐾) → (comp‘𝑠) = ∙ )
5655oveqd 7437 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐾) → (⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑠)(2nd ‘𝑦)) = (⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩ ∙ (2nd ‘𝑦)))
5756oveqd 7437 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐾) → ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑠)(2nd ‘𝑦))(2nd ‘𝑓)) = ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩ ∙ (2nd ‘𝑦))(2nd ‘𝑓)))
5851, 57opeq12d 4847 . . . . . . . . . 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 7495 . . . . . . . . 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 7495 . . . . . . . 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 743 . . . . . . . 8 ((((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐾) → 𝑂 = (𝑥 ∈ (𝐵 × 𝐵), 𝑦 ∈ 𝐵 ↦ (𝑔 ∈ ((2nd ‘𝑥)𝐾𝑦), 𝑓 ∈ (𝐾‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩ · (1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩ ∙ (2nd ‘𝑦))(2nd ‘𝑓))⟩)))
6360, 62eqtr4d 2798 . . . . . . 7 ((((𝜑 ∧ (𝑟 = 𝐶 ∧ 𝑠 = 𝐷)) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐾) → (𝑥 ∈ (𝑏 × 𝑏), 𝑦 ∈ 𝑏 ↦ (𝑔 ∈ ((2nd ‘𝑥)ℎ𝑦), 𝑓 ∈ (ℎ‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑟)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑠)(2nd ‘𝑦))(2nd ‘𝑓))⟩)) = 𝑂)
6463opeq2d 4846 . . . . . 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 4705 . . . . 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 3883 . . . 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 3883 . . 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 3473 . . 3 (𝜑 → 𝐶 ∈ V)
70 xpcval.d . . . 4 (𝜑 → 𝐷 ∈ 𝑊)
7170elexd 3473 . . 3 (𝜑 → 𝐷 ∈ V)
72 tpex 7762 . . . 4 {⟨(Base‘ndx), 𝐵⟩, ⟨(Hom ‘ndx), 𝐾⟩, ⟨(comp‘ndx), 𝑂⟩} ∈ V
7372a1i 11 . . 3 (𝜑 → {⟨(Base‘ndx), 𝐵⟩, ⟨(Hom ‘ndx), 𝐾⟩, ⟨(comp‘ndx), 𝑂⟩} ∈ V)
743, 67, 69, 71, 73ovmpod 7572 . 2 (𝜑 → (𝐶 ×c 𝐷) = {⟨(Base‘ndx), 𝐵⟩, ⟨(Hom ‘ndx), 𝐾⟩, ⟨(comp‘ndx), 𝑂⟩})
751, 74eqtrid 2807 1 (𝜑 → 𝑇 = {⟨(Base‘ndx), 𝐵⟩, ⟨(Hom ‘ndx), 𝐾⟩, ⟨(comp‘ndx), 𝑂⟩})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  Vcvv 3450  ⦋csb 3846  {ctp 4588  ⟨cop 4834   × cxp 5648  ‘cfv 6538  (class class class)co 7420   ∈ cmpo 7422  1st c1st 7999  2nd c2nd 8000  ndxcnx 17376  Basecbs 17392  Hom chom 17444  compcco 17445   ×c cxpc 18347
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 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  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-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  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-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  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-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-1st 8001  df-2nd 8002  df-xpc 18351
This theorem is used by:  xpcbas  18357  xpchomfval  18358  xpccofval  18361  catcxpccl  18386  xpcpropd  18387
  Copyright terms: Public domain W3C validator