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

Theorem sbcco2 3765
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 3742 . 2 ([𝑥 / 𝑦][𝐵 / 𝑥]𝜑 ↔ [𝑥 / 𝑦][𝐵 / 𝑥]𝜑)
2 sbcco2.1 . . . . 5 (𝑥 = 𝑦 → 𝐴 = 𝐵)
32equcoms 2052 . . . 4 (𝑦 = 𝑥 → 𝐴 = 𝐵)
4 dfsbcq 3740 . . . . 5 (𝐴 = 𝐵 → ([𝐴 / 𝑥]𝜑 ↔ [𝐵 / 𝑥]𝜑))
54bicomd 226 . . . 4 (𝐴 = 𝐵 → ([𝐵 / 𝑥]𝜑 ↔ [𝐴 / 𝑥]𝜑))
63, 5syl 18 . . 3 (𝑦 = 𝑥 → ([𝐵 / 𝑥]𝜑 ↔ [𝐴 / 𝑥]𝜑))
76sbievw 2130 . 2 ([𝑥 / 𝑦][𝐵 / 𝑥]𝜑 ↔ [𝐴 / 𝑥]𝜑)
81, 7bitr3i 280 1 ([𝑥 / 𝑦][𝐵 / 𝑥]𝜑 ↔ [𝐴 / 𝑥]𝜑)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1569  [wsb 2098  [wsbc 3738
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-sbc 3739
This theorem is used by:  tfinds2  7875
  Copyright terms: Public domain W3C validator