Metamath Proof Explorer


Definition df-diag

Description: Define the diagonal functor, which is the functor C --> ( D Func C ) whose object part is x e. C |-> ( y e. D |-> x ) . The value of the functor at an object x is the constant functor which maps all objects in D to x and all morphisms to 1 ( x ) . The morphism part is a natural transformation between these functors, which takes f : x --> y to the natural transformation with every component equal to f . (Contributed by Mario Carneiro, 6-Jan-2017)

Ref Expression
Assertion df-diag Δfunc=cCat,dCatcdcurryFc1stFd

Detailed syntax breakdown

Step Hyp Ref Expression
0 cdiag classΔfunc
1 vc setvarc
2 ccat classCat
3 vd setvard
4 1 cv setvarc
5 3 cv setvard
6 4 5 cop classcd
7 ccurf classcurryF
8 c1stf class1stF
9 4 5 8 co classc1stFd
10 6 9 7 co classcdcurryFc1stFd
11 1 3 2 2 10 cmpo classcCat,dCatcdcurryFc1stFd
12 0 11 wceq wffΔfunc=cCat,dCatcdcurryFc1stFd