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

Theorem cofu2nd 17835
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 17832 . . . 4 (𝜑 → (𝐺func 𝐹) = ⟨((1st𝐺) ∘ (1st𝐹)), (𝑥𝐵, 𝑦𝐵 ↦ ((((1st𝐹)‘𝑥)(2nd𝐺)((1st𝐹)‘𝑦)) ∘ (𝑥(2nd𝐹)𝑦)))⟩)
54fveq2d 6896 . . 3 (𝜑 → (2nd ‘(𝐺func 𝐹)) = (2nd ‘⟨((1st𝐺) ∘ (1st𝐹)), (𝑥𝐵, 𝑦𝐵 ↦ ((((1st𝐹)‘𝑥)(2nd𝐺)((1st𝐹)‘𝑦)) ∘ (𝑥(2nd𝐹)𝑦)))⟩))
6 fvex 6905 . . . . 5 (1st𝐺) ∈ V
7 fvex 6905 . . . . 5 (1st𝐹) ∈ V
86, 7coex 7921 . . . 4 ((1st𝐺) ∘ (1st𝐹)) ∈ V
91fvexi 6906 . . . . 5 𝐵 ∈ V
109, 9mpoex 8066 . . . 4 (𝑥𝐵, 𝑦𝐵 ↦ ((((1st𝐹)‘𝑥)(2nd𝐺)((1st𝐹)‘𝑦)) ∘ (𝑥(2nd𝐹)𝑦))) ∈ V
118, 10op2nd 7984 . . 3 (2nd ‘⟨((1st𝐺) ∘ (1st𝐹)), (𝑥𝐵, 𝑦𝐵 ↦ ((((1st𝐹)‘𝑥)(2nd𝐺)((1st𝐹)‘𝑦)) ∘ (𝑥(2nd𝐹)𝑦)))⟩) = (𝑥𝐵, 𝑦𝐵 ↦ ((((1st𝐹)‘𝑥)(2nd𝐺)((1st𝐹)‘𝑦)) ∘ (𝑥(2nd𝐹)𝑦)))
125, 11eqtrdi 2789 . 2 (𝜑 → (2nd ‘(𝐺func 𝐹)) = (𝑥𝐵, 𝑦𝐵 ↦ ((((1st𝐹)‘𝑥)(2nd𝐺)((1st𝐹)‘𝑦)) ∘ (𝑥(2nd𝐹)𝑦))))
13 simprl 770 . . . . 5 ((𝜑 ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → 𝑥 = 𝑋)
1413fveq2d 6896 . . . 4 ((𝜑 ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → ((1st𝐹)‘𝑥) = ((1st𝐹)‘𝑋))
15 simprr 772 . . . . 5 ((𝜑 ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → 𝑦 = 𝑌)
1615fveq2d 6896 . . . 4 ((𝜑 ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → ((1st𝐹)‘𝑦) = ((1st𝐹)‘𝑌))
1714, 16oveq12d 7427 . . 3 ((𝜑 ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → (((1st𝐹)‘𝑥)(2nd𝐺)((1st𝐹)‘𝑦)) = (((1st𝐹)‘𝑋)(2nd𝐺)((1st𝐹)‘𝑌)))
1813, 15oveq12d 7427 . . 3 ((𝜑 ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → (𝑥(2nd𝐹)𝑦) = (𝑋(2nd𝐹)𝑌))
1917, 18coeq12d 5865 . 2 ((𝜑 ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → ((((1st𝐹)‘𝑥)(2nd𝐺)((1st𝐹)‘𝑦)) ∘ (𝑥(2nd𝐹)𝑦)) = ((((1st𝐹)‘𝑋)(2nd𝐺)((1st𝐹)‘𝑌)) ∘ (𝑋(2nd𝐹)𝑌)))
20 cofu2nd.x . 2 (𝜑𝑋𝐵)
21 cofu2nd.y . 2 (𝜑𝑌𝐵)
22 ovex 7442 . . . 4 (((1st𝐹)‘𝑋)(2nd𝐺)((1st𝐹)‘𝑌)) ∈ V
23 ovex 7442 . . . 4 (𝑋(2nd𝐹)𝑌) ∈ V
2422, 23coex 7921 . . 3 ((((1st𝐹)‘𝑋)(2nd𝐺)((1st𝐹)‘𝑌)) ∘ (𝑋(2nd𝐹)𝑌)) ∈ V
2524a1i 11 . 2 (𝜑 → ((((1st𝐹)‘𝑋)(2nd𝐺)((1st𝐹)‘𝑌)) ∘ (𝑋(2nd𝐹)𝑌)) ∈ V)
2612, 19, 20, 21, 25ovmpod 7560 1 (𝜑 → (𝑋(2nd ‘(𝐺func 𝐹))𝑌) = ((((1st𝐹)‘𝑋)(2nd𝐺)((1st𝐹)‘𝑌)) ∘ (𝑋(2nd𝐹)𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397   = wceq 1542  wcel 2107  Vcvv 3475  cop 4635  ccom 5681  cfv 6544  (class class class)co 7409  cmpo 7411  1st c1st 7973  2nd c2nd 7974  Basecbs 17144   Func cfunc 17804  func ccofu 17806
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-rep 5286  ax-sep 5300  ax-nul 5307  ax-pow 5364  ax-pr 5428  ax-un 7725
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2942  df-ral 3063  df-rex 3072  df-reu 3378  df-rab 3434  df-v 3477  df-sbc 3779  df-csb 3895  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-nul 4324  df-if 4530  df-pw 4605  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4910  df-iun 5000  df-br 5150  df-opab 5212  df-mpt 5233  df-id 5575  df-xp 5683  df-rel 5684  df-cnv 5685  df-co 5686  df-dm 5687  df-rn 5688  df-res 5689  df-ima 5690  df-iota 6496  df-fun 6546  df-fn 6547  df-f 6548  df-f1 6549  df-fo 6550  df-f1o 6551  df-fv 6552  df-ov 7412  df-oprab 7413  df-mpo 7414  df-1st 7975  df-2nd 7976  df-map 8822  df-ixp 8892  df-func 17808  df-cofu 17810
This theorem is referenced by:  cofu2  17836  cofucl  17838  cofuass  17839  cofull  17885  cofth  17886  catciso  18061
  Copyright terms: Public domain W3C validator