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

Theorem pwssun 5456
Description: The power class of the union of two classes is a subset of the union of their power classes, iff one class is a subclass of the other. Exercise 4.12(l) of [Mendelson] p. 235. (Contributed by NM, 23-Nov-2003.)
Assertion
Ref Expression
pwssun ((𝐴𝐵𝐵𝐴) ↔ 𝒫 (𝐴𝐵) ⊆ (𝒫 𝐴 ∪ 𝒫 𝐵))

Proof of Theorem pwssun
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ssequn2 4102 . . . . . 6 (𝐵𝐴 ↔ (𝐴𝐵) = 𝐴)
2 pweq 4534 . . . . . . 7 ((𝐴𝐵) = 𝐴 → 𝒫 (𝐴𝐵) = 𝒫 𝐴)
3 eqimss 3962 . . . . . . 7 (𝒫 (𝐴𝐵) = 𝒫 𝐴 → 𝒫 (𝐴𝐵) ⊆ 𝒫 𝐴)
42, 3syl 17 . . . . . 6 ((𝐴𝐵) = 𝐴 → 𝒫 (𝐴𝐵) ⊆ 𝒫 𝐴)
51, 4sylbi 220 . . . . 5 (𝐵𝐴 → 𝒫 (𝐴𝐵) ⊆ 𝒫 𝐴)
6 ssequn1 4099 . . . . . 6 (𝐴𝐵 ↔ (𝐴𝐵) = 𝐵)
7 pweq 4534 . . . . . . 7 ((𝐴𝐵) = 𝐵 → 𝒫 (𝐴𝐵) = 𝒫 𝐵)
8 eqimss 3962 . . . . . . 7 (𝒫 (𝐴𝐵) = 𝒫 𝐵 → 𝒫 (𝐴𝐵) ⊆ 𝒫 𝐵)
97, 8syl 17 . . . . . 6 ((𝐴𝐵) = 𝐵 → 𝒫 (𝐴𝐵) ⊆ 𝒫 𝐵)
106, 9sylbi 220 . . . . 5 (𝐴𝐵 → 𝒫 (𝐴𝐵) ⊆ 𝒫 𝐵)
115, 10orim12i 909 . . . 4 ((𝐵𝐴𝐴𝐵) → (𝒫 (𝐴𝐵) ⊆ 𝒫 𝐴 ∨ 𝒫 (𝐴𝐵) ⊆ 𝒫 𝐵))
1211orcoms 872 . . 3 ((𝐴𝐵𝐵𝐴) → (𝒫 (𝐴𝐵) ⊆ 𝒫 𝐴 ∨ 𝒫 (𝐴𝐵) ⊆ 𝒫 𝐵))
13 ssun 4108 . . 3 ((𝒫 (𝐴𝐵) ⊆ 𝒫 𝐴 ∨ 𝒫 (𝐴𝐵) ⊆ 𝒫 𝐵) → 𝒫 (𝐴𝐵) ⊆ (𝒫 𝐴 ∪ 𝒫 𝐵))
1412, 13syl 17 . 2 ((𝐴𝐵𝐵𝐴) → 𝒫 (𝐴𝐵) ⊆ (𝒫 𝐴 ∪ 𝒫 𝐵))
15 vex 3417 . . . . . . . . . . . . . . . . . . . 20 𝑥 ∈ V
1615snss 4704 . . . . . . . . . . . . . . . . . . 19 (𝑥𝐴 ↔ {𝑥} ⊆ 𝐴)
17 vex 3417 . . . . . . . . . . . . . . . . . . . 20 𝑦 ∈ V
1817snss 4704 . . . . . . . . . . . . . . . . . . 19 (𝑦𝐵 ↔ {𝑦} ⊆ 𝐵)
19 unss12 4101 . . . . . . . . . . . . . . . . . . 19 (({𝑥} ⊆ 𝐴 ∧ {𝑦} ⊆ 𝐵) → ({𝑥} ∪ {𝑦}) ⊆ (𝐴𝐵))
2016, 18, 19syl2anb 601 . . . . . . . . . . . . . . . . . 18 ((𝑥𝐴𝑦𝐵) → ({𝑥} ∪ {𝑦}) ⊆ (𝐴𝐵))
21 zfpair2 5328 . . . . . . . . . . . . . . . . . . . 20 {𝑥, 𝑦} ∈ V
2221elpw 4522 . . . . . . . . . . . . . . . . . . 19 ({𝑥, 𝑦} ∈ 𝒫 (𝐴𝐵) ↔ {𝑥, 𝑦} ⊆ (𝐴𝐵))
23 df-pr 4549 . . . . . . . . . . . . . . . . . . . 20 {𝑥, 𝑦} = ({𝑥} ∪ {𝑦})
2423sseq1i 3934 . . . . . . . . . . . . . . . . . . 19 ({𝑥, 𝑦} ⊆ (𝐴𝐵) ↔ ({𝑥} ∪ {𝑦}) ⊆ (𝐴𝐵))
2522, 24bitr2i 279 . . . . . . . . . . . . . . . . . 18 (({𝑥} ∪ {𝑦}) ⊆ (𝐴𝐵) ↔ {𝑥, 𝑦} ∈ 𝒫 (𝐴𝐵))
2620, 25sylib 221 . . . . . . . . . . . . . . . . 17 ((𝑥𝐴𝑦𝐵) → {𝑥, 𝑦} ∈ 𝒫 (𝐴𝐵))
27 ssel 3898 . . . . . . . . . . . . . . . . 17 (𝒫 (𝐴𝐵) ⊆ (𝒫 𝐴 ∪ 𝒫 𝐵) → ({𝑥, 𝑦} ∈ 𝒫 (𝐴𝐵) → {𝑥, 𝑦} ∈ (𝒫 𝐴 ∪ 𝒫 𝐵)))
2826, 27syl5 34 . . . . . . . . . . . . . . . 16 (𝒫 (𝐴𝐵) ⊆ (𝒫 𝐴 ∪ 𝒫 𝐵) → ((𝑥𝐴𝑦𝐵) → {𝑥, 𝑦} ∈ (𝒫 𝐴 ∪ 𝒫 𝐵)))
2928expcomd 420 . . . . . . . . . . . . . . 15 (𝒫 (𝐴𝐵) ⊆ (𝒫 𝐴 ∪ 𝒫 𝐵) → (𝑦𝐵 → (𝑥𝐴 → {𝑥, 𝑦} ∈ (𝒫 𝐴 ∪ 𝒫 𝐵))))
3029imp31 421 . . . . . . . . . . . . . 14 (((𝒫 (𝐴𝐵) ⊆ (𝒫 𝐴 ∪ 𝒫 𝐵) ∧ 𝑦𝐵) ∧ 𝑥𝐴) → {𝑥, 𝑦} ∈ (𝒫 𝐴 ∪ 𝒫 𝐵))
31 elun 4068 . . . . . . . . . . . . . 14 ({𝑥, 𝑦} ∈ (𝒫 𝐴 ∪ 𝒫 𝐵) ↔ ({𝑥, 𝑦} ∈ 𝒫 𝐴 ∨ {𝑥, 𝑦} ∈ 𝒫 𝐵))
3230, 31sylib 221 . . . . . . . . . . . . 13 (((𝒫 (𝐴𝐵) ⊆ (𝒫 𝐴 ∪ 𝒫 𝐵) ∧ 𝑦𝐵) ∧ 𝑥𝐴) → ({𝑥, 𝑦} ∈ 𝒫 𝐴 ∨ {𝑥, 𝑦} ∈ 𝒫 𝐵))
3321elpw 4522 . . . . . . . . . . . . . . . 16 ({𝑥, 𝑦} ∈ 𝒫 𝐴 ↔ {𝑥, 𝑦} ⊆ 𝐴)
3415, 17prss 4738 . . . . . . . . . . . . . . . 16 ((𝑥𝐴𝑦𝐴) ↔ {𝑥, 𝑦} ⊆ 𝐴)
3533, 34bitr4i 281 . . . . . . . . . . . . . . 15 ({𝑥, 𝑦} ∈ 𝒫 𝐴 ↔ (𝑥𝐴𝑦𝐴))
3635simprbi 500 . . . . . . . . . . . . . 14 ({𝑥, 𝑦} ∈ 𝒫 𝐴𝑦𝐴)
3721elpw 4522 . . . . . . . . . . . . . . . 16 ({𝑥, 𝑦} ∈ 𝒫 𝐵 ↔ {𝑥, 𝑦} ⊆ 𝐵)
3815, 17prss 4738 . . . . . . . . . . . . . . . 16 ((𝑥𝐵𝑦𝐵) ↔ {𝑥, 𝑦} ⊆ 𝐵)
3937, 38bitr4i 281 . . . . . . . . . . . . . . 15 ({𝑥, 𝑦} ∈ 𝒫 𝐵 ↔ (𝑥𝐵𝑦𝐵))
4039simplbi 501 . . . . . . . . . . . . . 14 ({𝑥, 𝑦} ∈ 𝒫 𝐵𝑥𝐵)
4136, 40orim12i 909 . . . . . . . . . . . . 13 (({𝑥, 𝑦} ∈ 𝒫 𝐴 ∨ {𝑥, 𝑦} ∈ 𝒫 𝐵) → (𝑦𝐴𝑥𝐵))
4232, 41syl 17 . . . . . . . . . . . 12 (((𝒫 (𝐴𝐵) ⊆ (𝒫 𝐴 ∪ 𝒫 𝐵) ∧ 𝑦𝐵) ∧ 𝑥𝐴) → (𝑦𝐴𝑥𝐵))
4342ord 864 . . . . . . . . . . 11 (((𝒫 (𝐴𝐵) ⊆ (𝒫 𝐴 ∪ 𝒫 𝐵) ∧ 𝑦𝐵) ∧ 𝑥𝐴) → (¬ 𝑦𝐴𝑥𝐵))
4443impancom 455 . . . . . . . . . 10 (((𝒫 (𝐴𝐵) ⊆ (𝒫 𝐴 ∪ 𝒫 𝐵) ∧ 𝑦𝐵) ∧ ¬ 𝑦𝐴) → (𝑥𝐴𝑥𝐵))
4544ssrdv 3912 . . . . . . . . 9 (((𝒫 (𝐴𝐵) ⊆ (𝒫 𝐴 ∪ 𝒫 𝐵) ∧ 𝑦𝐵) ∧ ¬ 𝑦𝐴) → 𝐴𝐵)
4645exp31 423 . . . . . . . 8 (𝒫 (𝐴𝐵) ⊆ (𝒫 𝐴 ∪ 𝒫 𝐵) → (𝑦𝐵 → (¬ 𝑦𝐴𝐴𝐵)))
47 con1b 362 . . . . . . . 8 ((¬ 𝑦𝐴𝐴𝐵) ↔ (¬ 𝐴𝐵𝑦𝐴))
4846, 47syl6ib 254 . . . . . . 7 (𝒫 (𝐴𝐵) ⊆ (𝒫 𝐴 ∪ 𝒫 𝐵) → (𝑦𝐵 → (¬ 𝐴𝐵𝑦𝐴)))
4948com23 86 . . . . . 6 (𝒫 (𝐴𝐵) ⊆ (𝒫 𝐴 ∪ 𝒫 𝐵) → (¬ 𝐴𝐵 → (𝑦𝐵𝑦𝐴)))
5049imp 410 . . . . 5 ((𝒫 (𝐴𝐵) ⊆ (𝒫 𝐴 ∪ 𝒫 𝐵) ∧ ¬ 𝐴𝐵) → (𝑦𝐵𝑦𝐴))
5150ssrdv 3912 . . . 4 ((𝒫 (𝐴𝐵) ⊆ (𝒫 𝐴 ∪ 𝒫 𝐵) ∧ ¬ 𝐴𝐵) → 𝐵𝐴)
5251ex 416 . . 3 (𝒫 (𝐴𝐵) ⊆ (𝒫 𝐴 ∪ 𝒫 𝐵) → (¬ 𝐴𝐵𝐵𝐴))
5352orrd 863 . 2 (𝒫 (𝐴𝐵) ⊆ (𝒫 𝐴 ∪ 𝒫 𝐵) → (𝐴𝐵𝐵𝐴))
5414, 53impbii 212 1 ((𝐴𝐵𝐵𝐴) ↔ 𝒫 (𝐴𝐵) ⊆ (𝒫 𝐴 ∪ 𝒫 𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wo 847   = wceq 1543  wcel 2110  cun 3869  wss 3871  𝒫 cpw 4518  {csn 4546  {cpr 4548
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 2016  ax-8 2112  ax-9 2120  ax-ext 2708  ax-sep 5197  ax-pr 5327
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-tru 1546  df-ex 1788  df-sb 2071  df-clab 2715  df-cleq 2729  df-clel 2816  df-v 3415  df-un 3876  df-in 3878  df-ss 3888  df-pw 4520  df-sn 4547  df-pr 4549
This theorem is referenced by:  pwun  5458
  Copyright terms: Public domain W3C validator