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

Theorem cbvex2 1991
Description: Rule used to change bound variables, using implicit substitution. (Contributed by NM, 14-Sep-2003.) (Revised by Mario Carneiro, 6-Oct-2016.)
Hypotheses
Ref Expression
cbval2.1  |-  F/ z
ph
cbval2.2  |-  F/ w ph
cbval2.3  |-  F/ x ps
cbval2.4  |-  F/ y ps
cbval2.5  |-  ( ( x  =  z  /\  y  =  w )  ->  ( ph  <->  ps )
)
Assertion
Ref Expression
cbvex2  |-  ( E. x E. y ph  <->  E. z E. w ps )
Distinct variable groups:    x, y    y, z    x, w    z, w
Allowed substitution hints:    ph( x, y, z, w)    ps( x, y, z, w)

Proof of Theorem cbvex2
StepHypRef Expression
1 cbval2.1 . . 3  |-  F/ z
ph
21nfex 1865 . 2  |-  F/ z E. y ph
3 cbval2.3 . . 3  |-  F/ x ps
43nfex 1865 . 2  |-  F/ x E. w ps
5 nfv 1629 . . . . . 6  |-  F/ w  x  =  z
6 cbval2.2 . . . . . 6  |-  F/ w ph
75, 6nfan 1846 . . . . 5  |-  F/ w
( x  =  z  /\  ph )
8 nfv 1629 . . . . . 6  |-  F/ y  x  =  z
9 cbval2.4 . . . . . 6  |-  F/ y ps
108, 9nfan 1846 . . . . 5  |-  F/ y ( x  =  z  /\  ps )
11 cbval2.5 . . . . . . 7  |-  ( ( x  =  z  /\  y  =  w )  ->  ( ph  <->  ps )
)
1211expcom 425 . . . . . 6  |-  ( y  =  w  ->  (
x  =  z  -> 
( ph  <->  ps ) ) )
1312pm5.32d 621 . . . . 5  |-  ( y  =  w  ->  (
( x  =  z  /\  ph )  <->  ( x  =  z  /\  ps )
) )
147, 10, 13cbvex 1983 . . . 4  |-  ( E. y ( x  =  z  /\  ph )  <->  E. w ( x  =  z  /\  ps )
)
15 19.42v 1928 . . . 4  |-  ( E. y ( x  =  z  /\  ph )  <->  ( x  =  z  /\  E. y ph ) )
16 19.42v 1928 . . . 4  |-  ( E. w ( x  =  z  /\  ps )  <->  ( x  =  z  /\  E. w ps ) )
1714, 15, 163bitr3i 267 . . 3  |-  ( ( x  =  z  /\  E. y ph )  <->  ( x  =  z  /\  E. w ps ) )
18 pm5.32 618 . . 3  |-  ( ( x  =  z  -> 
( E. y ph  <->  E. w ps ) )  <-> 
( ( x  =  z  /\  E. y ph )  <->  ( x  =  z  /\  E. w ps ) ) )
1917, 18mpbir 201 . 2  |-  ( x  =  z  ->  ( E. y ph  <->  E. w ps ) )
202, 4, 19cbvex 1983 1  |-  ( E. x E. y ph  <->  E. z E. w ps )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359   E.wex 1550   F/wnf 1553
This theorem is referenced by:  cbvex2v  1993  2eu6  2365  cbvopab  4268  cbvoprab12  6138
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950
This theorem depends on definitions:  df-bi 178  df-an 361  df-tru 1328  df-ex 1551  df-nf 1554
  Copyright terms: Public domain W3C validator