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

Definition df-cofu 17556
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 17552 . 2 class func
2 vg . . 3 setvar 𝑔
3 vf . . 3 setvar 𝑓
4 cvv 3430 . . 3 class V
52cv 1540 . . . . . 6 class 𝑔
6 c1st 7815 . . . . . 6 class 1st
75, 6cfv 6430 . . . . 5 class (1st𝑔)
83cv 1540 . . . . . 6 class 𝑓
98, 6cfv 6430 . . . . 5 class (1st𝑓)
107, 9ccom 5592 . . . 4 class ((1st𝑔) ∘ (1st𝑓))
11 vx . . . . 5 setvar 𝑥
12 vy . . . . 5 setvar 𝑦
13 c2nd 7816 . . . . . . . 8 class 2nd
148, 13cfv 6430 . . . . . . 7 class (2nd𝑓)
1514cdm 5588 . . . . . 6 class dom (2nd𝑓)
1615cdm 5588 . . . . 5 class dom dom (2nd𝑓)
1711cv 1540 . . . . . . . 8 class 𝑥
1817, 9cfv 6430 . . . . . . 7 class ((1st𝑓)‘𝑥)
1912cv 1540 . . . . . . . 8 class 𝑦
2019, 9cfv 6430 . . . . . . 7 class ((1st𝑓)‘𝑦)
215, 13cfv 6430 . . . . . . 7 class (2nd𝑔)
2218, 20, 21co 7268 . . . . . 6 class (((1st𝑓)‘𝑥)(2nd𝑔)((1st𝑓)‘𝑦))
2317, 19, 14co 7268 . . . . . 6 class (𝑥(2nd𝑓)𝑦)
2422, 23ccom 5592 . . . . 5 class ((((1st𝑓)‘𝑥)(2nd𝑔)((1st𝑓)‘𝑦)) ∘ (𝑥(2nd𝑓)𝑦))
2511, 12, 16, 16, 24cmpo 7270 . . . 4 class (𝑥 ∈ dom dom (2nd𝑓), 𝑦 ∈ dom dom (2nd𝑓) ↦ ((((1st𝑓)‘𝑥)(2nd𝑔)((1st𝑓)‘𝑦)) ∘ (𝑥(2nd𝑓)𝑦)))
2610, 25cop 4572 . . 3 class ⟨((1st𝑔) ∘ (1st𝑓)), (𝑥 ∈ dom dom (2nd𝑓), 𝑦 ∈ dom dom (2nd𝑓) ↦ ((((1st𝑓)‘𝑥)(2nd𝑔)((1st𝑓)‘𝑦)) ∘ (𝑥(2nd𝑓)𝑦)))⟩
272, 3, 4, 4, 26cmpo 7270 . 2 class (𝑔 ∈ V, 𝑓 ∈ V ↦ ⟨((1st𝑔) ∘ (1st𝑓)), (𝑥 ∈ dom dom (2nd𝑓), 𝑦 ∈ dom dom (2nd𝑓) ↦ ((((1st𝑓)‘𝑥)(2nd𝑔)((1st𝑓)‘𝑦)) ∘ (𝑥(2nd𝑓)𝑦)))⟩)
281, 27wceq 1541 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  17578
  Copyright terms: Public domain W3C validator