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

Theorem cbvcsb 3698
Description: Change bound variables in a class substitution. Interestingly, this does not require any bound variable conditions on 𝐴. (Contributed by Jeff Hankins, 13-Sep-2009.) (Revised by Mario Carneiro, 11-Dec-2016.)
Hypotheses
Ref Expression
cbvcsb.1 𝑦𝐶
cbvcsb.2 𝑥𝐷
cbvcsb.3 (𝑥 = 𝑦𝐶 = 𝐷)
Assertion
Ref Expression
cbvcsb 𝐴 / 𝑥𝐶 = 𝐴 / 𝑦𝐷

Proof of Theorem cbvcsb
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 cbvcsb.1 . . . . 5 𝑦𝐶
21nfcri 2901 . . . 4 𝑦 𝑧𝐶
3 cbvcsb.2 . . . . 5 𝑥𝐷
43nfcri 2901 . . . 4 𝑥 𝑧𝐷
5 cbvcsb.3 . . . . 5 (𝑥 = 𝑦𝐶 = 𝐷)
65eleq2d 2830 . . . 4 (𝑥 = 𝑦 → (𝑧𝐶𝑧𝐷))
72, 4, 6cbvsbc 3627 . . 3 ([𝐴 / 𝑥]𝑧𝐶[𝐴 / 𝑦]𝑧𝐷)
87abbii 2882 . 2 {𝑧[𝐴 / 𝑥]𝑧𝐶} = {𝑧[𝐴 / 𝑦]𝑧𝐷}
9 df-csb 3694 . 2 𝐴 / 𝑥𝐶 = {𝑧[𝐴 / 𝑥]𝑧𝐶}
10 df-csb 3694 . 2 𝐴 / 𝑦𝐷 = {𝑧[𝐴 / 𝑦]𝑧𝐷}
118, 9, 103eqtr4i 2797 1 𝐴 / 𝑥𝐶 = 𝐴 / 𝑦𝐷
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1652  wcel 2155  {cab 2751  wnfc 2894  [wsbc 3598  csb 3693
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1890  ax-4 1904  ax-5 2005  ax-6 2070  ax-7 2105  ax-9 2164  ax-10 2183  ax-11 2198  ax-12 2211  ax-13 2352  ax-ext 2743
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 874  df-tru 1656  df-ex 1875  df-nf 1879  df-sb 2063  df-clab 2752  df-cleq 2758  df-clel 2761  df-nfc 2896  df-sbc 3599  df-csb 3694
This theorem is referenced by:  cbvcsbv  3699  cbvsum  14713  cbvprod  14931  measiuns  30730  poimirlem26  33862  climinf2mpt  40587  climinfmpt  40588
  Copyright terms: Public domain W3C validator