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

Theorem mpteq12f 4078
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 1539 . . . 4 𝑥𝑥 𝐴 = 𝐶
2 nfra1 2506 . . . 4 𝑥𝑥𝐴 𝐵 = 𝐷
31, 2nfan 1563 . . 3 𝑥(∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥𝐴 𝐵 = 𝐷)
4 nfv 1526 . . 3 𝑦(∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥𝐴 𝐵 = 𝐷)
5 rsp 2522 . . . . . . 7 (∀𝑥𝐴 𝐵 = 𝐷 → (𝑥𝐴𝐵 = 𝐷))
65imp 124 . . . . . 6 ((∀𝑥𝐴 𝐵 = 𝐷𝑥𝐴) → 𝐵 = 𝐷)
76eqeq2d 2187 . . . . 5 ((∀𝑥𝐴 𝐵 = 𝐷𝑥𝐴) → (𝑦 = 𝐵𝑦 = 𝐷))
87pm5.32da 452 . . . 4 (∀𝑥𝐴 𝐵 = 𝐷 → ((𝑥𝐴𝑦 = 𝐵) ↔ (𝑥𝐴𝑦 = 𝐷)))
9 sp 1509 . . . . . 6 (∀𝑥 𝐴 = 𝐶𝐴 = 𝐶)
109eleq2d 2245 . . . . 5 (∀𝑥 𝐴 = 𝐶 → (𝑥𝐴𝑥𝐶))
1110anbi1d 465 . . . 4 (∀𝑥 𝐴 = 𝐶 → ((𝑥𝐴𝑦 = 𝐷) ↔ (𝑥𝐶𝑦 = 𝐷)))
128, 11sylan9bbr 463 . . 3 ((∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥𝐴 𝐵 = 𝐷) → ((𝑥𝐴𝑦 = 𝐵) ↔ (𝑥𝐶𝑦 = 𝐷)))
133, 4, 12opabbid 4063 . 2 ((∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥𝐴 𝐵 = 𝐷) → {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝐵)} = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐶𝑦 = 𝐷)})
14 df-mpt 4061 . 2 (𝑥𝐴𝐵) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝐵)}
15 df-mpt 4061 . 2 (𝑥𝐶𝐷) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐶𝑦 = 𝐷)}
1613, 14, 153eqtr4g 2233 1 ((∀𝑥 𝐴 = 𝐶 ∧ ∀𝑥𝐴 𝐵 = 𝐷) → (𝑥𝐴𝐵) = (𝑥𝐶𝐷))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104  wal 1351   = wceq 1353  wcel 2146  wral 2453  {copab 4058  cmpt 4059
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-5 1445  ax-7 1446  ax-gen 1447  ax-ie1 1491  ax-ie2 1492  ax-8 1502  ax-11 1504  ax-4 1508  ax-17 1524  ax-i9 1528  ax-ial 1532  ax-i5r 1533  ax-ext 2157
This theorem depends on definitions:  df-bi 117  df-tru 1356  df-nf 1459  df-sb 1761  df-clab 2162  df-cleq 2168  df-clel 2171  df-ral 2458  df-opab 4060  df-mpt 4061
This theorem is referenced by:  mpteq12dva  4079  mpteq12  4081  mpteq2ia  4084  mpteq2da  4087
  Copyright terms: Public domain W3C validator