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

Theorem ceqsex2 2994
Description: Elimination of two existential quantifiers, using implicit substitution. (Contributed by Scott Fenton, 7-Jun-2006.)
Hypotheses
Ref Expression
ceqsex2.1  |-  F/ x ps
ceqsex2.2  |-  F/ y ch
ceqsex2.3  |-  A  e. 
_V
ceqsex2.4  |-  B  e. 
_V
ceqsex2.5  |-  ( x  =  A  ->  ( ph 
<->  ps ) )
ceqsex2.6  |-  ( y  =  B  ->  ( ps 
<->  ch ) )
Assertion
Ref Expression
ceqsex2  |-  ( E. x E. y ( x  =  A  /\  y  =  B  /\  ph )  <->  ch )
Distinct variable groups:    x, y, A    x, B, y
Allowed substitution hints:    ph( x, y)    ps( x, y)    ch( x, y)

Proof of Theorem ceqsex2
StepHypRef Expression
1 3anass 941 . . . . 5  |-  ( ( x  =  A  /\  y  =  B  /\  ph )  <->  ( x  =  A  /\  ( y  =  B  /\  ph ) ) )
21exbii 1593 . . . 4  |-  ( E. y ( x  =  A  /\  y  =  B  /\  ph )  <->  E. y ( x  =  A  /\  ( y  =  B  /\  ph ) ) )
3 19.42v 1929 . . . 4  |-  ( E. y ( x  =  A  /\  ( y  =  B  /\  ph ) )  <->  ( x  =  A  /\  E. y
( y  =  B  /\  ph ) ) )
42, 3bitri 242 . . 3  |-  ( E. y ( x  =  A  /\  y  =  B  /\  ph )  <->  ( x  =  A  /\  E. y ( y  =  B  /\  ph )
) )
54exbii 1593 . 2  |-  ( E. x E. y ( x  =  A  /\  y  =  B  /\  ph )  <->  E. x ( x  =  A  /\  E. y ( y  =  B  /\  ph )
) )
6 nfv 1630 . . . . 5  |-  F/ x  y  =  B
7 ceqsex2.1 . . . . 5  |-  F/ x ps
86, 7nfan 1847 . . . 4  |-  F/ x
( y  =  B  /\  ps )
98nfex 1866 . . 3  |-  F/ x E. y ( y  =  B  /\  ps )
10 ceqsex2.3 . . 3  |-  A  e. 
_V
11 ceqsex2.5 . . . . 5  |-  ( x  =  A  ->  ( ph 
<->  ps ) )
1211anbi2d 686 . . . 4  |-  ( x  =  A  ->  (
( y  =  B  /\  ph )  <->  ( y  =  B  /\  ps )
) )
1312exbidv 1637 . . 3  |-  ( x  =  A  ->  ( E. y ( y  =  B  /\  ph )  <->  E. y ( y  =  B  /\  ps )
) )
149, 10, 13ceqsex 2992 . 2  |-  ( E. x ( x  =  A  /\  E. y
( y  =  B  /\  ph ) )  <->  E. y ( y  =  B  /\  ps )
)
15 ceqsex2.2 . . 3  |-  F/ y ch
16 ceqsex2.4 . . 3  |-  B  e. 
_V
17 ceqsex2.6 . . 3  |-  ( y  =  B  ->  ( ps 
<->  ch ) )
1815, 16, 17ceqsex 2992 . 2  |-  ( E. y ( y  =  B  /\  ps )  <->  ch )
195, 14, 183bitri 264 1  |-  ( E. x E. y ( x  =  A  /\  y  =  B  /\  ph )  <->  ch )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 178    /\ wa 360    /\ w3a 937   E.wex 1551   F/wnf 1554    = wceq 1653    e. wcel 1726   _Vcvv 2958
This theorem is referenced by:  ceqsex2v  2995
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 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-ext 2419
This theorem depends on definitions:  df-bi 179  df-an 362  df-3an 939  df-ex 1552  df-nf 1555  df-sb 1660  df-clab 2425  df-cleq 2431  df-clel 2434  df-v 2960
  Copyright terms: Public domain W3C validator