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

Theorem csbeq2d 3991
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 2687 . . . 4 (𝜑 → (𝑦𝐵𝑦𝐶))
41, 3sbcbid 3489 . . 3 (𝜑 → ([𝐴 / 𝑥]𝑦𝐵[𝐴 / 𝑥]𝑦𝐶))
54abbidv 2741 . 2 (𝜑 → {𝑦[𝐴 / 𝑥]𝑦𝐵} = {𝑦[𝐴 / 𝑥]𝑦𝐶})
6 df-csb 3534 . 2 𝐴 / 𝑥𝐵 = {𝑦[𝐴 / 𝑥]𝑦𝐵}
7 df-csb 3534 . 2 𝐴 / 𝑥𝐶 = {𝑦[𝐴 / 𝑥]𝑦𝐶}
85, 6, 73eqtr4g 2681 1 (𝜑𝐴 / 𝑥𝐵 = 𝐴 / 𝑥𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1483  wnf 1708  wcel 1990  {cab 2608  [wsbc 3435  csb 3533
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-sbc 3436  df-csb 3534
This theorem is referenced by:  csbeq2dv  3992  poimirlem26  33435
  Copyright terms: Public domain W3C validator