Users' Mathboxes Mathbox for Jonathan Ben-Naim < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bnj1143 Structured version   Visualization version   GIF version

Theorem bnj1143 35420
Description: First-order logic and set theory. (Contributed by Jonathan Ben-Naim, 3-Jun-2011.) (New usage is discouraged.)
Assertion
Ref Expression
bnj1143 ∪ 𝑥 ∈ 𝐴 𝐵 ⊆ 𝐵
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵

Proof of Theorem bnj1143
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-iun 4952 . . . 4 ∪ 𝑥 ∈ 𝐴 𝐵 = {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵}
2 notnotb 318 . . . . . . . 8 (𝐴 = ∅ ↔ ¬ ¬ 𝐴 = ∅)
3 neq0 4298 . . . . . . . 8 (¬ 𝐴 = ∅ ↔ ∃𝑥 𝑥 ∈ 𝐴)
42, 3xchbinx 337 . . . . . . 7 (𝐴 = ∅ ↔ ¬ ∃𝑥 𝑥 ∈ 𝐴)
5 df-rex 3087 . . . . . . . . 9 (∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ↔ ∃𝑥(𝑥 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵))
6 exsimpl 1900 . . . . . . . . 9 (∃𝑥(𝑥 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → ∃𝑥 𝑥 ∈ 𝐴)
75, 6sylbi 220 . . . . . . . 8 (∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 → ∃𝑥 𝑥 ∈ 𝐴)
87con3i 155 . . . . . . 7 (¬ ∃𝑥 𝑥 ∈ 𝐴 → ¬ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
94, 8sylbi 220 . . . . . 6 (𝐴 = ∅ → ¬ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
109alrimiv 1959 . . . . 5 (𝐴 = ∅ → ∀𝑧 ¬ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
11 notnotb 318 . . . . . . 7 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅ ↔ ¬ ¬ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅)
12 neq0 4298 . . . . . . . 8 (¬ ∪ 𝑥 ∈ 𝐴 𝐵 = ∅ ↔ ∃𝑧 𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵)
131eqeq1i 2765 . . . . . . . . 9 (∪ 𝑥 ∈ 𝐴 𝐵 = ∅ ↔ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅)
1413notbii 323 . . . . . . . 8 (¬ ∪ 𝑥 ∈ 𝐴 𝐵 = ∅ ↔ ¬ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅)
15 df-iun 4952 . . . . . . . . . 10 ∪ 𝑥 ∈ 𝐴 𝐵 = {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵}
1615eleq2i 2852 . . . . . . . . 9 (𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ↔ 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵})
1716exbii 1880 . . . . . . . 8 (∃𝑧 𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ↔ ∃𝑧 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵})
1812, 14, 173bitr3i 304 . . . . . . 7 (¬ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅ ↔ ∃𝑧 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵})
1911, 18xchbinx 337 . . . . . 6 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅ ↔ ¬ ∃𝑧 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵})
20 alnex 1813 . . . . . 6 (∀𝑧 ¬ 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵} ↔ ¬ ∃𝑧 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵})
21 abid 2742 . . . . . . . 8 (𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵} ↔ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
2221notbii 323 . . . . . . 7 (¬ 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵} ↔ ¬ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
2322albii 1851 . . . . . 6 (∀𝑧 ¬ 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵} ↔ ∀𝑧 ¬ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
2419, 20, 233bitr2i 302 . . . . 5 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅ ↔ ∀𝑧 ¬ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
2510, 24sylibr 237 . . . 4 (𝐴 = ∅ → {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅)
261, 25eqtrid 2807 . . 3 (𝐴 = ∅ → ∪ 𝑥 ∈ 𝐴 𝐵 = ∅)
27 0ss 4349 . . 3 ∅ ⊆ 𝐵
2826, 27eqsstrdi 3952 . 2 (𝐴 = ∅ → ∪ 𝑥 ∈ 𝐴 𝐵 ⊆ 𝐵)
29 iunconst 4960 . . 3 (𝐴 ≠ ∅ → ∪ 𝑥 ∈ 𝐴 𝐵 = 𝐵)
30 eqimss 3966 . . 3 (∪ 𝑥 ∈ 𝐴 𝐵 = 𝐵 → ∪ 𝑥 ∈ 𝐴 𝐵 ⊆ 𝐵)
3129, 30syl 18 . 2 (𝐴 ≠ ∅ → ∪ 𝑥 ∈ 𝐴 𝐵 ⊆ 𝐵)
3228, 31pm2.61ine 3038 1 ∪ 𝑥 ∈ 𝐴 𝐵 ⊆ 𝐵
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∧ wa 401  ∀wal 1567   = wceq 1569  ∃wex 1811   ∈ wcel 2144  {cab 2738   ≠ wne 2955  ∃wrex 3086   ⊆ wss 3895  ∅c0 4278  ∪ ciun 4950
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-12 2212  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-v 3452  df-ss 3896  df-dif 4047  df-nul 4279  df-iun 4952
This theorem is used by:  bnj1146  35421  bnj1145  35623  bnj1136  35627
  Copyright terms: Public domain W3C validator