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

Theorem pwpr 4824
Description: The power set of an unordered pair. (Contributed by NM, 1-May-2009.)
Assertion
Ref Expression
pwpr 𝒫 {𝐴, 𝐵} = ({∅, {𝐴}} ∪ {{𝐵}, {𝐴, 𝐵}})

Proof of Theorem pwpr
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 sspr 4758 . . . 4 (𝑥 ⊆ {𝐴, 𝐵} ↔ ((𝑥 = ∅ ∨ 𝑥 = {𝐴}) ∨ (𝑥 = {𝐵} ∨ 𝑥 = {𝐴, 𝐵})))
2 vex 3495 . . . . . 6 𝑥 ∈ V
32elpr 4580 . . . . 5 (𝑥 ∈ {∅, {𝐴}} ↔ (𝑥 = ∅ ∨ 𝑥 = {𝐴}))
42elpr 4580 . . . . 5 (𝑥 ∈ {{𝐵}, {𝐴, 𝐵}} ↔ (𝑥 = {𝐵} ∨ 𝑥 = {𝐴, 𝐵}))
53, 4orbi12i 908 . . . 4 ((𝑥 ∈ {∅, {𝐴}} ∨ 𝑥 ∈ {{𝐵}, {𝐴, 𝐵}}) ↔ ((𝑥 = ∅ ∨ 𝑥 = {𝐴}) ∨ (𝑥 = {𝐵} ∨ 𝑥 = {𝐴, 𝐵})))
61, 5bitr4i 279 . . 3 (𝑥 ⊆ {𝐴, 𝐵} ↔ (𝑥 ∈ {∅, {𝐴}} ∨ 𝑥 ∈ {{𝐵}, {𝐴, 𝐵}}))
7 velpw 4543 . . 3 (𝑥 ∈ 𝒫 {𝐴, 𝐵} ↔ 𝑥 ⊆ {𝐴, 𝐵})
8 elun 4122 . . 3 (𝑥 ∈ ({∅, {𝐴}} ∪ {{𝐵}, {𝐴, 𝐵}}) ↔ (𝑥 ∈ {∅, {𝐴}} ∨ 𝑥 ∈ {{𝐵}, {𝐴, 𝐵}}))
96, 7, 83bitr4i 304 . 2 (𝑥 ∈ 𝒫 {𝐴, 𝐵} ↔ 𝑥 ∈ ({∅, {𝐴}} ∪ {{𝐵}, {𝐴, 𝐵}}))
109eqriv 2815 1 𝒫 {𝐴, 𝐵} = ({∅, {𝐴}} ∪ {{𝐵}, {𝐴, 𝐵}})
Colors of variables: wff setvar class
Syntax hints:  wo 841   = wceq 1528  wcel 2105  cun 3931  wss 3933  c0 4288  𝒫 cpw 4535  {csn 4557  {cpr 4559
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ral 3140  df-v 3494  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-pw 4537  df-sn 4558  df-pr 4560
This theorem is referenced by:  pwpwpw0  4826  ord3ex  5278  hash2pwpr  13822  pr2pwpr  13825  prsiga  31289  prsal  42480
  Copyright terms: Public domain W3C validator