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

Theorem sbcom3 2411
Description: Substituting  y for  x and then  z for  y is equivalent to substituting  z for both  x and  y. (Contributed by Giovanni Mascellani, 8-Apr-2018.) Remove dependency on ax-11 2034. (Revised by Wolf Lammen, 16-Sep-2018.) (Proof shortened by Wolf Lammen, 16-Sep-2018.)
Assertion
Ref Expression
sbcom3  |-  ( [ z  /  y ] [ y  /  x ] ph  <->  [ z  /  y ] [ z  /  x ] ph )

Proof of Theorem sbcom3
StepHypRef Expression
1 nfa1 2028 . . 3  |-  F/ y A. y  y  =  z
2 drsb2 2378 . . 3  |-  ( A. y  y  =  z  ->  ( [ y  /  x ] ph  <->  [ z  /  x ] ph )
)
31, 2sbbid 2403 . 2  |-  ( A. y  y  =  z  ->  ( [ z  / 
y ] [ y  /  x ] ph  <->  [ z  /  y ] [ z  /  x ] ph ) )
4 sb4b 2358 . . . 4  |-  ( -. 
A. y  y  =  z  ->  ( [
z  /  y ] [ y  /  x ] ph  <->  A. y ( y  =  z  ->  [ y  /  x ] ph ) ) )
5 sbequ 2376 . . . . . 6  |-  ( y  =  z  ->  ( [ y  /  x ] ph  <->  [ z  /  x ] ph ) )
65pm5.74i 260 . . . . 5  |-  ( ( y  =  z  ->  [ y  /  x ] ph )  <->  ( y  =  z  ->  [ z  /  x ] ph ) )
76albii 1747 . . . 4  |-  ( A. y ( y  =  z  ->  [ y  /  x ] ph )  <->  A. y ( y  =  z  ->  [ z  /  x ] ph )
)
84, 7syl6bb 276 . . 3  |-  ( -. 
A. y  y  =  z  ->  ( [
z  /  y ] [ y  /  x ] ph  <->  A. y ( y  =  z  ->  [ z  /  x ] ph ) ) )
9 sb4b 2358 . . 3  |-  ( -. 
A. y  y  =  z  ->  ( [
z  /  y ] [ z  /  x ] ph  <->  A. y ( y  =  z  ->  [ z  /  x ] ph ) ) )
108, 9bitr4d 271 . 2  |-  ( -. 
A. y  y  =  z  ->  ( [
z  /  y ] [ y  /  x ] ph  <->  [ z  /  y ] [ z  /  x ] ph ) )
113, 10pm2.61i 176 1  |-  ( [ z  /  y ] [ y  /  x ] ph  <->  [ z  /  y ] [ z  /  x ] ph )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 196   A.wal 1481   [wsb 1880
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-10 2019  ax-12 2047  ax-13 2246
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-ex 1705  df-nf 1710  df-sb 1881
This theorem is referenced by:  sbco  2412  sbidm  2414  sbcom  2418  equsb3  2432  wl-equsb3  33337
  Copyright terms: Public domain W3C validator