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

Theorem ceqsrex2v 3206
Description: Elimination of a restricted existential quantifier, using implicit substitution. (Contributed by NM, 29-Oct-2005.)
Hypotheses
Ref Expression
ceqsrex2v.1  |-  ( x  =  A  ->  ( ph 
<->  ps ) )
ceqsrex2v.2  |-  ( y  =  B  ->  ( ps 
<->  ch ) )
Assertion
Ref Expression
ceqsrex2v  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( E. x  e.  C  E. y  e.  D  ( ( x  =  A  /\  y  =  B )  /\  ph ) 
<->  ch ) )
Distinct variable groups:    x, y, A    x, B, y    x, C    x, D, y    ps, x    ch, y
Allowed substitution hints:    ph( x, y)    ps( y)    ch( x)    C( y)

Proof of Theorem ceqsrex2v
StepHypRef Expression
1 anass 653 . . . . . 6  |-  ( ( ( x  =  A  /\  y  =  B )  /\  ph )  <->  ( x  =  A  /\  ( y  =  B  /\  ph ) ) )
21rexbii 2924 . . . . 5  |-  ( E. y  e.  D  ( ( x  =  A  /\  y  =  B )  /\  ph )  <->  E. y  e.  D  ( x  =  A  /\  ( y  =  B  /\  ph ) ) )
3 r19.42v 2980 . . . . 5  |-  ( E. y  e.  D  ( x  =  A  /\  ( y  =  B  /\  ph ) )  <-> 
( x  =  A  /\  E. y  e.  D  ( y  =  B  /\  ph )
) )
42, 3bitri 252 . . . 4  |-  ( E. y  e.  D  ( ( x  =  A  /\  y  =  B )  /\  ph )  <->  ( x  =  A  /\  E. y  e.  D  ( y  =  B  /\  ph ) ) )
54rexbii 2924 . . 3  |-  ( E. x  e.  C  E. y  e.  D  (
( x  =  A  /\  y  =  B )  /\  ph )  <->  E. x  e.  C  ( x  =  A  /\  E. y  e.  D  ( y  =  B  /\  ph ) ) )
6 ceqsrex2v.1 . . . . . 6  |-  ( x  =  A  ->  ( ph 
<->  ps ) )
76anbi2d 708 . . . . 5  |-  ( x  =  A  ->  (
( y  =  B  /\  ph )  <->  ( y  =  B  /\  ps )
) )
87rexbidv 2936 . . . 4  |-  ( x  =  A  ->  ( E. y  e.  D  ( y  =  B  /\  ph )  <->  E. y  e.  D  ( y  =  B  /\  ps )
) )
98ceqsrexv 3204 . . 3  |-  ( A  e.  C  ->  ( E. x  e.  C  ( x  =  A  /\  E. y  e.  D  ( y  =  B  /\  ph ) )  <->  E. y  e.  D  ( y  =  B  /\  ps ) ) )
105, 9syl5bb 260 . 2  |-  ( A  e.  C  ->  ( E. x  e.  C  E. y  e.  D  ( ( x  =  A  /\  y  =  B )  /\  ph ) 
<->  E. y  e.  D  ( y  =  B  /\  ps ) ) )
11 ceqsrex2v.2 . . 3  |-  ( y  =  B  ->  ( ps 
<->  ch ) )
1211ceqsrexv 3204 . 2  |-  ( B  e.  D  ->  ( E. y  e.  D  ( y  =  B  /\  ps )  <->  ch )
)
1310, 12sylan9bb 704 1  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( E. x  e.  C  E. y  e.  D  ( ( x  =  A  /\  y  =  B )  /\  ph ) 
<->  ch ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 187    /\ wa 370    = wceq 1437    e. wcel 1872   E.wrex 2772
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1663  ax-4 1676  ax-5 1752  ax-6 1798  ax-7 1843  ax-10 1891  ax-12 1909  ax-13 2057  ax-ext 2401
This theorem depends on definitions:  df-bi 188  df-an 372  df-tru 1440  df-ex 1658  df-nf 1662  df-sb 1791  df-clab 2408  df-cleq 2414  df-clel 2417  df-rex 2777  df-v 3082
This theorem is referenced by:  opiota  6866  brdom7disj  8966  brdom6disj  8967  lsmspsn  18306
  Copyright terms: Public domain W3C validator