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

Theorem sbequi 2108
Description: An equality theorem for substitution. (Contributed by NM, 5-Aug-1993.)
Assertion
Ref Expression
sbequi  |-  ( x  =  y  ->  ( [ x  /  z ] ph  ->  [ y  /  z ] ph ) )

Proof of Theorem sbequi
StepHypRef Expression
1 hbsb2 2106 . . . . . 6  |-  ( -. 
A. z  z  =  x  ->  ( [
x  /  z ]
ph  ->  A. z [ x  /  z ] ph ) )
2 equvini 2040 . . . . . . . 8  |-  ( x  =  y  ->  E. z
( x  =  z  /\  z  =  y ) )
3 stdpc7 1938 . . . . . . . . . 10  |-  ( x  =  z  ->  ( [ x  /  z ] ph  ->  ph ) )
4 sbequ1 1939 . . . . . . . . . 10  |-  ( z  =  y  ->  ( ph  ->  [ y  / 
z ] ph )
)
53, 4sylan9 639 . . . . . . . . 9  |-  ( ( x  =  z  /\  z  =  y )  ->  ( [ x  / 
z ] ph  ->  [ y  /  z ]
ph ) )
65eximi 1582 . . . . . . . 8  |-  ( E. z ( x  =  z  /\  z  =  y )  ->  E. z
( [ x  / 
z ] ph  ->  [ y  /  z ]
ph ) )
72, 6syl 16 . . . . . . 7  |-  ( x  =  y  ->  E. z
( [ x  / 
z ] ph  ->  [ y  /  z ]
ph ) )
8 19.35 1607 . . . . . . 7  |-  ( E. z ( [ x  /  z ] ph  ->  [ y  /  z ] ph )  <->  ( A. z [ x  /  z ] ph  ->  E. z [ y  /  z ] ph ) )
97, 8sylib 189 . . . . . 6  |-  ( x  =  y  ->  ( A. z [ x  / 
z ] ph  ->  E. z [ y  / 
z ] ph )
)
101, 9sylan9 639 . . . . 5  |-  ( ( -.  A. z  z  =  x  /\  x  =  y )  -> 
( [ x  / 
z ] ph  ->  E. z [ y  / 
z ] ph )
)
11 nfsb2 2107 . . . . . 6  |-  ( -. 
A. z  z  =  y  ->  F/ z [ y  /  z ] ph )
121119.9d 1792 . . . . 5  |-  ( -. 
A. z  z  =  y  ->  ( E. z [ y  /  z ] ph  ->  [ y  /  z ] ph ) )
1310, 12syl9 68 . . . 4  |-  ( ( -.  A. z  z  =  x  /\  x  =  y )  -> 
( -.  A. z 
z  =  y  -> 
( [ x  / 
z ] ph  ->  [ y  /  z ]
ph ) ) )
1413ex 424 . . 3  |-  ( -. 
A. z  z  =  x  ->  ( x  =  y  ->  ( -. 
A. z  z  =  y  ->  ( [
x  /  z ]
ph  ->  [ y  / 
z ] ph )
) ) )
1514com23 74 . 2  |-  ( -. 
A. z  z  =  x  ->  ( -.  A. z  z  =  y  ->  ( x  =  y  ->  ( [
x  /  z ]
ph  ->  [ y  / 
z ] ph )
) ) )
16 sbequ2 1657 . . . . . 6  |-  ( z  =  x  ->  ( [ x  /  z ] ph  ->  ph ) )
1716sps 1766 . . . . 5  |-  ( A. z  z  =  x  ->  ( [ x  / 
z ] ph  ->  ph ) )
1817adantr 452 . . . 4  |-  ( ( A. z  z  =  x  /\  x  =  y )  ->  ( [ x  /  z ] ph  ->  ph ) )
19 sbequ1 1939 . . . . 5  |-  ( x  =  y  ->  ( ph  ->  [ y  /  x ] ph ) )
20 drsb1 2071 . . . . . 6  |-  ( A. z  z  =  x  ->  ( [ y  / 
z ] ph  <->  [ y  /  x ] ph )
)
2120biimprd 215 . . . . 5  |-  ( A. z  z  =  x  ->  ( [ y  /  x ] ph  ->  [ y  /  z ] ph ) )
2219, 21sylan9r 640 . . . 4  |-  ( ( A. z  z  =  x  /\  x  =  y )  ->  ( ph  ->  [ y  / 
z ] ph )
)
2318, 22syld 42 . . 3  |-  ( ( A. z  z  =  x  /\  x  =  y )  ->  ( [ x  /  z ] ph  ->  [ y  /  z ] ph ) )
2423ex 424 . 2  |-  ( A. z  z  =  x  ->  ( x  =  y  ->  ( [ x  /  z ] ph  ->  [ y  /  z ] ph ) ) )
25 drsb1 2071 . . . . . 6  |-  ( A. z  z  =  y  ->  ( [ x  / 
z ] ph  <->  [ x  /  y ] ph ) )
2625biimpd 199 . . . . 5  |-  ( A. z  z  =  y  ->  ( [ x  / 
z ] ph  ->  [ x  /  y ]
ph ) )
27 stdpc7 1938 . . . . 5  |-  ( x  =  y  ->  ( [ x  /  y ] ph  ->  ph ) )
2826, 27sylan9 639 . . . 4  |-  ( ( A. z  z  =  y  /\  x  =  y )  ->  ( [ x  /  z ] ph  ->  ph ) )
294sps 1766 . . . . 5  |-  ( A. z  z  =  y  ->  ( ph  ->  [ y  /  z ] ph ) )
3029adantr 452 . . . 4  |-  ( ( A. z  z  =  y  /\  x  =  y )  ->  ( ph  ->  [ y  / 
z ] ph )
)
3128, 30syld 42 . . 3  |-  ( ( A. z  z  =  y  /\  x  =  y )  ->  ( [ x  /  z ] ph  ->  [ y  /  z ] ph ) )
3231ex 424 . 2  |-  ( A. z  z  =  y  ->  ( x  =  y  ->  ( [ x  /  z ] ph  ->  [ y  /  z ] ph ) ) )
3315, 24, 32pm2.61ii 159 1  |-  ( x  =  y  ->  ( [ x  /  z ] ph  ->  [ y  /  z ] ph ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 359   A.wal 1546   E.wex 1547   [wsb 1655
This theorem is referenced by:  sbequ  2109
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1662  ax-8 1683  ax-6 1740  ax-7 1745  ax-11 1757  ax-12 1946
This theorem depends on definitions:  df-bi 178  df-an 361  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656
  Copyright terms: Public domain W3C validator