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 34802
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 4941 . . . 4 𝑥𝐴 𝐵 = {𝑦 ∣ ∃𝑥𝐴 𝑦𝐵}
2 notnotb 315 . . . . . . . 8 (𝐴 = ∅ ↔ ¬ ¬ 𝐴 = ∅)
3 neq0 4299 . . . . . . . 8 𝐴 = ∅ ↔ ∃𝑥 𝑥𝐴)
42, 3xchbinx 334 . . . . . . 7 (𝐴 = ∅ ↔ ¬ ∃𝑥 𝑥𝐴)
5 df-rex 3057 . . . . . . . . 9 (∃𝑥𝐴 𝑧𝐵 ↔ ∃𝑥(𝑥𝐴𝑧𝐵))
6 exsimpl 1869 . . . . . . . . 9 (∃𝑥(𝑥𝐴𝑧𝐵) → ∃𝑥 𝑥𝐴)
75, 6sylbi 217 . . . . . . . 8 (∃𝑥𝐴 𝑧𝐵 → ∃𝑥 𝑥𝐴)
87con3i 154 . . . . . . 7 (¬ ∃𝑥 𝑥𝐴 → ¬ ∃𝑥𝐴 𝑧𝐵)
94, 8sylbi 217 . . . . . 6 (𝐴 = ∅ → ¬ ∃𝑥𝐴 𝑧𝐵)
109alrimiv 1928 . . . . 5 (𝐴 = ∅ → ∀𝑧 ¬ ∃𝑥𝐴 𝑧𝐵)
11 notnotb 315 . . . . . . 7 ({𝑦 ∣ ∃𝑥𝐴 𝑦𝐵} = ∅ ↔ ¬ ¬ {𝑦 ∣ ∃𝑥𝐴 𝑦𝐵} = ∅)
12 neq0 4299 . . . . . . . 8 𝑥𝐴 𝐵 = ∅ ↔ ∃𝑧 𝑧 𝑥𝐴 𝐵)
131eqeq1i 2736 . . . . . . . . 9 ( 𝑥𝐴 𝐵 = ∅ ↔ {𝑦 ∣ ∃𝑥𝐴 𝑦𝐵} = ∅)
1413notbii 320 . . . . . . . 8 𝑥𝐴 𝐵 = ∅ ↔ ¬ {𝑦 ∣ ∃𝑥𝐴 𝑦𝐵} = ∅)
15 df-iun 4941 . . . . . . . . . 10 𝑥𝐴 𝐵 = {𝑧 ∣ ∃𝑥𝐴 𝑧𝐵}
1615eleq2i 2823 . . . . . . . . 9 (𝑧 𝑥𝐴 𝐵𝑧 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧𝐵})
1716exbii 1849 . . . . . . . 8 (∃𝑧 𝑧 𝑥𝐴 𝐵 ↔ ∃𝑧 𝑧 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧𝐵})
1812, 14, 173bitr3i 301 . . . . . . 7 (¬ {𝑦 ∣ ∃𝑥𝐴 𝑦𝐵} = ∅ ↔ ∃𝑧 𝑧 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧𝐵})
1911, 18xchbinx 334 . . . . . 6 ({𝑦 ∣ ∃𝑥𝐴 𝑦𝐵} = ∅ ↔ ¬ ∃𝑧 𝑧 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧𝐵})
20 alnex 1782 . . . . . 6 (∀𝑧 ¬ 𝑧 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧𝐵} ↔ ¬ ∃𝑧 𝑧 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧𝐵})
21 abid 2713 . . . . . . . 8 (𝑧 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧𝐵} ↔ ∃𝑥𝐴 𝑧𝐵)
2221notbii 320 . . . . . . 7 𝑧 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧𝐵} ↔ ¬ ∃𝑥𝐴 𝑧𝐵)
2322albii 1820 . . . . . 6 (∀𝑧 ¬ 𝑧 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧𝐵} ↔ ∀𝑧 ¬ ∃𝑥𝐴 𝑧𝐵)
2419, 20, 233bitr2i 299 . . . . 5 ({𝑦 ∣ ∃𝑥𝐴 𝑦𝐵} = ∅ ↔ ∀𝑧 ¬ ∃𝑥𝐴 𝑧𝐵)
2510, 24sylibr 234 . . . 4 (𝐴 = ∅ → {𝑦 ∣ ∃𝑥𝐴 𝑦𝐵} = ∅)
261, 25eqtrid 2778 . . 3 (𝐴 = ∅ → 𝑥𝐴 𝐵 = ∅)
27 0ss 4347 . . 3 ∅ ⊆ 𝐵
2826, 27eqsstrdi 3974 . 2 (𝐴 = ∅ → 𝑥𝐴 𝐵𝐵)
29 iunconst 4949 . . 3 (𝐴 ≠ ∅ → 𝑥𝐴 𝐵 = 𝐵)
30 eqimss 3988 . . 3 ( 𝑥𝐴 𝐵 = 𝐵 𝑥𝐴 𝐵𝐵)
3129, 30syl 17 . 2 (𝐴 ≠ ∅ → 𝑥𝐴 𝐵𝐵)
3228, 31pm2.61ine 3011 1 𝑥𝐴 𝐵𝐵
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 395  wal 1539   = wceq 1541  wex 1780  wcel 2111  {cab 2709  wne 2928  wrex 3056  wss 3897  c0 4280   ciun 4939
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2113  ax-9 2121  ax-12 2180  ax-ext 2703
This theorem depends on definitions:  df-bi 207  df-an 396  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-clab 2710  df-cleq 2723  df-clel 2806  df-ne 2929  df-ral 3048  df-rex 3057  df-v 3438  df-dif 3900  df-ss 3914  df-nul 4281  df-iun 4941
This theorem is referenced by:  bnj1146  34803  bnj1145  35005  bnj1136  35009
  Copyright terms: Public domain W3C validator