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

Theorem sbco3 2405
 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 2365 . . 3 (∀𝑥 𝑥 = 𝑦 → ([𝑧 / 𝑥][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑦][𝑦 / 𝑥]𝜑))
2 nfae 2304 . . . 4 𝑥𝑥 𝑥 = 𝑦
3 sbequ12a 2099 . . . . 5 (𝑥 = 𝑦 → ([𝑦 / 𝑥]𝜑 ↔ [𝑥 / 𝑦]𝜑))
43sps 2043 . . . 4 (∀𝑥 𝑥 = 𝑦 → ([𝑦 / 𝑥]𝜑 ↔ [𝑥 / 𝑦]𝜑))
52, 4sbbid 2391 . . 3 (∀𝑥 𝑥 = 𝑦 → ([𝑧 / 𝑥][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥][𝑥 / 𝑦]𝜑))
61, 5bitr3d 269 . 2 (∀𝑥 𝑥 = 𝑦 → ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥][𝑥 / 𝑦]𝜑))
7 sbco 2400 . . . 4 ([𝑥 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑥 / 𝑦]𝜑)
87sbbii 1874 . . 3 ([𝑧 / 𝑥][𝑥 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥][𝑥 / 𝑦]𝜑)
9 nfnae 2306 . . . 4 𝑦 ¬ ∀𝑥 𝑥 = 𝑦
10 nfnae 2306 . . . 4 𝑥 ¬ ∀𝑥 𝑥 = 𝑦
11 nfsb2 2348 . . . 4 (¬ ∀𝑥 𝑥 = 𝑦 → Ⅎ𝑥[𝑦 / 𝑥]𝜑)
129, 10, 11sbco2d 2404 . . 3 (¬ ∀𝑥 𝑥 = 𝑦 → ([𝑧 / 𝑥][𝑥 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑦][𝑦 / 𝑥]𝜑))
138, 12syl5rbbr 274 . 2 (¬ ∀𝑥 𝑥 = 𝑦 → ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥][𝑥 / 𝑦]𝜑))
146, 13pm2.61i 175 1 ([𝑧 / 𝑦][𝑦 / 𝑥]𝜑 ↔ [𝑧 / 𝑥][𝑥 / 𝑦]𝜑)
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   ↔ wb 195  ∀wal 1473  [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:  sbcom  2406
 Copyright terms: Public domain W3C validator