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

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

Proof of Theorem cofu2nd
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 cofuval.b . . . . 5 𝐵 = (Base‘𝐶)
2 cofuval.f . . . . 5 (𝜑𝐹 ∈ (𝐶 Func 𝐷))
3 cofuval.g . . . . 5 (𝜑𝐺 ∈ (𝐷 Func 𝐸))
41, 2, 3cofuval 17578 . . . 4 (𝜑 → (𝐺func 𝐹) = ⟨((1st𝐺) ∘ (1st𝐹)), (𝑥𝐵, 𝑦𝐵 ↦ ((((1st𝐹)‘𝑥)(2nd𝐺)((1st𝐹)‘𝑦)) ∘ (𝑥(2nd𝐹)𝑦)))⟩)
54fveq2d 6772 . . 3 (𝜑 → (2nd ‘(𝐺func 𝐹)) = (2nd ‘⟨((1st𝐺) ∘ (1st𝐹)), (𝑥𝐵, 𝑦𝐵 ↦ ((((1st𝐹)‘𝑥)(2nd𝐺)((1st𝐹)‘𝑦)) ∘ (𝑥(2nd𝐹)𝑦)))⟩))
6 fvex 6781 . . . . 5 (1st𝐺) ∈ V
7 fvex 6781 . . . . 5 (1st𝐹) ∈ V
86, 7coex 7764 . . . 4 ((1st𝐺) ∘ (1st𝐹)) ∈ V
91fvexi 6782 . . . . 5 𝐵 ∈ V
109, 9mpoex 7906 . . . 4 (𝑥𝐵, 𝑦𝐵 ↦ ((((1st𝐹)‘𝑥)(2nd𝐺)((1st𝐹)‘𝑦)) ∘ (𝑥(2nd𝐹)𝑦))) ∈ V
118, 10op2nd 7826 . . 3 (2nd ‘⟨((1st𝐺) ∘ (1st𝐹)), (𝑥𝐵, 𝑦𝐵 ↦ ((((1st𝐹)‘𝑥)(2nd𝐺)((1st𝐹)‘𝑦)) ∘ (𝑥(2nd𝐹)𝑦)))⟩) = (𝑥𝐵, 𝑦𝐵 ↦ ((((1st𝐹)‘𝑥)(2nd𝐺)((1st𝐹)‘𝑦)) ∘ (𝑥(2nd𝐹)𝑦)))
125, 11eqtrdi 2795 . 2 (𝜑 → (2nd ‘(𝐺func 𝐹)) = (𝑥𝐵, 𝑦𝐵 ↦ ((((1st𝐹)‘𝑥)(2nd𝐺)((1st𝐹)‘𝑦)) ∘ (𝑥(2nd𝐹)𝑦))))
13 simprl 767 . . . . 5 ((𝜑 ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → 𝑥 = 𝑋)
1413fveq2d 6772 . . . 4 ((𝜑 ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → ((1st𝐹)‘𝑥) = ((1st𝐹)‘𝑋))
15 simprr 769 . . . . 5 ((𝜑 ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → 𝑦 = 𝑌)
1615fveq2d 6772 . . . 4 ((𝜑 ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → ((1st𝐹)‘𝑦) = ((1st𝐹)‘𝑌))
1714, 16oveq12d 7286 . . 3 ((𝜑 ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → (((1st𝐹)‘𝑥)(2nd𝐺)((1st𝐹)‘𝑦)) = (((1st𝐹)‘𝑋)(2nd𝐺)((1st𝐹)‘𝑌)))
1813, 15oveq12d 7286 . . 3 ((𝜑 ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → (𝑥(2nd𝐹)𝑦) = (𝑋(2nd𝐹)𝑌))
1917, 18coeq12d 5770 . 2 ((𝜑 ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → ((((1st𝐹)‘𝑥)(2nd𝐺)((1st𝐹)‘𝑦)) ∘ (𝑥(2nd𝐹)𝑦)) = ((((1st𝐹)‘𝑋)(2nd𝐺)((1st𝐹)‘𝑌)) ∘ (𝑋(2nd𝐹)𝑌)))
20 cofu2nd.x . 2 (𝜑𝑋𝐵)
21 cofu2nd.y . 2 (𝜑𝑌𝐵)
22 ovex 7301 . . . 4 (((1st𝐹)‘𝑋)(2nd𝐺)((1st𝐹)‘𝑌)) ∈ V
23 ovex 7301 . . . 4 (𝑋(2nd𝐹)𝑌) ∈ V
2422, 23coex 7764 . . 3 ((((1st𝐹)‘𝑋)(2nd𝐺)((1st𝐹)‘𝑌)) ∘ (𝑋(2nd𝐹)𝑌)) ∈ V
2524a1i 11 . 2 (𝜑 → ((((1st𝐹)‘𝑋)(2nd𝐺)((1st𝐹)‘𝑌)) ∘ (𝑋(2nd𝐹)𝑌)) ∈ V)
2612, 19, 20, 21, 25ovmpod 7416 1 (𝜑 → (𝑋(2nd ‘(𝐺func 𝐹))𝑌) = ((((1st𝐹)‘𝑋)(2nd𝐺)((1st𝐹)‘𝑌)) ∘ (𝑋(2nd𝐹)𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1541  wcel 2109  Vcvv 3430  cop 4572  ccom 5592  cfv 6430  (class class class)co 7268  cmpo 7270  1st c1st 7815  2nd c2nd 7816  Basecbs 16893   Func cfunc 17550  func ccofu 17552
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710  ax-rep 5213  ax-sep 5226  ax-nul 5233  ax-pow 5291  ax-pr 5355  ax-un 7579
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-ral 3070  df-rex 3071  df-reu 3072  df-rab 3074  df-v 3432  df-sbc 3720  df-csb 3837  df-dif 3894  df-un 3896  df-in 3898  df-ss 3908  df-nul 4262  df-if 4465  df-pw 4540  df-sn 4567  df-pr 4569  df-op 4573  df-uni 4845  df-iun 4931  df-br 5079  df-opab 5141  df-mpt 5162  df-id 5488  df-xp 5594  df-rel 5595  df-cnv 5596  df-co 5597  df-dm 5598  df-rn 5599  df-res 5600  df-ima 5601  df-iota 6388  df-fun 6432  df-fn 6433  df-f 6434  df-f1 6435  df-fo 6436  df-f1o 6437  df-fv 6438  df-ov 7271  df-oprab 7272  df-mpo 7273  df-1st 7817  df-2nd 7818  df-map 8591  df-ixp 8660  df-func 17554  df-cofu 17556
This theorem is referenced by:  cofu2  17582  cofucl  17584  cofuass  17585  cofull  17631  cofth  17632  catciso  17807
  Copyright terms: Public domain W3C validator