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

Theorem dfpr2 4607
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 4593 . 2 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
2 elun 4157 . . . 4 (𝑥 ∈ ({𝐴} ∪ {𝐵}) ↔ (𝑥 ∈ {𝐴} ∨ 𝑥 ∈ {𝐵}))
3 velsn 4602 . . . . 5 (𝑥 ∈ {𝐴} ↔ 𝑥 = 𝐴)
4 velsn 4602 . . . . 5 (𝑥 ∈ {𝐵} ↔ 𝑥 = 𝐵)
53, 4orbi12i 928 . . . 4 ((𝑥 ∈ {𝐴} ∨ 𝑥 ∈ {𝐵}) ↔ (𝑥 = 𝐴 ∨ 𝑥 = 𝐵))
62, 5bitri 278 . . 3 (𝑥 ∈ ({𝐴} ∪ {𝐵}) ↔ (𝑥 = 𝐴 ∨ 𝑥 = 𝐵))
76eqabi 2905 . 2 ({𝐴} ∪ {𝐵}) = {𝑥 ∣ (𝑥 = 𝐴 ∨ 𝑥 = 𝐵)}
81, 7eqtri 2792 1 {𝐴, 𝐵} = {𝑥 ∣ (𝑥 = 𝐴 ∨ 𝑥 = 𝐵)}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∨ wo 861   = wceq 1572   ∈ wcel 2151  {cab 2747   ∪ cun 4154  {csn 4590  {cpr 4592
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-v 3458  df-un 4156  df-sn 4591  df-pr 4593
This theorem is used by:  dfsn2ALT  4608  elprg  4609  nfpr  4656  pwsn  4835  pwpw0  4839  zfpair  5393  grothprimlem  10967  nb3grprlem1  30037  rabsspr  33215  abpr  44754
  Copyright terms: Public domain W3C validator