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

Theorem csbeq2d 3888
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 2898 . . . 4 (𝜑 → (𝑦𝐵𝑦𝐶))
41, 3sbcbid 3825 . . 3 (𝜑 → ([𝐴 / 𝑥]𝑦𝐵[𝐴 / 𝑥]𝑦𝐶))
54abbidv 2885 . 2 (𝜑 → {𝑦[𝐴 / 𝑥]𝑦𝐵} = {𝑦[𝐴 / 𝑥]𝑦𝐶})
6 df-csb 3883 . 2 𝐴 / 𝑥𝐵 = {𝑦[𝐴 / 𝑥]𝑦𝐵}
7 df-csb 3883 . 2 𝐴 / 𝑥𝐶 = {𝑦[𝐴 / 𝑥]𝑦𝐶}
85, 6, 73eqtr4g 2881 1 (𝜑𝐴 / 𝑥𝐵 = 𝐴 / 𝑥𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1533  wnf 1780  wcel 2110  {cab 2799  [wsbc 3771  csb 3882
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-12 2173  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-sbc 3772  df-csb 3883
This theorem is referenced by:  csbeq2dv  3889  poimirlem26  34912
  Copyright terms: Public domain W3C validator