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

Theorem mpteq12da 5159
Description: An equality inference for the maps-to notation. (Contributed by Glauco Siliprandi, 23-Oct-2021.) Remove dependency on ax-10 2137. (Revised by SN, 11-Nov-2024.)
Hypotheses
Ref Expression
mpteq12da.1 𝑥𝜑
mpteq12da.2 (𝜑𝐴 = 𝐶)
mpteq12da.3 ((𝜑𝑥𝐴) → 𝐵 = 𝐷)
Assertion
Ref Expression
mpteq12da (𝜑 → (𝑥𝐴𝐵) = (𝑥𝐶𝐷))

Proof of Theorem mpteq12da
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 mpteq12da.1 . . 3 𝑥𝜑
2 nfv 1917 . . 3 𝑦𝜑
3 mpteq12da.3 . . . . . 6 ((𝜑𝑥𝐴) → 𝐵 = 𝐷)
43eqeq2d 2749 . . . . 5 ((𝜑𝑥𝐴) → (𝑦 = 𝐵𝑦 = 𝐷))
54pm5.32da 579 . . . 4 (𝜑 → ((𝑥𝐴𝑦 = 𝐵) ↔ (𝑥𝐴𝑦 = 𝐷)))
6 mpteq12da.2 . . . . . 6 (𝜑𝐴 = 𝐶)
76eleq2d 2824 . . . . 5 (𝜑 → (𝑥𝐴𝑥𝐶))
87anbi1d 630 . . . 4 (𝜑 → ((𝑥𝐴𝑦 = 𝐷) ↔ (𝑥𝐶𝑦 = 𝐷)))
95, 8bitrd 278 . . 3 (𝜑 → ((𝑥𝐴𝑦 = 𝐵) ↔ (𝑥𝐶𝑦 = 𝐷)))
101, 2, 9opabbid 5139 . 2 (𝜑 → {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝐵)} = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐶𝑦 = 𝐷)})
11 df-mpt 5158 . 2 (𝑥𝐴𝐵) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝐵)}
12 df-mpt 5158 . 2 (𝑥𝐶𝐷) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐶𝑦 = 𝐷)}
1310, 11, 123eqtr4g 2803 1 (𝜑 → (𝑥𝐴𝐵) = (𝑥𝐶𝐷))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1539  wnf 1786  wcel 2106  {copab 5136  cmpt 5157
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-12 2171  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-opab 5137  df-mpt 5158
This theorem is referenced by:  mpteq12df  5160  mpteq2da  5172  smflimmpt  44343  smfsupmpt  44348  smflimsupmpt  44362  smfliminfmpt  44365
  Copyright terms: Public domain W3C validator