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

Definition df-resf 18029
Description: Define the restriction of a functor to a subcategory (analogue of df-res 5663). (Contributed by Mario Carneiro, 6-Jan-2017.)
Assertion
Ref Expression
df-resf ↾f = (𝑓 ∈ V, ℎ ∈ V ↦ ⟨((1st ‘𝑓) ↾ dom dom ℎ), (𝑥 ∈ dom ℎ ↦ (((2nd ‘𝑓)‘𝑥) ↾ (ℎ‘𝑥)))⟩)
Distinct variable group:   𝑓,ℎ,𝑥

Detailed syntax breakdown of Definition df-resf
StepHypRef Expression
1 cresf 18025 . 2 class ↾f
2 vf . . 3 setvar 𝑓
3 vh . . 3 setvar ℎ
4 cvv 3451 . . 3 class V
52cv 1569 . . . . . 6 class 𝑓
6 c1st 7997 . . . . . 6 class 1st
75, 6cfv 6537 . . . . 5 class (1st ‘𝑓)
83cv 1569 . . . . . . 7 class ℎ
98cdm 5651 . . . . . 6 class dom ℎ
109cdm 5651 . . . . 5 class dom dom ℎ
117, 10cres 5653 . . . 4 class ((1st ‘𝑓) ↾ dom dom ℎ)
12 vx . . . . 5 setvar 𝑥
1312cv 1569 . . . . . . 7 class 𝑥
14 c2nd 7998 . . . . . . . 8 class 2nd
155, 14cfv 6537 . . . . . . 7 class (2nd ‘𝑓)
1613, 15cfv 6537 . . . . . 6 class ((2nd ‘𝑓)‘𝑥)
1713, 8cfv 6537 . . . . . 6 class (ℎ‘𝑥)
1816, 17cres 5653 . . . . 5 class (((2nd ‘𝑓)‘𝑥) ↾ (ℎ‘𝑥))
1912, 9, 18cmpt 5186 . . . 4 class (𝑥 ∈ dom ℎ ↦ (((2nd ‘𝑓)‘𝑥) ↾ (ℎ‘𝑥)))
2011, 19cop 4590 . . 3 class ⟨((1st ‘𝑓) ↾ dom dom ℎ), (𝑥 ∈ dom ℎ ↦ (((2nd ‘𝑓)‘𝑥) ↾ (ℎ‘𝑥)))⟩
212, 3, 4, 4, 20cmpo 7420 . 2 class (𝑓 ∈ V, ℎ ∈ V ↦ ⟨((1st ‘𝑓) ↾ dom dom ℎ), (𝑥 ∈ dom ℎ ↦ (((2nd ‘𝑓)‘𝑥) ↾ (ℎ‘𝑥)))⟩)
221, 21wceq 1570 1 wff ↾f = (𝑓 ∈ V, ℎ ∈ V ↦ ⟨((1st ‘𝑓) ↾ dom dom ℎ), (𝑥 ∈ dom ℎ ↦ (((2nd ‘𝑓)‘𝑥) ↾ (ℎ‘𝑥)))⟩)
Colors of variables:    wff setvar class
This definition is used by:  resfval  18060
  Copyright terms: Public domain W3C validator