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

Theorem sbcel12 4374
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 3747 . . . 4 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝐵 ∈ 𝐶 ↔ [𝐴 / 𝑥]𝐵 ∈ 𝐶))
2 dfsbcq2 3747 . . . . . 6 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝑦 ∈ 𝐵 ↔ [𝐴 / 𝑥]𝑦 ∈ 𝐵))
32abbidv 2835 . . . . 5 (𝑧 = 𝐴 → {𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐵} = {𝑦 ∣ [𝐴 / 𝑥]𝑦 ∈ 𝐵})
4 dfsbcq2 3747 . . . . . 6 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝑦 ∈ 𝐶 ↔ [𝐴 / 𝑥]𝑦 ∈ 𝐶))
54abbidv 2835 . . . . 5 (𝑧 = 𝐴 → {𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐶} = {𝑦 ∣ [𝐴 / 𝑥]𝑦 ∈ 𝐶})
63, 5eleq12d 2864 . . . 4 (𝑧 = 𝐴 → ({𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐵} ∈ {𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐶} ↔ {𝑦 ∣ [𝐴 / 𝑥]𝑦 ∈ 𝐵} ∈ {𝑦 ∣ [𝐴 / 𝑥]𝑦 ∈ 𝐶}))
7 nfs1v 2200 . . . . . . 7 Ⅎ𝑥[𝑧 / 𝑥]𝑦 ∈ 𝐵
87nfab 2938 . . . . . 6 Ⅎ𝑥{𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐵}
9 nfs1v 2200 . . . . . . 7 Ⅎ𝑥[𝑧 / 𝑥]𝑦 ∈ 𝐶
109nfab 2938 . . . . . 6 Ⅎ𝑥{𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐶}
118, 10nfel 2946 . . . . 5 Ⅎ𝑥{𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐵} ∈ {𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐶}
12 sbab 2916 . . . . . 6 (𝑥 = 𝑧 → 𝐵 = {𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐵})
13 sbab 2916 . . . . . 6 (𝑥 = 𝑧 → 𝐶 = {𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐶})
1412, 13eleq12d 2864 . . . . 5 (𝑥 = 𝑧 → (𝐵 ∈ 𝐶 ↔ {𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐵} ∈ {𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐶}))
1511, 14sbiev 2353 . . . 4 ([𝑧 / 𝑥]𝐵 ∈ 𝐶 ↔ {𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐵} ∈ {𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐶})
161, 6, 15vtoclbg 3525 . . 3 (𝐴 ∈ V → ([𝐴 / 𝑥]𝐵 ∈ 𝐶 ↔ {𝑦 ∣ [𝐴 / 𝑥]𝑦 ∈ 𝐵} ∈ {𝑦 ∣ [𝐴 / 𝑥]𝑦 ∈ 𝐶}))
17 df-csb 3854 . . . 4 ⦋𝐴 / 𝑥⦌𝐵 = {𝑦 ∣ [𝐴 / 𝑥]𝑦 ∈ 𝐵}
18 df-csb 3854 . . . 4 ⦋𝐴 / 𝑥⦌𝐶 = {𝑦 ∣ [𝐴 / 𝑥]𝑦 ∈ 𝐶}
1917, 18eleq12i 2863 . . 3 (⦋𝐴 / 𝑥⦌𝐵 ∈ ⦋𝐴 / 𝑥⦌𝐶 ↔ {𝑦 ∣ [𝐴 / 𝑥]𝑦 ∈ 𝐵} ∈ {𝑦 ∣ [𝐴 / 𝑥]𝑦 ∈ 𝐶})
2016, 19bitr4di 292 . 2 (𝐴 ∈ V → ([𝐴 / 𝑥]𝐵 ∈ 𝐶 ↔ ⦋𝐴 / 𝑥⦌𝐵 ∈ ⦋𝐴 / 𝑥⦌𝐶))
21 sbcex 3754 . . . 4 ([𝐴 / 𝑥]𝐵 ∈ 𝐶 → 𝐴 ∈ V)
2221con3i 155 . . 3 (¬ 𝐴 ∈ V → ¬ [𝐴 / 𝑥]𝐵 ∈ 𝐶)
23 noel 4288 . . . 4 ¬ ⦋𝐴 / 𝑥⦌𝐵 ∈ ∅
24 csbprc 4372 . . . . 5 (¬ 𝐴 ∈ V → ⦋𝐴 / 𝑥⦌𝐶 = ∅)
2524eleq2d 2856 . . . 4 (¬ 𝐴 ∈ V → (⦋𝐴 / 𝑥⦌𝐵 ∈ ⦋𝐴 / 𝑥⦌𝐶 ↔ ⦋𝐴 / 𝑥⦌𝐵 ∈ ∅))
2623, 25mtbiri 330 . . 3 (¬ 𝐴 ∈ V → ¬ ⦋𝐴 / 𝑥⦌𝐵 ∈ ⦋𝐴 / 𝑥⦌𝐶)
2722, 262falsed 379 . 2 (¬ 𝐴 ∈ V → ([𝐴 / 𝑥]𝐵 ∈ 𝐶 ↔ ⦋𝐴 / 𝑥⦌𝐵 ∈ ⦋𝐴 / 𝑥⦌𝐶))
2820, 27pm2.61i 184 1 ([𝐴 / 𝑥]𝐵 ∈ 𝐶 ↔ ⦋𝐴 / 𝑥⦌𝐵 ∈ ⦋𝐴 / 𝑥⦌𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ↔ wb 209   = wceq 1572  [wsb 2104   ∈ wcel 2151  {cab 2747  Vcvv 3456  [wsbc 3744  ⦋csb 3853  ∅c0 4283
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-v 3458  df-sbc 3745  df-csb 3854  df-dif 4052  df-nul 4284
This theorem is used by:  sbcnel12g  4377  sbcel1g  4379  sbcel2  4381  sbccsb2  4400  csbmpt12  5542  ixpsnval  8977  fmptdf2  33414  csbmpo123  38548  csbfinxpg  38605  finixpnum  38822  csbxpgVD  46219  csbrngVD  46221
  Copyright terms: Public domain W3C validator