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

Theorem sbco3 2551
Description: A composition law for substitution. (Contributed by NM, 2-Jun-1993.) (Proof shortened by Wolf Lammen, 18-Sep-2018.)
Assertion
Ref Expression
sbco3 ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥][𝑥 / 𝑦]𝜑)

Proof of Theorem sbco3
StepHypRef Expression
1 drsb1 2531 . . 3 (∀𝑥 𝑥 = 𝑦 → ([𝑧 / 𝑥][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑦][𝑦 / 𝑥]𝜑))
2 nfae 2450 . . . 4 𝑥𝑥 𝑥 = 𝑦
3 sbequ12a 2247 . . . . 5 (𝑥 = 𝑦 → ([𝑦 / 𝑥]𝜑 ↔ [𝑥 / 𝑦]𝜑))
43sps 2174 . . . 4 (∀𝑥 𝑥 = 𝑦 → ([𝑦 / 𝑥]𝜑 ↔ [𝑥 / 𝑦]𝜑))
52, 4sbbid 2237 . . 3 (∀𝑥 𝑥 = 𝑦 → ([𝑧 / 𝑥][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥][𝑥 / 𝑦]𝜑))
61, 5bitr3d 282 . 2 (∀𝑥 𝑥 = 𝑦 → ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥][𝑥 / 𝑦]𝜑))
7 sbco 2545 . . . 4 ([𝑥 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑥 / 𝑦]𝜑)
87sbbii 2072 . . 3 ([𝑧 / 𝑥][𝑥 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥][𝑥 / 𝑦]𝜑)
9 nfnae 2451 . . . 4 𝑦 ¬ ∀𝑥 𝑥 = 𝑦
10 nfnae 2451 . . . 4 𝑥 ¬ ∀𝑥 𝑥 = 𝑦
11 nfsb2 2518 . . . 4 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥[𝑦 / 𝑥]𝜑)
129, 10, 11sbco2d 2550 . . 3 (¬ ∀𝑥 𝑥 = 𝑦 → ([𝑧 / 𝑥][𝑥 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑦][𝑦 / 𝑥]𝜑))
138, 12syl5rbbr 287 . 2 (¬ ∀𝑥 𝑥 = 𝑦 → ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥][𝑥 / 𝑦]𝜑))
146, 13pm2.61i 183 1 ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥][𝑥 / 𝑦]𝜑)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 207  wal 1526  [wsb 2060
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-10 2136  ax-11 2151  ax-12 2167  ax-13 2383
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061
This theorem is referenced by:  sbcom  2552
  Copyright terms: Public domain W3C validator