Users' Mathboxes Mathbox for Zhi Wang < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fucoppcco Structured version   Visualization version   GIF version

Theorem fucoppcco 49768
Description: The opposite category of functors is compatible with the category of opposite functors in terms of composition. (Contributed by Zhi Wang, 18-Nov-2025.)
Hypotheses
Ref Expression
fucoppc.o 𝑂 = (oppCat‘𝐶)
fucoppc.p 𝑃 = (oppCat‘𝐷)
fucoppc.q 𝑄 = (𝐶 FuncCat 𝐷)
fucoppc.r 𝑅 = (oppCat‘𝑄)
fucoppc.s 𝑆 = (𝑂 FuncCat 𝑃)
fucoppc.n 𝑁 = (𝐶 Nat 𝐷)
fucoppc.f (𝜑𝐹 = ( oppFunc ↾ (𝐶 Func 𝐷)))
fucoppc.g (𝜑𝐺 = (𝑥 ∈ (𝐶 Func 𝐷), 𝑦 ∈ (𝐶 Func 𝐷) ↦ ( I ↾ (𝑦𝑁𝑥))))
fucoppcco.a (𝜑𝐴 ∈ (𝑋(Hom ‘𝑅)𝑌))
fucoppcco.b (𝜑𝐵 ∈ (𝑌(Hom ‘𝑅)𝑍))
Assertion
Ref Expression
fucoppcco (𝜑 → ((𝑋𝐺𝑍)‘(𝐵(⟨𝑋, 𝑌⟩(comp‘𝑅)𝑍)𝐴)) = (((𝑌𝐺𝑍)‘𝐵)(⟨(𝐹𝑋), (𝐹𝑌)⟩(comp‘𝑆)(𝐹𝑍))((𝑋𝐺𝑌)‘𝐴)))
Distinct variable groups:   𝑥,𝑁,𝑦   𝑥,𝑋,𝑦   𝑥,𝑌,𝑦   𝑥,𝑍,𝑦   𝜑,𝑥,𝑦
Allowed substitution hints:   𝐴(𝑥,𝑦)   𝐵(𝑥,𝑦)   𝐶(𝑥,𝑦)   𝐷(𝑥,𝑦)   𝑃(𝑥,𝑦)   𝑄(𝑥,𝑦)   𝑅(𝑥,𝑦)   𝑆(𝑥,𝑦)   𝐹(𝑥,𝑦)   𝐺(𝑥,𝑦)   𝑂(𝑥,𝑦)

Proof of Theorem fucoppcco
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 fucoppc.s . . 3 𝑆 = (𝑂 FuncCat 𝑃)
2 eqid 2737 . . 3 (𝑂 Nat 𝑃) = (𝑂 Nat 𝑃)
3 fucoppc.o . . . 4 𝑂 = (oppCat‘𝐶)
4 eqid 2737 . . . 4 (Base‘𝐶) = (Base‘𝐶)
53, 4oppcbas 17653 . . 3 (Base‘𝐶) = (Base‘𝑂)
6 eqid 2737 . . 3 (comp‘𝑃) = (comp‘𝑃)
7 eqid 2737 . . 3 (comp‘𝑆) = (comp‘𝑆)
8 fucoppcco.a . . . . 5 (𝜑𝐴 ∈ (𝑋(Hom ‘𝑅)𝑌))
9 fucoppc.q . . . . . . 7 𝑄 = (𝐶 FuncCat 𝐷)
10 fucoppc.n . . . . . . 7 𝑁 = (𝐶 Nat 𝐷)
119, 10fuchom 17900 . . . . . 6 𝑁 = (Hom ‘𝑄)
12 fucoppc.r . . . . . 6 𝑅 = (oppCat‘𝑄)
1311, 12oppchom 17650 . . . . 5 (𝑋(Hom ‘𝑅)𝑌) = (𝑌𝑁𝑋)
148, 13eleqtrdi 2847 . . . 4 (𝜑𝐴 ∈ (𝑌𝑁𝑋))
15 fucoppc.p . . . . 5 𝑃 = (oppCat‘𝐷)
16 fucoppc.f . . . . 5 (𝜑𝐹 = ( oppFunc ↾ (𝐶 Func 𝐷)))
1710natrcl 17889 . . . . . . 7 (𝐴 ∈ (𝑌𝑁𝑋) → (𝑌 ∈ (𝐶 Func 𝐷) ∧ 𝑋 ∈ (𝐶 Func 𝐷)))
1814, 17syl 17 . . . . . 6 (𝜑 → (𝑌 ∈ (𝐶 Func 𝐷) ∧ 𝑋 ∈ (𝐶 Func 𝐷)))
1918simprd 495 . . . . 5 (𝜑𝑋 ∈ (𝐶 Func 𝐷))
2018simpld 494 . . . . 5 (𝜑𝑌 ∈ (𝐶 Func 𝐷))
213, 15, 10, 16, 19, 20fucoppclem 49766 . . . 4 (𝜑 → (𝑌𝑁𝑋) = ((𝐹𝑋)(𝑂 Nat 𝑃)(𝐹𝑌)))
2214, 21eleqtrd 2839 . . 3 (𝜑𝐴 ∈ ((𝐹𝑋)(𝑂 Nat 𝑃)(𝐹𝑌)))
23 fucoppcco.b . . . . 5 (𝜑𝐵 ∈ (𝑌(Hom ‘𝑅)𝑍))
2411, 12oppchom 17650 . . . . 5 (𝑌(Hom ‘𝑅)𝑍) = (𝑍𝑁𝑌)
2523, 24eleqtrdi 2847 . . . 4 (𝜑𝐵 ∈ (𝑍𝑁𝑌))
2610natrcl 17889 . . . . . . 7 (𝐵 ∈ (𝑍𝑁𝑌) → (𝑍 ∈ (𝐶 Func 𝐷) ∧ 𝑌 ∈ (𝐶 Func 𝐷)))
2725, 26syl 17 . . . . . 6 (𝜑 → (𝑍 ∈ (𝐶 Func 𝐷) ∧ 𝑌 ∈ (𝐶 Func 𝐷)))
2827simpld 494 . . . . 5 (𝜑𝑍 ∈ (𝐶 Func 𝐷))
293, 15, 10, 16, 20, 28fucoppclem 49766 . . . 4 (𝜑 → (𝑍𝑁𝑌) = ((𝐹𝑌)(𝑂 Nat 𝑃)(𝐹𝑍)))
3025, 29eleqtrd 2839 . . 3 (𝜑𝐵 ∈ ((𝐹𝑌)(𝑂 Nat 𝑃)(𝐹𝑍)))
311, 2, 5, 6, 7, 22, 30fucco 17901 . 2 (𝜑 → (𝐵(⟨(𝐹𝑋), (𝐹𝑌)⟩(comp‘𝑆)(𝐹𝑍))𝐴) = (𝑧 ∈ (Base‘𝐶) ↦ ((𝐵𝑧)(⟨((1st ‘(𝐹𝑋))‘𝑧), ((1st ‘(𝐹𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹𝑍))‘𝑧))(𝐴𝑧))))
32 fucoppc.g . . . 4 (𝜑𝐺 = (𝑥 ∈ (𝐶 Func 𝐷), 𝑦 ∈ (𝐶 Func 𝐷) ↦ ( I ↾ (𝑦𝑁𝑥))))
33 eqidd 2738 . . . 4 (𝜑𝐵 = 𝐵)
3432, 20, 28, 33, 25opf2 49765 . . 3 (𝜑 → ((𝑌𝐺𝑍)‘𝐵) = 𝐵)
35 eqidd 2738 . . . 4 (𝜑𝐴 = 𝐴)
3632, 19, 20, 35, 14opf2 49765 . . 3 (𝜑 → ((𝑋𝐺𝑌)‘𝐴) = 𝐴)
3734, 36oveq12d 7386 . 2 (𝜑 → (((𝑌𝐺𝑍)‘𝐵)(⟨(𝐹𝑋), (𝐹𝑌)⟩(comp‘𝑆)(𝐹𝑍))((𝑋𝐺𝑌)‘𝐴)) = (𝐵(⟨(𝐹𝑋), (𝐹𝑌)⟩(comp‘𝑆)(𝐹𝑍))𝐴))
38 eqid 2737 . . . 4 (comp‘𝐷) = (comp‘𝐷)
39 eqid 2737 . . . 4 (comp‘𝑄) = (comp‘𝑄)
409, 10, 4, 38, 39, 25, 14fucco 17901 . . 3 (𝜑 → (𝐴(⟨𝑍, 𝑌⟩(comp‘𝑄)𝑋)𝐵) = (𝑧 ∈ (Base‘𝐶) ↦ ((𝐴𝑧)(⟨((1st𝑍)‘𝑧), ((1st𝑌)‘𝑧)⟩(comp‘𝐷)((1st𝑋)‘𝑧))(𝐵𝑧))))
419fucbas 17899 . . . . 5 (𝐶 Func 𝐷) = (Base‘𝑄)
4241, 39, 12, 19, 20, 28oppcco 17652 . . . 4 (𝜑 → (𝐵(⟨𝑋, 𝑌⟩(comp‘𝑅)𝑍)𝐴) = (𝐴(⟨𝑍, 𝑌⟩(comp‘𝑄)𝑋)𝐵))
439, 10, 39, 25, 14fuccocl 17903 . . . 4 (𝜑 → (𝐴(⟨𝑍, 𝑌⟩(comp‘𝑄)𝑋)𝐵) ∈ (𝑍𝑁𝑋))
4432, 19, 28, 42, 43opf2 49765 . . 3 (𝜑 → ((𝑋𝐺𝑍)‘(𝐵(⟨𝑋, 𝑌⟩(comp‘𝑅)𝑍)𝐴)) = (𝐴(⟨𝑍, 𝑌⟩(comp‘𝑄)𝑋)𝐵))
4516, 19opf11 49762 . . . . . . . . . 10 (𝜑 → (1st ‘(𝐹𝑋)) = (1st𝑋))
4645fveq1d 6844 . . . . . . . . 9 (𝜑 → ((1st ‘(𝐹𝑋))‘𝑧) = ((1st𝑋)‘𝑧))
4716, 20opf11 49762 . . . . . . . . . 10 (𝜑 → (1st ‘(𝐹𝑌)) = (1st𝑌))
4847fveq1d 6844 . . . . . . . . 9 (𝜑 → ((1st ‘(𝐹𝑌))‘𝑧) = ((1st𝑌)‘𝑧))
4946, 48opeq12d 4839 . . . . . . . 8 (𝜑 → ⟨((1st ‘(𝐹𝑋))‘𝑧), ((1st ‘(𝐹𝑌))‘𝑧)⟩ = ⟨((1st𝑋)‘𝑧), ((1st𝑌)‘𝑧)⟩)
5016, 28opf11 49762 . . . . . . . . 9 (𝜑 → (1st ‘(𝐹𝑍)) = (1st𝑍))
5150fveq1d 6844 . . . . . . . 8 (𝜑 → ((1st ‘(𝐹𝑍))‘𝑧) = ((1st𝑍)‘𝑧))
5249, 51oveq12d 7386 . . . . . . 7 (𝜑 → (⟨((1st ‘(𝐹𝑋))‘𝑧), ((1st ‘(𝐹𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹𝑍))‘𝑧)) = (⟨((1st𝑋)‘𝑧), ((1st𝑌)‘𝑧)⟩(comp‘𝑃)((1st𝑍)‘𝑧)))
5352oveqd 7385 . . . . . 6 (𝜑 → ((𝐵𝑧)(⟨((1st ‘(𝐹𝑋))‘𝑧), ((1st ‘(𝐹𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹𝑍))‘𝑧))(𝐴𝑧)) = ((𝐵𝑧)(⟨((1st𝑋)‘𝑧), ((1st𝑌)‘𝑧)⟩(comp‘𝑃)((1st𝑍)‘𝑧))(𝐴𝑧)))
5453adantr 480 . . . . 5 ((𝜑𝑧 ∈ (Base‘𝐶)) → ((𝐵𝑧)(⟨((1st ‘(𝐹𝑋))‘𝑧), ((1st ‘(𝐹𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹𝑍))‘𝑧))(𝐴𝑧)) = ((𝐵𝑧)(⟨((1st𝑋)‘𝑧), ((1st𝑌)‘𝑧)⟩(comp‘𝑃)((1st𝑍)‘𝑧))(𝐴𝑧)))
55 eqid 2737 . . . . . 6 (Base‘𝐷) = (Base‘𝐷)
5619func1st2nd 49435 . . . . . . . 8 (𝜑 → (1st𝑋)(𝐶 Func 𝐷)(2nd𝑋))
574, 55, 56funcf1 17802 . . . . . . 7 (𝜑 → (1st𝑋):(Base‘𝐶)⟶(Base‘𝐷))
5857ffvelcdmda 7038 . . . . . 6 ((𝜑𝑧 ∈ (Base‘𝐶)) → ((1st𝑋)‘𝑧) ∈ (Base‘𝐷))
5920func1st2nd 49435 . . . . . . . 8 (𝜑 → (1st𝑌)(𝐶 Func 𝐷)(2nd𝑌))
604, 55, 59funcf1 17802 . . . . . . 7 (𝜑 → (1st𝑌):(Base‘𝐶)⟶(Base‘𝐷))
6160ffvelcdmda 7038 . . . . . 6 ((𝜑𝑧 ∈ (Base‘𝐶)) → ((1st𝑌)‘𝑧) ∈ (Base‘𝐷))
6228func1st2nd 49435 . . . . . . . 8 (𝜑 → (1st𝑍)(𝐶 Func 𝐷)(2nd𝑍))
634, 55, 62funcf1 17802 . . . . . . 7 (𝜑 → (1st𝑍):(Base‘𝐶)⟶(Base‘𝐷))
6463ffvelcdmda 7038 . . . . . 6 ((𝜑𝑧 ∈ (Base‘𝐶)) → ((1st𝑍)‘𝑧) ∈ (Base‘𝐷))
6555, 38, 15, 58, 61, 64oppcco 17652 . . . . 5 ((𝜑𝑧 ∈ (Base‘𝐶)) → ((𝐵𝑧)(⟨((1st𝑋)‘𝑧), ((1st𝑌)‘𝑧)⟩(comp‘𝑃)((1st𝑍)‘𝑧))(𝐴𝑧)) = ((𝐴𝑧)(⟨((1st𝑍)‘𝑧), ((1st𝑌)‘𝑧)⟩(comp‘𝐷)((1st𝑋)‘𝑧))(𝐵𝑧)))
6654, 65eqtrd 2772 . . . 4 ((𝜑𝑧 ∈ (Base‘𝐶)) → ((𝐵𝑧)(⟨((1st ‘(𝐹𝑋))‘𝑧), ((1st ‘(𝐹𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹𝑍))‘𝑧))(𝐴𝑧)) = ((𝐴𝑧)(⟨((1st𝑍)‘𝑧), ((1st𝑌)‘𝑧)⟩(comp‘𝐷)((1st𝑋)‘𝑧))(𝐵𝑧)))
6766mpteq2dva 5193 . . 3 (𝜑 → (𝑧 ∈ (Base‘𝐶) ↦ ((𝐵𝑧)(⟨((1st ‘(𝐹𝑋))‘𝑧), ((1st ‘(𝐹𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹𝑍))‘𝑧))(𝐴𝑧))) = (𝑧 ∈ (Base‘𝐶) ↦ ((𝐴𝑧)(⟨((1st𝑍)‘𝑧), ((1st𝑌)‘𝑧)⟩(comp‘𝐷)((1st𝑋)‘𝑧))(𝐵𝑧))))
6840, 44, 673eqtr4d 2782 . 2 (𝜑 → ((𝑋𝐺𝑍)‘(𝐵(⟨𝑋, 𝑌⟩(comp‘𝑅)𝑍)𝐴)) = (𝑧 ∈ (Base‘𝐶) ↦ ((𝐵𝑧)(⟨((1st ‘(𝐹𝑋))‘𝑧), ((1st ‘(𝐹𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹𝑍))‘𝑧))(𝐴𝑧))))
6931, 37, 683eqtr4rd 2783 1 (𝜑 → ((𝑋𝐺𝑍)‘(𝐵(⟨𝑋, 𝑌⟩(comp‘𝑅)𝑍)𝐴)) = (((𝑌𝐺𝑍)‘𝐵)(⟨(𝐹𝑋), (𝐹𝑌)⟩(comp‘𝑆)(𝐹𝑍))((𝑋𝐺𝑌)‘𝐴)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1542  wcel 2114  cop 4588  cmpt 5181   I cid 5526  cres 5634  cfv 6500  (class class class)co 7368  cmpo 7370  1st c1st 7941  2nd c2nd 7942  Basecbs 17148  Hom chom 17200  compcco 17201  oppCatcoppc 17646   Func cfunc 17790   Nat cnat 17880   FuncCat cfuc 17881   oppFunc coppf 49481
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2709  ax-rep 5226  ax-sep 5243  ax-nul 5253  ax-pow 5312  ax-pr 5379  ax-un 7690  ax-cnex 11094  ax-resscn 11095  ax-1cn 11096  ax-icn 11097  ax-addcl 11098  ax-addrcl 11099  ax-mulcl 11100  ax-mulrcl 11101  ax-mulcom 11102  ax-addass 11103  ax-mulass 11104  ax-distr 11105  ax-i2m1 11106  ax-1ne0 11107  ax-1rid 11108  ax-rnegex 11109  ax-rrecex 11110  ax-cnre 11111  ax-pre-lttri 11112  ax-pre-lttrn 11113  ax-pre-ltadd 11114  ax-pre-mulgt0 11115
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3or 1088  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2540  df-eu 2570  df-clab 2716  df-cleq 2729  df-clel 2812  df-nfc 2886  df-ne 2934  df-nel 3038  df-ral 3053  df-rex 3063  df-rmo 3352  df-reu 3353  df-rab 3402  df-v 3444  df-sbc 3743  df-csb 3852  df-dif 3906  df-un 3908  df-in 3910  df-ss 3920  df-pss 3923  df-nul 4288  df-if 4482  df-pw 4558  df-sn 4583  df-pr 4585  df-tp 4587  df-op 4589  df-uni 4866  df-iun 4950  df-br 5101  df-opab 5163  df-mpt 5182  df-tr 5208  df-id 5527  df-eprel 5532  df-po 5540  df-so 5541  df-fr 5585  df-we 5587  df-xp 5638  df-rel 5639  df-cnv 5640  df-co 5641  df-dm 5642  df-rn 5643  df-res 5644  df-ima 5645  df-pred 6267  df-ord 6328  df-on 6329  df-lim 6330  df-suc 6331  df-iota 6456  df-fun 6502  df-fn 6503  df-f 6504  df-f1 6505  df-fo 6506  df-f1o 6507  df-fv 6508  df-riota 7325  df-ov 7371  df-oprab 7372  df-mpo 7373  df-om 7819  df-1st 7943  df-2nd 7944  df-tpos 8178  df-frecs 8233  df-wrecs 8264  df-recs 8313  df-rdg 8351  df-1o 8407  df-er 8645  df-map 8777  df-ixp 8848  df-en 8896  df-dom 8897  df-sdom 8898  df-fin 8899  df-pnf 11180  df-mnf 11181  df-xr 11182  df-ltxr 11183  df-le 11184  df-sub 11378  df-neg 11379  df-nn 12158  df-2 12220  df-3 12221  df-4 12222  df-5 12223  df-6 12224  df-7 12225  df-8 12226  df-9 12227  df-n0 12414  df-z 12501  df-dec 12620  df-uz 12764  df-fz 13436  df-struct 17086  df-sets 17103  df-slot 17121  df-ndx 17133  df-base 17149  df-hom 17213  df-cco 17214  df-cat 17603  df-cid 17604  df-homf 17605  df-comf 17606  df-oppc 17647  df-func 17794  df-nat 17882  df-fuc 17883  df-oppf 49482
This theorem is referenced by:  fucoppc  49769
  Copyright terms: Public domain W3C validator