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

Theorem dfpr2 4567
Description: Alternate definition of unordered pair. Definition 5.1 of [TakeutiZaring] p. 15. (Contributed by NM, 24-Apr-1994.)
Assertion
Ref Expression
dfpr2 {𝐴, 𝐵} = {𝑥 ∣ (𝑥 = 𝐴𝑥 = 𝐵)}
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵

Proof of Theorem dfpr2
StepHypRef Expression
1 df-pr 4551 . 2 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
2 elun 4108 . . . 4 (𝑥 ∈ ({𝐴} ∪ {𝐵}) ↔ (𝑥 ∈ {𝐴} ∨ 𝑥 ∈ {𝐵}))
3 velsn 4564 . . . . 5 (𝑥 ∈ {𝐴} ↔ 𝑥 = 𝐴)
4 velsn 4564 . . . . 5 (𝑥 ∈ {𝐵} ↔ 𝑥 = 𝐵)
53, 4orbi12i 911 . . . 4 ((𝑥 ∈ {𝐴} ∨ 𝑥 ∈ {𝐵}) ↔ (𝑥 = 𝐴𝑥 = 𝐵))
62, 5bitri 277 . . 3 (𝑥 ∈ ({𝐴} ∪ {𝐵}) ↔ (𝑥 = 𝐴𝑥 = 𝐵))
76abbi2i 2950 . 2 ({𝐴} ∪ {𝐵}) = {𝑥 ∣ (𝑥 = 𝐴𝑥 = 𝐵)}
81, 7eqtri 2843 1 {𝐴, 𝐵} = {𝑥 ∣ (𝑥 = 𝐴𝑥 = 𝐵)}
Colors of variables: wff setvar class
Syntax hints:  wo 843   = wceq 1537  wcel 2114  {cab 2798  cun 3917  {csn 4548  {cpr 4550
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2792
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2799  df-cleq 2813  df-clel 2891  df-nfc 2959  df-v 3483  df-un 3924  df-sn 4549  df-pr 4551
This theorem is referenced by:  dfsn2ALT  4568  elprg  4569  nfpr  4609  pwpw0  4727  pwsn  4811  pwsnOLD  4812  zfpair  5303  grothprimlem  10236  nb3grprlem1  27143
  Copyright terms: Public domain W3C validator