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

Theorem csbexg 5310
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 3894 . . 3 𝐴 / 𝑥𝐵 = {𝑦[𝐴 / 𝑥]𝑦𝐵}
2 abid2 2872 . . . . . . . 8 {𝑦𝑦𝐵} = 𝐵
3 elex 3493 . . . . . . . 8 (𝐵𝑊𝐵 ∈ V)
42, 3eqeltrid 2838 . . . . . . 7 (𝐵𝑊 → {𝑦𝑦𝐵} ∈ V)
54alimi 1814 . . . . . 6 (∀𝑥 𝐵𝑊 → ∀𝑥{𝑦𝑦𝐵} ∈ V)
6 spsbc 3790 . . . . . 6 (𝐴 ∈ V → (∀𝑥{𝑦𝑦𝐵} ∈ V → [𝐴 / 𝑥]{𝑦𝑦𝐵} ∈ V))
75, 6syl5 34 . . . . 5 (𝐴 ∈ V → (∀𝑥 𝐵𝑊[𝐴 / 𝑥]{𝑦𝑦𝐵} ∈ V))
8 nfcv 2904 . . . . . 6 𝑥V
98sbcabel 3872 . . . . 5 (𝐴 ∈ V → ([𝐴 / 𝑥]{𝑦𝑦𝐵} ∈ V ↔ {𝑦[𝐴 / 𝑥]𝑦𝐵} ∈ V))
107, 9sylibd 238 . . . 4 (𝐴 ∈ V → (∀𝑥 𝐵𝑊 → {𝑦[𝐴 / 𝑥]𝑦𝐵} ∈ V))
1110imp 408 . . 3 ((𝐴 ∈ V ∧ ∀𝑥 𝐵𝑊) → {𝑦[𝐴 / 𝑥]𝑦𝐵} ∈ V)
121, 11eqeltrid 2838 . 2 ((𝐴 ∈ V ∧ ∀𝑥 𝐵𝑊) → 𝐴 / 𝑥𝐵 ∈ V)
13 csbprc 4406 . . . 4 𝐴 ∈ V → 𝐴 / 𝑥𝐵 = ∅)
14 0ex 5307 . . . 4 ∅ ∈ V
1513, 14eqeltrdi 2842 . . 3 𝐴 ∈ V → 𝐴 / 𝑥𝐵 ∈ V)
1615adantr 482 . 2 ((¬ 𝐴 ∈ V ∧ ∀𝑥 𝐵𝑊) → 𝐴 / 𝑥𝐵 ∈ V)
1712, 16pm2.61ian 811 1 (∀𝑥 𝐵𝑊𝐴 / 𝑥𝐵 ∈ V)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 397  wal 1540  wcel 2107  {cab 2710  Vcvv 3475  [wsbc 3777  csb 3893  c0 4322
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-nul 5306
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-v 3477  df-sbc 3778  df-csb 3894  df-dif 3951  df-nul 4323
This theorem is referenced by:  csbex  5311  abfmpeld  31867
  Copyright terms: Public domain W3C validator