ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  sbequi Unicode version

Theorem sbequi 1827
Description: An equality theorem for substitution. (Contributed by NM, 5-Aug-1993.) (Proof modified by Jim Kingdon, 1-Feb-2018.)
Assertion
Ref Expression
sbequi  |-  ( x  =  y  ->  ( [ x  /  z ] ph  ->  [ y  /  z ] ph ) )

Proof of Theorem sbequi
StepHypRef Expression
1 nfsb2or 1825 . . . 4  |-  ( A. z  z  =  x  \/  F/ z [ x  /  z ] ph )
2 nfr 1506 . . . . . 6  |-  ( F/ z [ x  / 
z ] ph  ->  ( [ x  /  z ] ph  ->  A. z [ x  /  z ] ph ) )
3 equvini 1746 . . . . . . 7  |-  ( x  =  y  ->  E. z
( x  =  z  /\  z  =  y ) )
4 stdpc7 1758 . . . . . . . . 9  |-  ( x  =  z  ->  ( [ x  /  z ] ph  ->  ph ) )
5 sbequ1 1756 . . . . . . . . 9  |-  ( z  =  y  ->  ( ph  ->  [ y  / 
z ] ph )
)
64, 5sylan9 407 . . . . . . . 8  |-  ( ( x  =  z  /\  z  =  y )  ->  ( [ x  / 
z ] ph  ->  [ y  /  z ]
ph ) )
76eximi 1588 . . . . . . 7  |-  ( E. z ( x  =  z  /\  z  =  y )  ->  E. z
( [ x  / 
z ] ph  ->  [ y  /  z ]
ph ) )
8 19.35-1 1612 . . . . . . 7  |-  ( E. z ( [ x  /  z ] ph  ->  [ y  /  z ] ph )  ->  ( A. z [ x  / 
z ] ph  ->  E. z [ y  / 
z ] ph )
)
93, 7, 83syl 17 . . . . . 6  |-  ( x  =  y  ->  ( A. z [ x  / 
z ] ph  ->  E. z [ y  / 
z ] ph )
)
102, 9syl9 72 . . . . 5  |-  ( F/ z [ x  / 
z ] ph  ->  ( x  =  y  -> 
( [ x  / 
z ] ph  ->  E. z [ y  / 
z ] ph )
) )
1110orim2i 751 . . . 4  |-  ( ( A. z  z  =  x  \/  F/ z [ x  /  z ] ph )  ->  ( A. z  z  =  x  \/  ( x  =  y  ->  ( [ x  /  z ]
ph  ->  E. z [ y  /  z ] ph ) ) ) )
121, 11ax-mp 5 . . 3  |-  ( A. z  z  =  x  \/  ( x  =  y  ->  ( [ x  /  z ] ph  ->  E. z [ y  /  z ] ph ) ) )
13 nfsb2or 1825 . . . . 5  |-  ( A. z  z  =  y  \/  F/ z [ y  /  z ] ph )
14 19.9t 1630 . . . . . . 7  |-  ( F/ z [ y  / 
z ] ph  ->  ( E. z [ y  /  z ] ph  <->  [ y  /  z ]
ph ) )
1514biimpd 143 . . . . . 6  |-  ( F/ z [ y  / 
z ] ph  ->  ( E. z [ y  /  z ] ph  ->  [ y  /  z ] ph ) )
1615orim2i 751 . . . . 5  |-  ( ( A. z  z  =  y  \/  F/ z [ y  /  z ] ph )  ->  ( A. z  z  =  y  \/  ( E. z [ y  /  z ] ph  ->  [ y  /  z ] ph ) ) )
1713, 16ax-mp 5 . . . 4  |-  ( A. z  z  =  y  \/  ( E. z [ y  /  z ]
ph  ->  [ y  / 
z ] ph )
)
18 ax-1 6 . . . . 5  |-  ( ( E. z [ y  /  z ] ph  ->  [ y  /  z ] ph )  ->  (
x  =  y  -> 
( E. z [ y  /  z ]
ph  ->  [ y  / 
z ] ph )
) )
1918orim2i 751 . . . 4  |-  ( ( A. z  z  =  y  \/  ( E. z [ y  / 
z ] ph  ->  [ y  /  z ]
ph ) )  -> 
( A. z  z  =  y  \/  (
x  =  y  -> 
( E. z [ y  /  z ]
ph  ->  [ y  / 
z ] ph )
) ) )
2017, 19ax-mp 5 . . 3  |-  ( A. z  z  =  y  \/  ( x  =  y  ->  ( E. z [ y  /  z ] ph  ->  [ y  /  z ] ph ) ) )
2112, 20sbequilem 1826 . 2  |-  ( A. z  z  =  x  \/  ( A. z  z  =  y  \/  (
x  =  y  -> 
( [ x  / 
z ] ph  ->  [ y  /  z ]
ph ) ) ) )
22 sbequ2 1757 . . . . . . 7  |-  ( z  =  x  ->  ( [ x  /  z ] ph  ->  ph ) )
2322sps 1525 . . . . . 6  |-  ( A. z  z  =  x  ->  ( [ x  / 
z ] ph  ->  ph ) )
2423adantr 274 . . . . 5  |-  ( ( A. z  z  =  x  /\  x  =  y )  ->  ( [ x  /  z ] ph  ->  ph ) )
25 sbequ1 1756 . . . . . 6  |-  ( x  =  y  ->  ( ph  ->  [ y  /  x ] ph ) )
26 drsb1 1787 . . . . . . . 8  |-  ( A. x  x  =  z  ->  ( [ y  /  x ] ph  <->  [ y  /  z ] ph ) )
2726biimpd 143 . . . . . . 7  |-  ( A. x  x  =  z  ->  ( [ y  /  x ] ph  ->  [ y  /  z ] ph ) )
2827alequcoms 1504 . . . . . 6  |-  ( A. z  z  =  x  ->  ( [ y  /  x ] ph  ->  [ y  /  z ] ph ) )
2925, 28sylan9r 408 . . . . 5  |-  ( ( A. z  z  =  x  /\  x  =  y )  ->  ( ph  ->  [ y  / 
z ] ph )
)
3024, 29syld 45 . . . 4  |-  ( ( A. z  z  =  x  /\  x  =  y )  ->  ( [ x  /  z ] ph  ->  [ y  /  z ] ph ) )
3130ex 114 . . 3  |-  ( A. z  z  =  x  ->  ( x  =  y  ->  ( [ x  /  z ] ph  ->  [ y  /  z ] ph ) ) )
32 drsb1 1787 . . . . . . . . 9  |-  ( A. z  z  =  y  ->  ( [ x  / 
z ] ph  <->  [ x  /  y ] ph ) )
3332biimpd 143 . . . . . . . 8  |-  ( A. z  z  =  y  ->  ( [ x  / 
z ] ph  ->  [ x  /  y ]
ph ) )
34 stdpc7 1758 . . . . . . . 8  |-  ( x  =  y  ->  ( [ x  /  y ] ph  ->  ph ) )
3533, 34sylan9 407 . . . . . . 7  |-  ( ( A. z  z  =  y  /\  x  =  y )  ->  ( [ x  /  z ] ph  ->  ph ) )
365sps 1525 . . . . . . . 8  |-  ( A. z  z  =  y  ->  ( ph  ->  [ y  /  z ] ph ) )
3736adantr 274 . . . . . . 7  |-  ( ( A. z  z  =  y  /\  x  =  y )  ->  ( ph  ->  [ y  / 
z ] ph )
)
3835, 37syld 45 . . . . . 6  |-  ( ( A. z  z  =  y  /\  x  =  y )  ->  ( [ x  /  z ] ph  ->  [ y  /  z ] ph ) )
3938ex 114 . . . . 5  |-  ( A. z  z  =  y  ->  ( x  =  y  ->  ( [ x  /  z ] ph  ->  [ y  /  z ] ph ) ) )
4039orim1i 750 . . . 4  |-  ( ( A. z  z  =  y  \/  ( x  =  y  ->  ( [ x  /  z ] ph  ->  [ y  /  z ] ph ) ) )  -> 
( ( x  =  y  ->  ( [
x  /  z ]
ph  ->  [ y  / 
z ] ph )
)  \/  ( x  =  y  ->  ( [ x  /  z ] ph  ->  [ y  /  z ] ph ) ) ) )
41 pm1.2 746 . . . 4  |-  ( ( ( x  =  y  ->  ( [ x  /  z ] ph  ->  [ y  /  z ] ph ) )  \/  ( x  =  y  ->  ( [ x  /  z ] ph  ->  [ y  /  z ] ph ) ) )  ->  ( x  =  y  ->  ( [
x  /  z ]
ph  ->  [ y  / 
z ] ph )
) )
4240, 41syl 14 . . 3  |-  ( ( A. z  z  =  y  \/  ( x  =  y  ->  ( [ x  /  z ] ph  ->  [ y  /  z ] ph ) ) )  -> 
( x  =  y  ->  ( [ x  /  z ] ph  ->  [ y  /  z ] ph ) ) )
4331, 42jaoi 706 . 2  |-  ( ( A. z  z  =  x  \/  ( A. z  z  =  y  \/  ( x  =  y  ->  ( [ x  /  z ] ph  ->  [ y  /  z ] ph ) ) ) )  ->  ( x  =  y  ->  ( [ x  /  z ]
ph  ->  [ y  / 
z ] ph )
) )
4421, 43ax-mp 5 1  |-  ( x  =  y  ->  ( [ x  /  z ] ph  ->  [ y  /  z ] ph ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    \/ wo 698   A.wal 1341   F/wnf 1448   E.wex 1480   [wsb 1750
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523
This theorem depends on definitions:  df-bi 116  df-nf 1449  df-sb 1751
This theorem is referenced by:  sbequ  1828
  Copyright terms: Public domain W3C validator