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

Theorem csbeq2d 3835
Description: Formula-building deduction for class substitution. (Contributed by NM, 22-Nov-2005.) (Revised by Mario Carneiro, 1-Sep-2015.)
Hypotheses
Ref Expression
csbeq2d.1 𝑥𝜑
csbeq2d.2 (𝜑𝐵 = 𝐶)
Assertion
Ref Expression
csbeq2d (𝜑𝐴 / 𝑥𝐵 = 𝐴 / 𝑥𝐶)

Proof of Theorem csbeq2d
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 csbeq2d.1 . . . 4 𝑥𝜑
2 csbeq2d.2 . . . . 5 (𝜑𝐵 = 𝐶)
32eleq2d 2825 . . . 4 (𝜑 → (𝑦𝐵𝑦𝐶))
41, 3sbcbid 3770 . . 3 (𝜑 → ([𝐴 / 𝑥]𝑦𝐵[𝐴 / 𝑥]𝑦𝐶))
54abbidv 2809 . 2 (𝜑 → {𝑦[𝐴 / 𝑥]𝑦𝐵} = {𝑦[𝐴 / 𝑥]𝑦𝐶})
6 df-csb 3830 . 2 𝐴 / 𝑥𝐵 = {𝑦[𝐴 / 𝑥]𝑦𝐵}
7 df-csb 3830 . 2 𝐴 / 𝑥𝐶 = {𝑦[𝐴 / 𝑥]𝑦𝐶}
85, 6, 73eqtr4g 2805 1 (𝜑𝐴 / 𝑥𝐵 = 𝐴 / 𝑥𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1543  wnf 1791  wcel 2112  {cab 2716  [wsbc 3712  csb 3829
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2114  ax-9 2122  ax-12 2177  ax-ext 2710
This theorem depends on definitions:  df-bi 210  df-an 400  df-ex 1788  df-nf 1792  df-sb 2073  df-clab 2717  df-cleq 2731  df-clel 2818  df-sbc 3713  df-csb 3830
This theorem is referenced by:  csbeq2dv  3836  poimirlem26  35709
  Copyright terms: Public domain W3C validator