Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bj-snsetex Structured version   Visualization version   GIF version

Theorem bj-snsetex 34890
Description: The class of sets "whose singletons" belong to a set is a set. Nice application of ax-rep 5179. (Contributed by BJ, 6-Oct-2018.)
Assertion
Ref Expression
bj-snsetex (𝐴𝑉 → {𝑥 ∣ {𝑥} ∈ 𝐴} ∈ V)
Distinct variable group:   𝑥,𝐴
Allowed substitution hint:   𝑉(𝑥)

Proof of Theorem bj-snsetex
Dummy variables 𝑦 𝑧 𝑡 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elisset 2819 . . . 4 (𝐴𝑉 → ∃𝑦 𝑦 = 𝐴)
2 eleq2 2826 . . . . . . 7 (𝑦 = 𝐴 → ({𝑥} ∈ 𝑦 ↔ {𝑥} ∈ 𝐴))
32abbidv 2807 . . . . . 6 (𝑦 = 𝐴 → {𝑥 ∣ {𝑥} ∈ 𝑦} = {𝑥 ∣ {𝑥} ∈ 𝐴})
4 eleq1 2825 . . . . . . 7 ({𝑥 ∣ {𝑥} ∈ 𝑦} = {𝑥 ∣ {𝑥} ∈ 𝐴} → ({𝑥 ∣ {𝑥} ∈ 𝑦} ∈ V ↔ {𝑥 ∣ {𝑥} ∈ 𝐴} ∈ V))
54biimpd 232 . . . . . 6 ({𝑥 ∣ {𝑥} ∈ 𝑦} = {𝑥 ∣ {𝑥} ∈ 𝐴} → ({𝑥 ∣ {𝑥} ∈ 𝑦} ∈ V → {𝑥 ∣ {𝑥} ∈ 𝐴} ∈ V))
63, 5syl 17 . . . . 5 (𝑦 = 𝐴 → ({𝑥 ∣ {𝑥} ∈ 𝑦} ∈ V → {𝑥 ∣ {𝑥} ∈ 𝐴} ∈ V))
76eximi 1842 . . . 4 (∃𝑦 𝑦 = 𝐴 → ∃𝑦({𝑥 ∣ {𝑥} ∈ 𝑦} ∈ V → {𝑥 ∣ {𝑥} ∈ 𝐴} ∈ V))
81, 7syl 17 . . 3 (𝐴𝑉 → ∃𝑦({𝑥 ∣ {𝑥} ∈ 𝑦} ∈ V → {𝑥 ∣ {𝑥} ∈ 𝐴} ∈ V))
9 bj-eximcom 34561 . . . . 5 (∃𝑦({𝑥 ∣ {𝑥} ∈ 𝑦} ∈ V → {𝑥 ∣ {𝑥} ∈ 𝐴} ∈ V) → (∀𝑦{𝑥 ∣ {𝑥} ∈ 𝑦} ∈ V → ∃𝑦{𝑥 ∣ {𝑥} ∈ 𝐴} ∈ V))
109com12 32 . . . 4 (∀𝑦{𝑥 ∣ {𝑥} ∈ 𝑦} ∈ V → (∃𝑦({𝑥 ∣ {𝑥} ∈ 𝑦} ∈ V → {𝑥 ∣ {𝑥} ∈ 𝐴} ∈ V) → ∃𝑦{𝑥 ∣ {𝑥} ∈ 𝐴} ∈ V))
11 ax-rep 5179 . . . . . . . 8 (∀𝑢𝑧𝑡(∀𝑧 𝑢 = {𝑡} → 𝑡 = 𝑧) → ∃𝑧𝑡(𝑡𝑧 ↔ ∃𝑢(𝑢𝑦 ∧ ∀𝑧 𝑢 = {𝑡})))
12 19.3v 1990 . . . . . . . . . . 11 (∀𝑧 𝑢 = {𝑡} ↔ 𝑢 = {𝑡})
1312sbbii 2082 . . . . . . . . . . 11 ([𝑧 / 𝑡]∀𝑧 𝑢 = {𝑡} ↔ [𝑧 / 𝑡]𝑢 = {𝑡})
14 sbsbc 3698 . . . . . . . . . . . . . 14 ([𝑧 / 𝑡]𝑢 = {𝑡} ↔ [𝑧 / 𝑡]𝑢 = {𝑡})
15 sbceq2g 4331 . . . . . . . . . . . . . . 15 (𝑧 ∈ V → ([𝑧 / 𝑡]𝑢 = {𝑡} ↔ 𝑢 = 𝑧 / 𝑡{𝑡}))
1615elv 3414 . . . . . . . . . . . . . 14 ([𝑧 / 𝑡]𝑢 = {𝑡} ↔ 𝑢 = 𝑧 / 𝑡{𝑡})
1714, 16bitri 278 . . . . . . . . . . . . 13 ([𝑧 / 𝑡]𝑢 = {𝑡} ↔ 𝑢 = 𝑧 / 𝑡{𝑡})
18 bj-csbsn 34826 . . . . . . . . . . . . . 14 𝑧 / 𝑡{𝑡} = {𝑧}
1918eqeq2i 2750 . . . . . . . . . . . . 13 (𝑢 = 𝑧 / 𝑡{𝑡} ↔ 𝑢 = {𝑧})
2017, 19bitri 278 . . . . . . . . . . . 12 ([𝑧 / 𝑡]𝑢 = {𝑡} ↔ 𝑢 = {𝑧})
21 eqtr2 2761 . . . . . . . . . . . . 13 ((𝑢 = {𝑡} ∧ 𝑢 = {𝑧}) → {𝑡} = {𝑧})
22 vex 3412 . . . . . . . . . . . . . 14 𝑡 ∈ V
2322sneqr 4751 . . . . . . . . . . . . 13 ({𝑡} = {𝑧} → 𝑡 = 𝑧)
2421, 23syl 17 . . . . . . . . . . . 12 ((𝑢 = {𝑡} ∧ 𝑢 = {𝑧}) → 𝑡 = 𝑧)
2520, 24sylan2b 597 . . . . . . . . . . 11 ((𝑢 = {𝑡} ∧ [𝑧 / 𝑡]𝑢 = {𝑡}) → 𝑡 = 𝑧)
2612, 13, 25syl2anb 601 . . . . . . . . . 10 ((∀𝑧 𝑢 = {𝑡} ∧ [𝑧 / 𝑡]∀𝑧 𝑢 = {𝑡}) → 𝑡 = 𝑧)
2726gen2 1804 . . . . . . . . 9 𝑡𝑧((∀𝑧 𝑢 = {𝑡} ∧ [𝑧 / 𝑡]∀𝑧 𝑢 = {𝑡}) → 𝑡 = 𝑧)
28 nfa1 2152 . . . . . . . . . 10 𝑧𝑧 𝑢 = {𝑡}
2928mo 2564 . . . . . . . . 9 (∃𝑧𝑡(∀𝑧 𝑢 = {𝑡} → 𝑡 = 𝑧) ↔ ∀𝑡𝑧((∀𝑧 𝑢 = {𝑡} ∧ [𝑧 / 𝑡]∀𝑧 𝑢 = {𝑡}) → 𝑡 = 𝑧))
3027, 29mpbir 234 . . . . . . . 8 𝑧𝑡(∀𝑧 𝑢 = {𝑡} → 𝑡 = 𝑧)
3111, 30mpg 1805 . . . . . . 7 𝑧𝑡(𝑡𝑧 ↔ ∃𝑢(𝑢𝑦 ∧ ∀𝑧 𝑢 = {𝑡}))
32 bj-sbel1 34827 . . . . . . . . . . . 12 ([𝑡 / 𝑥]{𝑥} ∈ 𝑦𝑡 / 𝑥{𝑥} ∈ 𝑦)
33 bj-csbsn 34826 . . . . . . . . . . . . 13 𝑡 / 𝑥{𝑥} = {𝑡}
3433eleq1i 2828 . . . . . . . . . . . 12 (𝑡 / 𝑥{𝑥} ∈ 𝑦 ↔ {𝑡} ∈ 𝑦)
3532, 34bitri 278 . . . . . . . . . . 11 ([𝑡 / 𝑥]{𝑥} ∈ 𝑦 ↔ {𝑡} ∈ 𝑦)
36 df-clab 2715 . . . . . . . . . . 11 (𝑡 ∈ {𝑥 ∣ {𝑥} ∈ 𝑦} ↔ [𝑡 / 𝑥]{𝑥} ∈ 𝑦)
3712anbi2i 626 . . . . . . . . . . . . . 14 ((𝑢𝑦 ∧ ∀𝑧 𝑢 = {𝑡}) ↔ (𝑢𝑦𝑢 = {𝑡}))
38 eleq1a 2833 . . . . . . . . . . . . . . . . . 18 (𝑢𝑦 → ({𝑡} = 𝑢 → {𝑡} ∈ 𝑦))
3938com12 32 . . . . . . . . . . . . . . . . 17 ({𝑡} = 𝑢 → (𝑢𝑦 → {𝑡} ∈ 𝑦))
4039eqcoms 2745 . . . . . . . . . . . . . . . 16 (𝑢 = {𝑡} → (𝑢𝑦 → {𝑡} ∈ 𝑦))
4140imdistanri 573 . . . . . . . . . . . . . . 15 ((𝑢𝑦𝑢 = {𝑡}) → ({𝑡} ∈ 𝑦𝑢 = {𝑡}))
42 eleq1a 2833 . . . . . . . . . . . . . . . 16 ({𝑡} ∈ 𝑦 → (𝑢 = {𝑡} → 𝑢𝑦))
4342impac 556 . . . . . . . . . . . . . . 15 (({𝑡} ∈ 𝑦𝑢 = {𝑡}) → (𝑢𝑦𝑢 = {𝑡}))
4441, 43impbii 212 . . . . . . . . . . . . . 14 ((𝑢𝑦𝑢 = {𝑡}) ↔ ({𝑡} ∈ 𝑦𝑢 = {𝑡}))
4537, 44bitri 278 . . . . . . . . . . . . 13 ((𝑢𝑦 ∧ ∀𝑧 𝑢 = {𝑡}) ↔ ({𝑡} ∈ 𝑦𝑢 = {𝑡}))
4645exbii 1855 . . . . . . . . . . . 12 (∃𝑢(𝑢𝑦 ∧ ∀𝑧 𝑢 = {𝑡}) ↔ ∃𝑢({𝑡} ∈ 𝑦𝑢 = {𝑡}))
47 snex 5324 . . . . . . . . . . . . . 14 {𝑡} ∈ V
4847isseti 3423 . . . . . . . . . . . . 13 𝑢 𝑢 = {𝑡}
49 19.42v 1962 . . . . . . . . . . . . 13 (∃𝑢({𝑡} ∈ 𝑦𝑢 = {𝑡}) ↔ ({𝑡} ∈ 𝑦 ∧ ∃𝑢 𝑢 = {𝑡}))
5048, 49mpbiran2 710 . . . . . . . . . . . 12 (∃𝑢({𝑡} ∈ 𝑦𝑢 = {𝑡}) ↔ {𝑡} ∈ 𝑦)
5146, 50bitri 278 . . . . . . . . . . 11 (∃𝑢(𝑢𝑦 ∧ ∀𝑧 𝑢 = {𝑡}) ↔ {𝑡} ∈ 𝑦)
5235, 36, 513bitr4ri 307 . . . . . . . . . 10 (∃𝑢(𝑢𝑦 ∧ ∀𝑧 𝑢 = {𝑡}) ↔ 𝑡 ∈ {𝑥 ∣ {𝑥} ∈ 𝑦})
5352bibi2i 341 . . . . . . . . 9 ((𝑡𝑧 ↔ ∃𝑢(𝑢𝑦 ∧ ∀𝑧 𝑢 = {𝑡})) ↔ (𝑡𝑧𝑡 ∈ {𝑥 ∣ {𝑥} ∈ 𝑦}))
5453albii 1827 . . . . . . . 8 (∀𝑡(𝑡𝑧 ↔ ∃𝑢(𝑢𝑦 ∧ ∀𝑧 𝑢 = {𝑡})) ↔ ∀𝑡(𝑡𝑧𝑡 ∈ {𝑥 ∣ {𝑥} ∈ 𝑦}))
5554exbii 1855 . . . . . . 7 (∃𝑧𝑡(𝑡𝑧 ↔ ∃𝑢(𝑢𝑦 ∧ ∀𝑧 𝑢 = {𝑡})) ↔ ∃𝑧𝑡(𝑡𝑧𝑡 ∈ {𝑥 ∣ {𝑥} ∈ 𝑦}))
5631, 55mpbi 233 . . . . . 6 𝑧𝑡(𝑡𝑧𝑡 ∈ {𝑥 ∣ {𝑥} ∈ 𝑦})
57 dfcleq 2730 . . . . . . 7 (𝑧 = {𝑥 ∣ {𝑥} ∈ 𝑦} ↔ ∀𝑡(𝑡𝑧𝑡 ∈ {𝑥 ∣ {𝑥} ∈ 𝑦}))
5857exbii 1855 . . . . . 6 (∃𝑧 𝑧 = {𝑥 ∣ {𝑥} ∈ 𝑦} ↔ ∃𝑧𝑡(𝑡𝑧𝑡 ∈ {𝑥 ∣ {𝑥} ∈ 𝑦}))
5956, 58mpbir 234 . . . . 5 𝑧 𝑧 = {𝑥 ∣ {𝑥} ∈ 𝑦}
6059issetri 3424 . . . 4 {𝑥 ∣ {𝑥} ∈ 𝑦} ∈ V
6110, 60mpg 1805 . . 3 (∃𝑦({𝑥 ∣ {𝑥} ∈ 𝑦} ∈ V → {𝑥 ∣ {𝑥} ∈ 𝐴} ∈ V) → ∃𝑦{𝑥 ∣ {𝑥} ∈ 𝐴} ∈ V)
628, 61syl 17 . 2 (𝐴𝑉 → ∃𝑦{𝑥 ∣ {𝑥} ∈ 𝐴} ∈ V)
63 ax5e 1920 . 2 (∃𝑦{𝑥 ∣ {𝑥} ∈ 𝐴} ∈ V → {𝑥 ∣ {𝑥} ∈ 𝐴} ∈ V)
6462, 63syl 17 1 (𝐴𝑉 → {𝑥 ∣ {𝑥} ∈ 𝐴} ∈ V)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wal 1541   = wceq 1543  wex 1787  [wsb 2070  wcel 2110  {cab 2714  Vcvv 3408  [wsbc 3694  csb 3811  {csn 4541
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-rep 5179  ax-sep 5192  ax-nul 5199  ax-pr 5322
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-v 3410  df-sbc 3695  df-csb 3812  df-dif 3869  df-un 3871  df-nul 4238  df-sn 4542  df-pr 4544
This theorem is referenced by:  bj-clex  34891  bj-snglex  34900
  Copyright terms: Public domain W3C validator