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

Theorem ralxfrd 4494
Description: Transfer universal quantification from a variable  x to another variable  y contained in expression  A. (Contributed by NM, 15-Aug-2014.) (Proof shortened by Mario Carneiro, 19-Nov-2016.)
Hypotheses
Ref Expression
ralxfrd.1  |-  ( (
ph  /\  y  e.  C )  ->  A  e.  B )
ralxfrd.2  |-  ( (
ph  /\  x  e.  B )  ->  E. y  e.  C  x  =  A )
ralxfrd.3  |-  ( (
ph  /\  x  =  A )  ->  ( ps 
<->  ch ) )
Assertion
Ref Expression
ralxfrd  |-  ( ph  ->  ( A. x  e.  B  ps  <->  A. y  e.  C  ch )
)
Distinct variable groups:    x, A    x, y, B    x, C    ch, x    ph, x, y    ps, y
Allowed substitution hints:    ps( x)    ch( y)    A( y)    C( y)

Proof of Theorem ralxfrd
StepHypRef Expression
1 ralxfrd.1 . . . 4  |-  ( (
ph  /\  y  e.  C )  ->  A  e.  B )
2 ralxfrd.3 . . . . 5  |-  ( (
ph  /\  x  =  A )  ->  ( ps 
<->  ch ) )
32adantlr 707 . . . 4  |-  ( ( ( ph  /\  y  e.  C )  /\  x  =  A )  ->  ( ps 
<->  ch ) )
41, 3rspcdv 3065 . . 3  |-  ( (
ph  /\  y  e.  C )  ->  ( A. x  e.  B  ps  ->  ch ) )
54ralrimdva 2796 . 2  |-  ( ph  ->  ( A. x  e.  B  ps  ->  A. y  e.  C  ch )
)
6 ralxfrd.2 . . . 4  |-  ( (
ph  /\  x  e.  B )  ->  E. y  e.  C  x  =  A )
7 r19.29 2847 . . . . 5  |-  ( ( A. y  e.  C  ch  /\  E. y  e.  C  x  =  A )  ->  E. y  e.  C  ( ch  /\  x  =  A ) )
82biimprd 223 . . . . . . . . 9  |-  ( (
ph  /\  x  =  A )  ->  ( ch  ->  ps ) )
98expimpd 598 . . . . . . . 8  |-  ( ph  ->  ( ( x  =  A  /\  ch )  ->  ps ) )
109ancomsd 451 . . . . . . 7  |-  ( ph  ->  ( ( ch  /\  x  =  A )  ->  ps ) )
1110ad2antrr 718 . . . . . 6  |-  ( ( ( ph  /\  x  e.  B )  /\  y  e.  C )  ->  (
( ch  /\  x  =  A )  ->  ps ) )
1211rexlimdva 2831 . . . . 5  |-  ( (
ph  /\  x  e.  B )  ->  ( E. y  e.  C  ( ch  /\  x  =  A )  ->  ps ) )
137, 12syl5 32 . . . 4  |-  ( (
ph  /\  x  e.  B )  ->  (
( A. y  e.  C  ch  /\  E. y  e.  C  x  =  A )  ->  ps ) )
146, 13mpan2d 667 . . 3  |-  ( (
ph  /\  x  e.  B )  ->  ( A. y  e.  C  ch  ->  ps ) )
1514ralrimdva 2796 . 2  |-  ( ph  ->  ( A. y  e.  C  ch  ->  A. x  e.  B  ps )
)
165, 15impbid 191 1  |-  ( ph  ->  ( A. x  e.  B  ps  <->  A. y  e.  C  ch )
)
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1362    e. wcel 1755   A.wral 2705   E.wrex 2706
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1594  ax-4 1605  ax-5 1669  ax-6 1707  ax-7 1727  ax-10 1774  ax-11 1779  ax-12 1791  ax-13 1942  ax-ext 2414
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-tru 1365  df-ex 1590  df-nf 1593  df-sb 1700  df-clab 2420  df-cleq 2426  df-clel 2429  df-nfc 2558  df-ral 2710  df-rex 2711  df-v 2964
This theorem is referenced by:  rexxfrd  4495  ralxfr2d  4496  ralxfr  4498  islindf4  18108  cmpfi  18852  metucnOLD  20004  metucn  20005  rlimcnp  22243  glbconN  32591  mapdordlem2  34852
  Copyright terms: Public domain W3C validator