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

Theorem sbcel12 3983
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 3438 . . . 4 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝐵𝐶[𝐴 / 𝑥]𝐵𝐶))
2 dfsbcq2 3438 . . . . . 6 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝑦𝐵[𝐴 / 𝑥]𝑦𝐵))
32abbidv 2741 . . . . 5 (𝑧 = 𝐴 → {𝑦 ∣ [𝑧 / 𝑥]𝑦𝐵} = {𝑦[𝐴 / 𝑥]𝑦𝐵})
4 dfsbcq2 3438 . . . . . 6 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝑦𝐶[𝐴 / 𝑥]𝑦𝐶))
54abbidv 2741 . . . . 5 (𝑧 = 𝐴 → {𝑦 ∣ [𝑧 / 𝑥]𝑦𝐶} = {𝑦[𝐴 / 𝑥]𝑦𝐶})
63, 5eleq12d 2695 . . . 4 (𝑧 = 𝐴 → ({𝑦 ∣ [𝑧 / 𝑥]𝑦𝐵} ∈ {𝑦 ∣ [𝑧 / 𝑥]𝑦𝐶} ↔ {𝑦[𝐴 / 𝑥]𝑦𝐵} ∈ {𝑦[𝐴 / 𝑥]𝑦𝐶}))
7 nfs1v 2437 . . . . . . 7 𝑥[𝑧 / 𝑥]𝑦𝐵
87nfab 2769 . . . . . 6 𝑥{𝑦 ∣ [𝑧 / 𝑥]𝑦𝐵}
9 nfs1v 2437 . . . . . . 7 𝑥[𝑧 / 𝑥]𝑦𝐶
109nfab 2769 . . . . . 6 𝑥{𝑦 ∣ [𝑧 / 𝑥]𝑦𝐶}
118, 10nfel 2777 . . . . 5 𝑥{𝑦 ∣ [𝑧 / 𝑥]𝑦𝐵} ∈ {𝑦 ∣ [𝑧 / 𝑥]𝑦𝐶}
12 sbab 2750 . . . . . 6 (𝑥 = 𝑧𝐵 = {𝑦 ∣ [𝑧 / 𝑥]𝑦𝐵})
13 sbab 2750 . . . . . 6 (𝑥 = 𝑧𝐶 = {𝑦 ∣ [𝑧 / 𝑥]𝑦𝐶})
1412, 13eleq12d 2695 . . . . 5 (𝑥 = 𝑧 → (𝐵𝐶 ↔ {𝑦 ∣ [𝑧 / 𝑥]𝑦𝐵} ∈ {𝑦 ∣ [𝑧 / 𝑥]𝑦𝐶}))
1511, 14sbie 2408 . . . 4 ([𝑧 / 𝑥]𝐵𝐶 ↔ {𝑦 ∣ [𝑧 / 𝑥]𝑦𝐵} ∈ {𝑦 ∣ [𝑧 / 𝑥]𝑦𝐶})
161, 6, 15vtoclbg 3267 . . 3 (𝐴 ∈ V → ([𝐴 / 𝑥]𝐵𝐶 ↔ {𝑦[𝐴 / 𝑥]𝑦𝐵} ∈ {𝑦[𝐴 / 𝑥]𝑦𝐶}))
17 df-csb 3534 . . . 4 𝐴 / 𝑥𝐵 = {𝑦[𝐴 / 𝑥]𝑦𝐵}
18 df-csb 3534 . . . 4 𝐴 / 𝑥𝐶 = {𝑦[𝐴 / 𝑥]𝑦𝐶}
1917, 18eleq12i 2694 . . 3 (𝐴 / 𝑥𝐵𝐴 / 𝑥𝐶 ↔ {𝑦[𝐴 / 𝑥]𝑦𝐵} ∈ {𝑦[𝐴 / 𝑥]𝑦𝐶})
2016, 19syl6bbr 278 . 2 (𝐴 ∈ V → ([𝐴 / 𝑥]𝐵𝐶𝐴 / 𝑥𝐵𝐴 / 𝑥𝐶))
21 sbcex 3445 . . . 4 ([𝐴 / 𝑥]𝐵𝐶𝐴 ∈ V)
2221con3i 150 . . 3 𝐴 ∈ V → ¬ [𝐴 / 𝑥]𝐵𝐶)
23 noel 3919 . . . 4 ¬ 𝐴 / 𝑥𝐵 ∈ ∅
24 csbprc 3980 . . . . 5 𝐴 ∈ V → 𝐴 / 𝑥𝐶 = ∅)
2524eleq2d 2687 . . . 4 𝐴 ∈ V → (𝐴 / 𝑥𝐵𝐴 / 𝑥𝐶𝐴 / 𝑥𝐵 ∈ ∅))
2623, 25mtbiri 317 . . 3 𝐴 ∈ V → ¬ 𝐴 / 𝑥𝐵𝐴 / 𝑥𝐶)
2722, 262falsed 366 . 2 𝐴 ∈ V → ([𝐴 / 𝑥]𝐵𝐶𝐴 / 𝑥𝐵𝐴 / 𝑥𝐶))
2820, 27pm2.61i 176 1 ([𝐴 / 𝑥]𝐵𝐶𝐴 / 𝑥𝐵𝐴 / 𝑥𝐶)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 196   = wceq 1483  [wsb 1880  wcel 1990  {cab 2608  Vcvv 3200  [wsbc 3435  csb 3533  c0 3915
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1486  df-fal 1489  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-nul 3916
This theorem is referenced by:  sbcnel12g  3985  sbcel1g  3987  sbcel2  3989  sbccsb2  4005  csbmpt12  5010  ixpsnval  7911  fmptdF  29456  csbmpt22g  33177  csbfinxpg  33225  finixpnum  33394
  Copyright terms: Public domain W3C validator