ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  mpteq12f GIF version

Theorem mpteq12f 4069
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 1534 . . . 4 𝑥𝑥 𝐴 = 𝐶
2 nfra1 2501 . . . 4 𝑥𝑥𝐴 𝐵 = 𝐷
31, 2nfan 1558 . . 3 𝑥(∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥𝐴 𝐵 = 𝐷)
4 nfv 1521 . . 3 𝑦(∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥𝐴 𝐵 = 𝐷)
5 rsp 2517 . . . . . . 7 (∀𝑥𝐴 𝐵 = 𝐷 → (𝑥𝐴𝐵 = 𝐷))
65imp 123 . . . . . 6 ((∀𝑥𝐴 𝐵 = 𝐷𝑥𝐴) → 𝐵 = 𝐷)
76eqeq2d 2182 . . . . 5 ((∀𝑥𝐴 𝐵 = 𝐷𝑥𝐴) → (𝑦 = 𝐵𝑦 = 𝐷))
87pm5.32da 449 . . . 4 (∀𝑥𝐴 𝐵 = 𝐷 → ((𝑥𝐴𝑦 = 𝐵) ↔ (𝑥𝐴𝑦 = 𝐷)))
9 sp 1504 . . . . . 6 (∀𝑥 𝐴 = 𝐶𝐴 = 𝐶)
109eleq2d 2240 . . . . 5 (∀𝑥 𝐴 = 𝐶 → (𝑥𝐴𝑥𝐶))
1110anbi1d 462 . . . 4 (∀𝑥 𝐴 = 𝐶 → ((𝑥𝐴𝑦 = 𝐷) ↔ (𝑥𝐶𝑦 = 𝐷)))
128, 11sylan9bbr 460 . . 3 ((∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥𝐴 𝐵 = 𝐷) → ((𝑥𝐴𝑦 = 𝐵) ↔ (𝑥𝐶𝑦 = 𝐷)))
133, 4, 12opabbid 4054 . 2 ((∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥𝐴 𝐵 = 𝐷) → {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝐵)} = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐶𝑦 = 𝐷)})
14 df-mpt 4052 . 2 (𝑥𝐴𝐵) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝐵)}
15 df-mpt 4052 . 2 (𝑥𝐶𝐷) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐶𝑦 = 𝐷)}
1613, 14, 153eqtr4g 2228 1 ((∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥𝐴 𝐵 = 𝐷) → (𝑥𝐴𝐵) = (𝑥𝐶𝐷))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wal 1346   = wceq 1348  wcel 2141  wral 2448  {copab 4049  cmpt 4050
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-11 1499  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-ext 2152
This theorem depends on definitions:  df-bi 116  df-tru 1351  df-nf 1454  df-sb 1756  df-clab 2157  df-cleq 2163  df-clel 2166  df-ral 2453  df-opab 4051  df-mpt 4052
This theorem is referenced by:  mpteq12dva  4070  mpteq12  4072  mpteq2ia  4075  mpteq2da  4078
  Copyright terms: Public domain W3C validator