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

Theorem pwsnOLD 4842
Description: Obsolete version of pwsn 4841 as of 14-Apr-2024. Note that the proof is essentially the same once one inlines sssn 4770 in the proof of pwsn 4841. (Contributed by NM, 5-Jun-2006.) (Proof modification is discouraged.) (New usage is discouraged.)
Assertion
Ref Expression
pwsnOLD 𝒫 {𝐴} = {∅, {𝐴}}

Proof of Theorem pwsnOLD
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dfss2 3916 . . . . . . . . 9 (𝑥 ⊆ {𝐴} ↔ ∀𝑦(𝑦𝑥𝑦 ∈ {𝐴}))
2 velsn 4586 . . . . . . . . . . 11 (𝑦 ∈ {𝐴} ↔ 𝑦 = 𝐴)
32imbi2i 335 . . . . . . . . . 10 ((𝑦𝑥𝑦 ∈ {𝐴}) ↔ (𝑦𝑥𝑦 = 𝐴))
43albii 1820 . . . . . . . . 9 (∀𝑦(𝑦𝑥𝑦 ∈ {𝐴}) ↔ ∀𝑦(𝑦𝑥𝑦 = 𝐴))
51, 4bitri 274 . . . . . . . 8 (𝑥 ⊆ {𝐴} ↔ ∀𝑦(𝑦𝑥𝑦 = 𝐴))
6 neq0 4289 . . . . . . . . . 10 𝑥 = ∅ ↔ ∃𝑦 𝑦𝑥)
7 exintr 1894 . . . . . . . . . 10 (∀𝑦(𝑦𝑥𝑦 = 𝐴) → (∃𝑦 𝑦𝑥 → ∃𝑦(𝑦𝑥𝑦 = 𝐴)))
86, 7biimtrid 241 . . . . . . . . 9 (∀𝑦(𝑦𝑥𝑦 = 𝐴) → (¬ 𝑥 = ∅ → ∃𝑦(𝑦𝑥𝑦 = 𝐴)))
9 dfclel 2815 . . . . . . . . . . 11 (𝐴𝑥 ↔ ∃𝑦(𝑦 = 𝐴𝑦𝑥))
10 exancom 1863 . . . . . . . . . . 11 (∃𝑦(𝑦 = 𝐴𝑦𝑥) ↔ ∃𝑦(𝑦𝑥𝑦 = 𝐴))
119, 10bitr2i 275 . . . . . . . . . 10 (∃𝑦(𝑦𝑥𝑦 = 𝐴) ↔ 𝐴𝑥)
12 snssi 4752 . . . . . . . . . 10 (𝐴𝑥 → {𝐴} ⊆ 𝑥)
1311, 12sylbi 216 . . . . . . . . 9 (∃𝑦(𝑦𝑥𝑦 = 𝐴) → {𝐴} ⊆ 𝑥)
148, 13syl6 35 . . . . . . . 8 (∀𝑦(𝑦𝑥𝑦 = 𝐴) → (¬ 𝑥 = ∅ → {𝐴} ⊆ 𝑥))
155, 14sylbi 216 . . . . . . 7 (𝑥 ⊆ {𝐴} → (¬ 𝑥 = ∅ → {𝐴} ⊆ 𝑥))
1615anc2li 556 . . . . . 6 (𝑥 ⊆ {𝐴} → (¬ 𝑥 = ∅ → (𝑥 ⊆ {𝐴} ∧ {𝐴} ⊆ 𝑥)))
17 eqss 3945 . . . . . 6 (𝑥 = {𝐴} ↔ (𝑥 ⊆ {𝐴} ∧ {𝐴} ⊆ 𝑥))
1816, 17syl6ibr 251 . . . . 5 (𝑥 ⊆ {𝐴} → (¬ 𝑥 = ∅ → 𝑥 = {𝐴}))
1918orrd 860 . . . 4 (𝑥 ⊆ {𝐴} → (𝑥 = ∅ ∨ 𝑥 = {𝐴}))
20 0ss 4340 . . . . . 6 ∅ ⊆ {𝐴}
21 sseq1 3955 . . . . . 6 (𝑥 = ∅ → (𝑥 ⊆ {𝐴} ↔ ∅ ⊆ {𝐴}))
2220, 21mpbiri 257 . . . . 5 (𝑥 = ∅ → 𝑥 ⊆ {𝐴})
23 eqimss 3986 . . . . 5 (𝑥 = {𝐴} → 𝑥 ⊆ {𝐴})
2422, 23jaoi 854 . . . 4 ((𝑥 = ∅ ∨ 𝑥 = {𝐴}) → 𝑥 ⊆ {𝐴})
2519, 24impbii 208 . . 3 (𝑥 ⊆ {𝐴} ↔ (𝑥 = ∅ ∨ 𝑥 = {𝐴}))
2625abbii 2806 . 2 {𝑥𝑥 ⊆ {𝐴}} = {𝑥 ∣ (𝑥 = ∅ ∨ 𝑥 = {𝐴})}
27 df-pw 4546 . 2 𝒫 {𝐴} = {𝑥𝑥 ⊆ {𝐴}}
28 dfpr2 4589 . 2 {∅, {𝐴}} = {𝑥 ∣ (𝑥 = ∅ ∨ 𝑥 = {𝐴})}
2926, 27, 283eqtr4i 2774 1 𝒫 {𝐴} = {∅, {𝐴}}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396  wo 844  wal 1538   = wceq 1540  wex 1780  wcel 2105  {cab 2713  wss 3896  c0 4266  𝒫 cpw 4544  {csn 4570  {cpr 4572
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-ext 2707
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1543  df-fal 1553  df-ex 1781  df-sb 2067  df-clab 2714  df-cleq 2728  df-clel 2814  df-v 3442  df-dif 3899  df-un 3901  df-in 3903  df-ss 3913  df-nul 4267  df-pw 4546  df-sn 4571  df-pr 4573
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator