This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.
Description: Define the diagonal functor, which is the functor C --> ( D Func C ) whose object part is x e. C |-> ( y e. D |-> x ) . We can define this equationally as the currying of the first projection functor, and by expressing it this way we get a quick proof of functoriality. (Contributed by Mario Carneiro, 6-Jan-2017) (Revised by Mario Carneiro, 15-Jan-2017)
| Ref | Expression | ||
|---|---|---|---|
| Hypotheses | diagval.l | ||
| diagval.c | |||
| diagval.d | |||
| Assertion | diagval |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | diagval.l | ||
| 2 | diagval.c | ||
| 3 | diagval.d | ||
| 4 | df-diag | ||
| 5 | 4 | a1i | |
| 6 | simprl | ||
| 7 | simprr | ||
| 8 | 6 7 | opeq12d | |
| 9 | 6 7 | oveq12d | |
| 10 | 8 9 | oveq12d | |
| 11 | ovexd | ||
| 12 | 5 10 2 3 11 | ovmpod | |
| 13 | 1 12 | eqtrid |