| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > djuexb | Structured version Visualization version GIF version | ||
| Description: The disjoint union of two classes is a set iff both classes are sets. (Contributed by Jim Kingdon, 6-Sep-2023.) |
| Ref | Expression |
|---|---|
| djuexb | ⊢ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ↔ (𝐴 ⊔ 𝐵) ∈ V) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | djuex 9824 | . 2 ⊢ ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (𝐴 ⊔ 𝐵) ∈ V) | |
| 2 | df-dju 9817 | . . . . 5 ⊢ (𝐴 ⊔ 𝐵) = (({∅} × 𝐴) ∪ ({1o} × 𝐵)) | |
| 3 | 2 | eleq1i 2828 | . . . 4 ⊢ ((𝐴 ⊔ 𝐵) ∈ V ↔ (({∅} × 𝐴) ∪ ({1o} × 𝐵)) ∈ V) |
| 4 | unexb 7694 | . . . 4 ⊢ ((({∅} × 𝐴) ∈ V ∧ ({1o} × 𝐵) ∈ V) ↔ (({∅} × 𝐴) ∪ ({1o} × 𝐵)) ∈ V) | |
| 5 | 3, 4 | bitr4i 278 | . . 3 ⊢ ((𝐴 ⊔ 𝐵) ∈ V ↔ (({∅} × 𝐴) ∈ V ∧ ({1o} × 𝐵) ∈ V)) |
| 6 | 0nep0 5304 | . . . . . 6 ⊢ ∅ ≠ {∅} | |
| 7 | 6 | necomi 2987 | . . . . 5 ⊢ {∅} ≠ ∅ |
| 8 | rnexg 7846 | . . . . . 6 ⊢ (({∅} × 𝐴) ∈ V → ran ({∅} × 𝐴) ∈ V) | |
| 9 | rnxp 6129 | . . . . . . 7 ⊢ ({∅} ≠ ∅ → ran ({∅} × 𝐴) = 𝐴) | |
| 10 | 9 | eleq1d 2822 | . . . . . 6 ⊢ ({∅} ≠ ∅ → (ran ({∅} × 𝐴) ∈ V ↔ 𝐴 ∈ V)) |
| 11 | 8, 10 | imbitrid 244 | . . . . 5 ⊢ ({∅} ≠ ∅ → (({∅} × 𝐴) ∈ V → 𝐴 ∈ V)) |
| 12 | 7, 11 | ax-mp 5 | . . . 4 ⊢ (({∅} × 𝐴) ∈ V → 𝐴 ∈ V) |
| 13 | 1oex 8409 | . . . . . 6 ⊢ 1o ∈ V | |
| 14 | 13 | snnz 4734 | . . . . 5 ⊢ {1o} ≠ ∅ |
| 15 | rnexg 7846 | . . . . . 6 ⊢ (({1o} × 𝐵) ∈ V → ran ({1o} × 𝐵) ∈ V) | |
| 16 | rnxp 6129 | . . . . . . 7 ⊢ ({1o} ≠ ∅ → ran ({1o} × 𝐵) = 𝐵) | |
| 17 | 16 | eleq1d 2822 | . . . . . 6 ⊢ ({1o} ≠ ∅ → (ran ({1o} × 𝐵) ∈ V ↔ 𝐵 ∈ V)) |
| 18 | 15, 17 | imbitrid 244 | . . . . 5 ⊢ ({1o} ≠ ∅ → (({1o} × 𝐵) ∈ V → 𝐵 ∈ V)) |
| 19 | 14, 18 | ax-mp 5 | . . . 4 ⊢ (({1o} × 𝐵) ∈ V → 𝐵 ∈ V) |
| 20 | 12, 19 | anim12i 614 | . . 3 ⊢ ((({∅} × 𝐴) ∈ V ∧ ({1o} × 𝐵) ∈ V) → (𝐴 ∈ V ∧ 𝐵 ∈ V)) |
| 21 | 5, 20 | sylbi 217 | . 2 ⊢ ((𝐴 ⊔ 𝐵) ∈ V → (𝐴 ∈ V ∧ 𝐵 ∈ V)) |
| 22 | 1, 21 | impbii 209 | 1 ⊢ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ↔ (𝐴 ⊔ 𝐵) ∈ V) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 206 ∧ wa 395 ∈ wcel 2114 ≠ wne 2933 Vcvv 3441 ∪ cun 3900 ∅c0 4286 {csn 4581 × cxp 5623 ran crn 5626 1oc1o 8392 ⊔ cdju 9814 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1797 ax-4 1811 ax-5 1912 ax-6 1969 ax-7 2010 ax-8 2116 ax-9 2124 ax-11 2163 ax-ext 2709 ax-sep 5242 ax-nul 5252 ax-pow 5311 ax-pr 5378 ax-un 7682 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 849 df-3an 1089 df-tru 1545 df-fal 1555 df-ex 1782 df-sb 2069 df-clab 2716 df-cleq 2729 df-clel 2812 df-ne 2934 df-ral 3053 df-rex 3062 df-rab 3401 df-v 3443 df-dif 3905 df-un 3907 df-in 3909 df-ss 3919 df-nul 4287 df-if 4481 df-pw 4557 df-sn 4582 df-pr 4584 df-op 4588 df-uni 4865 df-br 5100 df-opab 5162 df-xp 5631 df-rel 5632 df-cnv 5633 df-dm 5635 df-rn 5636 df-suc 6324 df-1o 8399 df-dju 9817 |
| This theorem is referenced by: djuinf 10103 pwdjudom 10129 |
| Copyright terms: Public domain | W3C validator |