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

Theorem sbco2 2402
Description: A composition law for substitution. (Contributed by NM, 30-Jun-1994.) (Revised by Mario Carneiro, 6-Oct-2016.) (Proof shortened by Wolf Lammen, 17-Sep-2018.)
Hypothesis
Ref Expression
sbco2.1 𝑧𝜑
Assertion
Ref Expression
sbco2 ([𝑦 / 𝑧][𝑧 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑)

Proof of Theorem sbco2
StepHypRef Expression
1 sbequ12 2095 . . . 4 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ [𝑦 / 𝑧][𝑧 / 𝑥]𝜑))
2 sbequ 2363 . . . 4 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑))
31, 2bitr3d 268 . . 3 (𝑧 = 𝑦 → ([𝑦 / 𝑧][𝑧 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑))
43sps 2041 . 2 (∀𝑧 𝑧 = 𝑦 → ([𝑦 / 𝑧][𝑧 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑))
5 nfnae 2305 . . 3 𝑧 ¬ ∀𝑧 𝑧 = 𝑦
6 sbco2.1 . . . 4 𝑧𝜑
76nfsb4 2377 . . 3 (¬ ∀𝑧 𝑧 = 𝑦 → Ⅎ𝑧[𝑦 / 𝑥]𝜑)
82a1i 11 . . 3 (¬ ∀𝑧 𝑧 = 𝑦 → (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑)))
95, 7, 8sbied 2396 . 2 (¬ ∀𝑧 𝑧 = 𝑦 → ([𝑦 / 𝑧][𝑧 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑))
104, 9pm2.61i 174 1 ([𝑦 / 𝑧][𝑧 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 194  wal 1472  wnf 1698  [wsb 1866
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-10 2005  ax-11 2020  ax-12 2032  ax-13 2232
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1867
This theorem is referenced by:  sbco2d  2403  equsb3ALT  2420  elsb3  2421  elsb4  2422  sb7f  2440  sbco4lem  2452  sbco4  2453  eqsb3  2714  clelsb3  2715  cbvab  2732  sbralie  3159  sbcco  3424  clelsb3f  28510  bj-clelsb3  31845
  Copyright terms: Public domain W3C validator