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

Theorem csbeq2d 3891
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 2900 . . . 4 (𝜑 → (𝑦𝐵𝑦𝐶))
41, 3sbcbid 3828 . . 3 (𝜑 → ([𝐴 / 𝑥]𝑦𝐵[𝐴 / 𝑥]𝑦𝐶))
54abbidv 2887 . 2 (𝜑 → {𝑦[𝐴 / 𝑥]𝑦𝐵} = {𝑦[𝐴 / 𝑥]𝑦𝐶})
6 df-csb 3886 . 2 𝐴 / 𝑥𝐵 = {𝑦[𝐴 / 𝑥]𝑦𝐵}
7 df-csb 3886 . 2 𝐴 / 𝑥𝐶 = {𝑦[𝐴 / 𝑥]𝑦𝐶}
85, 6, 73eqtr4g 2883 1 (𝜑𝐴 / 𝑥𝐵 = 𝐴 / 𝑥𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1537  wnf 1784  wcel 2114  {cab 2801  [wsbc 3774  csb 3885
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-12 2177  ax-ext 2795
This theorem depends on definitions:  df-bi 209  df-an 399  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-sbc 3775  df-csb 3886
This theorem is referenced by:  csbeq2dv  3892  poimirlem26  34920
  Copyright terms: Public domain W3C validator