MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  exss Structured version   Visualization version   GIF version

Theorem exss 5430
Description: Restricted existence in a class (even if proper) implies restricted existence in a subset. (Contributed by NM, 23-Aug-2003.)
Assertion
Ref Expression
exss (∃𝑥 ∈ 𝐴 𝜑 → ∃𝑦(𝑦 ⊆ 𝐴 ∧ ∃𝑥 ∈ 𝑦 𝜑))
Distinct variable groups:   𝑥,𝑦,𝐴   𝜑,𝑦
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem exss
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 df-rab 3413 . . . 4 {𝑥 ∈ 𝐴 ∣ 𝜑} = {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)}
21neeq1i 3019 . . 3 ({𝑥 ∈ 𝐴 ∣ 𝜑} ≠ ∅ ↔ {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ≠ ∅)
3 rabn0 4338 . . 3 ({𝑥 ∈ 𝐴 ∣ 𝜑} ≠ ∅ ↔ ∃𝑥 ∈ 𝐴 𝜑)
4 n0 4299 . . 3 ({𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ≠ ∅ ↔ ∃𝑧 𝑧 ∈ {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)})
52, 3, 43bitr3i 304 . 2 (∃𝑥 ∈ 𝐴 𝜑 ↔ ∃𝑧 𝑧 ∈ {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)})
6 vex 3454 . . . . . 6 𝑧 ∈ V
76snss 4741 . . . . 5 (𝑧 ∈ {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ↔ {𝑧} ⊆ {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)})
8 ssab2 4004 . . . . . 6 {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ⊆ 𝐴
9 sstr2 3915 . . . . . 6 ({𝑧} ⊆ {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} → ({𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ⊆ 𝐴 → {𝑧} ⊆ 𝐴))
108, 9mpi 21 . . . . 5 ({𝑧} ⊆ {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} → {𝑧} ⊆ 𝐴)
117, 10sylbi 220 . . . 4 (𝑧 ∈ {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} → {𝑧} ⊆ 𝐴)
12 simpr 490 . . . . . . . 8 (([𝑧 / 𝑥]𝑥 ∈ 𝐴 ∧ [𝑧 / 𝑥]𝜑) → [𝑧 / 𝑥]𝜑)
13 equsb1v 2141 . . . . . . . . 9 [𝑧 / 𝑥]𝑥 = 𝑧
14 velsn 4596 . . . . . . . . . 10 (𝑥 ∈ {𝑧} ↔ 𝑥 = 𝑧)
1514sbbii 2112 . . . . . . . . 9 ([𝑧 / 𝑥]𝑥 ∈ {𝑧} ↔ [𝑧 / 𝑥]𝑥 = 𝑧)
1613, 15mpbir 234 . . . . . . . 8 [𝑧 / 𝑥]𝑥 ∈ {𝑧}
1712, 16jctil 529 . . . . . . 7 (([𝑧 / 𝑥]𝑥 ∈ 𝐴 ∧ [𝑧 / 𝑥]𝜑) → ([𝑧 / 𝑥]𝑥 ∈ {𝑧} ∧ [𝑧 / 𝑥]𝜑))
18 df-clab 2739 . . . . . . . 8 (𝑧 ∈ {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ↔ [𝑧 / 𝑥](𝑥 ∈ 𝐴 ∧ 𝜑))
19 sban 2116 . . . . . . . 8 ([𝑧 / 𝑥](𝑥 ∈ 𝐴 ∧ 𝜑) ↔ ([𝑧 / 𝑥]𝑥 ∈ 𝐴 ∧ [𝑧 / 𝑥]𝜑))
2018, 19bitri 278 . . . . . . 7 (𝑧 ∈ {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} ↔ ([𝑧 / 𝑥]𝑥 ∈ 𝐴 ∧ [𝑧 / 𝑥]𝜑))
21 df-rab 3413 . . . . . . . . 9 {𝑥 ∈ {𝑧} ∣ 𝜑} = {𝑥 ∣ (𝑥 ∈ {𝑧} ∧ 𝜑)}
2221eleq2i 2852 . . . . . . . 8 (𝑧 ∈ {𝑥 ∈ {𝑧} ∣ 𝜑} ↔ 𝑧 ∈ {𝑥 ∣ (𝑥 ∈ {𝑧} ∧ 𝜑)})
23 df-clab 2739 . . . . . . . 8 (𝑧 ∈ {𝑥 ∣ (𝑥 ∈ {𝑧} ∧ 𝜑)} ↔ [𝑧 / 𝑥](𝑥 ∈ {𝑧} ∧ 𝜑))
24 sban 2116 . . . . . . . 8 ([𝑧 / 𝑥](𝑥 ∈ {𝑧} ∧ 𝜑) ↔ ([𝑧 / 𝑥]𝑥 ∈ {𝑧} ∧ [𝑧 / 𝑥]𝜑))
2522, 23, 243bitri 300 . . . . . . 7 (𝑧 ∈ {𝑥 ∈ {𝑧} ∣ 𝜑} ↔ ([𝑧 / 𝑥]𝑥 ∈ {𝑧} ∧ [𝑧 / 𝑥]𝜑))
2617, 20, 253imtr4i 295 . . . . . 6 (𝑧 ∈ {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} → 𝑧 ∈ {𝑥 ∈ {𝑧} ∣ 𝜑})
2726ne0d 4287 . . . . 5 (𝑧 ∈ {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} → {𝑥 ∈ {𝑧} ∣ 𝜑} ≠ ∅)
28 rabn0 4338 . . . . 5 ({𝑥 ∈ {𝑧} ∣ 𝜑} ≠ ∅ ↔ ∃𝑥 ∈ {𝑧}𝜑)
2927, 28sylib 221 . . . 4 (𝑧 ∈ {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} → ∃𝑥 ∈ {𝑧}𝜑)
30 vsnex 5392 . . . . 5 {𝑧} ∈ V
31 sseq1 3933 . . . . . 6 (𝑦 = {𝑧} → (𝑦 ⊆ 𝐴 ↔ {𝑧} ⊆ 𝐴))
32 rexeq 3315 . . . . . 6 (𝑦 = {𝑧} → (∃𝑥 ∈ 𝑦 𝜑 ↔ ∃𝑥 ∈ {𝑧}𝜑))
3331, 32anbi12d 644 . . . . 5 (𝑦 = {𝑧} → ((𝑦 ⊆ 𝐴 ∧ ∃𝑥 ∈ 𝑦 𝜑) ↔ ({𝑧} ⊆ 𝐴 ∧ ∃𝑥 ∈ {𝑧}𝜑)))
3430, 33spcev 3560 . . . 4 (({𝑧} ⊆ 𝐴 ∧ ∃𝑥 ∈ {𝑧}𝜑) → ∃𝑦(𝑦 ⊆ 𝐴 ∧ ∃𝑥 ∈ 𝑦 𝜑))
3511, 29, 34syl2anc 596 . . 3 (𝑧 ∈ {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} → ∃𝑦(𝑦 ⊆ 𝐴 ∧ ∃𝑥 ∈ 𝑦 𝜑))
3635exlimiv 1962 . 2 (∃𝑧 𝑧 ∈ {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜑)} → ∃𝑦(𝑦 ⊆ 𝐴 ∧ ∃𝑥 ∈ 𝑦 𝜑))
375, 36sylbi 220 1 (∃𝑥 ∈ 𝐴 𝜑 → ∃𝑦(𝑦 ⊆ 𝐴 ∧ ∃𝑥 ∈ 𝑦 𝜑))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569  ∃wex 1811  [wsb 2098   ∈ wcel 2144  {cab 2738   ≠ wne 2955  ∃wrex 3086  {crab 3412   ⊆ wss 3895  ∅c0 4278  {csn 4584
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-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-un 4151  df-nul 4279  df-sn 4585  df-pr 4587
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator