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

Theorem pwsnOLD 4829
Description: Obsolete version of pwsn 4828 as of 14-Apr-2024. Note that the proof is essentially the same once one inlines sssn 4756 in the proof of pwsn 4828. (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 3903 . . . . . . . . 9 (𝑥 ⊆ {𝐴} ↔ ∀𝑦(𝑦𝑥𝑦 ∈ {𝐴}))
2 velsn 4574 . . . . . . . . . . 11 (𝑦 ∈ {𝐴} ↔ 𝑦 = 𝐴)
32imbi2i 335 . . . . . . . . . 10 ((𝑦𝑥𝑦 ∈ {𝐴}) ↔ (𝑦𝑥𝑦 = 𝐴))
43albii 1823 . . . . . . . . 9 (∀𝑦(𝑦𝑥𝑦 ∈ {𝐴}) ↔ ∀𝑦(𝑦𝑥𝑦 = 𝐴))
51, 4bitri 274 . . . . . . . 8 (𝑥 ⊆ {𝐴} ↔ ∀𝑦(𝑦𝑥𝑦 = 𝐴))
6 neq0 4276 . . . . . . . . . 10 𝑥 = ∅ ↔ ∃𝑦 𝑦𝑥)
7 exintr 1896 . . . . . . . . . 10 (∀𝑦(𝑦𝑥𝑦 = 𝐴) → (∃𝑦 𝑦𝑥 → ∃𝑦(𝑦𝑥𝑦 = 𝐴)))
86, 7syl5bi 241 . . . . . . . . 9 (∀𝑦(𝑦𝑥𝑦 = 𝐴) → (¬ 𝑥 = ∅ → ∃𝑦(𝑦𝑥𝑦 = 𝐴)))
9 dfclel 2818 . . . . . . . . . . 11 (𝐴𝑥 ↔ ∃𝑦(𝑦 = 𝐴𝑦𝑥))
10 exancom 1865 . . . . . . . . . . 11 (∃𝑦(𝑦 = 𝐴𝑦𝑥) ↔ ∃𝑦(𝑦𝑥𝑦 = 𝐴))
119, 10bitr2i 275 . . . . . . . . . 10 (∃𝑦(𝑦𝑥𝑦 = 𝐴) ↔ 𝐴𝑥)
12 snssi 4738 . . . . . . . . . 10 (𝐴𝑥 → {𝐴} ⊆ 𝑥)
1311, 12sylbi 216 . . . . . . . . 9 (∃𝑦(𝑦𝑥𝑦 = 𝐴) → {𝐴} ⊆ 𝑥)
148, 13syl6 35 . . . . . . . 8 (∀𝑦(𝑦𝑥𝑦 = 𝐴) → (¬ 𝑥 = ∅ → {𝐴} ⊆ 𝑥))
155, 14sylbi 216 . . . . . . 7 (𝑥 ⊆ {𝐴} → (¬ 𝑥 = ∅ → {𝐴} ⊆ 𝑥))
1615anc2li 555 . . . . . 6 (𝑥 ⊆ {𝐴} → (¬ 𝑥 = ∅ → (𝑥 ⊆ {𝐴} ∧ {𝐴} ⊆ 𝑥)))
17 eqss 3932 . . . . . 6 (𝑥 = {𝐴} ↔ (𝑥 ⊆ {𝐴} ∧ {𝐴} ⊆ 𝑥))
1816, 17syl6ibr 251 . . . . 5 (𝑥 ⊆ {𝐴} → (¬ 𝑥 = ∅ → 𝑥 = {𝐴}))
1918orrd 859 . . . 4 (𝑥 ⊆ {𝐴} → (𝑥 = ∅ ∨ 𝑥 = {𝐴}))
20 0ss 4327 . . . . . 6 ∅ ⊆ {𝐴}
21 sseq1 3942 . . . . . 6 (𝑥 = ∅ → (𝑥 ⊆ {𝐴} ↔ ∅ ⊆ {𝐴}))
2220, 21mpbiri 257 . . . . 5 (𝑥 = ∅ → 𝑥 ⊆ {𝐴})
23 eqimss 3973 . . . . 5 (𝑥 = {𝐴} → 𝑥 ⊆ {𝐴})
2422, 23jaoi 853 . . . 4 ((𝑥 = ∅ ∨ 𝑥 = {𝐴}) → 𝑥 ⊆ {𝐴})
2519, 24impbii 208 . . 3 (𝑥 ⊆ {𝐴} ↔ (𝑥 = ∅ ∨ 𝑥 = {𝐴}))
2625abbii 2809 . 2 {𝑥𝑥 ⊆ {𝐴}} = {𝑥 ∣ (𝑥 = ∅ ∨ 𝑥 = {𝐴})}
27 df-pw 4532 . 2 𝒫 {𝐴} = {𝑥𝑥 ⊆ {𝐴}}
28 dfpr2 4577 . 2 {∅, {𝐴}} = {𝑥 ∣ (𝑥 = ∅ ∨ 𝑥 = {𝐴})}
2926, 27, 283eqtr4i 2776 1 𝒫 {𝐴} = {∅, {𝐴}}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  wo 843  wal 1537   = wceq 1539  wex 1783  wcel 2108  {cab 2715  wss 3883  c0 4253  𝒫 cpw 4530  {csn 4558  {cpr 4560
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-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  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
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator