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

Theorem sbco2d 2404
Description: A composition law for substitution. (Contributed by NM, 2-Jun-1993.) (Revised by Mario Carneiro, 6-Oct-2016.)
Hypotheses
Ref Expression
sbco2d.1 𝑥𝜑
sbco2d.2 𝑧𝜑
sbco2d.3 (𝜑 → Ⅎ𝑧𝜓)
Assertion
Ref Expression
sbco2d (𝜑 → ([𝑦 / 𝑧][𝑧 / 𝑥]𝜓 ↔ [𝑦 / 𝑥]𝜓))

Proof of Theorem sbco2d
StepHypRef Expression
1 sbco2d.2 . . . . 5 𝑧𝜑
2 sbco2d.3 . . . . 5 (𝜑 → Ⅎ𝑧𝜓)
31, 2nfim1 2055 . . . 4 𝑧(𝜑𝜓)
43sbco2 2403 . . 3 ([𝑦 / 𝑧][𝑧 / 𝑥](𝜑𝜓) ↔ [𝑦 / 𝑥](𝜑𝜓))
5 sbco2d.1 . . . . . 6 𝑥𝜑
65sbrim 2384 . . . . 5 ([𝑧 / 𝑥](𝜑𝜓) ↔ (𝜑 → [𝑧 / 𝑥]𝜓))
76sbbii 1874 . . . 4 ([𝑦 / 𝑧][𝑧 / 𝑥](𝜑𝜓) ↔ [𝑦 / 𝑧](𝜑 → [𝑧 / 𝑥]𝜓))
81sbrim 2384 . . . 4 ([𝑦 / 𝑧](𝜑 → [𝑧 / 𝑥]𝜓) ↔ (𝜑 → [𝑦 / 𝑧][𝑧 / 𝑥]𝜓))
97, 8bitri 263 . . 3 ([𝑦 / 𝑧][𝑧 / 𝑥](𝜑𝜓) ↔ (𝜑 → [𝑦 / 𝑧][𝑧 / 𝑥]𝜓))
105sbrim 2384 . . 3 ([𝑦 / 𝑥](𝜑𝜓) ↔ (𝜑 → [𝑦 / 𝑥]𝜓))
114, 9, 103bitr3i 289 . 2 ((𝜑 → [𝑦 / 𝑧][𝑧 / 𝑥]𝜓) ↔ (𝜑 → [𝑦 / 𝑥]𝜓))
1211pm5.74ri 260 1 (𝜑 → ([𝑦 / 𝑧][𝑧 / 𝑥]𝜓 ↔ [𝑦 / 𝑥]𝜓))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wnf 1699  [wsb 1867
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
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
This theorem is referenced by:  sbco3  2405
  Copyright terms: Public domain W3C validator