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

Theorem cofu2 17148
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 17147 . . 3 (𝜑 → (𝑋(2nd ‘(𝐺func 𝐹))𝑌) = ((((1st𝐹)‘𝑋)(2nd𝐺)((1st𝐹)‘𝑌)) ∘ (𝑋(2nd𝐹)𝑌)))
76fveq1d 6647 . 2 (𝜑 → ((𝑋(2nd ‘(𝐺func 𝐹))𝑌)‘𝑅) = (((((1st𝐹)‘𝑋)(2nd𝐺)((1st𝐹)‘𝑌)) ∘ (𝑋(2nd𝐹)𝑌))‘𝑅))
8 cofu2.h . . . 4 𝐻 = (Hom ‘𝐶)
9 eqid 2798 . . . 4 (Hom ‘𝐷) = (Hom ‘𝐷)
10 relfunc 17124 . . . . 5 Rel (𝐶 Func 𝐷)
11 1st2ndbr 7723 . . . . 5 ((Rel (𝐶 Func 𝐷) ∧ 𝐹 ∈ (𝐶 Func 𝐷)) → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
1210, 2, 11sylancr 590 . . . 4 (𝜑 → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
131, 8, 9, 12, 4, 5funcf2 17130 . . 3 (𝜑 → (𝑋(2nd𝐹)𝑌):(𝑋𝐻𝑌)⟶(((1st𝐹)‘𝑋)(Hom ‘𝐷)((1st𝐹)‘𝑌)))
14 cofu2.y . . 3 (𝜑𝑅 ∈ (𝑋𝐻𝑌))
15 fvco3 6737 . . 3 (((𝑋(2nd𝐹)𝑌):(𝑋𝐻𝑌)⟶(((1st𝐹)‘𝑋)(Hom ‘𝐷)((1st𝐹)‘𝑌)) ∧ 𝑅 ∈ (𝑋𝐻𝑌)) → (((((1st𝐹)‘𝑋)(2nd𝐺)((1st𝐹)‘𝑌)) ∘ (𝑋(2nd𝐹)𝑌))‘𝑅) = ((((1st𝐹)‘𝑋)(2nd𝐺)((1st𝐹)‘𝑌))‘((𝑋(2nd𝐹)𝑌)‘𝑅)))
1613, 14, 15syl2anc 587 . 2 (𝜑 → (((((1st𝐹)‘𝑋)(2nd𝐺)((1st𝐹)‘𝑌)) ∘ (𝑋(2nd𝐹)𝑌))‘𝑅) = ((((1st𝐹)‘𝑋)(2nd𝐺)((1st𝐹)‘𝑌))‘((𝑋(2nd𝐹)𝑌)‘𝑅)))
177, 16eqtrd 2833 1 (𝜑 → ((𝑋(2nd ‘(𝐺func 𝐹))𝑌)‘𝑅) = ((((1st𝐹)‘𝑋)(2nd𝐺)((1st𝐹)‘𝑌))‘((𝑋(2nd𝐹)𝑌)‘𝑅)))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1538  wcel 2111   class class class wbr 5030  ccom 5523  Rel wrel 5524  wf 6320  cfv 6324  (class class class)co 7135  1st c1st 7669  2nd c2nd 7670  Basecbs 16475  Hom chom 16568   Func cfunc 17116  func ccofu 17118
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-ov 7138  df-oprab 7139  df-mpo 7140  df-1st 7671  df-2nd 7672  df-map 8391  df-ixp 8445  df-func 17120  df-cofu 17122
This theorem is referenced by:  cofucl  17150  1st2ndprf  17448  uncf2  17479  yonedalem22  17520
  Copyright terms: Public domain W3C validator