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

Theorem homfeq 17861
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 2761 . . . . 5 (Homf ‘𝐶) = (Homf ‘𝐶)
2 eqid 2761 . . . . 5 (Base‘𝐶) = (Base‘𝐶)
3 homfeq.h . . . . 5 𝐻 = (Hom ‘𝐶)
41, 2, 3homffval 17857 . . . 4 (Homf ‘𝐶) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥𝐻𝑦))
5 homfeq.1 . . . . 5 (𝜑 → 𝐵 = (Base‘𝐶))
6 eqidd 2762 . . . . 5 (𝜑 → (𝑥𝐻𝑦) = (𝑥𝐻𝑦))
75, 5, 6mpoeq123dv 7493 . . . 4 (𝜑 → (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥𝐻𝑦)) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥𝐻𝑦)))
84, 7eqtr4id 2815 . . 3 (𝜑 → (Homf ‘𝐶) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥𝐻𝑦)))
9 eqid 2761 . . . . 5 (Homf ‘𝐷) = (Homf ‘𝐷)
10 eqid 2761 . . . . 5 (Base‘𝐷) = (Base‘𝐷)
11 homfeq.j . . . . 5 𝐽 = (Hom ‘𝐷)
129, 10, 11homffval 17857 . . . 4 (Homf ‘𝐷) = (𝑥 ∈ (Base‘𝐷), 𝑦 ∈ (Base‘𝐷) ↦ (𝑥𝐽𝑦))
13 homfeq.2 . . . . 5 (𝜑 → 𝐵 = (Base‘𝐷))
14 eqidd 2762 . . . . 5 (𝜑 → (𝑥𝐽𝑦) = (𝑥𝐽𝑦))
1513, 13, 14mpoeq123dv 7493 . . . 4 (𝜑 → (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥𝐽𝑦)) = (𝑥 ∈ (Base‘𝐷), 𝑦 ∈ (Base‘𝐷) ↦ (𝑥𝐽𝑦)))
1612, 15eqtr4id 2815 . . 3 (𝜑 → (Homf ‘𝐷) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥𝐽𝑦)))
178, 16eqeq12d 2777 . 2 (𝜑 → ((Homf ‘𝐶) = (Homf ‘𝐷) ↔ (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥𝐻𝑦)) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ (𝑥𝐽𝑦))))
18 ovex 7451 . . . 4 (𝑥𝐻𝑦) ∈ V
1918rgen2w 3082 . . 3 ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥𝐻𝑦) ∈ V
20 mpo2eqb 7550 . . 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 1570   ∈ wcel 2145  ∀wral 3077  Vcvv 3451  ‘cfv 6537  (class class class)co 7418   ∈ cmpo 7420  Basecbs 17380  Hom chom 17432  Homf chomf 17833
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7749
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-ov 7421  df-oprab 7422  df-mpo 7423  df-1st 7999  df-2nd 8000  df-homf 17837
This theorem is used by:  homfeqd  17862  fullresc  18019  resssetc  18260  resscatc  18277  funchomf  50174  initopropd  50320  termopropd  50321  termolmd  50747
  Copyright terms: Public domain W3C validator