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

Theorem cofu2 18054
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 18053 . . 3 (𝜑 → (𝑋(2nd ‘(𝐺 ∘func 𝐹))𝑌) = ((((1st ‘𝐹)‘𝑋)(2nd ‘𝐺)((1st ‘𝐹)‘𝑌)) ∘ (𝑋(2nd ‘𝐹)𝑌)))
76fveq1d 6885 . 2 (𝜑 → ((𝑋(2nd ‘(𝐺 ∘func 𝐹))𝑌)‘𝑅) = (((((1st ‘𝐹)‘𝑋)(2nd ‘𝐺)((1st ‘𝐹)‘𝑌)) ∘ (𝑋(2nd ‘𝐹)𝑌))‘𝑅))
8 cofu2.h . . . 4 𝐻 = (Hom ‘𝐶)
9 eqid 2761 . . . 4 (Hom ‘𝐷) = (Hom ‘𝐷)
10 relfunc 18030 . . . . 5 Rel (𝐶 Func 𝐷)
11 1st2ndbr 8051 . . . . 5 ((Rel (𝐶 Func 𝐷) ∧ 𝐹 ∈ (𝐶 Func 𝐷)) → (1st ‘𝐹)(𝐶 Func 𝐷)(2nd ‘𝐹))
1210, 2, 11sylancr 599 . . . 4 (𝜑 → (1st ‘𝐹)(𝐶 Func 𝐷)(2nd ‘𝐹))
131, 8, 9, 12, 4, 5funcf2 18036 . . 3 (𝜑 → (𝑋(2nd ‘𝐹)𝑌):(𝑋𝐻𝑌)⟶(((1st ‘𝐹)‘𝑋)(Hom ‘𝐷)((1st ‘𝐹)‘𝑌)))
14 cofu2.y . . 3 (𝜑 → 𝑅 ∈ (𝑋𝐻𝑌))
15 fvco3 6983 . . 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 2796 1 (𝜑 → ((𝑋(2nd ‘(𝐺 ∘func 𝐹))𝑌)‘𝑅) = ((((1st ‘𝐹)‘𝑋)(2nd ‘𝐺)((1st ‘𝐹)‘𝑌))‘((𝑋(2nd ‘𝐹)𝑌)‘𝑅)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1570   ∈ wcel 2145   class class class wbr 5103   ∘ ccom 5655  Rel wrel 5656  ⟶wf 6533  ‘cfv 6537  (class class class)co 7418  1st c1st 7997  2nd c2nd 7998  Basecbs 17380  Hom chom 17432   Func cfunc 18022   ∘func ccofu 18024
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7749
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-ov 7421  df-oprab 7422  df-mpo 7423  df-1st 7999  df-2nd 8000  df-map 8842  df-ixp 8919  df-func 18026  df-cofu 18028
This theorem is used by:  cofucl  18056  1st2ndprf  18373  uncf2  18404  yonedalem22  18445  cofu2a  50172  cofid2a  50190  cofuswapf2  50372  prcofdiag1  50470  prcofdiag  50471  oppfdiag  50493
  Copyright terms: Public domain W3C validator