Metamath Proof Explorer


Theorem homacd

Description: The codomain of an arrow with known domain and codomain. (Contributed by Mario Carneiro, 11-Jan-2017)

Ref Expression
Hypothesis homahom.h H=HomaC
Assertion homacd FXHYcodaF=Y

Proof

Step Hyp Ref Expression
1 homahom.h H=HomaC
2 df-coda coda=2nd1st
3 2 fveq1i codaF=2nd1stF
4 fo1st 1st:VontoV
5 fof 1st:VontoV1st:VV
6 4 5 ax-mp 1st:VV
7 elex FXHYFV
8 fvco3 1st:VVFV2nd1stF=2nd1stF
9 6 7 8 sylancr FXHY2nd1stF=2nd1stF
10 3 9 eqtrid FXHYcodaF=2nd1stF
11 1 homarel RelXHY
12 1st2ndbr RelXHYFXHY1stFXHY2ndF
13 11 12 mpan FXHY1stFXHY2ndF
14 1 homa1 1stFXHY2ndF1stF=XY
15 13 14 syl FXHY1stF=XY
16 15 fveq2d FXHY2nd1stF=2ndXY
17 eqid BaseC=BaseC
18 1 17 homarcl2 FXHYXBaseCYBaseC
19 op2ndg XBaseCYBaseC2ndXY=Y
20 18 19 syl FXHY2ndXY=Y
21 10 16 20 3eqtrd FXHYcodaF=Y