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

Theorem mpteq12dva 5190
Description: An equality inference for the maps-to notation. (Contributed by Mario Carneiro, 26-Jan-2017.) Remove dependency on ax-10 2177, ax-12 2212. (Revised by SN, 11-Nov-2024.)
Hypotheses
Ref Expression
mpteq12dv.1 (𝜑 → 𝐴 = 𝐶)
mpteq12dva.2 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 = 𝐷)
Assertion
Ref Expression
mpteq12dva (𝜑 → (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑥 ∈ 𝐶 ↦ 𝐷))
Distinct variable group:   𝜑,𝑥
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑥)   𝐶(𝑥)   𝐷(𝑥)

Proof of Theorem mpteq12dva
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 mpteq12dva.2 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 = 𝐷)
21eqeq2d 2771 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝑦 = 𝐵 ↔ 𝑦 = 𝐷))
32pm5.32da 590 . . . 4 (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐷)))
4 mpteq12dv.1 . . . . . 6 (𝜑 → 𝐴 = 𝐶)
54eleq2d 2846 . . . . 5 (𝜑 → (𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐶))
65anbi1d 643 . . . 4 (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐷) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)))
73, 6bitrd 282 . . 3 (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)))
87opabbidv 5170 . 2 (𝜑 → {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)} = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)})
9 df-mpt 5186 . 2 (𝑥 ∈ 𝐴 ↦ 𝐵) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)}
10 df-mpt 5186 . 2 (𝑥 ∈ 𝐶 ↦ 𝐷) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)}
118, 9, 103eqtr4g 2820 1 (𝜑 → (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑥 ∈ 𝐶 ↦ 𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  {copab 5166   ↦ cmpt 5185
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-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-opab 5167  df-mpt 5186
This theorem is used by:  mpteq12dv  5191  mpteq2dva  5197  pfxmpt  14832  reps  14925  repswccat  14941  cidpropd  17889  monpropd  17917  fucpropd  18160  curfpropd  18412  hofpropd  18446  yonffthlem  18461  ofco2  22771  pmatcollpw3fi1lem1  23109  rrxnm  25717  ushgredgedg  29815  ushgredgedgloop  29817  cshw1s2  33567  gsumpart  33670  gsumhashmul  33674  gsumwrd2dccat  33685  cycpm2tr  33726  sgnsv  33767  extdg1id  34344  ofcfval  34776  ccatmulgnn0dir  35220  signstf0  35243  curunc  38618  cncfiooicc  46997  dvcosax  47029  fourierdlem74  47283  fourierdlem75  47284  fourierdlem93  47302  smfsupxr  47919  smflimsuplem8  47930  lmdpropd  50933  cmdpropd  50934
  Copyright terms: Public domain W3C validator