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

Theorem mpteq12dva 5195
Description: An equality inference for the maps-to notation. (Contributed by Mario Carneiro, 26-Jan-2017.) Remove dependency on ax-10 2180, ax-12 2216. (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 2774 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝑦 = 𝐵 ↔ 𝑦 = 𝐷))
32pm5.32da 590 . . . 4 (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐷)))
4 mpteq12dv.1 . . . . . 6 (𝜑 → 𝐴 = 𝐶)
54eleq2d 2850 . . . . 5 (𝜑 → (𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐶))
65anbi1d 643 . . . 4 (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐷) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)))
73, 6bitrd 282 . . 3 (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)))
87opabbidv 5175 . 2 (𝜑 → {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)} = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)})
9 df-mpt 5191 . 2 (𝑥 ∈ 𝐴 ↦ 𝐵) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)}
10 df-mpt 5191 . 2 (𝑥 ∈ 𝐶 ↦ 𝐷) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)}
118, 9, 103eqtr4g 2823 1 (𝜑 → (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑥 ∈ 𝐶 ↦ 𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  {copab 5171   ↦ cmpt 5190
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-opab 5172  df-mpt 5191
This theorem is used by:  mpteq12dv  5196  mpteq2dva  5202  pfxmpt  14859  reps  14952  repswccat  14968  cidpropd  17916  monpropd  17944  fucpropd  18187  curfpropd  18439  hofpropd  18473  yonffthlem  18488  ofco2  22799  pmatcollpw3fi1lem1  23137  rrxnm  25745  ushgredgedg  29843  ushgredgedgloop  29845  cshw1s2  33594  gsumpart  33700  gsumhashmul  33704  gsumwrd2dccat  33715  cycpm2tr  33756  sgnsv  33797  extdg1id  34381  ofcfval  34813  ccatmulgnn0dir  35257  signstf0  35280  curunc  38730  cncfiooicc  47119  dvcosax  47151  fourierdlem74  47405  fourierdlem75  47406  fourierdlem93  47424  smfsupxr  48041  smflimsuplem8  48052  lmdpropd  51055  cmdpropd  51056
  Copyright terms: Public domain W3C validator