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

Theorem cofu2 18136
Description: Value of the morphism part of the functor composition. (Contributed by Mario Carneiro, 28-Jan-2017.)
Hypotheses
Ref Expression
cofuval.b 𝐵 = (Base‘𝐶)
cofuval.f (𝜑 → 𝐹 ∈ (𝐶 Func 𝐷))
cofuval.g (𝜑 → 𝐺 ∈ (𝐷 Func 𝐸))
cofu2nd.x (𝜑 → 𝑋 ∈ 𝐵)
cofu2nd.y (𝜑 → 𝑌 ∈ 𝐵)
cofu2.h 𝐻 = (Hom ‘𝐶)
cofu2.y (𝜑 → 𝑅 ∈ (𝑋𝐻𝑌))
Assertion
Ref Expression
cofu2 (𝜑 → ((𝑋(2nd ‘(𝐺 ∘func 𝐹))𝑌)‘𝑅) = ((((1st ‘𝐹)‘𝑋)(2nd ‘𝐺)((1st ‘𝐹)‘𝑌))‘((𝑋(2nd ‘𝐹)𝑌)‘𝑅)))

Proof of Theorem cofu2
StepHypRef Expression
1 cofuval.b . . . 4 𝐵 = (Base‘𝐶)
2 cofuval.f . . . 4 (𝜑 → 𝐹 ∈ (𝐶 Func 𝐷))
3 cofuval.g . . . 4 (𝜑 → 𝐺 ∈ (𝐷 Func 𝐸))
4 cofu2nd.x . . . 4 (𝜑 → 𝑋 ∈ 𝐵)
5 cofu2nd.y . . . 4 (𝜑 → 𝑌 ∈ 𝐵)
61, 2, 3, 4, 5cofu2nd 18135 . . 3 (𝜑 → (𝑋(2nd ‘(𝐺 ∘func 𝐹))𝑌) = ((((1st ‘𝐹)‘𝑋)(2nd ‘𝐺)((1st ‘𝐹)‘𝑌)) ∘ (𝑋(2nd ‘𝐹)𝑌)))
76fveq1d 6933 . 2 (𝜑 → ((𝑋(2nd ‘(𝐺 ∘func 𝐹))𝑌)‘𝑅) = (((((1st ‘𝐹)‘𝑋)(2nd ‘𝐺)((1st ‘𝐹)‘𝑌)) ∘ (𝑋(2nd ‘𝐹)𝑌))‘𝑅))
8 cofu2.h . . . 4 𝐻 = (Hom ‘𝐶)
9 eqid 2774 . . . 4 (Hom ‘𝐷) = (Hom ‘𝐷)
10 relfunc 18112 . . . . 5 Rel (𝐶 Func 𝐷)
11 1st2ndbr 8103 . . . . 5 ((Rel (𝐶 Func 𝐷) ∧ 𝐹 ∈ (𝐶 Func 𝐷)) → (1st ‘𝐹)(𝐶 Func 𝐷)(2nd ‘𝐹))
1210, 2, 11sylancr 599 . . . 4 (𝜑 → (1st ‘𝐹)(𝐶 Func 𝐷)(2nd ‘𝐹))
131, 8, 9, 12, 4, 5funcf2 18118 . . 3 (𝜑 → (𝑋(2nd ‘𝐹)𝑌):(𝑋𝐻𝑌)⟶(((1st ‘𝐹)‘𝑋)(Hom ‘𝐷)((1st ‘𝐹)‘𝑌)))
14 cofu2.y . . 3 (𝜑 → 𝑅 ∈ (𝑋𝐻𝑌))
15 fvco3 7031 . . 3 (((𝑋(2nd ‘𝐹)𝑌):(𝑋𝐻𝑌)⟶(((1st ‘𝐹)‘𝑋)(Hom ‘𝐷)((1st ‘𝐹)‘𝑌)) ∧ 𝑅 ∈ (𝑋𝐻𝑌)) → (((((1st ‘𝐹)‘𝑋)(2nd ‘𝐺)((1st ‘𝐹)‘𝑌)) ∘ (𝑋(2nd ‘𝐹)𝑌))‘𝑅) = ((((1st ‘𝐹)‘𝑋)(2nd ‘𝐺)((1st ‘𝐹)‘𝑌))‘((𝑋(2nd ‘𝐹)𝑌)‘𝑅)))
1613, 14, 15syl2anc 596 . 2 (𝜑 → (((((1st ‘𝐹)‘𝑋)(2nd ‘𝐺)((1st ‘𝐹)‘𝑌)) ∘ (𝑋(2nd ‘𝐹)𝑌))‘𝑅) = ((((1st ‘𝐹)‘𝑋)(2nd ‘𝐺)((1st ‘𝐹)‘𝑌))‘((𝑋(2nd ‘𝐹)𝑌)‘𝑅)))
177, 16eqtrd 2809 1 (𝜑 → ((𝑋(2nd ‘(𝐺 ∘func 𝐹))𝑌)‘𝑅) = ((((1st ‘𝐹)‘𝑋)(2nd ‘𝐺)((1st ‘𝐹)‘𝑌))‘((𝑋(2nd ‘𝐹)𝑌)‘𝑅)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1572   ∈ wcel 2156   class class class wbr 5116   ∘ ccom 5670  Rel wrel 5671  ⟶wf 6574  ‘cfv 6578  (class class class)co 7467  1st c1st 8049  2nd c2nd 8050  Basecbs 17452  Hom chom 17504   Func cfunc 18104   ∘func ccofu 18106
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7799
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6532  df-fun 6580  df-fn 6581  df-f 6582  df-f1 6583  df-fo 6584  df-f1o 6585  df-fv 6586  df-ov 7470  df-oprab 7471  df-mpo 7472  df-1st 8051  df-2nd 8052  df-map 8903  df-ixp 8980  df-func 18108  df-cofu 18110
This theorem is used by:  cofucl  18138  1st2ndprf  18455  uncf2  18486  yonedalem22  18527  cofu2a  50707  cofid2a  50726  cofuswapf2  50914  fucoaltvallem  50989  prcofdiag1  51025  prcofdiag  51026  oppfdiag  51048
  Copyright terms: Public domain W3C validator