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

Theorem ralxfrALT 4701
Description: Transfer universal quantification from a variable  x to another variable  y contained in expression  A. This proof does not use ralxfrd 4696. (Contributed by NM, 10-Jun-2005.) (Revised by Mario Carneiro, 15-Aug-2014.) (Proof modification is discouraged.) (New usage is discouraged.)
Hypotheses
Ref Expression
ralxfr.1  |-  ( y  e.  C  ->  A  e.  B )
ralxfr.2  |-  ( x  e.  B  ->  E. y  e.  C  x  =  A )
ralxfr.3  |-  ( x  =  A  ->  ( ph 
<->  ps ) )
Assertion
Ref Expression
ralxfrALT  |-  ( A. x  e.  B  ph  <->  A. y  e.  C  ps )
Distinct variable groups:    ps, x    ph, y    x, A    x, y, B    x, C
Allowed substitution hints:    ph( x)    ps( y)    A( y)    C( y)

Proof of Theorem ralxfrALT
StepHypRef Expression
1 ralxfr.1 . . . . 5  |-  ( y  e.  C  ->  A  e.  B )
2 ralxfr.3 . . . . . 6  |-  ( x  =  A  ->  ( ph 
<->  ps ) )
32rspcv 3008 . . . . 5  |-  ( A  e.  B  ->  ( A. x  e.  B  ph 
->  ps ) )
41, 3syl 16 . . . 4  |-  ( y  e.  C  ->  ( A. x  e.  B  ph 
->  ps ) )
54com12 29 . . 3  |-  ( A. x  e.  B  ph  ->  ( y  e.  C  ->  ps ) )
65ralrimiv 2748 . 2  |-  ( A. x  e.  B  ph  ->  A. y  e.  C  ps )
7 ralxfr.2 . . . 4  |-  ( x  e.  B  ->  E. y  e.  C  x  =  A )
8 nfra1 2716 . . . . 5  |-  F/ y A. y  e.  C  ps
9 nfv 1626 . . . . 5  |-  F/ y
ph
10 rsp 2726 . . . . . 6  |-  ( A. y  e.  C  ps  ->  ( y  e.  C  ->  ps ) )
112biimprcd 217 . . . . . 6  |-  ( ps 
->  ( x  =  A  ->  ph ) )
1210, 11syl6 31 . . . . 5  |-  ( A. y  e.  C  ps  ->  ( y  e.  C  ->  ( x  =  A  ->  ph ) ) )
138, 9, 12rexlimd 2787 . . . 4  |-  ( A. y  e.  C  ps  ->  ( E. y  e.  C  x  =  A  ->  ph ) )
147, 13syl5 30 . . 3  |-  ( A. y  e.  C  ps  ->  ( x  e.  B  ->  ph ) )
1514ralrimiv 2748 . 2  |-  ( A. y  e.  C  ps  ->  A. x  e.  B  ph )
166, 15impbii 181 1  |-  ( A. x  e.  B  ph  <->  A. y  e.  C  ps )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    = wceq 1649    e. wcel 1721   A.wral 2666   E.wrex 2667
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  ax-ext 2385
This theorem depends on definitions:  df-bi 178  df-an 361  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-clab 2391  df-cleq 2397  df-clel 2400  df-nfc 2529  df-ral 2671  df-rex 2672  df-v 2918
  Copyright terms: Public domain W3C validator