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

Definition df-xpc 18326
Description: Define the binary product of categories, which has objects for each pair of objects of the factors, and morphisms for each pair of morphisms of the factors. Composition is componentwise. (Contributed by Mario Carneiro, 10-Jan-2017.)
Assertion
Ref Expression
df-xpc ×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 ‘𝑓))⟩))⟩})
Distinct variable group:   𝑓,𝑏,𝑔,ℎ,𝑟,𝑠,𝑢,𝑣,𝑥,𝑦

Detailed syntax breakdown of Definition df-xpc
StepHypRef Expression
1 cxpc 18322 . 2 class ×c
2 vr . . 3 setvar 𝑟
3 vs . . 3 setvar 𝑠
4 cvv 3451 . . 3 class V
5 vb . . . 4 setvar 𝑏
62cv 1569 . . . . . 6 class 𝑟
7 cbs 17367 . . . . . 6 class Base
86, 7cfv 6531 . . . . 5 class (Base‘𝑟)
93cv 1569 . . . . . 6 class 𝑠
109, 7cfv 6531 . . . . 5 class (Base‘𝑠)
118, 10cxp 5649 . . . 4 class ((Base‘𝑟) × (Base‘𝑠))
12 vh . . . . 5 setvar ℎ
13 vu . . . . . 6 setvar 𝑢
14 vv . . . . . 6 setvar 𝑣
155cv 1569 . . . . . 6 class 𝑏
1613cv 1569 . . . . . . . . 9 class 𝑢
17 c1st 7988 . . . . . . . . 9 class 1st
1816, 17cfv 6531 . . . . . . . 8 class (1st ‘𝑢)
1914cv 1569 . . . . . . . . 9 class 𝑣
2019, 17cfv 6531 . . . . . . . 8 class (1st ‘𝑣)
21 chom 17419 . . . . . . . . 9 class Hom
226, 21cfv 6531 . . . . . . . 8 class (Hom ‘𝑟)
2318, 20, 22co 7412 . . . . . . 7 class ((1st ‘𝑢)(Hom ‘𝑟)(1st ‘𝑣))
24 c2nd 7989 . . . . . . . . 9 class 2nd
2516, 24cfv 6531 . . . . . . . 8 class (2nd ‘𝑢)
2619, 24cfv 6531 . . . . . . . 8 class (2nd ‘𝑣)
279, 21cfv 6531 . . . . . . . 8 class (Hom ‘𝑠)
2825, 26, 27co 7412 . . . . . . 7 class ((2nd ‘𝑢)(Hom ‘𝑠)(2nd ‘𝑣))
2923, 28cxp 5649 . . . . . 6 class (((1st ‘𝑢)(Hom ‘𝑟)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑠)(2nd ‘𝑣)))
3013, 14, 15, 15, 29cmpo 7414 . . . . 5 class (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (((1st ‘𝑢)(Hom ‘𝑟)(1st ‘𝑣)) × ((2nd ‘𝑢)(Hom ‘𝑠)(2nd ‘𝑣))))
31 cnx 17351 . . . . . . . 8 class ndx
3231, 7cfv 6531 . . . . . . 7 class (Base‘ndx)
3332, 15cop 4590 . . . . . 6 class ⟨(Base‘ndx), 𝑏⟩
3431, 21cfv 6531 . . . . . . 7 class (Hom ‘ndx)
3512cv 1569 . . . . . . 7 class ℎ
3634, 35cop 4590 . . . . . 6 class ⟨(Hom ‘ndx), ℎ⟩
37 cco 17420 . . . . . . . 8 class comp
3831, 37cfv 6531 . . . . . . 7 class (comp‘ndx)
39 vx . . . . . . . 8 setvar 𝑥
40 vy . . . . . . . 8 setvar 𝑦
4115, 15cxp 5649 . . . . . . . 8 class (𝑏 × 𝑏)
42 vg . . . . . . . . 9 setvar 𝑔
43 vf . . . . . . . . 9 setvar 𝑓
4439cv 1569 . . . . . . . . . . 11 class 𝑥
4544, 24cfv 6531 . . . . . . . . . 10 class (2nd ‘𝑥)
4640cv 1569 . . . . . . . . . 10 class 𝑦
4745, 46, 35co 7412 . . . . . . . . 9 class ((2nd ‘𝑥)ℎ𝑦)
4844, 35cfv 6531 . . . . . . . . 9 class (ℎ‘𝑥)
4942cv 1569 . . . . . . . . . . . 12 class 𝑔
5049, 17cfv 6531 . . . . . . . . . . 11 class (1st ‘𝑔)
5143cv 1569 . . . . . . . . . . . 12 class 𝑓
5251, 17cfv 6531 . . . . . . . . . . 11 class (1st ‘𝑓)
5344, 17cfv 6531 . . . . . . . . . . . . . 14 class (1st ‘𝑥)
5453, 17cfv 6531 . . . . . . . . . . . . 13 class (1st ‘(1st ‘𝑥))
5545, 17cfv 6531 . . . . . . . . . . . . 13 class (1st ‘(2nd ‘𝑥))
5654, 55cop 4590 . . . . . . . . . . . 12 class ⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩
5746, 17cfv 6531 . . . . . . . . . . . 12 class (1st ‘𝑦)
586, 37cfv 6531 . . . . . . . . . . . 12 class (comp‘𝑟)
5956, 57, 58co 7412 . . . . . . . . . . 11 class (⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑟)(1st ‘𝑦))
6050, 52, 59co 7412 . . . . . . . . . 10 class ((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑟)(1st ‘𝑦))(1st ‘𝑓))
6149, 24cfv 6531 . . . . . . . . . . 11 class (2nd ‘𝑔)
6251, 24cfv 6531 . . . . . . . . . . 11 class (2nd ‘𝑓)
6353, 24cfv 6531 . . . . . . . . . . . . 13 class (2nd ‘(1st ‘𝑥))
6445, 24cfv 6531 . . . . . . . . . . . . 13 class (2nd ‘(2nd ‘𝑥))
6563, 64cop 4590 . . . . . . . . . . . 12 class ⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩
6646, 24cfv 6531 . . . . . . . . . . . 12 class (2nd ‘𝑦)
679, 37cfv 6531 . . . . . . . . . . . 12 class (comp‘𝑠)
6865, 66, 67co 7412 . . . . . . . . . . 11 class (⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑠)(2nd ‘𝑦))
6961, 62, 68co 7412 . . . . . . . . . 10 class ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑠)(2nd ‘𝑦))(2nd ‘𝑓))
7060, 69cop 4590 . . . . . . . . 9 class ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑟)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑠)(2nd ‘𝑦))(2nd ‘𝑓))⟩
7142, 43, 47, 48, 70cmpo 7414 . . . . . . . 8 class (𝑔 ∈ ((2nd ‘𝑥)ℎ𝑦), 𝑓 ∈ (ℎ‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑟)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑠)(2nd ‘𝑦))(2nd ‘𝑓))⟩)
7239, 40, 41, 15, 71cmpo 7414 . . . . . . 7 class (𝑥 ∈ (𝑏 × 𝑏), 𝑦 ∈ 𝑏 ↦ (𝑔 ∈ ((2nd ‘𝑥)ℎ𝑦), 𝑓 ∈ (ℎ‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑟)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑠)(2nd ‘𝑦))(2nd ‘𝑓))⟩))
7338, 72cop 4590 . . . . . 6 class ⟨(comp‘ndx), (𝑥 ∈ (𝑏 × 𝑏), 𝑦 ∈ 𝑏 ↦ (𝑔 ∈ ((2nd ‘𝑥)ℎ𝑦), 𝑓 ∈ (ℎ‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑟)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑠)(2nd ‘𝑦))(2nd ‘𝑓))⟩))⟩
7433, 36, 73ctp 4588 . . . . 5 class {⟨(Base‘ndx), 𝑏⟩, ⟨(Hom ‘ndx), ℎ⟩, ⟨(comp‘ndx), (𝑥 ∈ (𝑏 × 𝑏), 𝑦 ∈ 𝑏 ↦ (𝑔 ∈ ((2nd ‘𝑥)ℎ𝑦), 𝑓 ∈ (ℎ‘𝑥) ↦ ⟨((1st ‘𝑔)(⟨(1st ‘(1st ‘𝑥)), (1st ‘(2nd ‘𝑥))⟩(comp‘𝑟)(1st ‘𝑦))(1st ‘𝑓)), ((2nd ‘𝑔)(⟨(2nd ‘(1st ‘𝑥)), (2nd ‘(2nd ‘𝑥))⟩(comp‘𝑠)(2nd ‘𝑦))(2nd ‘𝑓))⟩))⟩}
7512, 30, 74csb 3847 . . . 4 class ⦋(𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (((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 ‘𝑓))⟩))⟩}
765, 11, 75csb 3847 . . 3 class ⦋((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 ‘𝑓))⟩))⟩}
772, 3, 4, 4, 76cmpo 7414 . 2 class (𝑟 ∈ 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 ‘𝑓))⟩))⟩})
781, 77wceq 1570 1 wff ×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 ‘𝑓))⟩))⟩})
Colors of variables:    wff setvar class
This definition is used by:  fnxpc  18330  xpcval  18331  reldmxpcALT  50299
  Copyright terms: Public domain W3C validator