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

Definition df-prf 17892
Description: Define the pairing operation for functors (which takes two functors 𝐹:𝐶𝐷 and 𝐺:𝐶𝐸 and produces (𝐹 ⟨,⟩F 𝐺):𝐶⟶(𝐷 ×c 𝐸)). (Contributed by Mario Carneiro, 11-Jan-2017.)
Assertion
Ref Expression
df-prf ⟨,⟩F = (𝑓 ∈ V, 𝑔 ∈ V ↦ dom (1st𝑓) / 𝑏⟨(𝑥𝑏 ↦ ⟨((1st𝑓)‘𝑥), ((1st𝑔)‘𝑥)⟩), (𝑥𝑏, 𝑦𝑏 ↦ ( ∈ dom (𝑥(2nd𝑓)𝑦) ↦ ⟨((𝑥(2nd𝑓)𝑦)‘), ((𝑥(2nd𝑔)𝑦)‘)⟩))⟩)
Distinct variable group:   𝑓,𝑏,𝑔,,𝑥,𝑦

Detailed syntax breakdown of Definition df-prf
StepHypRef Expression
1 cprf 17888 . 2 class ⟨,⟩F
2 vf . . 3 setvar 𝑓
3 vg . . 3 setvar 𝑔
4 cvv 3432 . . 3 class V
5 vb . . . 4 setvar 𝑏
62cv 1538 . . . . . 6 class 𝑓
7 c1st 7829 . . . . . 6 class 1st
86, 7cfv 6433 . . . . 5 class (1st𝑓)
98cdm 5589 . . . 4 class dom (1st𝑓)
10 vx . . . . . 6 setvar 𝑥
115cv 1538 . . . . . 6 class 𝑏
1210cv 1538 . . . . . . . 8 class 𝑥
1312, 8cfv 6433 . . . . . . 7 class ((1st𝑓)‘𝑥)
143cv 1538 . . . . . . . . 9 class 𝑔
1514, 7cfv 6433 . . . . . . . 8 class (1st𝑔)
1612, 15cfv 6433 . . . . . . 7 class ((1st𝑔)‘𝑥)
1713, 16cop 4567 . . . . . 6 class ⟨((1st𝑓)‘𝑥), ((1st𝑔)‘𝑥)⟩
1810, 11, 17cmpt 5157 . . . . 5 class (𝑥𝑏 ↦ ⟨((1st𝑓)‘𝑥), ((1st𝑔)‘𝑥)⟩)
19 vy . . . . . 6 setvar 𝑦
20 vh . . . . . . 7 setvar
2119cv 1538 . . . . . . . . 9 class 𝑦
22 c2nd 7830 . . . . . . . . . 10 class 2nd
236, 22cfv 6433 . . . . . . . . 9 class (2nd𝑓)
2412, 21, 23co 7275 . . . . . . . 8 class (𝑥(2nd𝑓)𝑦)
2524cdm 5589 . . . . . . 7 class dom (𝑥(2nd𝑓)𝑦)
2620cv 1538 . . . . . . . . 9 class
2726, 24cfv 6433 . . . . . . . 8 class ((𝑥(2nd𝑓)𝑦)‘)
2814, 22cfv 6433 . . . . . . . . . 10 class (2nd𝑔)
2912, 21, 28co 7275 . . . . . . . . 9 class (𝑥(2nd𝑔)𝑦)
3026, 29cfv 6433 . . . . . . . 8 class ((𝑥(2nd𝑔)𝑦)‘)
3127, 30cop 4567 . . . . . . 7 class ⟨((𝑥(2nd𝑓)𝑦)‘), ((𝑥(2nd𝑔)𝑦)‘)⟩
3220, 25, 31cmpt 5157 . . . . . 6 class ( ∈ dom (𝑥(2nd𝑓)𝑦) ↦ ⟨((𝑥(2nd𝑓)𝑦)‘), ((𝑥(2nd𝑔)𝑦)‘)⟩)
3310, 19, 11, 11, 32cmpo 7277 . . . . 5 class (𝑥𝑏, 𝑦𝑏 ↦ ( ∈ dom (𝑥(2nd𝑓)𝑦) ↦ ⟨((𝑥(2nd𝑓)𝑦)‘), ((𝑥(2nd𝑔)𝑦)‘)⟩))
3418, 33cop 4567 . . . 4 class ⟨(𝑥𝑏 ↦ ⟨((1st𝑓)‘𝑥), ((1st𝑔)‘𝑥)⟩), (𝑥𝑏, 𝑦𝑏 ↦ ( ∈ dom (𝑥(2nd𝑓)𝑦) ↦ ⟨((𝑥(2nd𝑓)𝑦)‘), ((𝑥(2nd𝑔)𝑦)‘)⟩))⟩
355, 9, 34csb 3832 . . 3 class dom (1st𝑓) / 𝑏⟨(𝑥𝑏 ↦ ⟨((1st𝑓)‘𝑥), ((1st𝑔)‘𝑥)⟩), (𝑥𝑏, 𝑦𝑏 ↦ ( ∈ dom (𝑥(2nd𝑓)𝑦) ↦ ⟨((𝑥(2nd𝑓)𝑦)‘), ((𝑥(2nd𝑔)𝑦)‘)⟩))⟩
362, 3, 4, 4, 35cmpo 7277 . 2 class (𝑓 ∈ V, 𝑔 ∈ V ↦ dom (1st𝑓) / 𝑏⟨(𝑥𝑏 ↦ ⟨((1st𝑓)‘𝑥), ((1st𝑔)‘𝑥)⟩), (𝑥𝑏, 𝑦𝑏 ↦ ( ∈ dom (𝑥(2nd𝑓)𝑦) ↦ ⟨((𝑥(2nd𝑓)𝑦)‘), ((𝑥(2nd𝑔)𝑦)‘)⟩))⟩)
371, 36wceq 1539 1 wff ⟨,⟩F = (𝑓 ∈ V, 𝑔 ∈ V ↦ dom (1st𝑓) / 𝑏⟨(𝑥𝑏 ↦ ⟨((1st𝑓)‘𝑥), ((1st𝑔)‘𝑥)⟩), (𝑥𝑏, 𝑦𝑏 ↦ ( ∈ dom (𝑥(2nd𝑓)𝑦) ↦ ⟨((𝑥(2nd𝑓)𝑦)‘), ((𝑥(2nd𝑔)𝑦)‘)⟩))⟩)
Colors of variables: wff setvar class
This definition is referenced by:  prfval  17916
  Copyright terms: Public domain W3C validator