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

Theorem mpteq12f 5113
Description: An equality theorem for the maps-to notation. (Contributed by Mario Carneiro, 16-Dec-2013.)
Assertion
Ref Expression
mpteq12f ((∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥𝐴 𝐵 = 𝐷) → (𝑥𝐴𝐵) = (𝑥𝐶𝐷))

Proof of Theorem mpteq12f
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 nfa1 2152 . . . 4 𝑥𝑥 𝐴 = 𝐶
2 nfra1 3183 . . . 4 𝑥𝑥𝐴 𝐵 = 𝐷
31, 2nfan 1900 . . 3 𝑥(∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥𝐴 𝐵 = 𝐷)
4 nfv 1915 . . 3 𝑦(∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥𝐴 𝐵 = 𝐷)
5 rspa 3171 . . . . . 6 ((∀𝑥𝐴 𝐵 = 𝐷𝑥𝐴) → 𝐵 = 𝐷)
65eqeq2d 2809 . . . . 5 ((∀𝑥𝐴 𝐵 = 𝐷𝑥𝐴) → (𝑦 = 𝐵𝑦 = 𝐷))
76pm5.32da 582 . . . 4 (∀𝑥𝐴 𝐵 = 𝐷 → ((𝑥𝐴𝑦 = 𝐵) ↔ (𝑥𝐴𝑦 = 𝐷)))
8 sp 2180 . . . . . 6 (∀𝑥 𝐴 = 𝐶𝐴 = 𝐶)
98eleq2d 2875 . . . . 5 (∀𝑥 𝐴 = 𝐶 → (𝑥𝐴𝑥𝐶))
109anbi1d 632 . . . 4 (∀𝑥 𝐴 = 𝐶 → ((𝑥𝐴𝑦 = 𝐷) ↔ (𝑥𝐶𝑦 = 𝐷)))
117, 10sylan9bbr 514 . . 3 ((∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥𝐴 𝐵 = 𝐷) → ((𝑥𝐴𝑦 = 𝐵) ↔ (𝑥𝐶𝑦 = 𝐷)))
123, 4, 11opabbid 5095 . 2 ((∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥𝐴 𝐵 = 𝐷) → {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝐵)} = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐶𝑦 = 𝐷)})
13 df-mpt 5111 . 2 (𝑥𝐴𝐵) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝐵)}
14 df-mpt 5111 . 2 (𝑥𝐶𝐷) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐶𝑦 = 𝐷)}
1512, 13, 143eqtr4g 2858 1 ((∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥𝐴 𝐵 = 𝐷) → (𝑥𝐴𝐵) = (𝑥𝐶𝐷))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  wal 1536   = wceq 1538  wcel 2111  wral 3106  {copab 5092  cmpt 5110
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-12 2175  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-ral 3111  df-opab 5093  df-mpt 5111
This theorem is referenced by:  mpteq12dva  5114  mpteq12  5117  mpteq2ia  5121  mpteq2da  5124  esumeq12dvaf  31400  refsum2cnlem1  41666  mpteq1df  41872  mpteq12da  41879  smfsupmpt  43446  smfinflem  43448  smfinfmpt  43450
  Copyright terms: Public domain W3C validator