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

Theorem homfeq 17868
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 17864 . . . 4 (Homf ‘𝐶) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥𝐻𝑦))
5 homfeq.1 . . . . 5 (𝜑 → 𝐵 = (Base‘𝐶))
6 eqidd 2761 . . . . 5 (𝜑 → (𝑥𝐻𝑦) = (𝑥𝐻𝑦))
75, 5, 6mpoeq123dv 7495 . . . 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 17864 . . . 4 (Homf ‘𝐷) = (𝑥 ∈ (Base‘𝐷), 𝑦 ∈ (Base‘𝐷) ↦ (𝑥𝐽𝑦))
13 homfeq.2 . . . . 5 (𝜑 → 𝐵 = (Base‘𝐷))
14 eqidd 2761 . . . . 5 (𝜑 → (𝑥𝐽𝑦) = (𝑥𝐽𝑦))
1513, 13, 14mpoeq123dv 7495 . . . 4 (𝜑 → (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥𝐽𝑦)) = (𝑥 ∈ (Base‘𝐷), 𝑦 ∈ (Base‘𝐷) ↦ (𝑥𝐽𝑦)))
1612, 15eqtr4id 2814 . . 3 (𝜑 → (Homf ‘𝐷) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥𝐽𝑦)))
178, 16eqeq12d 2776 . 2 (𝜑 → ((Homf ‘𝐶) = (Homf ‘𝐷) ↔ (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥𝐻𝑦)) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥𝐽𝑦))))
18 ovex 7453 . . . 4 (𝑥𝐻𝑦) ∈ V
1918rgen2w 3081 . . 3 ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥𝐻𝑦) ∈ V
20 mpo2eqb 7552 . . 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 6538  (class class class)co 7420   ∈ cmpo 7422  Basecbs 17387  Hom chom 17439  Homf chomf 17840
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 7751
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 3847  df-dif 3899  df-un 3901  df-in 3903  df-ss 3914  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  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 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-1st 8001  df-2nd 8002  df-homf 17844
This theorem is used by:  homfeqd  17869  fullresc  18026  resssetc  18267  resscatc  18284  funchomf  50205  initopropd  50351  termopropd  50352  termolmd  50778
  Copyright terms: Public domain W3C validator