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

Theorem sbcel12 4369
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 3742 . . . 4 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝐵 ∈ 𝐶 ↔ [𝐴 / 𝑥]𝐵 ∈ 𝐶))
2 dfsbcq2 3742 . . . . . 6 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝑦 ∈ 𝐵 ↔ [𝐴 / 𝑥]𝑦 ∈ 𝐵))
32abbidv 2827 . . . . 5 (𝑧 = 𝐴 → {𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐵} = {𝑦 ∣ [𝐴 / 𝑥]𝑦 ∈ 𝐵})
4 dfsbcq2 3742 . . . . . 6 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝑦 ∈ 𝐶 ↔ [𝐴 / 𝑥]𝑦 ∈ 𝐶))
54abbidv 2827 . . . . 5 (𝑧 = 𝐴 → {𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐶} = {𝑦 ∣ [𝐴 / 𝑥]𝑦 ∈ 𝐶})
63, 5eleq12d 2855 . . . 4 (𝑧 = 𝐴 → ({𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐵} ∈ {𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐶} ↔ {𝑦 ∣ [𝐴 / 𝑥]𝑦 ∈ 𝐵} ∈ {𝑦 ∣ [𝐴 / 𝑥]𝑦 ∈ 𝐶}))
7 nfs1v 2193 . . . . . . 7 Ⅎ𝑥[𝑧 / 𝑥]𝑦 ∈ 𝐵
87nfab 2929 . . . . . 6 Ⅎ𝑥{𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐵}
9 nfs1v 2193 . . . . . . 7 Ⅎ𝑥[𝑧 / 𝑥]𝑦 ∈ 𝐶
109nfab 2929 . . . . . 6 Ⅎ𝑥{𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐶}
118, 10nfel 2937 . . . . 5 Ⅎ𝑥{𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐵} ∈ {𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐶}
12 sbab 2907 . . . . . 6 (𝑥 = 𝑧 → 𝐵 = {𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐵})
13 sbab 2907 . . . . . 6 (𝑥 = 𝑧 → 𝐶 = {𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐶})
1412, 13eleq12d 2855 . . . . 5 (𝑥 = 𝑧 → (𝐵 ∈ 𝐶 ↔ {𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐵} ∈ {𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐶}))
1511, 14sbiev 2346 . . . 4 ([𝑧 / 𝑥]𝐵 ∈ 𝐶 ↔ {𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐵} ∈ {𝑦 ∣ [𝑧 / 𝑥]𝑦 ∈ 𝐶})
161, 6, 15vtoclbg 3520 . . 3 (𝐴 ∈ V → ([𝐴 / 𝑥]𝐵 ∈ 𝐶 ↔ {𝑦 ∣ [𝐴 / 𝑥]𝑦 ∈ 𝐵} ∈ {𝑦 ∣ [𝐴 / 𝑥]𝑦 ∈ 𝐶}))
17 df-csb 3848 . . . 4 ⦋𝐴 / 𝑥⦌𝐵 = {𝑦 ∣ [𝐴 / 𝑥]𝑦 ∈ 𝐵}
18 df-csb 3848 . . . 4 ⦋𝐴 / 𝑥⦌𝐶 = {𝑦 ∣ [𝐴 / 𝑥]𝑦 ∈ 𝐶}
1917, 18eleq12i 2854 . . 3 (⦋𝐴 / 𝑥⦌𝐵 ∈ ⦋𝐴 / 𝑥⦌𝐶 ↔ {𝑦 ∣ [𝐴 / 𝑥]𝑦 ∈ 𝐵} ∈ {𝑦 ∣ [𝐴 / 𝑥]𝑦 ∈ 𝐶})
2016, 19bitr4di 292 . 2 (𝐴 ∈ V → ([𝐴 / 𝑥]𝐵 ∈ 𝐶 ↔ ⦋𝐴 / 𝑥⦌𝐵 ∈ ⦋𝐴 / 𝑥⦌𝐶))
21 sbcex 3749 . . . 4 ([𝐴 / 𝑥]𝐵 ∈ 𝐶 → 𝐴 ∈ V)
2221con3i 155 . . 3 (¬ 𝐴 ∈ V → ¬ [𝐴 / 𝑥]𝐵 ∈ 𝐶)
23 noel 4284 . . . 4 ¬ ⦋𝐴 / 𝑥⦌𝐵 ∈ ∅
24 csbprc 4367 . . . . 5 (¬ 𝐴 ∈ V → ⦋𝐴 / 𝑥⦌𝐶 = ∅)
2524eleq2d 2847 . . . 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 1570  [wsb 2099   ∈ wcel 2145  {cab 2739  Vcvv 3451  [wsbc 3739  ⦋csb 3847  ∅c0 4279
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-nul 4280
This theorem is used by:  sbcnel12g  4372  sbcel1g  4374  sbcel2  4376  sbccsb2  4395  csbmpt12  5532  ixpsnval  8912  fmptdf2  33232  csbmpo123  38222  csbfinxpg  38279  finixpnum  38496  csbxpgVD  45835  csbrngVD  45837
  Copyright terms: Public domain W3C validator