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

Theorem homfeq 17875
Description: Condition for two categories with the same base to have the same hom-sets. (Contributed by Mario Carneiro, 6-Jan-2017.)
Hypotheses
Ref Expression
homfeq.h 𝐻 = (Hom ‘𝐶)
homfeq.j 𝐽 = (Hom ‘𝐷)
homfeq.1 (𝜑 → 𝐵 = (Base‘𝐶))
homfeq.2 (𝜑 → 𝐵 = (Base‘𝐷))
Assertion
Ref Expression
homfeq (𝜑 → ((Homf ‘𝐶) = (Homf ‘𝐷) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥𝐻𝑦) = (𝑥𝐽𝑦)))
Distinct variable groups:   𝑥,𝑦,𝐵   𝑥,𝐶,𝑦   𝑥,𝐷,𝑦   𝑥,𝐻,𝑦   𝜑,𝑥,𝑦   𝑥,𝐽,𝑦

Proof of Theorem homfeq
StepHypRef Expression
1 eqid 2760 . . . . 5 (Homf ‘𝐶) = (Homf ‘𝐶)
2 eqid 2760 . . . . 5 (Base‘𝐶) = (Base‘𝐶)
3 homfeq.h . . . . 5 𝐻 = (Hom ‘𝐶)
41, 2, 3homffval 17871 . . . 4 (Homf ‘𝐶) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥𝐻𝑦))
5 homfeq.1 . . . . 5 (𝜑 → 𝐵 = (Base‘𝐶))
6 eqidd 2761 . . . . 5 (𝜑 → (𝑥𝐻𝑦) = (𝑥𝐻𝑦))
75, 5, 6mpoeq123dv 7497 . . . 4 (𝜑 → (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥𝐻𝑦)) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥𝐻𝑦)))
84, 7eqtr4id 2814 . . 3 (𝜑 → (Homf ‘𝐶) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥𝐻𝑦)))
9 eqid 2760 . . . . 5 (Homf ‘𝐷) = (Homf ‘𝐷)
10 eqid 2760 . . . . 5 (Base‘𝐷) = (Base‘𝐷)
11 homfeq.j . . . . 5 𝐽 = (Hom ‘𝐷)
129, 10, 11homffval 17871 . . . 4 (Homf ‘𝐷) = (𝑥 ∈ (Base‘𝐷), 𝑦 ∈ (Base‘𝐷) ↦ (𝑥𝐽𝑦))
13 homfeq.2 . . . . 5 (𝜑 → 𝐵 = (Base‘𝐷))
14 eqidd 2761 . . . . 5 (𝜑 → (𝑥𝐽𝑦) = (𝑥𝐽𝑦))
1513, 13, 14mpoeq123dv 7497 . . . 4 (𝜑 → (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥𝐽𝑦)) = (𝑥 ∈ (Base‘𝐷), 𝑦 ∈ (Base‘𝐷) ↦ (𝑥𝐽𝑦)))
1612, 15eqtr4id 2814 . . 3 (𝜑 → (Homf ‘𝐷) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥𝐽𝑦)))
178, 16eqeq12d 2776 . 2 (𝜑 → ((Homf ‘𝐶) = (Homf ‘𝐷) ↔ (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥𝐻𝑦)) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥𝐽𝑦))))
18 ovex 7455 . . . 4 (𝑥𝐻𝑦) ∈ V
1918rgen2w 3081 . . 3 ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥𝐻𝑦) ∈ V
20 mpo2eqb 7554 . . 3 (∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥𝐻𝑦) ∈ V → ((𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥𝐻𝑦)) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥𝐽𝑦)) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥𝐻𝑦) = (𝑥𝐽𝑦)))
2119, 20ax-mp 5 . 2 ((𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥𝐻𝑦)) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥𝐽𝑦)) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥𝐻𝑦) = (𝑥𝐽𝑦))
2217, 21bitrdi 290 1 (𝜑 → ((Homf ‘𝐶) = (Homf ‘𝐷) ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥𝐻𝑦) = (𝑥𝐽𝑦)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1569   ∈ wcel 2144  ∀wral 3076  Vcvv 3450  ‘cfv 6541  (class class class)co 7422   ∈ cmpo 7424  Basecbs 17394  Hom chom 17446  Homf chomf 17847
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
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  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-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  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-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  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-iota 6496  df-fun 6543  df-fn 6544  df-f 6545  df-f1 6546  df-fo 6547  df-f1o 6548  df-fv 6549  df-ov 7425  df-oprab 7426  df-mpo 7427  df-1st 8003  df-2nd 8004  df-homf 17851
This theorem is used by:  homfeqd  17876  fullresc  18033  resssetc  18274  resscatc  18291  funchomf  50320  initopropd  50472  termopropd  50473  termolmd  50960
  Copyright terms: Public domain W3C validator