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

Theorem cbvcsb 3504
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 2745 . . . 4 𝑦 𝑧𝐶
3 cbvcsb.2 . . . . 5 𝑥𝐷
43nfcri 2745 . . . 4 𝑥 𝑧𝐷
5 cbvcsb.3 . . . . 5 (𝑥 = 𝑦𝐶 = 𝐷)
65eleq2d 2673 . . . 4 (𝑥 = 𝑦 → (𝑧𝐶𝑧𝐷))
72, 4, 6cbvsbc 3431 . . 3 ([𝐴 / 𝑥]𝑧𝐶[𝐴 / 𝑦]𝑧𝐷)
87abbii 2726 . 2 {𝑧[𝐴 / 𝑥]𝑧𝐶} = {𝑧[𝐴 / 𝑦]𝑧𝐷}
9 df-csb 3500 . 2 𝐴 / 𝑥𝐶 = {𝑧[𝐴 / 𝑥]𝑧𝐶}
10 df-csb 3500 . 2 𝐴 / 𝑦𝐷 = {𝑧[𝐴 / 𝑦]𝑧𝐷}
118, 9, 103eqtr4i 2642 1 𝐴 / 𝑥𝐶 = 𝐴 / 𝑦𝐷
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1475  wcel 1977  {cab 2596  wnfc 2738  [wsbc 3402  csb 3499
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-sbc 3403  df-csb 3500
This theorem is referenced by:  cbvcsbv  3505  cbvsum  14273  cbvprod  14484  measiuns  29607  poimirlem26  32605
  Copyright terms: Public domain W3C validator