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 35532
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 4957 . . . 4 ∪ 𝑥 ∈ 𝐴 𝐵 = {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵}
2 notnotb 318 . . . . . . . 8 (𝐴 = ∅ ↔ ¬ ¬ 𝐴 = ∅)
3 neq0 4301 . . . . . . . 8 (¬ 𝐴 = ∅ ↔ ∃𝑥 𝑥 ∈ 𝐴)
42, 3xchbinx 337 . . . . . . 7 (𝐴 = ∅ ↔ ¬ ∃𝑥 𝑥 ∈ 𝐴)
5 df-rex 3094 . . . . . . . . 9 (∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ↔ ∃𝑥(𝑥 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵))
6 exsimpl 1903 . . . . . . . . 9 (∃𝑥(𝑥 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → ∃𝑥 𝑥 ∈ 𝐴)
75, 6sylbi 220 . . . . . . . 8 (∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 → ∃𝑥 𝑥 ∈ 𝐴)
87con3i 155 . . . . . . 7 (¬ ∃𝑥 𝑥 ∈ 𝐴 → ¬ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
94, 8sylbi 220 . . . . . 6 (𝐴 = ∅ → ¬ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
109alrimiv 1964 . . . . 5 (𝐴 = ∅ → ∀𝑧 ¬ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
11 notnotb 318 . . . . . . 7 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅ ↔ ¬ ¬ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅)
12 neq0 4301 . . . . . . . 8 (¬ ∪ 𝑥 ∈ 𝐴 𝐵 = ∅ ↔ ∃𝑧 𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵)
131eqeq1i 2771 . . . . . . . . 9 (∪ 𝑥 ∈ 𝐴 𝐵 = ∅ ↔ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅)
1413notbii 323 . . . . . . . 8 (¬ ∪ 𝑥 ∈ 𝐴 𝐵 = ∅ ↔ ¬ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅)
15 df-iun 4957 . . . . . . . . . 10 ∪ 𝑥 ∈ 𝐴 𝐵 = {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵}
1615eleq2i 2859 . . . . . . . . 9 (𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ↔ 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵})
1716exbii 1883 . . . . . . . 8 (∃𝑧 𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ↔ ∃𝑧 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵})
1812, 14, 173bitr3i 304 . . . . . . 7 (¬ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅ ↔ ∃𝑧 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵})
1911, 18xchbinx 337 . . . . . 6 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅ ↔ ¬ ∃𝑧 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵})
20 alnex 1816 . . . . . 6 (∀𝑧 ¬ 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵} ↔ ¬ ∃𝑧 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵})
21 abid 2748 . . . . . . . 8 (𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵} ↔ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
2221notbii 323 . . . . . . 7 (¬ 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵} ↔ ¬ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
2322albii 1854 . . . . . 6 (∀𝑧 ¬ 𝑧 ∈ {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵} ↔ ∀𝑧 ¬ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
2419, 20, 233bitr2i 302 . . . . 5 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅ ↔ ∀𝑧 ¬ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
2510, 24sylibr 237 . . . 4 (𝐴 = ∅ → {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵} = ∅)
261, 25eqtrid 2813 . . 3 (𝐴 = ∅ → ∪ 𝑥 ∈ 𝐴 𝐵 = ∅)
27 0ss 4352 . . 3 ∅ ⊆ 𝐵
2826, 27eqsstrdi 3956 . 2 (𝐴 = ∅ → ∪ 𝑥 ∈ 𝐴 𝐵 ⊆ 𝐵)
29 iunconst 4965 . . 3 (𝐴 ≠ ∅ → ∪ 𝑥 ∈ 𝐴 𝐵 = 𝐵)
30 eqimss 3970 . . 3 (∪ 𝑥 ∈ 𝐴 𝐵 = 𝐵 → ∪ 𝑥 ∈ 𝐴 𝐵 ⊆ 𝐵)
3129, 30syl 18 . 2 (𝐴 ≠ ∅ → ∪ 𝑥 ∈ 𝐴 𝐵 ⊆ 𝐵)
3228, 31pm2.61ine 3045 1 ∪ 𝑥 ∈ 𝐴 𝐵 ⊆ 𝐵
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∧ wa 401  ∀wal 1570   = wceq 1572  ∃wex 1814   ∈ wcel 2150  {cab 2744   ≠ wne 2962  ∃wrex 3093   ⊆ wss 3899  ∅c0 4280  ∪ ciun 4955
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-12 2219  ax-ext 2738
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2104  df-clab 2745  df-cleq 2758  df-clel 2842  df-ne 2963  df-ral 3084  df-rex 3094  df-v 3455  df-ss 3900  df-dif 4049  df-nul 4281  df-iun 4957
This theorem is used by:  bnj1146  35533  bnj1145  35735  bnj1136  35739
  Copyright terms: Public domain W3C validator