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

Theorem mpteq12dva 5191
Description: An equality inference for the maps-to notation. (Contributed by Mario Carneiro, 26-Jan-2017.) Remove dependency on ax-10 2178, ax-12 2213. (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 2772 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝑦 = 𝐵 ↔ 𝑦 = 𝐷))
32pm5.32da 590 . . . 4 (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐷)))
4 mpteq12dv.1 . . . . . 6 (𝜑 → 𝐴 = 𝐶)
54eleq2d 2847 . . . . 5 (𝜑 → (𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐶))
65anbi1d 643 . . . 4 (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐷) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)))
73, 6bitrd 282 . . 3 (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)))
87opabbidv 5171 . 2 (𝜑 → {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)} = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)})
9 df-mpt 5187 . 2 (𝑥 ∈ 𝐴 ↦ 𝐵) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)}
10 df-mpt 5187 . 2 (𝑥 ∈ 𝐶 ↦ 𝐷) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)}
118, 9, 103eqtr4g 2821 1 (𝜑 → (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑥 ∈ 𝐶 ↦ 𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  {copab 5167   ↦ cmpt 5186
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-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-opab 5168  df-mpt 5187
This theorem is used by:  mpteq12dv  5192  mpteq2dva  5198  pfxmpt  14808  reps  14901  repswccat  14917  cidpropd  17864  monpropd  17892  fucpropd  18135  curfpropd  18387  hofpropd  18421  yonffthlem  18436  ofco2  22746  pmatcollpw3fi1lem1  23084  rrxnm  25692  ushgredgedg  29792  ushgredgedgloop  29794  cshw1s2  33503  gsumpart  33606  gsumhashmul  33610  gsumwrd2dccat  33621  cycpm2tr  33662  sgnsv  33703  extdg1id  34280  ofcfval  34712  ccatmulgnn0dir  35157  signstf0  35180  curunc  38493  cncfiooicc  46848  dvcosax  46880  fourierdlem74  47134  fourierdlem75  47135  fourierdlem93  47153  smfsupxr  47770  smflimsuplem8  47781  lmdpropd  50709  cmdpropd  50710
  Copyright terms: Public domain W3C validator