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 51041
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 2774 . . 3 (𝑂 Nat 𝑃) = (𝑂 Nat 𝑃)
3 fucoppc.o . . . 4 𝑂 = (oppCat‘𝐶)
4 eqid 2774 . . . 4 (Base‘𝐶) = (Base‘𝐶)
53, 4oppcbas 17967 . . 3 (Base‘𝐶) = (Base‘𝑂)
6 eqid 2774 . . 3 (comp‘𝑃) = (comp‘𝑃)
7 eqid 2774 . . 3 (comp‘𝑆) = (comp‘𝑆)
8 fucoppcco.a . . . . 5 (𝜑 → 𝐴 ∈ (𝑋(Hom ‘𝑅)𝑌))
9 fucoppc.q . . . . . . 7 𝑄 = (𝐶 FuncCat 𝐷)
10 fucoppc.n . . . . . . 7 𝑁 = (𝐶 Nat 𝐷)
119, 10fuchom 18214 . . . . . 6 𝑁 = (Hom ‘𝑄)
12 fucoppc.r . . . . . 6 𝑅 = (oppCat‘𝑄)
1311, 12oppchom 17964 . . . . 5 (𝑋(Hom ‘𝑅)𝑌) = (𝑌𝑁𝑋)
148, 13eleqtrdi 2885 . . . 4 (𝜑 → 𝐴 ∈ (𝑌𝑁𝑋))
15 fucoppc.p . . . . 5 𝑃 = (oppCat‘𝐷)
16 fucoppc.f . . . . 5 (𝜑 → 𝐹 = ( oppFunc ↾ (𝐶 Func 𝐷)))
1710natrcl 18203 . . . . . . 7 (𝐴 ∈ (𝑌𝑁𝑋) → (𝑌 ∈ (𝐶 Func 𝐷) ∧ 𝑋 ∈ (𝐶 Func 𝐷)))
1814, 17syl 18 . . . . . 6 (𝜑 → (𝑌 ∈ (𝐶 Func 𝐷) ∧ 𝑋 ∈ (𝐶 Func 𝐷)))
1918simprd 501 . . . . 5 (𝜑 → 𝑋 ∈ (𝐶 Func 𝐷))
2018simpld 500 . . . . 5 (𝜑 → 𝑌 ∈ (𝐶 Func 𝐷))
213, 15, 10, 16, 19, 20fucoppclem 51039 . . . 4 (𝜑 → (𝑌𝑁𝑋) = ((𝐹‘𝑋)(𝑂 Nat 𝑃)(𝐹‘𝑌)))
2214, 21eleqtrd 2877 . . 3 (𝜑 → 𝐴 ∈ ((𝐹‘𝑋)(𝑂 Nat 𝑃)(𝐹‘𝑌)))
23 fucoppcco.b . . . . 5 (𝜑 → 𝐵 ∈ (𝑌(Hom ‘𝑅)𝑍))
2411, 12oppchom 17964 . . . . 5 (𝑌(Hom ‘𝑅)𝑍) = (𝑍𝑁𝑌)
2523, 24eleqtrdi 2885 . . . 4 (𝜑 → 𝐵 ∈ (𝑍𝑁𝑌))
2610natrcl 18203 . . . . . . 7 (𝐵 ∈ (𝑍𝑁𝑌) → (𝑍 ∈ (𝐶 Func 𝐷) ∧ 𝑌 ∈ (𝐶 Func 𝐷)))
2725, 26syl 18 . . . . . 6 (𝜑 → (𝑍 ∈ (𝐶 Func 𝐷) ∧ 𝑌 ∈ (𝐶 Func 𝐷)))
2827simpld 500 . . . . 5 (𝜑 → 𝑍 ∈ (𝐶 Func 𝐷))
293, 15, 10, 16, 20, 28fucoppclem 51039 . . . 4 (𝜑 → (𝑍𝑁𝑌) = ((𝐹‘𝑌)(𝑂 Nat 𝑃)(𝐹‘𝑍)))
3025, 29eleqtrd 2877 . . 3 (𝜑 → 𝐵 ∈ ((𝐹‘𝑌)(𝑂 Nat 𝑃)(𝐹‘𝑍)))
311, 2, 5, 6, 7, 22, 30fucco 18215 . 2 (𝜑 → (𝐵(⟨(𝐹‘𝑋), (𝐹‘𝑌)⟩(comp‘𝑆)(𝐹‘𝑍))𝐴) = (𝑧 ∈ (Base‘𝐶) ↦ ((𝐵‘𝑧)(⟨((1st ‘(𝐹‘𝑋))‘𝑧), ((1st ‘(𝐹‘𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹‘𝑍))‘𝑧))(𝐴‘𝑧))))
32 fucoppc.g . . . 4 (𝜑 → 𝐺 = (𝑥 ∈ (𝐶 Func 𝐷), 𝑦 ∈ (𝐶 Func 𝐷) ↦ ( I ↾ (𝑦𝑁𝑥))))
33 eqidd 2775 . . . 4 (𝜑 → 𝐵 = 𝐵)
3432, 20, 28, 33, 25opf2 51038 . . 3 (𝜑 → ((𝑌𝐺𝑍)‘𝐵) = 𝐵)
35 eqidd 2775 . . . 4 (𝜑 → 𝐴 = 𝐴)
3632, 19, 20, 35, 14opf2 51038 . . 3 (𝜑 → ((𝑋𝐺𝑌)‘𝐴) = 𝐴)
3734, 36oveq12d 7485 . 2 (𝜑 → (((𝑌𝐺𝑍)‘𝐵)(⟨(𝐹‘𝑋), (𝐹‘𝑌)⟩(comp‘𝑆)(𝐹‘𝑍))((𝑋𝐺𝑌)‘𝐴)) = (𝐵(⟨(𝐹‘𝑋), (𝐹‘𝑌)⟩(comp‘𝑆)(𝐹‘𝑍))𝐴))
38 eqid 2774 . . . 4 (comp‘𝐷) = (comp‘𝐷)
39 eqid 2774 . . . 4 (comp‘𝑄) = (comp‘𝑄)
409, 10, 4, 38, 39, 25, 14fucco 18215 . . 3 (𝜑 → (𝐴(⟨𝑍, 𝑌⟩(comp‘𝑄)𝑋)𝐵) = (𝑧 ∈ (Base‘𝐶) ↦ ((𝐴‘𝑧)(⟨((1st ‘𝑍)‘𝑧), ((1st ‘𝑌)‘𝑧)⟩(comp‘𝐷)((1st ‘𝑋)‘𝑧))(𝐵‘𝑧))))
419fucbas 18213 . . . . 5 (𝐶 Func 𝐷) = (Base‘𝑄)
4241, 39, 12, 19, 20, 28oppcco 17966 . . . 4 (𝜑 → (𝐵(⟨𝑋, 𝑌⟩(comp‘𝑅)𝑍)𝐴) = (𝐴(⟨𝑍, 𝑌⟩(comp‘𝑄)𝑋)𝐵))
439, 10, 39, 25, 14fuccocl 18217 . . . 4 (𝜑 → (𝐴(⟨𝑍, 𝑌⟩(comp‘𝑄)𝑋)𝐵) ∈ (𝑍𝑁𝑋))
4432, 19, 28, 42, 43opf2 51038 . . 3 (𝜑 → ((𝑋𝐺𝑍)‘(𝐵(⟨𝑋, 𝑌⟩(comp‘𝑅)𝑍)𝐴)) = (𝐴(⟨𝑍, 𝑌⟩(comp‘𝑄)𝑋)𝐵))
4516, 19opf11 51035 . . . . . . . . . 10 (𝜑 → (1st ‘(𝐹‘𝑋)) = (1st ‘𝑋))
4645fveq1d 6933 . . . . . . . . 9 (𝜑 → ((1st ‘(𝐹‘𝑋))‘𝑧) = ((1st ‘𝑋)‘𝑧))
4716, 20opf11 51035 . . . . . . . . . 10 (𝜑 → (1st ‘(𝐹‘𝑌)) = (1st ‘𝑌))
4847fveq1d 6933 . . . . . . . . 9 (𝜑 → ((1st ‘(𝐹‘𝑌))‘𝑧) = ((1st ‘𝑌)‘𝑧))
4946, 48opeq12d 4861 . . . . . . . 8 (𝜑 → ⟨((1st ‘(𝐹‘𝑋))‘𝑧), ((1st ‘(𝐹‘𝑌))‘𝑧)⟩ = ⟨((1st ‘𝑋)‘𝑧), ((1st ‘𝑌)‘𝑧)⟩)
5016, 28opf11 51035 . . . . . . . . 9 (𝜑 → (1st ‘(𝐹‘𝑍)) = (1st ‘𝑍))
5150fveq1d 6933 . . . . . . . 8 (𝜑 → ((1st ‘(𝐹‘𝑍))‘𝑧) = ((1st ‘𝑍)‘𝑧))
5249, 51oveq12d 7485 . . . . . . 7 (𝜑 → (⟨((1st ‘(𝐹‘𝑋))‘𝑧), ((1st ‘(𝐹‘𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹‘𝑍))‘𝑧)) = (⟨((1st ‘𝑋)‘𝑧), ((1st ‘𝑌)‘𝑧)⟩(comp‘𝑃)((1st ‘𝑍)‘𝑧)))
5352oveqd 7484 . . . . . 6 (𝜑 → ((𝐵‘𝑧)(⟨((1st ‘(𝐹‘𝑋))‘𝑧), ((1st ‘(𝐹‘𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹‘𝑍))‘𝑧))(𝐴‘𝑧)) = ((𝐵‘𝑧)(⟨((1st ‘𝑋)‘𝑧), ((1st ‘𝑌)‘𝑧)⟩(comp‘𝑃)((1st ‘𝑍)‘𝑧))(𝐴‘𝑧)))
5453adantr 486 . . . . 5 ((𝜑 ∧ 𝑧 ∈ (Base‘𝐶)) → ((𝐵‘𝑧)(⟨((1st ‘(𝐹‘𝑋))‘𝑧), ((1st ‘(𝐹‘𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹‘𝑍))‘𝑧))(𝐴‘𝑧)) = ((𝐵‘𝑧)(⟨((1st ‘𝑋)‘𝑧), ((1st ‘𝑌)‘𝑧)⟩(comp‘𝑃)((1st ‘𝑍)‘𝑧))(𝐴‘𝑧)))
55 eqid 2774 . . . . . 6 (Base‘𝐷) = (Base‘𝐷)
5619func1st2nd 50687 . . . . . . . 8 (𝜑 → (1st ‘𝑋)(𝐶 Func 𝐷)(2nd ‘𝑋))
574, 55, 56funcf1 18116 . . . . . . 7 (𝜑 → (1st ‘𝑋):(Base‘𝐶)⟶(Base‘𝐷))
5857ffvelcdmda 7131 . . . . . 6 ((𝜑 ∧ 𝑧 ∈ (Base‘𝐶)) → ((1st ‘𝑋)‘𝑧) ∈ (Base‘𝐷))
5920func1st2nd 50687 . . . . . . . 8 (𝜑 → (1st ‘𝑌)(𝐶 Func 𝐷)(2nd ‘𝑌))
604, 55, 59funcf1 18116 . . . . . . 7 (𝜑 → (1st ‘𝑌):(Base‘𝐶)⟶(Base‘𝐷))
6160ffvelcdmda 7131 . . . . . 6 ((𝜑 ∧ 𝑧 ∈ (Base‘𝐶)) → ((1st ‘𝑌)‘𝑧) ∈ (Base‘𝐷))
6228func1st2nd 50687 . . . . . . . 8 (𝜑 → (1st ‘𝑍)(𝐶 Func 𝐷)(2nd ‘𝑍))
634, 55, 62funcf1 18116 . . . . . . 7 (𝜑 → (1st ‘𝑍):(Base‘𝐶)⟶(Base‘𝐷))
6463ffvelcdmda 7131 . . . . . 6 ((𝜑 ∧ 𝑧 ∈ (Base‘𝐶)) → ((1st ‘𝑍)‘𝑧) ∈ (Base‘𝐷))
6555, 38, 15, 58, 61, 64oppcco 17966 . . . . 5 ((𝜑 ∧ 𝑧 ∈ (Base‘𝐶)) → ((𝐵‘𝑧)(⟨((1st ‘𝑋)‘𝑧), ((1st ‘𝑌)‘𝑧)⟩(comp‘𝑃)((1st ‘𝑍)‘𝑧))(𝐴‘𝑧)) = ((𝐴‘𝑧)(⟨((1st ‘𝑍)‘𝑧), ((1st ‘𝑌)‘𝑧)⟩(comp‘𝐷)((1st ‘𝑋)‘𝑧))(𝐵‘𝑧)))
6654, 65eqtrd 2809 . . . 4 ((𝜑 ∧ 𝑧 ∈ (Base‘𝐶)) → ((𝐵‘𝑧)(⟨((1st ‘(𝐹‘𝑋))‘𝑧), ((1st ‘(𝐹‘𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹‘𝑍))‘𝑧))(𝐴‘𝑧)) = ((𝐴‘𝑧)(⟨((1st ‘𝑍)‘𝑧), ((1st ‘𝑌)‘𝑧)⟩(comp‘𝐷)((1st ‘𝑋)‘𝑧))(𝐵‘𝑧)))
6766mpteq2dva 5212 . . 3 (𝜑 → (𝑧 ∈ (Base‘𝐶) ↦ ((𝐵‘𝑧)(⟨((1st ‘(𝐹‘𝑋))‘𝑧), ((1st ‘(𝐹‘𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹‘𝑍))‘𝑧))(𝐴‘𝑧))) = (𝑧 ∈ (Base‘𝐶) ↦ ((𝐴‘𝑧)(⟨((1st ‘𝑍)‘𝑧), ((1st ‘𝑌)‘𝑧)⟩(comp‘𝐷)((1st ‘𝑋)‘𝑧))(𝐵‘𝑧))))
6840, 44, 673eqtr4d 2819 . 2 (𝜑 → ((𝑋𝐺𝑍)‘(𝐵(⟨𝑋, 𝑌⟩(comp‘𝑅)𝑍)𝐴)) = (𝑧 ∈ (Base‘𝐶) ↦ ((𝐵‘𝑧)(⟨((1st ‘(𝐹‘𝑋))‘𝑧), ((1st ‘(𝐹‘𝑌))‘𝑧)⟩(comp‘𝑃)((1st ‘(𝐹‘𝑍))‘𝑧))(𝐴‘𝑧))))
6931, 37, 683eqtr4rd 2820 1 (𝜑 → ((𝑋𝐺𝑍)‘(𝐵(⟨𝑋, 𝑌⟩(comp‘𝑅)𝑍)𝐴)) = (((𝑌𝐺𝑍)‘𝐵)(⟨(𝐹‘𝑋), (𝐹‘𝑌)⟩(comp‘𝑆)(𝐹‘𝑍))((𝑋𝐺𝑌)‘𝐴)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2156  ⟨cop 4848   ↦ cmpt 5200   I cid 5560   ↾ cres 5668  ‘cfv 6578  (class class class)co 7467   ∈ cmpo 7469  1st c1st 8049  2nd c2nd 8050  Basecbs 17452  Hom chom 17504  compcco 17505  oppCatcoppc 17960   Func cfunc 18104   Nat cnat 18194   FuncCat cfuc 18195   oppFunc coppf 50735
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7799  ax-cnex 11311  ax-resscn 11312  ax-1cn 11313  ax-icn 11314  ax-addcl 11315  ax-addrcl 11316  ax-mulcl 11317  ax-mulrcl 11318  ax-mulcom 11319  ax-addass 11320  ax-mulass 11321  ax-distr 11322  ax-i2m1 11323  ax-1ne0 11324  ax-1rid 11325  ax-rnegex 11326  ax-rrecex 11327  ax-cnre 11328  ax-pre-lttri 11329  ax-pre-lttrn 11330  ax-pre-ltadd 11331  ax-pre-mulgt0 11332
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-nel 3077  df-ral 3092  df-rex 3102  df-rmo 3376  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-tp 4600  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6342  df-ord 6403  df-on 6404  df-lim 6405  df-suc 6406  df-iota 6532  df-fun 6580  df-fn 6581  df-f 6582  df-f1 6583  df-fo 6584  df-f1o 6585  df-fv 6586  df-riota 7423  df-ov 7470  df-oprab 7471  df-mpo 7472  df-om 7928  df-1st 8051  df-2nd 8052  df-tpos 8297  df-frecs 8353  df-wrecs 8384  df-recs 8433  df-rdg 8472  df-1o 8530  df-er 8771  df-map 8903  df-ixp 8980  df-en 9028  df-dom 9029  df-sdom 9030  df-fin 9031  df-pnf 11400  df-mnf 11401  df-xr 11402  df-ltxr 11403  df-le 11404  df-sub 11598  df-neg 11599  df-nn 12392  df-2 12461  df-3 12462  df-4 12463  df-5 12464  df-6 12465  df-7 12466  df-8 12467  df-9 12468  df-n0 12663  df-z 12750  df-dec 12871  df-uz 13022  df-fz 13696  df-struct 17390  df-sets 17407  df-slot 17425  df-ndx 17437  df-base 17453  df-hom 17518  df-cco 17519  df-cat 17917  df-cid 17918  df-homf 17919  df-comf 17920  df-oppc 17961  df-func 18108  df-nat 18196  df-fuc 18197  df-oppf 50736
This theorem is used by:  fucoppc  51042
  Copyright terms: Public domain W3C validator