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

Theorem csbeq2d 3943
Description: Formula-building deduction rule 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 2673 . . . 4 (𝜑 → (𝑦𝐵𝑦𝐶))
41, 3sbcbid 3456 . . 3 (𝜑 → ([𝐴 / 𝑥]𝑦𝐵[𝐴 / 𝑥]𝑦𝐶))
54abbidv 2728 . 2 (𝜑 → {𝑦[𝐴 / 𝑥]𝑦𝐵} = {𝑦[𝐴 / 𝑥]𝑦𝐶})
6 df-csb 3500 . 2 𝐴 / 𝑥𝐵 = {𝑦[𝐴 / 𝑥]𝑦𝐵}
7 df-csb 3500 . 2 𝐴 / 𝑥𝐶 = {𝑦[𝐴 / 𝑥]𝑦𝐶}
85, 6, 73eqtr4g 2669 1 (𝜑𝐴 / 𝑥𝐵 = 𝐴 / 𝑥𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1475  wnf 1699  wcel 1977  {cab 2596  [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-sbc 3403  df-csb 3500
This theorem is referenced by:  csbeq2dv  3944  poimirlem26  32605
  Copyright terms: Public domain W3C validator