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 50651
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 2760 . . 3 (𝑂 Nat 𝑃) = (𝑂 Nat 𝑃)
3 fucoppc.o . . . 4 𝑂 = (oppCat‘𝐶)
4 eqid 2760 . . . 4 (Base‘𝐶) = (Base‘𝐶)
53, 4oppcbas 17899 . . 3 (Base‘𝐶) = (Base‘𝑂)
6 eqid 2760 . . 3 (comp‘𝑃) = (comp‘𝑃)
7 eqid 2760 . . 3 (comp‘𝑆) = (comp‘𝑆)
8 fucoppcco.a . . . . 5 (𝜑 → 𝐴 ∈ (𝑋(Hom ‘𝑅)𝑌))
9 fucoppc.q . . . . . . 7 𝑄 = (𝐶 FuncCat 𝐷)
10 fucoppc.n . . . . . . 7 𝑁 = (𝐶 Nat 𝐷)
119, 10fuchom 18146 . . . . . 6 𝑁 = (Hom ‘𝑄)
12 fucoppc.r . . . . . 6 𝑅 = (oppCat‘𝑄)
1311, 12oppchom 17896 . . . . 5 (𝑋(Hom ‘𝑅)𝑌) = (𝑌𝑁𝑋)
148, 13eleqtrdi 2870 . . . 4 (𝜑 → 𝐴 ∈ (𝑌𝑁𝑋))
15 fucoppc.p . . . . 5 𝑃 = (oppCat‘𝐷)
16 fucoppc.f . . . . 5 (𝜑 → 𝐹 = ( oppFunc ↾ (𝐶 Func 𝐷)))
1710natrcl 18135 . . . . . . 7 (𝐴 ∈ (𝑌𝑁𝑋) → (𝑌 ∈ (𝐶 Func 𝐷) ∧ 𝑋 ∈ (𝐶 Func 𝐷)))
1814, 17syl 18 . . . . . 6 (𝜑 → (𝑌 ∈ (𝐶 Func 𝐷) ∧ 𝑋 ∈ (𝐶 Func 𝐷)))
1918simprd 501 . . . . 5 (𝜑 → 𝑋 ∈ (𝐶 Func 𝐷))
2018simpld 500 . . . . 5 (𝜑 → 𝑌 ∈ (𝐶 Func 𝐷))
213, 15, 10, 16, 19, 20fucoppclem 50649 . . . 4 (𝜑 → (𝑌𝑁𝑋) = ((𝐹‘𝑋)(𝑂 Nat 𝑃)(𝐹‘𝑌)))
2214, 21eleqtrd 2862 . . 3 (𝜑 → 𝐴 ∈ ((𝐹‘𝑋)(𝑂 Nat 𝑃)(𝐹‘𝑌)))
23 fucoppcco.b . . . . 5 (𝜑 → 𝐵 ∈ (𝑌(Hom ‘𝑅)𝑍))
2411, 12oppchom 17896 . . . . 5 (𝑌(Hom ‘𝑅)𝑍) = (𝑍𝑁𝑌)
2523, 24eleqtrdi 2870 . . . 4 (𝜑 → 𝐵 ∈ (𝑍𝑁𝑌))
2610natrcl 18135 . . . . . . 7 (𝐵 ∈ (𝑍𝑁𝑌) → (𝑍 ∈ (𝐶 Func 𝐷) ∧ 𝑌 ∈ (𝐶 Func 𝐷)))
2725, 26syl 18 . . . . . 6 (𝜑 → (𝑍 ∈ (𝐶 Func 𝐷) ∧ 𝑌 ∈ (𝐶 Func 𝐷)))
2827simpld 500 . . . . 5 (𝜑 → 𝑍 ∈ (𝐶 Func 𝐷))
293, 15, 10, 16, 20, 28fucoppclem 50649 . . . 4 (𝜑 → (𝑍𝑁𝑌) = ((𝐹‘𝑌)(𝑂 Nat 𝑃)(𝐹‘𝑍)))
3025, 29eleqtrd 2862 . . 3 (𝜑 → 𝐵 ∈ ((𝐹‘𝑌)(𝑂 Nat 𝑃)(𝐹‘𝑍)))
311, 2, 5, 6, 7, 22, 30fucco 18147 . 2 (𝜑 → (𝐵(⟨(𝐹‘𝑋), (𝐹‘𝑌)⟩(comp‘𝑆)(𝐹‘𝑍))𝐴) = (𝑧 ∈ (Base‘𝐶) ↦ ((𝐵‘𝑧)(⟨((1st ‘(𝐹‘𝑋))‘𝑧), ((1st ‘(𝐹‘𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹‘𝑍))‘𝑧))(𝐴‘𝑧))))
32 fucoppc.g . . . 4 (𝜑 → 𝐺 = (𝑥 ∈ (𝐶 Func 𝐷), 𝑦 ∈ (𝐶 Func 𝐷) ↦ ( I ↾ (𝑦𝑁𝑥))))
33 eqidd 2761 . . . 4 (𝜑 → 𝐵 = 𝐵)
3432, 20, 28, 33, 25opf2 50648 . . 3 (𝜑 → ((𝑌𝐺𝑍)‘𝐵) = 𝐵)
35 eqidd 2761 . . . 4 (𝜑 → 𝐴 = 𝐴)
3632, 19, 20, 35, 14opf2 50648 . . 3 (𝜑 → ((𝑋𝐺𝑌)‘𝐴) = 𝐴)
3734, 36oveq12d 7440 . 2 (𝜑 → (((𝑌𝐺𝑍)‘𝐵)(⟨(𝐹‘𝑋), (𝐹‘𝑌)⟩(comp‘𝑆)(𝐹‘𝑍))((𝑋𝐺𝑌)‘𝐴)) = (𝐵(⟨(𝐹‘𝑋), (𝐹‘𝑌)⟩(comp‘𝑆)(𝐹‘𝑍))𝐴))
38 eqid 2760 . . . 4 (comp‘𝐷) = (comp‘𝐷)
39 eqid 2760 . . . 4 (comp‘𝑄) = (comp‘𝑄)
409, 10, 4, 38, 39, 25, 14fucco 18147 . . 3 (𝜑 → (𝐴(⟨𝑍, 𝑌⟩(comp‘𝑄)𝑋)𝐵) = (𝑧 ∈ (Base‘𝐶) ↦ ((𝐴‘𝑧)(⟨((1st ‘𝑍)‘𝑧), ((1st ‘𝑌)‘𝑧)⟩(comp‘𝐷)((1st ‘𝑋)‘𝑧))(𝐵‘𝑧))))
419fucbas 18145 . . . . 5 (𝐶 Func 𝐷) = (Base‘𝑄)
4241, 39, 12, 19, 20, 28oppcco 17898 . . . 4 (𝜑 → (𝐵(⟨𝑋, 𝑌⟩(comp‘𝑅)𝑍)𝐴) = (𝐴(⟨𝑍, 𝑌⟩(comp‘𝑄)𝑋)𝐵))
439, 10, 39, 25, 14fuccocl 18149 . . . 4 (𝜑 → (𝐴(⟨𝑍, 𝑌⟩(comp‘𝑄)𝑋)𝐵) ∈ (𝑍𝑁𝑋))
4432, 19, 28, 42, 43opf2 50648 . . 3 (𝜑 → ((𝑋𝐺𝑍)‘(𝐵(⟨𝑋, 𝑌⟩(comp‘𝑅)𝑍)𝐴)) = (𝐴(⟨𝑍, 𝑌⟩(comp‘𝑄)𝑋)𝐵))
4516, 19opf11 50645 . . . . . . . . . 10 (𝜑 → (1st ‘(𝐹‘𝑋)) = (1st ‘𝑋))
4645fveq1d 6890 . . . . . . . . 9 (𝜑 → ((1st ‘(𝐹‘𝑋))‘𝑧) = ((1st ‘𝑋)‘𝑧))
4716, 20opf11 50645 . . . . . . . . . 10 (𝜑 → (1st ‘(𝐹‘𝑌)) = (1st ‘𝑌))
4847fveq1d 6890 . . . . . . . . 9 (𝜑 → ((1st ‘(𝐹‘𝑌))‘𝑧) = ((1st ‘𝑌)‘𝑧))
4946, 48opeq12d 4847 . . . . . . . 8 (𝜑 → ⟨((1st ‘(𝐹‘𝑋))‘𝑧), ((1st ‘(𝐹‘𝑌))‘𝑧)⟩ = ⟨((1st ‘𝑋)‘𝑧), ((1st ‘𝑌)‘𝑧)⟩)
5016, 28opf11 50645 . . . . . . . . 9 (𝜑 → (1st ‘(𝐹‘𝑍)) = (1st ‘𝑍))
5150fveq1d 6890 . . . . . . . 8 (𝜑 → ((1st ‘(𝐹‘𝑍))‘𝑧) = ((1st ‘𝑍)‘𝑧))
5249, 51oveq12d 7440 . . . . . . 7 (𝜑 → (⟨((1st ‘(𝐹‘𝑋))‘𝑧), ((1st ‘(𝐹‘𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹‘𝑍))‘𝑧)) = (⟨((1st ‘𝑋)‘𝑧), ((1st ‘𝑌)‘𝑧)⟩(comp‘𝑃)((1st ‘𝑍)‘𝑧)))
5352oveqd 7439 . . . . . 6 (𝜑 → ((𝐵‘𝑧)(⟨((1st ‘(𝐹‘𝑋))‘𝑧), ((1st ‘(𝐹‘𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹‘𝑍))‘𝑧))(𝐴‘𝑧)) = ((𝐵‘𝑧)(⟨((1st ‘𝑋)‘𝑧), ((1st ‘𝑌)‘𝑧)⟩(comp‘𝑃)((1st ‘𝑍)‘𝑧))(𝐴‘𝑧)))
5453adantr 486 . . . . 5 ((𝜑 ∧ 𝑧 ∈ (Base‘𝐶)) → ((𝐵‘𝑧)(⟨((1st ‘(𝐹‘𝑋))‘𝑧), ((1st ‘(𝐹‘𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹‘𝑍))‘𝑧))(𝐴‘𝑧)) = ((𝐵‘𝑧)(⟨((1st ‘𝑋)‘𝑧), ((1st ‘𝑌)‘𝑧)⟩(comp‘𝑃)((1st ‘𝑍)‘𝑧))(𝐴‘𝑧)))
55 eqid 2760 . . . . . 6 (Base‘𝐷) = (Base‘𝐷)
5619func1st2nd 50297 . . . . . . . 8 (𝜑 → (1st ‘𝑋)(𝐶 Func 𝐷)(2nd ‘𝑋))
574, 55, 56funcf1 18048 . . . . . . 7 (𝜑 → (1st ‘𝑋):(Base‘𝐶)⟶(Base‘𝐷))
5857ffvelcdmda 7087 . . . . . 6 ((𝜑 ∧ 𝑧 ∈ (Base‘𝐶)) → ((1st ‘𝑋)‘𝑧) ∈ (Base‘𝐷))
5920func1st2nd 50297 . . . . . . . 8 (𝜑 → (1st ‘𝑌)(𝐶 Func 𝐷)(2nd ‘𝑌))
604, 55, 59funcf1 18048 . . . . . . 7 (𝜑 → (1st ‘𝑌):(Base‘𝐶)⟶(Base‘𝐷))
6160ffvelcdmda 7087 . . . . . 6 ((𝜑 ∧ 𝑧 ∈ (Base‘𝐶)) → ((1st ‘𝑌)‘𝑧) ∈ (Base‘𝐷))
6228func1st2nd 50297 . . . . . . . 8 (𝜑 → (1st ‘𝑍)(𝐶 Func 𝐷)(2nd ‘𝑍))
634, 55, 62funcf1 18048 . . . . . . 7 (𝜑 → (1st ‘𝑍):(Base‘𝐶)⟶(Base‘𝐷))
6463ffvelcdmda 7087 . . . . . 6 ((𝜑 ∧ 𝑧 ∈ (Base‘𝐶)) → ((1st ‘𝑍)‘𝑧) ∈ (Base‘𝐷))
6555, 38, 15, 58, 61, 64oppcco 17898 . . . . 5 ((𝜑 ∧ 𝑧 ∈ (Base‘𝐶)) → ((𝐵‘𝑧)(⟨((1st ‘𝑋)‘𝑧), ((1st ‘𝑌)‘𝑧)⟩(comp‘𝑃)((1st ‘𝑍)‘𝑧))(𝐴‘𝑧)) = ((𝐴‘𝑧)(⟨((1st ‘𝑍)‘𝑧), ((1st ‘𝑌)‘𝑧)⟩(comp‘𝐷)((1st ‘𝑋)‘𝑧))(𝐵‘𝑧)))
6654, 65eqtrd 2795 . . . 4 ((𝜑 ∧ 𝑧 ∈ (Base‘𝐶)) → ((𝐵‘𝑧)(⟨((1st ‘(𝐹‘𝑋))‘𝑧), ((1st ‘(𝐹‘𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹‘𝑍))‘𝑧))(𝐴‘𝑧)) = ((𝐴‘𝑧)(⟨((1st ‘𝑍)‘𝑧), ((1st ‘𝑌)‘𝑧)⟩(comp‘𝐷)((1st ‘𝑋)‘𝑧))(𝐵‘𝑧)))
6766mpteq2dva 5197 . . 3 (𝜑 → (𝑧 ∈ (Base‘𝐶) ↦ ((𝐵‘𝑧)(⟨((1st ‘(𝐹‘𝑋))‘𝑧), ((1st ‘(𝐹‘𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹‘𝑍))‘𝑧))(𝐴‘𝑧))) = (𝑧 ∈ (Base‘𝐶) ↦ ((𝐴‘𝑧)(⟨((1st ‘𝑍)‘𝑧), ((1st ‘𝑌)‘𝑧)⟩(comp‘𝐷)((1st ‘𝑋)‘𝑧))(𝐵‘𝑧))))
6840, 44, 673eqtr4d 2805 . 2 (𝜑 → ((𝑋𝐺𝑍)‘(𝐵(⟨𝑋, 𝑌⟩(comp‘𝑅)𝑍)𝐴)) = (𝑧 ∈ (Base‘𝐶) ↦ ((𝐵‘𝑧)(⟨((1st ‘(𝐹‘𝑋))‘𝑧), ((1st ‘(𝐹‘𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹‘𝑍))‘𝑧))(𝐴‘𝑧))))
6931, 37, 683eqtr4rd 2806 1 (𝜑 → ((𝑋𝐺𝑍)‘(𝐵(⟨𝑋, 𝑌⟩(comp‘𝑅)𝑍)𝐴)) = (((𝑌𝐺𝑍)‘𝐵)(⟨(𝐹‘𝑋), (𝐹‘𝑌)⟩(comp‘𝑆)(𝐹‘𝑍))((𝑋𝐺𝑌)‘𝐴)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ⟨cop 4834   ↦ cmpt 5185   I cid 5544   ↾ cres 5652  ‘cfv 6541  (class class class)co 7422   ∈ cmpo 7424  1st c1st 8001  2nd c2nd 8002  Basecbs 17394  Hom chom 17446  compcco 17447  oppCatcoppc 17892   Func cfunc 18036   Nat cnat 18126   FuncCat cfuc 18127   oppFunc coppf 50345
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7753  ax-cnex 11261  ax-resscn 11262  ax-1cn 11263  ax-icn 11264  ax-addcl 11265  ax-addrcl 11266  ax-mulcl 11267  ax-mulrcl 11268  ax-mulcom 11269  ax-addass 11270  ax-mulass 11271  ax-distr 11272  ax-i2m1 11273  ax-1ne0 11274  ax-1rid 11275  ax-rnegex 11276  ax-rrecex 11277  ax-cnre 11278  ax-pre-lttri 11279  ax-pre-lttrn 11280  ax-pre-ltadd 11281  ax-pre-mulgt0 11282
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-pss 4013  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6306  df-ord 6367  df-on 6368  df-lim 6369  df-suc 6370  df-iota 6496  df-fun 6543  df-fn 6544  df-f 6545  df-f1 6546  df-fo 6547  df-f1o 6548  df-fv 6549  df-riota 7379  df-ov 7425  df-oprab 7426  df-mpo 7427  df-om 7880  df-1st 8003  df-2nd 8004  df-tpos 8248  df-frecs 8304  df-wrecs 8335  df-recs 8384  df-rdg 8423  df-1o 8481  df-er 8722  df-map 8854  df-ixp 8931  df-en 8979  df-dom 8980  df-sdom 8981  df-fin 8982  df-pnf 11350  df-mnf 11351  df-xr 11352  df-ltxr 11353  df-le 11354  df-sub 11548  df-neg 11549  df-nn 12341  df-2 12410  df-3 12411  df-4 12412  df-5 12413  df-6 12414  df-7 12415  df-8 12416  df-9 12417  df-n0 12612  df-z 12699  df-dec 12820  df-uz 12971  df-fz 13645  df-struct 17332  df-sets 17349  df-slot 17367  df-ndx 17379  df-base 17395  df-hom 17459  df-cco 17460  df-cat 17849  df-cid 17850  df-homf 17851  df-comf 17852  df-oppc 17893  df-func 18040  df-nat 18128  df-fuc 18129  df-oppf 50346
This theorem is used by:  fucoppc  50652
  Copyright terms: Public domain W3C validator