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 35487
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 4956 . . . 4 ∪ 𝑥 ∈ 𝐴 𝐵 = {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵}
2 notnotb 318 . . . . . . . 8 (𝐴 = ∅ ↔ ¬ ¬ 𝐴 = ∅)
3 neq0 4302 . . . . . . . 8 (¬ 𝐴 = ∅ ↔ ∃𝑥 𝑥 ∈ 𝐴)
42, 3xchbinx 337 . . . . . . 7 (𝐴 = ∅ ↔ ¬ ∃𝑥 𝑥 ∈ 𝐴)
5 df-rex 3091 . . . . . . . . 9 (∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ↔ ∃𝑥(𝑥 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵))
6 exsimpl 1901 . . . . . . . . 9 (∃𝑥(𝑥 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → ∃𝑥 𝑥 ∈ 𝐴)
75, 6sylbi 220 . . . . . . . 8 (∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 → ∃𝑥 𝑥 ∈ 𝐴)
87con3i 155 . . . . . . 7 (¬ ∃𝑥 𝑥 ∈ 𝐴 → ¬ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
94, 8sylbi 220 . . . . . 6 (𝐴 = ∅ → ¬ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
109alrimiv 1962 . . . . 5 (𝐴 = ∅ → ∀𝑧 ¬ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
11 notnotb 318 . . . . . . 7 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅ ↔ ¬ ¬ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅)
12 neq0 4302 . . . . . . . 8 (¬ ∪ 𝑥 ∈ 𝐴 𝐵 = ∅ ↔ ∃𝑧 𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵)
131eqeq1i 2768 . . . . . . . . 9 (∪ 𝑥 ∈ 𝐴 𝐵 = ∅ ↔ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅)
1413notbii 323 . . . . . . . 8 (¬ ∪ 𝑥 ∈ 𝐴 𝐵 = ∅ ↔ ¬ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅)
15 df-iun 4956 . . . . . . . . . 10 ∪ 𝑥 ∈ 𝐴 𝐵 = {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵}
1615eleq2i 2856 . . . . . . . . 9 (𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ↔ 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵})
1716exbii 1881 . . . . . . . 8 (∃𝑧 𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ↔ ∃𝑧 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵})
1812, 14, 173bitr3i 304 . . . . . . 7 (¬ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅ ↔ ∃𝑧 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵})
1911, 18xchbinx 337 . . . . . 6 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅ ↔ ¬ ∃𝑧 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵})
20 alnex 1814 . . . . . 6 (∀𝑧 ¬ 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵} ↔ ¬ ∃𝑧 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵})
21 abid 2745 . . . . . . . 8 (𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵} ↔ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
2221notbii 323 . . . . . . 7 (¬ 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵} ↔ ¬ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
2322albii 1852 . . . . . 6 (∀𝑧 ¬ 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵} ↔ ∀𝑧 ¬ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
2419, 20, 233bitr2i 302 . . . . 5 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅ ↔ ∀𝑧 ¬ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
2510, 24sylibr 237 . . . 4 (𝐴 = ∅ → {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅)
261, 25eqtrid 2810 . . 3 (𝐴 = ∅ → ∪ 𝑥 ∈ 𝐴 𝐵 = ∅)
27 0ss 4353 . . 3 ∅ ⊆ 𝐵
2826, 27eqsstrdi 3957 . 2 (𝐴 = ∅ → ∪ 𝑥 ∈ 𝐴 𝐵 ⊆ 𝐵)
29 iunconst 4964 . . 3 (𝐴 ≠ ∅ → ∪ 𝑥 ∈ 𝐴 𝐵 = 𝐵)
30 eqimss 3971 . . 3 (∪ 𝑥 ∈ 𝐴 𝐵 = 𝐵 → ∪ 𝑥 ∈ 𝐴 𝐵 ⊆ 𝐵)
3129, 30syl 18 . 2 (𝐴 ≠ ∅ → ∪ 𝑥 ∈ 𝐴 𝐵 ⊆ 𝐵)
3228, 31pm2.61ine 3042 1 ∪ 𝑥 ∈ 𝐴 𝐵 ⊆ 𝐵
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∧ wa 401  ∀wal 1568   = wceq 1570  ∃wex 1812   ∈ wcel 2147  {cab 2741   ≠ wne 2959  ∃wrex 3090   ⊆ wss 3900  ∅c0 4281  ∪ ciun 4954
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-12 2216  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-rex 3091  df-v 3456  df-ss 3901  df-dif 4050  df-nul 4282  df-iun 4956
This theorem is used by:  bnj1146  35488  bnj1145  35690  bnj1136  35694
  Copyright terms: Public domain W3C validator