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

Theorem xpcco2 17034
Description: Value of composition in the binary product of categories. (Contributed by Mario Carneiro, 11-Jan-2017.)
Hypotheses
Ref Expression
xpcco2.t 𝑇 = (𝐶 ×c 𝐷)
xpcco2.x 𝑋 = (Base‘𝐶)
xpcco2.y 𝑌 = (Base‘𝐷)
xpcco2.h 𝐻 = (Hom ‘𝐶)
xpcco2.j 𝐽 = (Hom ‘𝐷)
xpcco2.m (𝜑𝑀𝑋)
xpcco2.n (𝜑𝑁𝑌)
xpcco2.p (𝜑𝑃𝑋)
xpcco2.q (𝜑𝑄𝑌)
xpcco2.o1 · = (comp‘𝐶)
xpcco2.o2 = (comp‘𝐷)
xpcco2.o 𝑂 = (comp‘𝑇)
xpcco2.r (𝜑𝑅𝑋)
xpcco2.s (𝜑𝑆𝑌)
xpcco2.f (𝜑𝐹 ∈ (𝑀𝐻𝑃))
xpcco2.g (𝜑𝐺 ∈ (𝑁𝐽𝑄))
xpcco2.k (𝜑𝐾 ∈ (𝑃𝐻𝑅))
xpcco2.l (𝜑𝐿 ∈ (𝑄𝐽𝑆))
Assertion
Ref Expression
xpcco2 (𝜑 → (⟨𝐾, 𝐿⟩(⟨⟨𝑀, 𝑁⟩, ⟨𝑃, 𝑄⟩⟩𝑂𝑅, 𝑆⟩)⟨𝐹, 𝐺⟩) = ⟨(𝐾(⟨𝑀, 𝑃· 𝑅)𝐹), (𝐿(⟨𝑁, 𝑄 𝑆)𝐺)⟩)

Proof of Theorem xpcco2
StepHypRef Expression
1 xpcco2.t . . 3 𝑇 = (𝐶 ×c 𝐷)
2 xpcco2.x . . . 4 𝑋 = (Base‘𝐶)
3 xpcco2.y . . . 4 𝑌 = (Base‘𝐷)
41, 2, 3xpcbas 17025 . . 3 (𝑋 × 𝑌) = (Base‘𝑇)
5 eqid 2770 . . 3 (Hom ‘𝑇) = (Hom ‘𝑇)
6 xpcco2.o1 . . 3 · = (comp‘𝐶)
7 xpcco2.o2 . . 3 = (comp‘𝐷)
8 xpcco2.o . . 3 𝑂 = (comp‘𝑇)
9 xpcco2.m . . . 4 (𝜑𝑀𝑋)
10 xpcco2.n . . . 4 (𝜑𝑁𝑌)
11 opelxpi 5288 . . . 4 ((𝑀𝑋𝑁𝑌) → ⟨𝑀, 𝑁⟩ ∈ (𝑋 × 𝑌))
129, 10, 11syl2anc 565 . . 3 (𝜑 → ⟨𝑀, 𝑁⟩ ∈ (𝑋 × 𝑌))
13 xpcco2.p . . . 4 (𝜑𝑃𝑋)
14 xpcco2.q . . . 4 (𝜑𝑄𝑌)
15 opelxpi 5288 . . . 4 ((𝑃𝑋𝑄𝑌) → ⟨𝑃, 𝑄⟩ ∈ (𝑋 × 𝑌))
1613, 14, 15syl2anc 565 . . 3 (𝜑 → ⟨𝑃, 𝑄⟩ ∈ (𝑋 × 𝑌))
17 xpcco2.r . . . 4 (𝜑𝑅𝑋)
18 xpcco2.s . . . 4 (𝜑𝑆𝑌)
19 opelxpi 5288 . . . 4 ((𝑅𝑋𝑆𝑌) → ⟨𝑅, 𝑆⟩ ∈ (𝑋 × 𝑌))
2017, 18, 19syl2anc 565 . . 3 (𝜑 → ⟨𝑅, 𝑆⟩ ∈ (𝑋 × 𝑌))
21 xpcco2.f . . . . 5 (𝜑𝐹 ∈ (𝑀𝐻𝑃))
22 xpcco2.g . . . . 5 (𝜑𝐺 ∈ (𝑁𝐽𝑄))
23 opelxpi 5288 . . . . 5 ((𝐹 ∈ (𝑀𝐻𝑃) ∧ 𝐺 ∈ (𝑁𝐽𝑄)) → ⟨𝐹, 𝐺⟩ ∈ ((𝑀𝐻𝑃) × (𝑁𝐽𝑄)))
2421, 22, 23syl2anc 565 . . . 4 (𝜑 → ⟨𝐹, 𝐺⟩ ∈ ((𝑀𝐻𝑃) × (𝑁𝐽𝑄)))
25 xpcco2.h . . . . 5 𝐻 = (Hom ‘𝐶)
26 xpcco2.j . . . . 5 𝐽 = (Hom ‘𝐷)
271, 2, 3, 25, 26, 9, 10, 13, 14, 5xpchom2 17033 . . . 4 (𝜑 → (⟨𝑀, 𝑁⟩(Hom ‘𝑇)⟨𝑃, 𝑄⟩) = ((𝑀𝐻𝑃) × (𝑁𝐽𝑄)))
2824, 27eleqtrrd 2852 . . 3 (𝜑 → ⟨𝐹, 𝐺⟩ ∈ (⟨𝑀, 𝑁⟩(Hom ‘𝑇)⟨𝑃, 𝑄⟩))
29 xpcco2.k . . . . 5 (𝜑𝐾 ∈ (𝑃𝐻𝑅))
30 xpcco2.l . . . . 5 (𝜑𝐿 ∈ (𝑄𝐽𝑆))
31 opelxpi 5288 . . . . 5 ((𝐾 ∈ (𝑃𝐻𝑅) ∧ 𝐿 ∈ (𝑄𝐽𝑆)) → ⟨𝐾, 𝐿⟩ ∈ ((𝑃𝐻𝑅) × (𝑄𝐽𝑆)))
3229, 30, 31syl2anc 565 . . . 4 (𝜑 → ⟨𝐾, 𝐿⟩ ∈ ((𝑃𝐻𝑅) × (𝑄𝐽𝑆)))
331, 2, 3, 25, 26, 13, 14, 17, 18, 5xpchom2 17033 . . . 4 (𝜑 → (⟨𝑃, 𝑄⟩(Hom ‘𝑇)⟨𝑅, 𝑆⟩) = ((𝑃𝐻𝑅) × (𝑄𝐽𝑆)))
3432, 33eleqtrrd 2852 . . 3 (𝜑 → ⟨𝐾, 𝐿⟩ ∈ (⟨𝑃, 𝑄⟩(Hom ‘𝑇)⟨𝑅, 𝑆⟩))
351, 4, 5, 6, 7, 8, 12, 16, 20, 28, 34xpcco 17030 . 2 (𝜑 → (⟨𝐾, 𝐿⟩(⟨⟨𝑀, 𝑁⟩, ⟨𝑃, 𝑄⟩⟩𝑂𝑅, 𝑆⟩)⟨𝐹, 𝐺⟩) = ⟨((1st ‘⟨𝐾, 𝐿⟩)(⟨(1st ‘⟨𝑀, 𝑁⟩), (1st ‘⟨𝑃, 𝑄⟩)⟩ · (1st ‘⟨𝑅, 𝑆⟩))(1st ‘⟨𝐹, 𝐺⟩)), ((2nd ‘⟨𝐾, 𝐿⟩)(⟨(2nd ‘⟨𝑀, 𝑁⟩), (2nd ‘⟨𝑃, 𝑄⟩)⟩ (2nd ‘⟨𝑅, 𝑆⟩))(2nd ‘⟨𝐹, 𝐺⟩))⟩)
36 op1stg 7326 . . . . . . 7 ((𝑀𝑋𝑁𝑌) → (1st ‘⟨𝑀, 𝑁⟩) = 𝑀)
379, 10, 36syl2anc 565 . . . . . 6 (𝜑 → (1st ‘⟨𝑀, 𝑁⟩) = 𝑀)
38 op1stg 7326 . . . . . . 7 ((𝑃𝑋𝑄𝑌) → (1st ‘⟨𝑃, 𝑄⟩) = 𝑃)
3913, 14, 38syl2anc 565 . . . . . 6 (𝜑 → (1st ‘⟨𝑃, 𝑄⟩) = 𝑃)
4037, 39opeq12d 4545 . . . . 5 (𝜑 → ⟨(1st ‘⟨𝑀, 𝑁⟩), (1st ‘⟨𝑃, 𝑄⟩)⟩ = ⟨𝑀, 𝑃⟩)
41 op1stg 7326 . . . . . 6 ((𝑅𝑋𝑆𝑌) → (1st ‘⟨𝑅, 𝑆⟩) = 𝑅)
4217, 18, 41syl2anc 565 . . . . 5 (𝜑 → (1st ‘⟨𝑅, 𝑆⟩) = 𝑅)
4340, 42oveq12d 6810 . . . 4 (𝜑 → (⟨(1st ‘⟨𝑀, 𝑁⟩), (1st ‘⟨𝑃, 𝑄⟩)⟩ · (1st ‘⟨𝑅, 𝑆⟩)) = (⟨𝑀, 𝑃· 𝑅))
44 op1stg 7326 . . . . 5 ((𝐾 ∈ (𝑃𝐻𝑅) ∧ 𝐿 ∈ (𝑄𝐽𝑆)) → (1st ‘⟨𝐾, 𝐿⟩) = 𝐾)
4529, 30, 44syl2anc 565 . . . 4 (𝜑 → (1st ‘⟨𝐾, 𝐿⟩) = 𝐾)
46 op1stg 7326 . . . . 5 ((𝐹 ∈ (𝑀𝐻𝑃) ∧ 𝐺 ∈ (𝑁𝐽𝑄)) → (1st ‘⟨𝐹, 𝐺⟩) = 𝐹)
4721, 22, 46syl2anc 565 . . . 4 (𝜑 → (1st ‘⟨𝐹, 𝐺⟩) = 𝐹)
4843, 45, 47oveq123d 6813 . . 3 (𝜑 → ((1st ‘⟨𝐾, 𝐿⟩)(⟨(1st ‘⟨𝑀, 𝑁⟩), (1st ‘⟨𝑃, 𝑄⟩)⟩ · (1st ‘⟨𝑅, 𝑆⟩))(1st ‘⟨𝐹, 𝐺⟩)) = (𝐾(⟨𝑀, 𝑃· 𝑅)𝐹))
49 op2ndg 7327 . . . . . . 7 ((𝑀𝑋𝑁𝑌) → (2nd ‘⟨𝑀, 𝑁⟩) = 𝑁)
509, 10, 49syl2anc 565 . . . . . 6 (𝜑 → (2nd ‘⟨𝑀, 𝑁⟩) = 𝑁)
51 op2ndg 7327 . . . . . . 7 ((𝑃𝑋𝑄𝑌) → (2nd ‘⟨𝑃, 𝑄⟩) = 𝑄)
5213, 14, 51syl2anc 565 . . . . . 6 (𝜑 → (2nd ‘⟨𝑃, 𝑄⟩) = 𝑄)
5350, 52opeq12d 4545 . . . . 5 (𝜑 → ⟨(2nd ‘⟨𝑀, 𝑁⟩), (2nd ‘⟨𝑃, 𝑄⟩)⟩ = ⟨𝑁, 𝑄⟩)
54 op2ndg 7327 . . . . . 6 ((𝑅𝑋𝑆𝑌) → (2nd ‘⟨𝑅, 𝑆⟩) = 𝑆)
5517, 18, 54syl2anc 565 . . . . 5 (𝜑 → (2nd ‘⟨𝑅, 𝑆⟩) = 𝑆)
5653, 55oveq12d 6810 . . . 4 (𝜑 → (⟨(2nd ‘⟨𝑀, 𝑁⟩), (2nd ‘⟨𝑃, 𝑄⟩)⟩ (2nd ‘⟨𝑅, 𝑆⟩)) = (⟨𝑁, 𝑄 𝑆))
57 op2ndg 7327 . . . . 5 ((𝐾 ∈ (𝑃𝐻𝑅) ∧ 𝐿 ∈ (𝑄𝐽𝑆)) → (2nd ‘⟨𝐾, 𝐿⟩) = 𝐿)
5829, 30, 57syl2anc 565 . . . 4 (𝜑 → (2nd ‘⟨𝐾, 𝐿⟩) = 𝐿)
59 op2ndg 7327 . . . . 5 ((𝐹 ∈ (𝑀𝐻𝑃) ∧ 𝐺 ∈ (𝑁𝐽𝑄)) → (2nd ‘⟨𝐹, 𝐺⟩) = 𝐺)
6021, 22, 59syl2anc 565 . . . 4 (𝜑 → (2nd ‘⟨𝐹, 𝐺⟩) = 𝐺)
6156, 58, 60oveq123d 6813 . . 3 (𝜑 → ((2nd ‘⟨𝐾, 𝐿⟩)(⟨(2nd ‘⟨𝑀, 𝑁⟩), (2nd ‘⟨𝑃, 𝑄⟩)⟩ (2nd ‘⟨𝑅, 𝑆⟩))(2nd ‘⟨𝐹, 𝐺⟩)) = (𝐿(⟨𝑁, 𝑄 𝑆)𝐺))
6248, 61opeq12d 4545 . 2 (𝜑 → ⟨((1st ‘⟨𝐾, 𝐿⟩)(⟨(1st ‘⟨𝑀, 𝑁⟩), (1st ‘⟨𝑃, 𝑄⟩)⟩ · (1st ‘⟨𝑅, 𝑆⟩))(1st ‘⟨𝐹, 𝐺⟩)), ((2nd ‘⟨𝐾, 𝐿⟩)(⟨(2nd ‘⟨𝑀, 𝑁⟩), (2nd ‘⟨𝑃, 𝑄⟩)⟩ (2nd ‘⟨𝑅, 𝑆⟩))(2nd ‘⟨𝐹, 𝐺⟩))⟩ = ⟨(𝐾(⟨𝑀, 𝑃· 𝑅)𝐹), (𝐿(⟨𝑁, 𝑄 𝑆)𝐺)⟩)
6335, 62eqtrd 2804 1 (𝜑 → (⟨𝐾, 𝐿⟩(⟨⟨𝑀, 𝑁⟩, ⟨𝑃, 𝑄⟩⟩𝑂𝑅, 𝑆⟩)⟨𝐹, 𝐺⟩) = ⟨(𝐾(⟨𝑀, 𝑃· 𝑅)𝐹), (𝐿(⟨𝑁, 𝑄 𝑆)𝐺)⟩)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1630  wcel 2144  cop 4320   × cxp 5247  cfv 6031  (class class class)co 6792  1st c1st 7312  2nd c2nd 7313  Basecbs 16063  Hom chom 16159  compcco 16160   ×c cxpc 17015
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1869  ax-4 1884  ax-5 1990  ax-6 2056  ax-7 2092  ax-8 2146  ax-9 2153  ax-10 2173  ax-11 2189  ax-12 2202  ax-13 2407  ax-ext 2750  ax-rep 4902  ax-sep 4912  ax-nul 4920  ax-pow 4971  ax-pr 5034  ax-un 7095  ax-cnex 10193  ax-resscn 10194  ax-1cn 10195  ax-icn 10196  ax-addcl 10197  ax-addrcl 10198  ax-mulcl 10199  ax-mulrcl 10200  ax-mulcom 10201  ax-addass 10202  ax-mulass 10203  ax-distr 10204  ax-i2m1 10205  ax-1ne0 10206  ax-1rid 10207  ax-rnegex 10208  ax-rrecex 10209  ax-cnre 10210  ax-pre-lttri 10211  ax-pre-lttrn 10212  ax-pre-ltadd 10213  ax-pre-mulgt0 10214
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 827  df-3or 1071  df-3an 1072  df-tru 1633  df-fal 1636  df-ex 1852  df-nf 1857  df-sb 2049  df-eu 2621  df-mo 2622  df-clab 2757  df-cleq 2763  df-clel 2766  df-nfc 2901  df-ne 2943  df-nel 3046  df-ral 3065  df-rex 3066  df-reu 3067  df-rab 3069  df-v 3351  df-sbc 3586  df-csb 3681  df-dif 3724  df-un 3726  df-in 3728  df-ss 3735  df-pss 3737  df-nul 4062  df-if 4224  df-pw 4297  df-sn 4315  df-pr 4317  df-tp 4319  df-op 4321  df-uni 4573  df-int 4610  df-iun 4654  df-br 4785  df-opab 4845  df-mpt 4862  df-tr 4885  df-id 5157  df-eprel 5162  df-po 5170  df-so 5171  df-fr 5208  df-we 5210  df-xp 5255  df-rel 5256  df-cnv 5257  df-co 5258  df-dm 5259  df-rn 5260  df-res 5261  df-ima 5262  df-pred 5823  df-ord 5869  df-on 5870  df-lim 5871  df-suc 5872  df-iota 5994  df-fun 6033  df-fn 6034  df-f 6035  df-f1 6036  df-fo 6037  df-f1o 6038  df-fv 6039  df-riota 6753  df-ov 6795  df-oprab 6796  df-mpt2 6797  df-om 7212  df-1st 7314  df-2nd 7315  df-wrecs 7558  df-recs 7620  df-rdg 7658  df-1o 7712  df-oadd 7716  df-er 7895  df-en 8109  df-dom 8110  df-sdom 8111  df-fin 8112  df-pnf 10277  df-mnf 10278  df-xr 10279  df-ltxr 10280  df-le 10281  df-sub 10469  df-neg 10470  df-nn 11222  df-2 11280  df-3 11281  df-4 11282  df-5 11283  df-6 11284  df-7 11285  df-8 11286  df-9 11287  df-n0 11494  df-z 11579  df-dec 11695  df-uz 11888  df-fz 12533  df-struct 16065  df-ndx 16066  df-slot 16067  df-base 16069  df-hom 16173  df-cco 16174  df-xpc 17019
This theorem is referenced by:  prfcl  17050  evlfcllem  17068  curf1cl  17075  curf2cl  17078  curfcl  17079  uncfcurf  17086  hofcl  17106
  Copyright terms: Public domain W3C validator