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

Theorem sbcco2 3446
 Description: A composition law for class substitution. Importantly, 𝑥 may occur free in the class expression substituted for 𝐴. (Contributed by NM, 5-Sep-2004.) (Proof shortened by Andrew Salmon, 8-Jun-2011.)
Hypothesis
Ref Expression
sbcco2.1 (𝑥 = 𝑦𝐴 = 𝐵)
Assertion
Ref Expression
sbcco2 ([𝑥 / 𝑦][𝐵 / 𝑥]𝜑[𝐴 / 𝑥]𝜑)
Distinct variable groups:   𝑥,𝑦   𝜑,𝑦   𝑦,𝐴
Allowed substitution hints:   𝜑(𝑥)   𝐴(𝑥)   𝐵(𝑥,𝑦)

Proof of Theorem sbcco2
StepHypRef Expression
1 sbsbc 3426 . 2 ([𝑥 / 𝑦][𝐵 / 𝑥]𝜑[𝑥 / 𝑦][𝐵 / 𝑥]𝜑)
2 nfv 1840 . . 3 𝑦[𝐴 / 𝑥]𝜑
3 sbcco2.1 . . . . 5 (𝑥 = 𝑦𝐴 = 𝐵)
43equcoms 1944 . . . 4 (𝑦 = 𝑥𝐴 = 𝐵)
5 dfsbcq 3424 . . . . 5 (𝐴 = 𝐵 → ([𝐴 / 𝑥]𝜑[𝐵 / 𝑥]𝜑))
65bicomd 213 . . . 4 (𝐴 = 𝐵 → ([𝐵 / 𝑥]𝜑[𝐴 / 𝑥]𝜑))
74, 6syl 17 . . 3 (𝑦 = 𝑥 → ([𝐵 / 𝑥]𝜑[𝐴 / 𝑥]𝜑))
82, 7sbie 2407 . 2 ([𝑥 / 𝑦][𝐵 / 𝑥]𝜑[𝐴 / 𝑥]𝜑)
91, 8bitr3i 266 1 ([𝑥 / 𝑦][𝐵 / 𝑥]𝜑[𝐴 / 𝑥]𝜑)
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 196   = wceq 1480  [wsb 1877  [wsbc 3422 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-9 1996  ax-10 2016  ax-12 2044  ax-13 2245  ax-ext 2601 This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-ex 1702  df-nf 1707  df-sb 1878  df-clab 2608  df-cleq 2614  df-clel 2617  df-sbc 3423 This theorem is referenced by:  tfinds2  7025
 Copyright terms: Public domain W3C validator