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

Theorem sbcom3 2548
Description: Substituting 𝑦 for 𝑥 and then 𝑧 for 𝑦 is equivalent to substituting 𝑧 for both 𝑥 and 𝑦. Usage of this theorem is discouraged because it depends on ax-13 2390. For a version requiring a disjoint variable, but fewer axioms, see sbcom3vv 2106. (Contributed by Giovanni Mascellani, 8-Apr-2018.) Remove dependency on ax-11 2161. (Revised by Wolf Lammen, 16-Sep-2018.) (Proof shortened by Wolf Lammen, 16-Sep-2018.) (New usage is discouraged.)
Assertion
Ref Expression
sbcom3 ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑦][𝑧 / 𝑥]𝜑)

Proof of Theorem sbcom3
StepHypRef Expression
1 nfa1 2155 . . 3 𝑦𝑦 𝑦 = 𝑧
2 drsb2 2267 . . 3 (∀𝑦 𝑦 = 𝑧 → ([𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥]𝜑))
31, 2sbbid 2246 . 2 (∀𝑦 𝑦 = 𝑧 → ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑦][𝑧 / 𝑥]𝜑))
4 sb4b 2499 . . . 4 (¬ ∀𝑦 𝑦 = 𝑧 → ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ ∀𝑦(𝑦 = 𝑧 → [𝑦 / 𝑥]𝜑)))
5 sbequ 2090 . . . . . 6 (𝑦 = 𝑧 → ([𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥]𝜑))
65pm5.74i 273 . . . . 5 ((𝑦 = 𝑧 → [𝑦 / 𝑥]𝜑) ↔ (𝑦 = 𝑧 → [𝑧 / 𝑥]𝜑))
76albii 1820 . . . 4 (∀𝑦(𝑦 = 𝑧 → [𝑦 / 𝑥]𝜑) ↔ ∀𝑦(𝑦 = 𝑧 → [𝑧 / 𝑥]𝜑))
84, 7syl6bb 289 . . 3 (¬ ∀𝑦 𝑦 = 𝑧 → ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ ∀𝑦(𝑦 = 𝑧 → [𝑧 / 𝑥]𝜑)))
9 sb4b 2499 . . 3 (¬ ∀𝑦 𝑦 = 𝑧 → ([𝑧 / 𝑦][𝑧 / 𝑥]𝜑 ↔ ∀𝑦(𝑦 = 𝑧 → [𝑧 / 𝑥]𝜑)))
108, 9bitr4d 284 . 2 (¬ ∀𝑦 𝑦 = 𝑧 → ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑦][𝑧 / 𝑥]𝜑))
113, 10pm2.61i 184 1 ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑦][𝑧 / 𝑥]𝜑)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wal 1535  [wsb 2069
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-10 2145  ax-12 2177  ax-13 2390
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-ex 1781  df-nf 1785  df-sb 2070
This theorem is referenced by:  sbco  2549  sbidm  2552  sbcom  2556
  Copyright terms: Public domain W3C validator