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

Theorem cbvralf 2928
Description: Rule used to change bound variables, using implicit substitution. (Contributed by NM, 7-Mar-2004.) (Revised by Mario Carneiro, 9-Oct-2016.)
Hypotheses
Ref Expression
cbvralf.1  |-  F/_ x A
cbvralf.2  |-  F/_ y A
cbvralf.3  |-  F/ y
ph
cbvralf.4  |-  F/ x ps
cbvralf.5  |-  ( x  =  y  ->  ( ph 
<->  ps ) )
Assertion
Ref Expression
cbvralf  |-  ( A. x  e.  A  ph  <->  A. y  e.  A  ps )

Proof of Theorem cbvralf
Dummy variable  z is distinct from all other variables.
StepHypRef Expression
1 nfv 1630 . . . 4  |-  F/ z ( x  e.  A  ->  ph )
2 cbvralf.1 . . . . . 6  |-  F/_ x A
32nfcri 2568 . . . . 5  |-  F/ x  z  e.  A
4 nfs1v 2184 . . . . 5  |-  F/ x [ z  /  x ] ph
53, 4nfim 1833 . . . 4  |-  F/ x
( z  e.  A  ->  [ z  /  x ] ph )
6 eleq1 2498 . . . . 5  |-  ( x  =  z  ->  (
x  e.  A  <->  z  e.  A ) )
7 sbequ12 1945 . . . . 5  |-  ( x  =  z  ->  ( ph 
<->  [ z  /  x ] ph ) )
86, 7imbi12d 313 . . . 4  |-  ( x  =  z  ->  (
( x  e.  A  ->  ph )  <->  ( z  e.  A  ->  [ z  /  x ] ph ) ) )
91, 5, 8cbval 1983 . . 3  |-  ( A. x ( x  e.  A  ->  ph )  <->  A. z
( z  e.  A  ->  [ z  /  x ] ph ) )
10 cbvralf.2 . . . . . 6  |-  F/_ y A
1110nfcri 2568 . . . . 5  |-  F/ y  z  e.  A
12 cbvralf.3 . . . . . 6  |-  F/ y
ph
1312nfsb 2187 . . . . 5  |-  F/ y [ z  /  x ] ph
1411, 13nfim 1833 . . . 4  |-  F/ y ( z  e.  A  ->  [ z  /  x ] ph )
15 nfv 1630 . . . 4  |-  F/ z ( y  e.  A  ->  ps )
16 eleq1 2498 . . . . 5  |-  ( z  =  y  ->  (
z  e.  A  <->  y  e.  A ) )
17 sbequ 2113 . . . . . 6  |-  ( z  =  y  ->  ( [ z  /  x ] ph  <->  [ y  /  x ] ph ) )
18 cbvralf.4 . . . . . . 7  |-  F/ x ps
19 cbvralf.5 . . . . . . 7  |-  ( x  =  y  ->  ( ph 
<->  ps ) )
2018, 19sbie 2151 . . . . . 6  |-  ( [ y  /  x ] ph 
<->  ps )
2117, 20syl6bb 254 . . . . 5  |-  ( z  =  y  ->  ( [ z  /  x ] ph  <->  ps ) )
2216, 21imbi12d 313 . . . 4  |-  ( z  =  y  ->  (
( z  e.  A  ->  [ z  /  x ] ph )  <->  ( y  e.  A  ->  ps )
) )
2314, 15, 22cbval 1983 . . 3  |-  ( A. z ( z  e.  A  ->  [ z  /  x ] ph )  <->  A. y ( y  e.  A  ->  ps )
)
249, 23bitri 242 . 2  |-  ( A. x ( x  e.  A  ->  ph )  <->  A. y
( y  e.  A  ->  ps ) )
25 df-ral 2712 . 2  |-  ( A. x  e.  A  ph  <->  A. x
( x  e.  A  ->  ph ) )
26 df-ral 2712 . 2  |-  ( A. y  e.  A  ps  <->  A. y ( y  e.  A  ->  ps )
)
2724, 25, 263bitr4i 270 1  |-  ( A. x  e.  A  ph  <->  A. y  e.  A  ps )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 178   A.wal 1550   F/wnf 1554   [wsb 1659    e. wcel 1726   F/_wnfc 2561   A.wral 2707
This theorem is referenced by:  cbvrexf  2929  cbvral  2930  reusv2lem4  4729  reusv2  4731  ffnfvf  5897  nnwof  10545  evth2f  27664  evthf  27676  stoweidlem14  27741  stoweidlem28  27755  stoweidlem59  27786
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1667  ax-8 1688  ax-6 1745  ax-7 1750  ax-11 1762  ax-12 1951  ax-ext 2419
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ral 2712
  Copyright terms: Public domain W3C validator