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

Theorem csbab 4403
Description: Move substitution into a class abstraction. (Contributed by NM, 13-Dec-2005.) (Revised by NM, 19-Aug-2018.)
Assertion
Ref Expression
csbab ⦋𝐴 / 𝑥⦌{𝑦 ∣ 𝜑} = {𝑦 ∣ [𝐴 / 𝑥]𝜑}
Distinct variable groups:   𝑦,𝐴   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥, 𝑦)   𝐴(𝑥)

Proof of Theorem csbab
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 df-clab 2748 . . . 4 (𝑧 ∈ {𝑦 ∣ [𝐴 / 𝑥]𝜑} ↔ [𝑧 / 𝑦][𝐴 / 𝑥]𝜑)
2 sbsbc 3748 . . . 4 ([𝑧 / 𝑦][𝐴 / 𝑥]𝜑 ↔ [𝑧 / 𝑦][𝐴 / 𝑥]𝜑)
31, 2bitri 278 . . 3 (𝑧 ∈ {𝑦 ∣ [𝐴 / 𝑥]𝜑} ↔ [𝑧 / 𝑦][𝐴 / 𝑥]𝜑)
4 sbccom 3824 . . . 4 ([𝑧 / 𝑦][𝐴 / 𝑥]𝜑 ↔ [𝐴 / 𝑥][𝑧 / 𝑦]𝜑)
5 df-clab 2748 . . . . . 6 (𝑧 ∈ {𝑦 ∣ 𝜑} ↔ [𝑧 / 𝑦]𝜑)
6 sbsbc 3748 . . . . . 6 ([𝑧 / 𝑦]𝜑 ↔ [𝑧 / 𝑦]𝜑)
75, 6bitri 278 . . . . 5 (𝑧 ∈ {𝑦 ∣ 𝜑} ↔ [𝑧 / 𝑦]𝜑)
87sbcbii 3800 . . . 4 ([𝐴 / 𝑥]𝑧 ∈ {𝑦 ∣ 𝜑} ↔ [𝐴 / 𝑥][𝑧 / 𝑦]𝜑)
94, 8bitr4i 281 . . 3 ([𝑧 / 𝑦][𝐴 / 𝑥]𝜑 ↔ [𝐴 / 𝑥]𝑧 ∈ {𝑦 ∣ 𝜑})
10 sbcel2 4381 . . 3 ([𝐴 / 𝑥]𝑧 ∈ {𝑦 ∣ 𝜑} ↔ 𝑧 ∈ ⦋𝐴 / 𝑥⦌{𝑦 ∣ 𝜑})
113, 9, 103bitrri 301 . 2 (𝑧 ∈ ⦋𝐴 / 𝑥⦌{𝑦 ∣ 𝜑} ↔ 𝑧 ∈ {𝑦 ∣ [𝐴 / 𝑥]𝜑})
1211eqriv 2766 1 ⦋𝐴 / 𝑥⦌{𝑦 ∣ 𝜑} = {𝑦 ∣ [𝐴 / 𝑥]𝜑}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1572  [wsb 2104   ∈ wcel 2151  {cab 2747  [wsbc 3744  ⦋csb 3853
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:  csbsng  4672  csbuni  4906  csbxp  5763  csbdm  5894  csbfrecsg  8344  csbwrdg  14734  abfmpeld  33359  abfmpel  33360  csboprabg  38541  csbfinxpg  38599  csbingVD  46203  csbsngVD  46212  csbxpgVD  46213  csbrngVD  46215  csbunigVD  46217  csbfv12gALTVD  46218
  Copyright terms: Public domain W3C validator