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

Theorem cofu2nd 18092
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 18089 . . . 4 (𝜑 → (𝐺 ∘func 𝐹) = ⟨((1st ‘𝐺) ∘ (1st ‘𝐹)), (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ ((((1st ‘𝐹)‘𝑥)(2nd ‘𝐺)((1st ‘𝐹)‘𝑦)) ∘ (𝑥(2nd ‘𝐹)𝑦)))⟩)
54fveq2d 6915 . . 3 (𝜑 → (2nd ‘(𝐺 ∘func 𝐹)) = (2nd ‘⟨((1st ‘𝐺) ∘ (1st ‘𝐹)), (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ ((((1st ‘𝐹)‘𝑥)(2nd ‘𝐺)((1st ‘𝐹)‘𝑦)) ∘ (𝑥(2nd ‘𝐹)𝑦)))⟩))
6 fvex 6924 . . . . 5 (1st ‘𝐺) ∈ V
7 fvex 6924 . . . . 5 (1st ‘𝐹) ∈ V
86, 7coex 7969 . . . 4 ((1st ‘𝐺) ∘ (1st ‘𝐹)) ∈ V
91fvexi 6925 . . . . 5 𝐵 ∈ V
109, 9mpoex 8120 . . . 4 (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ ((((1st ‘𝐹)‘𝑥)(2nd ‘𝐺)((1st ‘𝐹)‘𝑦)) ∘ (𝑥(2nd ‘𝐹)𝑦))) ∈ V
118, 10op2nd 8037 . . 3 (2nd ‘⟨((1st ‘𝐺) ∘ (1st ‘𝐹)), (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ ((((1st ‘𝐹)‘𝑥)(2nd ‘𝐺)((1st ‘𝐹)‘𝑦)) ∘ (𝑥(2nd ‘𝐹)𝑦)))⟩) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ ((((1st ‘𝐹)‘𝑥)(2nd ‘𝐺)((1st ‘𝐹)‘𝑦)) ∘ (𝑥(2nd ‘𝐹)𝑦)))
125, 11eqtrdi 2814 . 2 (𝜑 → (2nd ‘(𝐺 ∘func 𝐹)) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ ((((1st ‘𝐹)‘𝑥)(2nd ‘𝐺)((1st ‘𝐹)‘𝑦)) ∘ (𝑥(2nd ‘𝐹)𝑦))))
13 simprl 783 . . . . 5 ((𝜑 ∧ (𝑥 = 𝑋 ∧ 𝑦 = 𝑌)) → 𝑥 = 𝑋)
1413fveq2d 6915 . . . 4 ((𝜑 ∧ (𝑥 = 𝑋 ∧ 𝑦 = 𝑌)) → ((1st ‘𝐹)‘𝑥) = ((1st ‘𝐹)‘𝑋))
15 simprr 785 . . . . 5 ((𝜑 ∧ (𝑥 = 𝑋 ∧ 𝑦 = 𝑌)) → 𝑦 = 𝑌)
1615fveq2d 6915 . . . 4 ((𝜑 ∧ (𝑥 = 𝑋 ∧ 𝑦 = 𝑌)) → ((1st ‘𝐹)‘𝑦) = ((1st ‘𝐹)‘𝑌))
1714, 16oveq12d 7464 . . 3 ((𝜑 ∧ (𝑥 = 𝑋 ∧ 𝑦 = 𝑌)) → (((1st ‘𝐹)‘𝑥)(2nd ‘𝐺)((1st ‘𝐹)‘𝑦)) = (((1st ‘𝐹)‘𝑋)(2nd ‘𝐺)((1st ‘𝐹)‘𝑌)))
1813, 15oveq12d 7464 . . 3 ((𝜑 ∧ (𝑥 = 𝑋 ∧ 𝑦 = 𝑌)) → (𝑥(2nd ‘𝐹)𝑦) = (𝑋(2nd ‘𝐹)𝑌))
1917, 18coeq12d 5849 . 2 ((𝜑 ∧ (𝑥 = 𝑋 ∧ 𝑦 = 𝑌)) → ((((1st ‘𝐹)‘𝑥)(2nd ‘𝐺)((1st ‘𝐹)‘𝑦)) ∘ (𝑥(2nd ‘𝐹)𝑦)) = ((((1st ‘𝐹)‘𝑋)(2nd ‘𝐺)((1st ‘𝐹)‘𝑌)) ∘ (𝑋(2nd ‘𝐹)𝑌)))
20 cofu2nd.x . 2 (𝜑 → 𝑋 ∈ 𝐵)
21 cofu2nd.y . 2 (𝜑 → 𝑌 ∈ 𝐵)
22 ovex 7479 . . . 4 (((1st ‘𝐹)‘𝑋)(2nd ‘𝐺)((1st ‘𝐹)‘𝑌)) ∈ V
23 ovex 7479 . . . 4 (𝑋(2nd ‘𝐹)𝑌) ∈ V
2422, 23coex 7969 . . 3 ((((1st ‘𝐹)‘𝑋)(2nd ‘𝐺)((1st ‘𝐹)‘𝑌)) ∘ (𝑋(2nd ‘𝐹)𝑌)) ∈ V
2524a1i 11 . 2 (𝜑 → ((((1st ‘𝐹)‘𝑋)(2nd ‘𝐺)((1st ‘𝐹)‘𝑌)) ∘ (𝑋(2nd ‘𝐹)𝑌)) ∈ V)
2612, 19, 20, 21, 25ovmpod 7599 1 (𝜑 → (𝑋(2nd ‘(𝐺 ∘func 𝐹))𝑌) = ((((1st ‘𝐹)‘𝑋)(2nd ‘𝐺)((1st ‘𝐹)‘𝑌)) ∘ (𝑋(2nd ‘𝐹)𝑌)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  Vcvv 3454  ⟨cop 4838   ∘ ccom 5660  ‘cfv 6561  (class class class)co 7446   ∈ cmpo 7448  1st c1st 8026  2nd c2nd 8027  Basecbs 17419   Func cfunc 18061   ∘func ccofu 18063
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5236  ax-sep 5253  ax-nul 5264  ax-pow 5332  ax-pr 5396  ax-un 7778
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5172  df-mpt 5191  df-id 5551  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-ima 5669  df-iota 6515  df-fun 6563  df-fn 6564  df-f 6565  df-f1 6566  df-fo 6567  df-f1o 6568  df-fv 6569  df-ov 7449  df-oprab 7450  df-mpo 7451  df-1st 8028  df-2nd 8029  df-map 8880  df-ixp 8957  df-func 18065  df-cofu 18067
This theorem is used by:  cofu2  18093  cofucl  18095  cofuass  18096  cofull  18143  cofth  18144  catciso  18318  cofidf2a  50448
  Copyright terms: Public domain W3C validator