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

Definition df-cofu 17130
 Description: Define the composition of two functors. (Contributed by Mario Carneiro, 3-Jan-2017.)
Assertion
Ref Expression
df-cofu func = (𝑔 ∈ V, 𝑓 ∈ V ↦ ⟨((1st𝑔) ∘ (1st𝑓)), (𝑥 ∈ dom dom (2nd𝑓), 𝑦 ∈ dom dom (2nd𝑓) ↦ ((((1st𝑓)‘𝑥)(2nd𝑔)((1st𝑓)‘𝑦)) ∘ (𝑥(2nd𝑓)𝑦)))⟩)
Distinct variable group:   𝑓,𝑔,𝑥,𝑦

Detailed syntax breakdown of Definition df-cofu
StepHypRef Expression
1 ccofu 17126 . 2 class func
2 vg . . 3 setvar 𝑔
3 vf . . 3 setvar 𝑓
4 cvv 3480 . . 3 class V
52cv 1537 . . . . . 6 class 𝑔
6 c1st 7682 . . . . . 6 class 1st
75, 6cfv 6343 . . . . 5 class (1st𝑔)
83cv 1537 . . . . . 6 class 𝑓
98, 6cfv 6343 . . . . 5 class (1st𝑓)
107, 9ccom 5546 . . . 4 class ((1st𝑔) ∘ (1st𝑓))
11 vx . . . . 5 setvar 𝑥
12 vy . . . . 5 setvar 𝑦
13 c2nd 7683 . . . . . . . 8 class 2nd
148, 13cfv 6343 . . . . . . 7 class (2nd𝑓)
1514cdm 5542 . . . . . 6 class dom (2nd𝑓)
1615cdm 5542 . . . . 5 class dom dom (2nd𝑓)
1711cv 1537 . . . . . . . 8 class 𝑥
1817, 9cfv 6343 . . . . . . 7 class ((1st𝑓)‘𝑥)
1912cv 1537 . . . . . . . 8 class 𝑦
2019, 9cfv 6343 . . . . . . 7 class ((1st𝑓)‘𝑦)
215, 13cfv 6343 . . . . . . 7 class (2nd𝑔)
2218, 20, 21co 7149 . . . . . 6 class (((1st𝑓)‘𝑥)(2nd𝑔)((1st𝑓)‘𝑦))
2317, 19, 14co 7149 . . . . . 6 class (𝑥(2nd𝑓)𝑦)
2422, 23ccom 5546 . . . . 5 class ((((1st𝑓)‘𝑥)(2nd𝑔)((1st𝑓)‘𝑦)) ∘ (𝑥(2nd𝑓)𝑦))
2511, 12, 16, 16, 24cmpo 7151 . . . 4 class (𝑥 ∈ dom dom (2nd𝑓), 𝑦 ∈ dom dom (2nd𝑓) ↦ ((((1st𝑓)‘𝑥)(2nd𝑔)((1st𝑓)‘𝑦)) ∘ (𝑥(2nd𝑓)𝑦)))
2610, 25cop 4556 . . 3 class ⟨((1st𝑔) ∘ (1st𝑓)), (𝑥 ∈ dom dom (2nd𝑓), 𝑦 ∈ dom dom (2nd𝑓) ↦ ((((1st𝑓)‘𝑥)(2nd𝑔)((1st𝑓)‘𝑦)) ∘ (𝑥(2nd𝑓)𝑦)))⟩
272, 3, 4, 4, 26cmpo 7151 . 2 class (𝑔 ∈ V, 𝑓 ∈ V ↦ ⟨((1st𝑔) ∘ (1st𝑓)), (𝑥 ∈ dom dom (2nd𝑓), 𝑦 ∈ dom dom (2nd𝑓) ↦ ((((1st𝑓)‘𝑥)(2nd𝑔)((1st𝑓)‘𝑦)) ∘ (𝑥(2nd𝑓)𝑦)))⟩)
281, 27wceq 1538 1 wff func = (𝑔 ∈ V, 𝑓 ∈ V ↦ ⟨((1st𝑔) ∘ (1st𝑓)), (𝑥 ∈ dom dom (2nd𝑓), 𝑦 ∈ dom dom (2nd𝑓) ↦ ((((1st𝑓)‘𝑥)(2nd𝑔)((1st𝑓)‘𝑦)) ∘ (𝑥(2nd𝑓)𝑦)))⟩)
 Colors of variables: wff setvar class This definition is referenced by:  cofuval  17152
 Copyright terms: Public domain W3C validator