HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
GIF version

Theorem sbco2 913
Description: A composition law for substitution.
Hypothesis
Ref Expression
sbco2.1 (φ → ∀zφ)
Assertion
Ref Expression
sbco2 ([y / z][z / x]φ ↔ [y / x]φ)

Proof of Theorem sbco2
StepHypRef Expression
1 sbequ 877 . . . . 5 (x = y → ([x / z][z / x]φ ↔ [y / z][z / x]φ))
2 sbco2.1 . . . . . 6 (φ → ∀zφ)
32sbid2 911 . . . . 5 ([x / z][z / x]φφ)
41, 3syl5bbr 412 . . . 4 (x = y → (φ ↔ [y / z][z / x]φ))
5 sbequ12 865 . . . 4 (x = y → (φ ↔ [y / x]φ))
64, 5bitr3d 408 . . 3 (x = y → ([y / z][z / x]φ ↔ [y / x]φ))
76a4s 682 . 2 (∀x x = y → ([y / z][z / x]φ ↔ [y / x]φ))
8 eq6 826 . . . 4 (¬ ∀x x = y → ∀x ¬ ∀x x = y)
92hbsb3 875 . . . . 5 ([z / x]φ → ∀x[z / x]φ)
109hbsb4 905 . . . 4 (¬ ∀x x = y → ([y / z][z / x]φ → ∀x[y / z][z / x]φ))
114a1i 7 . . . 4 (¬ ∀x x = y → (x = y → (φ ↔ [y / z][z / x]φ)))
128, 10, 11sbied 903 . . 3 (¬ ∀x x = y → ([y / x]φ ↔ [y / z][z / x]φ))
1312bicomd 399 . 2 (¬ ∀x x = y → ([y / z][z / x]φ ↔ [y / x]φ))
147, 13pm2.61i 110 1 ([y / z][z / x]φ ↔ [y / x]φ)
Colors of variables: wff set class
Syntax hints:  ¬ wn 1   → wi 2   ↔ wb 127  ∀wal 672   = weq 797  [wsb 852
This theorem is referenced by:  sbco2d 914  sb7 991  sbralie 1439  sbcco 1448
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-7 676  ax-gen 677  ax-8 798  ax-9 799  ax-10 800  ax-11 801  ax-12 802
This theorem depends on definitions:  df-bi 128  df-or 197  df-an 198  df-ex 679  df-sb 853
metamath.org