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 28466
Description: Example for df-pw 4501. 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 4515 . 2 (𝐴 = {3, 5, 7} → 𝒫 𝐴 = 𝒫 {3, 5, 7})
2 qdass 4655 . . . 4 ({∅, {3}} ∪ {{5}, {3, 5}}) = ({∅, {3}, {5}} ∪ {{3, 5}})
3 qdassr 4656 . . . 4 ({{7}, {3, 7}} ∪ {{5, 7}, {3, 5, 7}}) = ({{7}} ∪ {{3, 7}, {5, 7}, {3, 5, 7}})
42, 3uneq12i 4061 . . 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 4800 . . 3 𝒫 {3, 5, 7} = (({∅, {3}} ∪ {{5}, {3, 5}}) ∪ ({{7}, {3, 7}} ∪ {{5, 7}, {3, 5, 7}}))
6 df-tp 4532 . . . . . . . 8 {{3}, {5}, {7}} = ({{3}, {5}} ∪ {{7}})
76uneq2i 4060 . . . . . . 7 ({∅} ∪ {{3}, {5}, {7}}) = ({∅} ∪ ({{3}, {5}} ∪ {{7}}))
8 unass 4066 . . . . . . 7 (({∅} ∪ {{3}, {5}}) ∪ {{7}}) = ({∅} ∪ ({{3}, {5}} ∪ {{7}}))
97, 8eqtr4i 2762 . . . . . 6 ({∅} ∪ {{3}, {5}, {7}}) = (({∅} ∪ {{3}, {5}}) ∪ {{7}})
10 tpass 4654 . . . . . . 7 {∅, {3}, {5}} = ({∅} ∪ {{3}, {5}})
1110uneq1i 4059 . . . . . 6 ({∅, {3}, {5}} ∪ {{7}}) = (({∅} ∪ {{3}, {5}}) ∪ {{7}})
129, 11eqtr4i 2762 . . . . 5 ({∅} ∪ {{3}, {5}, {7}}) = ({∅, {3}, {5}} ∪ {{7}})
13 unass 4066 . . . . . 6 (({{3, 5}} ∪ {{3, 7}, {5, 7}}) ∪ {{3, 5, 7}}) = ({{3, 5}} ∪ ({{3, 7}, {5, 7}} ∪ {{3, 5, 7}}))
14 tpass 4654 . . . . . . 7 {{3, 5}, {3, 7}, {5, 7}} = ({{3, 5}} ∪ {{3, 7}, {5, 7}})
1514uneq1i 4059 . . . . . 6 ({{3, 5}, {3, 7}, {5, 7}} ∪ {{3, 5, 7}}) = (({{3, 5}} ∪ {{3, 7}, {5, 7}}) ∪ {{3, 5, 7}})
16 df-tp 4532 . . . . . . 7 {{3, 7}, {5, 7}, {3, 5, 7}} = ({{3, 7}, {5, 7}} ∪ {{3, 5, 7}})
1716uneq2i 4060 . . . . . 6 ({{3, 5}} ∪ {{3, 7}, {5, 7}, {3, 5, 7}}) = ({{3, 5}} ∪ ({{3, 7}, {5, 7}} ∪ {{3, 5, 7}}))
1813, 15, 173eqtr4i 2769 . . . . 5 ({{3, 5}, {3, 7}, {5, 7}} ∪ {{3, 5, 7}}) = ({{3, 5}} ∪ {{3, 7}, {5, 7}, {3, 5, 7}})
1912, 18uneq12i 4061 . . . 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 4069 . . . 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 2762 . . 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 2769 . 2 𝒫 {3, 5, 7} = (({∅} ∪ {{3}, {5}, {7}}) ∪ ({{3, 5}, {3, 7}, {5, 7}} ∪ {{3, 5, 7}}))
231, 22eqtrdi 2787 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 1543  cun 3851  c0 4223  𝒫 cpw 4499  {csn 4527  {cpr 4529  {ctp 4531  3c3 11851  5c5 11853  7c7 11855
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-ext 2708
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-tru 1546  df-fal 1556  df-ex 1788  df-sb 2073  df-clab 2715  df-cleq 2728  df-clel 2809  df-ral 3056  df-v 3400  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4224  df-pw 4501  df-sn 4528  df-pr 4530  df-tp 4532
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator