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

Theorem dfpr2 4544
Description: Alternate definition of a 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 4528 . 2 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
2 elun 4076 . . . 4 (𝑥 ∈ ({𝐴} ∪ {𝐵}) ↔ (𝑥 ∈ {𝐴} ∨ 𝑥 ∈ {𝐵}))
3 velsn 4541 . . . . 5 (𝑥 ∈ {𝐴} ↔ 𝑥 = 𝐴)
4 velsn 4541 . . . . 5 (𝑥 ∈ {𝐵} ↔ 𝑥 = 𝐵)
53, 4orbi12i 912 . . . 4 ((𝑥 ∈ {𝐴} ∨ 𝑥 ∈ {𝐵}) ↔ (𝑥 = 𝐴𝑥 = 𝐵))
62, 5bitri 278 . . 3 (𝑥 ∈ ({𝐴} ∪ {𝐵}) ↔ (𝑥 = 𝐴𝑥 = 𝐵))
76abbi2i 2929 . 2 ({𝐴} ∪ {𝐵}) = {𝑥 ∣ (𝑥 = 𝐴𝑥 = 𝐵)}
81, 7eqtri 2821 1 {𝐴, 𝐵} = {𝑥 ∣ (𝑥 = 𝐴𝑥 = 𝐵)}
Colors of variables: wff setvar class
Syntax hints:  wo 844   = wceq 1538  wcel 2111  {cab 2776  cun 3879  {csn 4525  {cpr 4527
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-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-tru 1541  df-ex 1782  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-v 3443  df-un 3886  df-sn 4526  df-pr 4528
This theorem is referenced by:  dfsn2ALT  4545  elprg  4546  nfpr  4588  pwpw0  4706  pwsn  4792  pwsnOLD  4793  zfpair  5287  grothprimlem  10244  nb3grprlem1  27170
  Copyright terms: Public domain W3C validator