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

Theorem rexcomf 2712
Description: Commutation of restricted quantifiers. (Contributed by Mario Carneiro, 14-Oct-2016.)
Hypotheses
Ref Expression
ralcomf.1  |-  F/_ y A
ralcomf.2  |-  F/_ x B
Assertion
Ref Expression
rexcomf  |-  ( E. x  e.  A  E. y  e.  B  ph  <->  E. y  e.  B  E. x  e.  A  ph )
Distinct variable group:    x, y
Allowed substitution hints:    ph( x, y)    A( x, y)    B( x, y)

Proof of Theorem rexcomf
StepHypRef Expression
1 ancom 437 . . . . 5  |-  ( ( x  e.  A  /\  y  e.  B )  <->  ( y  e.  B  /\  x  e.  A )
)
21anbi1i 676 . . . 4  |-  ( ( ( x  e.  A  /\  y  e.  B
)  /\  ph )  <->  ( (
y  e.  B  /\  x  e.  A )  /\  ph ) )
322exbii 1573 . . 3  |-  ( E. x E. y ( ( x  e.  A  /\  y  e.  B
)  /\  ph )  <->  E. x E. y ( ( y  e.  B  /\  x  e.  A )  /\  ph ) )
4 excom 1798 . . 3  |-  ( E. x E. y ( ( y  e.  B  /\  x  e.  A
)  /\  ph )  <->  E. y E. x ( ( y  e.  B  /\  x  e.  A )  /\  ph ) )
53, 4bitri 240 . 2  |-  ( E. x E. y ( ( x  e.  A  /\  y  e.  B
)  /\  ph )  <->  E. y E. x ( ( y  e.  B  /\  x  e.  A )  /\  ph ) )
6 ralcomf.1 . . 3  |-  F/_ y A
76r2exf 2592 . 2  |-  ( E. x  e.  A  E. y  e.  B  ph  <->  E. x E. y ( ( x  e.  A  /\  y  e.  B )  /\  ph ) )
8 ralcomf.2 . . 3  |-  F/_ x B
98r2exf 2592 . 2  |-  ( E. y  e.  B  E. x  e.  A  ph  <->  E. y E. x ( ( y  e.  B  /\  x  e.  A )  /\  ph ) )
105, 7, 93bitr4i 268 1  |-  ( E. x  e.  A  E. y  e.  B  ph  <->  E. y  e.  B  E. x  e.  A  ph )
Colors of variables: wff set class
Syntax hints:    <-> wb 176    /\ wa 358   E.wex 1531    e. wcel 1696   F/_wnfc 2419   E.wrex 2557
This theorem is referenced by:  rexcom  2714  rexcom4f  23150
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-cleq 2289  df-clel 2292  df-nfc 2421  df-rex 2562
  Copyright terms: Public domain W3C validator