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

Theorem csbexg 5237
Description: The existence of proper substitution into a class. (Contributed by NM, 10-Nov-2005.) (Revised by NM, 17-Aug-2018.)
Assertion
Ref Expression
csbexg (∀𝑥 𝐵𝑊𝐴 / 𝑥𝐵 ∈ V)

Proof of Theorem csbexg
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 df-csb 3837 . . 3 𝐴 / 𝑥𝐵 = {𝑦[𝐴 / 𝑥]𝑦𝐵}
2 abid2 2883 . . . . . . . 8 {𝑦𝑦𝐵} = 𝐵
3 elex 3448 . . . . . . . 8 (𝐵𝑊𝐵 ∈ V)
42, 3eqeltrid 2844 . . . . . . 7 (𝐵𝑊 → {𝑦𝑦𝐵} ∈ V)
54alimi 1817 . . . . . 6 (∀𝑥 𝐵𝑊 → ∀𝑥{𝑦𝑦𝐵} ∈ V)
6 spsbc 3732 . . . . . 6 (𝐴 ∈ V → (∀𝑥{𝑦𝑦𝐵} ∈ V → [𝐴 / 𝑥]{𝑦𝑦𝐵} ∈ V))
75, 6syl5 34 . . . . 5 (𝐴 ∈ V → (∀𝑥 𝐵𝑊[𝐴 / 𝑥]{𝑦𝑦𝐵} ∈ V))
8 nfcv 2908 . . . . . 6 𝑥V
98sbcabel 3815 . . . . 5 (𝐴 ∈ V → ([𝐴 / 𝑥]{𝑦𝑦𝐵} ∈ V ↔ {𝑦[𝐴 / 𝑥]𝑦𝐵} ∈ V))
107, 9sylibd 238 . . . 4 (𝐴 ∈ V → (∀𝑥 𝐵𝑊 → {𝑦[𝐴 / 𝑥]𝑦𝐵} ∈ V))
1110imp 406 . . 3 ((𝐴 ∈ V ∧ ∀𝑥 𝐵𝑊) → {𝑦[𝐴 / 𝑥]𝑦𝐵} ∈ V)
121, 11eqeltrid 2844 . 2 ((𝐴 ∈ V ∧ ∀𝑥 𝐵𝑊) → 𝐴 / 𝑥𝐵 ∈ V)
13 csbprc 4345 . . . 4 𝐴 ∈ V → 𝐴 / 𝑥𝐵 = ∅)
14 0ex 5234 . . . 4 ∅ ∈ V
1513, 14eqeltrdi 2848 . . 3 𝐴 ∈ V → 𝐴 / 𝑥𝐵 ∈ V)
1615adantr 480 . 2 ((¬ 𝐴 ∈ V ∧ ∀𝑥 𝐵𝑊) → 𝐴 / 𝑥𝐵 ∈ V)
1712, 16pm2.61ian 808 1 (∀𝑥 𝐵𝑊𝐴 / 𝑥𝐵 ∈ V)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  wal 1539  wcel 2109  {cab 2716  Vcvv 3430  [wsbc 3719  csb 3836  c0 4261
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710  ax-nul 5233
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-v 3432  df-sbc 3720  df-csb 3837  df-dif 3894  df-nul 4262
This theorem is referenced by:  csbex  5238  abfmpeld  30970
  Copyright terms: Public domain W3C validator