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

Theorem ex-pw 28694
Description: Example for df-pw 4532. Example by David A. Wheeler. (Contributed by Mario Carneiro, 2-Jul-2016.)
Assertion
Ref Expression
ex-pw (𝐴 = {3, 5, 7} → 𝒫 𝐴 = (({∅} ∪ {{3}, {5}, {7}}) ∪ ({{3, 5}, {3, 7}, {5, 7}} ∪ {{3, 5, 7}})))

Proof of Theorem ex-pw
StepHypRef Expression
1 pweq 4546 . 2 (𝐴 = {3, 5, 7} → 𝒫 𝐴 = 𝒫 {3, 5, 7})
2 qdass 4686 . . . 4 ({∅, {3}} ∪ {{5}, {3, 5}}) = ({∅, {3}, {5}} ∪ {{3, 5}})
3 qdassr 4687 . . . 4 ({{7}, {3, 7}} ∪ {{5, 7}, {3, 5, 7}}) = ({{7}} ∪ {{3, 7}, {5, 7}, {3, 5, 7}})
42, 3uneq12i 4091 . . 3 (({∅, {3}} ∪ {{5}, {3, 5}}) ∪ ({{7}, {3, 7}} ∪ {{5, 7}, {3, 5, 7}})) = (({∅, {3}, {5}} ∪ {{3, 5}}) ∪ ({{7}} ∪ {{3, 7}, {5, 7}, {3, 5, 7}}))
5 pwtp 4831 . . 3 𝒫 {3, 5, 7} = (({∅, {3}} ∪ {{5}, {3, 5}}) ∪ ({{7}, {3, 7}} ∪ {{5, 7}, {3, 5, 7}}))
6 df-tp 4563 . . . . . . . 8 {{3}, {5}, {7}} = ({{3}, {5}} ∪ {{7}})
76uneq2i 4090 . . . . . . 7 ({∅} ∪ {{3}, {5}, {7}}) = ({∅} ∪ ({{3}, {5}} ∪ {{7}}))
8 unass 4096 . . . . . . 7 (({∅} ∪ {{3}, {5}}) ∪ {{7}}) = ({∅} ∪ ({{3}, {5}} ∪ {{7}}))
97, 8eqtr4i 2769 . . . . . 6 ({∅} ∪ {{3}, {5}, {7}}) = (({∅} ∪ {{3}, {5}}) ∪ {{7}})
10 tpass 4685 . . . . . . 7 {∅, {3}, {5}} = ({∅} ∪ {{3}, {5}})
1110uneq1i 4089 . . . . . 6 ({∅, {3}, {5}} ∪ {{7}}) = (({∅} ∪ {{3}, {5}}) ∪ {{7}})
129, 11eqtr4i 2769 . . . . 5 ({∅} ∪ {{3}, {5}, {7}}) = ({∅, {3}, {5}} ∪ {{7}})
13 unass 4096 . . . . . 6 (({{3, 5}} ∪ {{3, 7}, {5, 7}}) ∪ {{3, 5, 7}}) = ({{3, 5}} ∪ ({{3, 7}, {5, 7}} ∪ {{3, 5, 7}}))
14 tpass 4685 . . . . . . 7 {{3, 5}, {3, 7}, {5, 7}} = ({{3, 5}} ∪ {{3, 7}, {5, 7}})
1514uneq1i 4089 . . . . . 6 ({{3, 5}, {3, 7}, {5, 7}} ∪ {{3, 5, 7}}) = (({{3, 5}} ∪ {{3, 7}, {5, 7}}) ∪ {{3, 5, 7}})
16 df-tp 4563 . . . . . . 7 {{3, 7}, {5, 7}, {3, 5, 7}} = ({{3, 7}, {5, 7}} ∪ {{3, 5, 7}})
1716uneq2i 4090 . . . . . 6 ({{3, 5}} ∪ {{3, 7}, {5, 7}, {3, 5, 7}}) = ({{3, 5}} ∪ ({{3, 7}, {5, 7}} ∪ {{3, 5, 7}}))
1813, 15, 173eqtr4i 2776 . . . . 5 ({{3, 5}, {3, 7}, {5, 7}} ∪ {{3, 5, 7}}) = ({{3, 5}} ∪ {{3, 7}, {5, 7}, {3, 5, 7}})
1912, 18uneq12i 4091 . . . 4 (({∅} ∪ {{3}, {5}, {7}}) ∪ ({{3, 5}, {3, 7}, {5, 7}} ∪ {{3, 5, 7}})) = (({∅, {3}, {5}} ∪ {{7}}) ∪ ({{3, 5}} ∪ {{3, 7}, {5, 7}, {3, 5, 7}}))
20 un4 4099 . . . 4 (({∅, {3}, {5}} ∪ {{3, 5}}) ∪ ({{7}} ∪ {{3, 7}, {5, 7}, {3, 5, 7}})) = (({∅, {3}, {5}} ∪ {{7}}) ∪ ({{3, 5}} ∪ {{3, 7}, {5, 7}, {3, 5, 7}}))
2119, 20eqtr4i 2769 . . 3 (({∅} ∪ {{3}, {5}, {7}}) ∪ ({{3, 5}, {3, 7}, {5, 7}} ∪ {{3, 5, 7}})) = (({∅, {3}, {5}} ∪ {{3, 5}}) ∪ ({{7}} ∪ {{3, 7}, {5, 7}, {3, 5, 7}}))
224, 5, 213eqtr4i 2776 . 2 𝒫 {3, 5, 7} = (({∅} ∪ {{3}, {5}, {7}}) ∪ ({{3, 5}, {3, 7}, {5, 7}} ∪ {{3, 5, 7}}))
231, 22eqtrdi 2795 1 (𝐴 = {3, 5, 7} → 𝒫 𝐴 = (({∅} ∪ {{3}, {5}, {7}}) ∪ ({{3, 5}, {3, 7}, {5, 7}} ∪ {{3, 5, 7}})))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1539  cun 3881  c0 4253  𝒫 cpw 4530  {csn 4558  {cpr 4560  {ctp 4562  3c3 11959  5c5 11961  7c7 11963
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator