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

Theorem cofu2 18068
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 18067 . . 3 (𝜑 → (𝑋(2nd ‘(𝐺 ∘func 𝐹))𝑌) = ((((1st ‘𝐹)‘𝑋)(2nd ‘𝐺)((1st ‘𝐹)‘𝑌)) ∘ (𝑋(2nd ‘𝐹)𝑌)))
76fveq1d 6890 . 2 (𝜑 → ((𝑋(2nd ‘(𝐺 ∘func 𝐹))𝑌)‘𝑅) = (((((1st ‘𝐹)‘𝑋)(2nd ‘𝐺)((1st ‘𝐹)‘𝑌)) ∘ (𝑋(2nd ‘𝐹)𝑌))‘𝑅))
8 cofu2.h . . . 4 𝐻 = (Hom ‘𝐶)
9 eqid 2760 . . . 4 (Hom ‘𝐷) = (Hom ‘𝐷)
10 relfunc 18044 . . . . 5 Rel (𝐶 Func 𝐷)
11 1st2ndbr 8055 . . . . 5 ((Rel (𝐶 Func 𝐷) ∧ 𝐹 ∈ (𝐶 Func 𝐷)) → (1st ‘𝐹)(𝐶 Func 𝐷)(2nd ‘𝐹))
1210, 2, 11sylancr 599 . . . 4 (𝜑 → (1st ‘𝐹)(𝐶 Func 𝐷)(2nd ‘𝐹))
131, 8, 9, 12, 4, 5funcf2 18050 . . 3 (𝜑 → (𝑋(2nd ‘𝐹)𝑌):(𝑋𝐻𝑌)⟶(((1st ‘𝐹)‘𝑋)(Hom ‘𝐷)((1st ‘𝐹)‘𝑌)))
14 cofu2.y . . 3 (𝜑 → 𝑅 ∈ (𝑋𝐻𝑌))
15 fvco3 6988 . . 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 2795 1 (𝜑 → ((𝑋(2nd ‘(𝐺 ∘func 𝐹))𝑌)‘𝑅) = ((((1st ‘𝐹)‘𝑋)(2nd ‘𝐺)((1st ‘𝐹)‘𝑌))‘((𝑋(2nd ‘𝐹)𝑌)‘𝑅)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1569   ∈ wcel 2144   class class class wbr 5102   ∘ ccom 5654  Rel wrel 5655  ⟶wf 6537  ‘cfv 6541  (class class class)co 7422  1st c1st 8001  2nd c2nd 8002  Basecbs 17394  Hom chom 17446   Func cfunc 18036   ∘func ccofu 18038
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7753
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6496  df-fun 6543  df-fn 6544  df-f 6545  df-f1 6546  df-fo 6547  df-f1o 6548  df-fv 6549  df-ov 7425  df-oprab 7426  df-mpo 7427  df-1st 8003  df-2nd 8004  df-map 8854  df-ixp 8931  df-func 18040  df-cofu 18042
This theorem is used by:  cofucl  18070  1st2ndprf  18387  uncf2  18418  yonedalem22  18459  cofu2a  50317  cofid2a  50336  cofuswapf2  50524  fucoaltvallem  50599  prcofdiag1  50635  prcofdiag  50636  oppfdiag  50658
  Copyright terms: Public domain W3C validator