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 49398
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 2729 . . 3 (𝑂 Nat 𝑃) = (𝑂 Nat 𝑃)
3 fucoppc.o . . . 4 𝑂 = (oppCat‘𝐶)
4 eqid 2729 . . . 4 (Base‘𝐶) = (Base‘𝐶)
53, 4oppcbas 17624 . . 3 (Base‘𝐶) = (Base‘𝑂)
6 eqid 2729 . . 3 (comp‘𝑃) = (comp‘𝑃)
7 eqid 2729 . . 3 (comp‘𝑆) = (comp‘𝑆)
8 fucoppcco.a . . . . 5 (𝜑𝐴 ∈ (𝑋(Hom ‘𝑅)𝑌))
9 fucoppc.q . . . . . . 7 𝑄 = (𝐶 FuncCat 𝐷)
10 fucoppc.n . . . . . . 7 𝑁 = (𝐶 Nat 𝐷)
119, 10fuchom 17871 . . . . . 6 𝑁 = (Hom ‘𝑄)
12 fucoppc.r . . . . . 6 𝑅 = (oppCat‘𝑄)
1311, 12oppchom 17621 . . . . 5 (𝑋(Hom ‘𝑅)𝑌) = (𝑌𝑁𝑋)
148, 13eleqtrdi 2838 . . . 4 (𝜑𝐴 ∈ (𝑌𝑁𝑋))
15 fucoppc.p . . . . 5 𝑃 = (oppCat‘𝐷)
16 fucoppc.f . . . . 5 (𝜑𝐹 = ( oppFunc ↾ (𝐶 Func 𝐷)))
1710natrcl 17860 . . . . . . 7 (𝐴 ∈ (𝑌𝑁𝑋) → (𝑌 ∈ (𝐶 Func 𝐷) ∧ 𝑋 ∈ (𝐶 Func 𝐷)))
1814, 17syl 17 . . . . . 6 (𝜑 → (𝑌 ∈ (𝐶 Func 𝐷) ∧ 𝑋 ∈ (𝐶 Func 𝐷)))
1918simprd 495 . . . . 5 (𝜑𝑋 ∈ (𝐶 Func 𝐷))
2018simpld 494 . . . . 5 (𝜑𝑌 ∈ (𝐶 Func 𝐷))
213, 15, 10, 16, 19, 20fucoppclem 49396 . . . 4 (𝜑 → (𝑌𝑁𝑋) = ((𝐹𝑋)(𝑂 Nat 𝑃)(𝐹𝑌)))
2214, 21eleqtrd 2830 . . 3 (𝜑𝐴 ∈ ((𝐹𝑋)(𝑂 Nat 𝑃)(𝐹𝑌)))
23 fucoppcco.b . . . . 5 (𝜑𝐵 ∈ (𝑌(Hom ‘𝑅)𝑍))
2411, 12oppchom 17621 . . . . 5 (𝑌(Hom ‘𝑅)𝑍) = (𝑍𝑁𝑌)
2523, 24eleqtrdi 2838 . . . 4 (𝜑𝐵 ∈ (𝑍𝑁𝑌))
2610natrcl 17860 . . . . . . 7 (𝐵 ∈ (𝑍𝑁𝑌) → (𝑍 ∈ (𝐶 Func 𝐷) ∧ 𝑌 ∈ (𝐶 Func 𝐷)))
2725, 26syl 17 . . . . . 6 (𝜑 → (𝑍 ∈ (𝐶 Func 𝐷) ∧ 𝑌 ∈ (𝐶 Func 𝐷)))
2827simpld 494 . . . . 5 (𝜑𝑍 ∈ (𝐶 Func 𝐷))
293, 15, 10, 16, 20, 28fucoppclem 49396 . . . 4 (𝜑 → (𝑍𝑁𝑌) = ((𝐹𝑌)(𝑂 Nat 𝑃)(𝐹𝑍)))
3025, 29eleqtrd 2830 . . 3 (𝜑𝐵 ∈ ((𝐹𝑌)(𝑂 Nat 𝑃)(𝐹𝑍)))
311, 2, 5, 6, 7, 22, 30fucco 17872 . 2 (𝜑 → (𝐵(⟨(𝐹𝑋), (𝐹𝑌)⟩(comp‘𝑆)(𝐹𝑍))𝐴) = (𝑧 ∈ (Base‘𝐶) ↦ ((𝐵𝑧)(⟨((1st ‘(𝐹𝑋))‘𝑧), ((1st ‘(𝐹𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹𝑍))‘𝑧))(𝐴𝑧))))
32 fucoppc.g . . . 4 (𝜑𝐺 = (𝑥 ∈ (𝐶 Func 𝐷), 𝑦 ∈ (𝐶 Func 𝐷) ↦ ( I ↾ (𝑦𝑁𝑥))))
33 eqidd 2730 . . . 4 (𝜑𝐵 = 𝐵)
3432, 20, 28, 33, 25opf2 49395 . . 3 (𝜑 → ((𝑌𝐺𝑍)‘𝐵) = 𝐵)
35 eqidd 2730 . . . 4 (𝜑𝐴 = 𝐴)
3632, 19, 20, 35, 14opf2 49395 . . 3 (𝜑 → ((𝑋𝐺𝑌)‘𝐴) = 𝐴)
3734, 36oveq12d 7367 . 2 (𝜑 → (((𝑌𝐺𝑍)‘𝐵)(⟨(𝐹𝑋), (𝐹𝑌)⟩(comp‘𝑆)(𝐹𝑍))((𝑋𝐺𝑌)‘𝐴)) = (𝐵(⟨(𝐹𝑋), (𝐹𝑌)⟩(comp‘𝑆)(𝐹𝑍))𝐴))
38 eqid 2729 . . . 4 (comp‘𝐷) = (comp‘𝐷)
39 eqid 2729 . . . 4 (comp‘𝑄) = (comp‘𝑄)
409, 10, 4, 38, 39, 25, 14fucco 17872 . . 3 (𝜑 → (𝐴(⟨𝑍, 𝑌⟩(comp‘𝑄)𝑋)𝐵) = (𝑧 ∈ (Base‘𝐶) ↦ ((𝐴𝑧)(⟨((1st𝑍)‘𝑧), ((1st𝑌)‘𝑧)⟩(comp‘𝐷)((1st𝑋)‘𝑧))(𝐵𝑧))))
419fucbas 17870 . . . . 5 (𝐶 Func 𝐷) = (Base‘𝑄)
4241, 39, 12, 19, 20, 28oppcco 17623 . . . 4 (𝜑 → (𝐵(⟨𝑋, 𝑌⟩(comp‘𝑅)𝑍)𝐴) = (𝐴(⟨𝑍, 𝑌⟩(comp‘𝑄)𝑋)𝐵))
439, 10, 39, 25, 14fuccocl 17874 . . . 4 (𝜑 → (𝐴(⟨𝑍, 𝑌⟩(comp‘𝑄)𝑋)𝐵) ∈ (𝑍𝑁𝑋))
4432, 19, 28, 42, 43opf2 49395 . . 3 (𝜑 → ((𝑋𝐺𝑍)‘(𝐵(⟨𝑋, 𝑌⟩(comp‘𝑅)𝑍)𝐴)) = (𝐴(⟨𝑍, 𝑌⟩(comp‘𝑄)𝑋)𝐵))
4516, 19opf11 49392 . . . . . . . . . 10 (𝜑 → (1st ‘(𝐹𝑋)) = (1st𝑋))
4645fveq1d 6824 . . . . . . . . 9 (𝜑 → ((1st ‘(𝐹𝑋))‘𝑧) = ((1st𝑋)‘𝑧))
4716, 20opf11 49392 . . . . . . . . . 10 (𝜑 → (1st ‘(𝐹𝑌)) = (1st𝑌))
4847fveq1d 6824 . . . . . . . . 9 (𝜑 → ((1st ‘(𝐹𝑌))‘𝑧) = ((1st𝑌)‘𝑧))
4946, 48opeq12d 4832 . . . . . . . 8 (𝜑 → ⟨((1st ‘(𝐹𝑋))‘𝑧), ((1st ‘(𝐹𝑌))‘𝑧)⟩ = ⟨((1st𝑋)‘𝑧), ((1st𝑌)‘𝑧)⟩)
5016, 28opf11 49392 . . . . . . . . 9 (𝜑 → (1st ‘(𝐹𝑍)) = (1st𝑍))
5150fveq1d 6824 . . . . . . . 8 (𝜑 → ((1st ‘(𝐹𝑍))‘𝑧) = ((1st𝑍)‘𝑧))
5249, 51oveq12d 7367 . . . . . . 7 (𝜑 → (⟨((1st ‘(𝐹𝑋))‘𝑧), ((1st ‘(𝐹𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹𝑍))‘𝑧)) = (⟨((1st𝑋)‘𝑧), ((1st𝑌)‘𝑧)⟩(comp‘𝑃)((1st𝑍)‘𝑧)))
5352oveqd 7366 . . . . . 6 (𝜑 → ((𝐵𝑧)(⟨((1st ‘(𝐹𝑋))‘𝑧), ((1st ‘(𝐹𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹𝑍))‘𝑧))(𝐴𝑧)) = ((𝐵𝑧)(⟨((1st𝑋)‘𝑧), ((1st𝑌)‘𝑧)⟩(comp‘𝑃)((1st𝑍)‘𝑧))(𝐴𝑧)))
5453adantr 480 . . . . 5 ((𝜑𝑧 ∈ (Base‘𝐶)) → ((𝐵𝑧)(⟨((1st ‘(𝐹𝑋))‘𝑧), ((1st ‘(𝐹𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹𝑍))‘𝑧))(𝐴𝑧)) = ((𝐵𝑧)(⟨((1st𝑋)‘𝑧), ((1st𝑌)‘𝑧)⟩(comp‘𝑃)((1st𝑍)‘𝑧))(𝐴𝑧)))
55 eqid 2729 . . . . . 6 (Base‘𝐷) = (Base‘𝐷)
5619func1st2nd 49065 . . . . . . . 8 (𝜑 → (1st𝑋)(𝐶 Func 𝐷)(2nd𝑋))
574, 55, 56funcf1 17773 . . . . . . 7 (𝜑 → (1st𝑋):(Base‘𝐶)⟶(Base‘𝐷))
5857ffvelcdmda 7018 . . . . . 6 ((𝜑𝑧 ∈ (Base‘𝐶)) → ((1st𝑋)‘𝑧) ∈ (Base‘𝐷))
5920func1st2nd 49065 . . . . . . . 8 (𝜑 → (1st𝑌)(𝐶 Func 𝐷)(2nd𝑌))
604, 55, 59funcf1 17773 . . . . . . 7 (𝜑 → (1st𝑌):(Base‘𝐶)⟶(Base‘𝐷))
6160ffvelcdmda 7018 . . . . . 6 ((𝜑𝑧 ∈ (Base‘𝐶)) → ((1st𝑌)‘𝑧) ∈ (Base‘𝐷))
6228func1st2nd 49065 . . . . . . . 8 (𝜑 → (1st𝑍)(𝐶 Func 𝐷)(2nd𝑍))
634, 55, 62funcf1 17773 . . . . . . 7 (𝜑 → (1st𝑍):(Base‘𝐶)⟶(Base‘𝐷))
6463ffvelcdmda 7018 . . . . . 6 ((𝜑𝑧 ∈ (Base‘𝐶)) → ((1st𝑍)‘𝑧) ∈ (Base‘𝐷))
6555, 38, 15, 58, 61, 64oppcco 17623 . . . . 5 ((𝜑𝑧 ∈ (Base‘𝐶)) → ((𝐵𝑧)(⟨((1st𝑋)‘𝑧), ((1st𝑌)‘𝑧)⟩(comp‘𝑃)((1st𝑍)‘𝑧))(𝐴𝑧)) = ((𝐴𝑧)(⟨((1st𝑍)‘𝑧), ((1st𝑌)‘𝑧)⟩(comp‘𝐷)((1st𝑋)‘𝑧))(𝐵𝑧)))
6654, 65eqtrd 2764 . . . 4 ((𝜑𝑧 ∈ (Base‘𝐶)) → ((𝐵𝑧)(⟨((1st ‘(𝐹𝑋))‘𝑧), ((1st ‘(𝐹𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹𝑍))‘𝑧))(𝐴𝑧)) = ((𝐴𝑧)(⟨((1st𝑍)‘𝑧), ((1st𝑌)‘𝑧)⟩(comp‘𝐷)((1st𝑋)‘𝑧))(𝐵𝑧)))
6766mpteq2dva 5185 . . 3 (𝜑 → (𝑧 ∈ (Base‘𝐶) ↦ ((𝐵𝑧)(⟨((1st ‘(𝐹𝑋))‘𝑧), ((1st ‘(𝐹𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹𝑍))‘𝑧))(𝐴𝑧))) = (𝑧 ∈ (Base‘𝐶) ↦ ((𝐴𝑧)(⟨((1st𝑍)‘𝑧), ((1st𝑌)‘𝑧)⟩(comp‘𝐷)((1st𝑋)‘𝑧))(𝐵𝑧))))
6840, 44, 673eqtr4d 2774 . 2 (𝜑 → ((𝑋𝐺𝑍)‘(𝐵(⟨𝑋, 𝑌⟩(comp‘𝑅)𝑍)𝐴)) = (𝑧 ∈ (Base‘𝐶) ↦ ((𝐵𝑧)(⟨((1st ‘(𝐹𝑋))‘𝑧), ((1st ‘(𝐹𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹𝑍))‘𝑧))(𝐴𝑧))))
6931, 37, 683eqtr4rd 2775 1 (𝜑 → ((𝑋𝐺𝑍)‘(𝐵(⟨𝑋, 𝑌⟩(comp‘𝑅)𝑍)𝐴)) = (((𝑌𝐺𝑍)‘𝐵)(⟨(𝐹𝑋), (𝐹𝑌)⟩(comp‘𝑆)(𝐹𝑍))((𝑋𝐺𝑌)‘𝐴)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1540  wcel 2109  cop 4583  cmpt 5173   I cid 5513  cres 5621  cfv 6482  (class class class)co 7349  cmpo 7351  1st c1st 7922  2nd c2nd 7923  Basecbs 17120  Hom chom 17172  compcco 17173  oppCatcoppc 17617   Func cfunc 17761   Nat cnat 17851   FuncCat cfuc 17852   oppFunc coppf 49111
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701  ax-rep 5218  ax-sep 5235  ax-nul 5245  ax-pow 5304  ax-pr 5371  ax-un 7671  ax-cnex 11065  ax-resscn 11066  ax-1cn 11067  ax-icn 11068  ax-addcl 11069  ax-addrcl 11070  ax-mulcl 11071  ax-mulrcl 11072  ax-mulcom 11073  ax-addass 11074  ax-mulass 11075  ax-distr 11076  ax-i2m1 11077  ax-1ne0 11078  ax-1rid 11079  ax-rnegex 11080  ax-rrecex 11081  ax-cnre 11082  ax-pre-lttri 11083  ax-pre-lttrn 11084  ax-pre-ltadd 11085  ax-pre-mulgt0 11086
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ne 2926  df-nel 3030  df-ral 3045  df-rex 3054  df-rmo 3343  df-reu 3344  df-rab 3395  df-v 3438  df-sbc 3743  df-csb 3852  df-dif 3906  df-un 3908  df-in 3910  df-ss 3920  df-pss 3923  df-nul 4285  df-if 4477  df-pw 4553  df-sn 4578  df-pr 4580  df-tp 4582  df-op 4584  df-uni 4859  df-iun 4943  df-br 5093  df-opab 5155  df-mpt 5174  df-tr 5200  df-id 5514  df-eprel 5519  df-po 5527  df-so 5528  df-fr 5572  df-we 5574  df-xp 5625  df-rel 5626  df-cnv 5627  df-co 5628  df-dm 5629  df-rn 5630  df-res 5631  df-ima 5632  df-pred 6249  df-ord 6310  df-on 6311  df-lim 6312  df-suc 6313  df-iota 6438  df-fun 6484  df-fn 6485  df-f 6486  df-f1 6487  df-fo 6488  df-f1o 6489  df-fv 6490  df-riota 7306  df-ov 7352  df-oprab 7353  df-mpo 7354  df-om 7800  df-1st 7924  df-2nd 7925  df-tpos 8159  df-frecs 8214  df-wrecs 8245  df-recs 8294  df-rdg 8332  df-1o 8388  df-er 8625  df-map 8755  df-ixp 8825  df-en 8873  df-dom 8874  df-sdom 8875  df-fin 8876  df-pnf 11151  df-mnf 11152  df-xr 11153  df-ltxr 11154  df-le 11155  df-sub 11349  df-neg 11350  df-nn 12129  df-2 12191  df-3 12192  df-4 12193  df-5 12194  df-6 12195  df-7 12196  df-8 12197  df-9 12198  df-n0 12385  df-z 12472  df-dec 12592  df-uz 12736  df-fz 13411  df-struct 17058  df-sets 17075  df-slot 17093  df-ndx 17105  df-base 17121  df-hom 17185  df-cco 17186  df-cat 17574  df-cid 17575  df-homf 17576  df-comf 17577  df-oppc 17618  df-func 17765  df-nat 17853  df-fuc 17854  df-oppf 49112
This theorem is referenced by:  fucoppc  49399
  Copyright terms: Public domain W3C validator