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

Theorem mpteq12da 5251
Description: An equality inference for the maps-to notation. (Contributed by Glauco Siliprandi, 23-Oct-2021.) Remove dependency on ax-10 2141. (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 1913 . . 3 𝑦𝜑
3 mpteq12da.3 . . . . . 6 ((𝜑𝑥𝐴) → 𝐵 = 𝐷)
43eqeq2d 2751 . . . . 5 ((𝜑𝑥𝐴) → (𝑦 = 𝐵𝑦 = 𝐷))
54pm5.32da 578 . . . 4 (𝜑 → ((𝑥𝐴𝑦 = 𝐵) ↔ (𝑥𝐴𝑦 = 𝐷)))
6 mpteq12da.2 . . . . . 6 (𝜑𝐴 = 𝐶)
76eleq2d 2830 . . . . 5 (𝜑 → (𝑥𝐴𝑥𝐶))
87anbi1d 630 . . . 4 (𝜑 → ((𝑥𝐴𝑦 = 𝐷) ↔ (𝑥𝐶𝑦 = 𝐷)))
95, 8bitrd 279 . . 3 (𝜑 → ((𝑥𝐴𝑦 = 𝐵) ↔ (𝑥𝐶𝑦 = 𝐷)))
101, 2, 9opabbid 5231 . 2 (𝜑 → {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝐵)} = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐶𝑦 = 𝐷)})
11 df-mpt 5250 . 2 (𝑥𝐴𝐵) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝐵)}
12 df-mpt 5250 . 2 (𝑥𝐶𝐷) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐶𝑦 = 𝐷)}
1310, 11, 123eqtr4g 2805 1 (𝜑 → (𝑥𝐴𝐵) = (𝑥𝐶𝐷))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1537  wnf 1781  wcel 2108  {copab 5228  cmpt 5249
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-12 2178  ax-ext 2711
This theorem depends on definitions:  df-bi 207  df-an 396  df-ex 1778  df-nf 1782  df-sb 2065  df-clab 2718  df-cleq 2732  df-clel 2819  df-opab 5229  df-mpt 5250
This theorem is referenced by:  mpteq12df  5252  mpteq2da  5264  smflimmpt  46731  smfsupmpt  46736  smflimsupmpt  46750  smfliminfmpt  46753
  Copyright terms: Public domain W3C validator