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

Theorem oppccomfpropd 17623
Description: If two categories have the same hom-sets and composition, so do their opposites. (Contributed by Mario Carneiro, 26-Jan-2017.)
Hypotheses
Ref Expression
oppchomfpropd.1 (𝜑 → (Homf𝐶) = (Homf𝐷))
oppccomfpropd.1 (𝜑 → (compf𝐶) = (compf𝐷))
Assertion
Ref Expression
oppccomfpropd (𝜑 → (compf‘(oppCat‘𝐶)) = (compf‘(oppCat‘𝐷)))

Proof of Theorem oppccomfpropd
Dummy variables 𝑓 𝑔 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2731 . . . . . 6 (Base‘𝐶) = (Base‘𝐶)
2 eqid 2731 . . . . . 6 (Hom ‘𝐶) = (Hom ‘𝐶)
3 eqid 2731 . . . . . 6 (comp‘𝐶) = (comp‘𝐶)
4 eqid 2731 . . . . . 6 (comp‘𝐷) = (comp‘𝐷)
5 oppchomfpropd.1 . . . . . . 7 (𝜑 → (Homf𝐶) = (Homf𝐷))
65ad2antrr 724 . . . . . 6 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑧 ∈ (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧))) → (Homf𝐶) = (Homf𝐷))
7 oppccomfpropd.1 . . . . . . 7 (𝜑 → (compf𝐶) = (compf𝐷))
87ad2antrr 724 . . . . . 6 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑧 ∈ (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧))) → (compf𝐶) = (compf𝐷))
9 simplr3 1217 . . . . . 6 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑧 ∈ (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧))) → 𝑧 ∈ (Base‘𝐶))
10 simplr2 1216 . . . . . 6 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑧 ∈ (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧))) → 𝑦 ∈ (Base‘𝐶))
11 simplr1 1215 . . . . . 6 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑧 ∈ (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧))) → 𝑥 ∈ (Base‘𝐶))
12 simprr 771 . . . . . . 7 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑧 ∈ (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧))) → 𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧))
13 eqid 2731 . . . . . . . 8 (oppCat‘𝐶) = (oppCat‘𝐶)
142, 13oppchom 17610 . . . . . . 7 (𝑦(Hom ‘(oppCat‘𝐶))𝑧) = (𝑧(Hom ‘𝐶)𝑦)
1512, 14eleqtrdi 2842 . . . . . 6 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑧 ∈ (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧))) → 𝑔 ∈ (𝑧(Hom ‘𝐶)𝑦))
16 simprl 769 . . . . . . 7 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑧 ∈ (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧))) → 𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦))
172, 13oppchom 17610 . . . . . . 7 (𝑥(Hom ‘(oppCat‘𝐶))𝑦) = (𝑦(Hom ‘𝐶)𝑥)
1816, 17eleqtrdi 2842 . . . . . 6 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑧 ∈ (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧))) → 𝑓 ∈ (𝑦(Hom ‘𝐶)𝑥))
191, 2, 3, 4, 6, 8, 9, 10, 11, 15, 18comfeqval 17602 . . . . 5 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑧 ∈ (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧))) → (𝑓(⟨𝑧, 𝑦⟩(comp‘𝐶)𝑥)𝑔) = (𝑓(⟨𝑧, 𝑦⟩(comp‘𝐷)𝑥)𝑔))
201, 3, 13, 11, 10, 9oppcco 17612 . . . . 5 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑧 ∈ (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧))) → (𝑔(⟨𝑥, 𝑦⟩(comp‘(oppCat‘𝐶))𝑧)𝑓) = (𝑓(⟨𝑧, 𝑦⟩(comp‘𝐶)𝑥)𝑔))
21 eqid 2731 . . . . . 6 (Base‘𝐷) = (Base‘𝐷)
22 eqid 2731 . . . . . 6 (oppCat‘𝐷) = (oppCat‘𝐷)
235homfeqbas 17590 . . . . . . . 8 (𝜑 → (Base‘𝐶) = (Base‘𝐷))
2423ad2antrr 724 . . . . . . 7 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑧 ∈ (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧))) → (Base‘𝐶) = (Base‘𝐷))
2511, 24eleqtrd 2834 . . . . . 6 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑧 ∈ (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧))) → 𝑥 ∈ (Base‘𝐷))
2610, 24eleqtrd 2834 . . . . . 6 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑧 ∈ (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧))) → 𝑦 ∈ (Base‘𝐷))
279, 24eleqtrd 2834 . . . . . 6 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑧 ∈ (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧))) → 𝑧 ∈ (Base‘𝐷))
2821, 4, 22, 25, 26, 27oppcco 17612 . . . . 5 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑧 ∈ (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧))) → (𝑔(⟨𝑥, 𝑦⟩(comp‘(oppCat‘𝐷))𝑧)𝑓) = (𝑓(⟨𝑧, 𝑦⟩(comp‘𝐷)𝑥)𝑔))
2919, 20, 283eqtr4d 2781 . . . 4 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑧 ∈ (Base‘𝐶))) ∧ (𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦) ∧ 𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧))) → (𝑔(⟨𝑥, 𝑦⟩(comp‘(oppCat‘𝐶))𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦⟩(comp‘(oppCat‘𝐷))𝑧)𝑓))
3029ralrimivva 3193 . . 3 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶) ∧ 𝑧 ∈ (Base‘𝐶))) → ∀𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦)∀𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘(oppCat‘𝐶))𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦⟩(comp‘(oppCat‘𝐷))𝑧)𝑓))
3130ralrimivvva 3196 . 2 (𝜑 → ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)∀𝑧 ∈ (Base‘𝐶)∀𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦)∀𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘(oppCat‘𝐶))𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦⟩(comp‘(oppCat‘𝐷))𝑧)𝑓))
32 eqid 2731 . . 3 (comp‘(oppCat‘𝐶)) = (comp‘(oppCat‘𝐶))
33 eqid 2731 . . 3 (comp‘(oppCat‘𝐷)) = (comp‘(oppCat‘𝐷))
34 eqid 2731 . . 3 (Hom ‘(oppCat‘𝐶)) = (Hom ‘(oppCat‘𝐶))
3513, 1oppcbas 17613 . . . 4 (Base‘𝐶) = (Base‘(oppCat‘𝐶))
3635a1i 11 . . 3 (𝜑 → (Base‘𝐶) = (Base‘(oppCat‘𝐶)))
3722, 21oppcbas 17613 . . . 4 (Base‘𝐷) = (Base‘(oppCat‘𝐷))
3823, 37eqtrdi 2787 . . 3 (𝜑 → (Base‘𝐶) = (Base‘(oppCat‘𝐷)))
395oppchomfpropd 17622 . . 3 (𝜑 → (Homf ‘(oppCat‘𝐶)) = (Homf ‘(oppCat‘𝐷)))
4032, 33, 34, 36, 38, 39comfeq 17600 . 2 (𝜑 → ((compf‘(oppCat‘𝐶)) = (compf‘(oppCat‘𝐷)) ↔ ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)∀𝑧 ∈ (Base‘𝐶)∀𝑓 ∈ (𝑥(Hom ‘(oppCat‘𝐶))𝑦)∀𝑔 ∈ (𝑦(Hom ‘(oppCat‘𝐶))𝑧)(𝑔(⟨𝑥, 𝑦⟩(comp‘(oppCat‘𝐶))𝑧)𝑓) = (𝑔(⟨𝑥, 𝑦⟩(comp‘(oppCat‘𝐷))𝑧)𝑓)))
4131, 40mpbird 256 1 (𝜑 → (compf‘(oppCat‘𝐶)) = (compf‘(oppCat‘𝐷)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  w3a 1087   = wceq 1541  wcel 2106  wral 3060  cop 4597  cfv 6501  (class class class)co 7362  Basecbs 17094  Hom chom 17158  compcco 17159  Homf chomf 17560  compfccomf 17561  oppCatcoppc 17605
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2702  ax-rep 5247  ax-sep 5261  ax-nul 5268  ax-pow 5325  ax-pr 5389  ax-un 7677  ax-cnex 11116  ax-resscn 11117  ax-1cn 11118  ax-icn 11119  ax-addcl 11120  ax-addrcl 11121  ax-mulcl 11122  ax-mulrcl 11123  ax-mulcom 11124  ax-addass 11125  ax-mulass 11126  ax-distr 11127  ax-i2m1 11128  ax-1ne0 11129  ax-1rid 11130  ax-rnegex 11131  ax-rrecex 11132  ax-cnre 11133  ax-pre-lttri 11134  ax-pre-lttrn 11135  ax-pre-ltadd 11136  ax-pre-mulgt0 11137
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2533  df-eu 2562  df-clab 2709  df-cleq 2723  df-clel 2809  df-nfc 2884  df-ne 2940  df-nel 3046  df-ral 3061  df-rex 3070  df-reu 3352  df-rab 3406  df-v 3448  df-sbc 3743  df-csb 3859  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-pss 3932  df-nul 4288  df-if 4492  df-pw 4567  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4871  df-iun 4961  df-br 5111  df-opab 5173  df-mpt 5194  df-tr 5228  df-id 5536  df-eprel 5542  df-po 5550  df-so 5551  df-fr 5593  df-we 5595  df-xp 5644  df-rel 5645  df-cnv 5646  df-co 5647  df-dm 5648  df-rn 5649  df-res 5650  df-ima 5651  df-pred 6258  df-ord 6325  df-on 6326  df-lim 6327  df-suc 6328  df-iota 6453  df-fun 6503  df-fn 6504  df-f 6505  df-f1 6506  df-fo 6507  df-f1o 6508  df-fv 6509  df-riota 7318  df-ov 7365  df-oprab 7366  df-mpo 7367  df-om 7808  df-1st 7926  df-2nd 7927  df-tpos 8162  df-frecs 8217  df-wrecs 8248  df-recs 8322  df-rdg 8361  df-er 8655  df-en 8891  df-dom 8892  df-sdom 8893  df-pnf 11200  df-mnf 11201  df-xr 11202  df-ltxr 11203  df-le 11204  df-sub 11396  df-neg 11397  df-nn 12163  df-2 12225  df-3 12226  df-4 12227  df-5 12228  df-6 12229  df-7 12230  df-8 12231  df-9 12232  df-n0 12423  df-z 12509  df-dec 12628  df-sets 17047  df-slot 17065  df-ndx 17077  df-base 17095  df-hom 17171  df-cco 17172  df-homf 17564  df-comf 17565  df-oppc 17606
This theorem is referenced by:  yonpropd  18171
  Copyright terms: Public domain W3C validator