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

Theorem sbcel12 4347
Description: Distribute proper substitution through a membership relation. (Contributed by NM, 10-Nov-2005.) (Revised by NM, 18-Aug-2018.)
Assertion
Ref Expression
sbcel12 ([𝐴 / 𝑥]𝐵𝐶𝐴 / 𝑥𝐵𝐴 / 𝑥𝐶)

Proof of Theorem sbcel12
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dfsbcq2 3722 . . . 4 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝐵𝐶[𝐴 / 𝑥]𝐵𝐶))
2 dfsbcq2 3722 . . . . . 6 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝑦𝐵[𝐴 / 𝑥]𝑦𝐵))
32abbidv 2808 . . . . 5 (𝑧 = 𝐴 → {𝑦 ∣ [𝑧 / 𝑥]𝑦𝐵} = {𝑦[𝐴 / 𝑥]𝑦𝐵})
4 dfsbcq2 3722 . . . . . 6 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝑦𝐶[𝐴 / 𝑥]𝑦𝐶))
54abbidv 2808 . . . . 5 (𝑧 = 𝐴 → {𝑦 ∣ [𝑧 / 𝑥]𝑦𝐶} = {𝑦[𝐴 / 𝑥]𝑦𝐶})
63, 5eleq12d 2834 . . . 4 (𝑧 = 𝐴 → ({𝑦 ∣ [𝑧 / 𝑥]𝑦𝐵} ∈ {𝑦 ∣ [𝑧 / 𝑥]𝑦𝐶} ↔ {𝑦[𝐴 / 𝑥]𝑦𝐵} ∈ {𝑦[𝐴 / 𝑥]𝑦𝐶}))
7 nfs1v 2156 . . . . . . 7 𝑥[𝑧 / 𝑥]𝑦𝐵
87nfab 2914 . . . . . 6 𝑥{𝑦 ∣ [𝑧 / 𝑥]𝑦𝐵}
9 nfs1v 2156 . . . . . . 7 𝑥[𝑧 / 𝑥]𝑦𝐶
109nfab 2914 . . . . . 6 𝑥{𝑦 ∣ [𝑧 / 𝑥]𝑦𝐶}
118, 10nfel 2922 . . . . 5 𝑥{𝑦 ∣ [𝑧 / 𝑥]𝑦𝐵} ∈ {𝑦 ∣ [𝑧 / 𝑥]𝑦𝐶}
12 sbab 2887 . . . . . 6 (𝑥 = 𝑧𝐵 = {𝑦 ∣ [𝑧 / 𝑥]𝑦𝐵})
13 sbab 2887 . . . . . 6 (𝑥 = 𝑧𝐶 = {𝑦 ∣ [𝑧 / 𝑥]𝑦𝐶})
1412, 13eleq12d 2834 . . . . 5 (𝑥 = 𝑧 → (𝐵𝐶 ↔ {𝑦 ∣ [𝑧 / 𝑥]𝑦𝐵} ∈ {𝑦 ∣ [𝑧 / 𝑥]𝑦𝐶}))
1511, 14sbiev 2312 . . . 4 ([𝑧 / 𝑥]𝐵𝐶 ↔ {𝑦 ∣ [𝑧 / 𝑥]𝑦𝐵} ∈ {𝑦 ∣ [𝑧 / 𝑥]𝑦𝐶})
161, 6, 15vtoclbg 3505 . . 3 (𝐴 ∈ V → ([𝐴 / 𝑥]𝐵𝐶 ↔ {𝑦[𝐴 / 𝑥]𝑦𝐵} ∈ {𝑦[𝐴 / 𝑥]𝑦𝐶}))
17 df-csb 3837 . . . 4 𝐴 / 𝑥𝐵 = {𝑦[𝐴 / 𝑥]𝑦𝐵}
18 df-csb 3837 . . . 4 𝐴 / 𝑥𝐶 = {𝑦[𝐴 / 𝑥]𝑦𝐶}
1917, 18eleq12i 2832 . . 3 (𝐴 / 𝑥𝐵𝐴 / 𝑥𝐶 ↔ {𝑦[𝐴 / 𝑥]𝑦𝐵} ∈ {𝑦[𝐴 / 𝑥]𝑦𝐶})
2016, 19bitr4di 288 . 2 (𝐴 ∈ V → ([𝐴 / 𝑥]𝐵𝐶𝐴 / 𝑥𝐵𝐴 / 𝑥𝐶))
21 sbcex 3729 . . . 4 ([𝐴 / 𝑥]𝐵𝐶𝐴 ∈ V)
2221con3i 154 . . 3 𝐴 ∈ V → ¬ [𝐴 / 𝑥]𝐵𝐶)
23 noel 4269 . . . 4 ¬ 𝐴 / 𝑥𝐵 ∈ ∅
24 csbprc 4345 . . . . 5 𝐴 ∈ V → 𝐴 / 𝑥𝐶 = ∅)
2524eleq2d 2825 . . . 4 𝐴 ∈ V → (𝐴 / 𝑥𝐵𝐴 / 𝑥𝐶𝐴 / 𝑥𝐵 ∈ ∅))
2623, 25mtbiri 326 . . 3 𝐴 ∈ V → ¬ 𝐴 / 𝑥𝐵𝐴 / 𝑥𝐶)
2722, 262falsed 376 . 2 𝐴 ∈ V → ([𝐴 / 𝑥]𝐵𝐶𝐴 / 𝑥𝐵𝐴 / 𝑥𝐶))
2820, 27pm2.61i 182 1 ([𝐴 / 𝑥]𝐵𝐶𝐴 / 𝑥𝐵𝐴 / 𝑥𝐶)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 205   = wceq 1541  [wsb 2070  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
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:  sbcnel12g  4350  sbcel1g  4352  sbcel2  4354  sbccsb2  4373  csbmpt12  5471  ixpsnval  8662  fmptdF  30972  csbmpo123  35481  csbfinxpg  35538  finixpnum  35741  csbxpgVD  42467  csbrngVD  42469
  Copyright terms: Public domain W3C validator