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

Theorem rexcomf 3097
Description: Commutation of restricted existential 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 466 . . . . 5  |-  ( ( x  e.  A  /\  y  e.  B )  <->  ( y  e.  B  /\  x  e.  A )
)
21anbi1i 731 . . . 4  |-  ( ( ( x  e.  A  /\  y  e.  B
)  /\  ph )  <->  ( (
y  e.  B  /\  x  e.  A )  /\  ph ) )
322exbii 1775 . . 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 2042 . . 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 264 . 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 3060 . 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 3060 . 2  |-  ( E. y  e.  B  E. x  e.  A  ph  <->  E. y E. x ( ( y  e.  B  /\  x  e.  A )  /\  ph ) )
105, 7, 93bitr4i 292 1  |-  ( E. x  e.  A  E. y  e.  B  ph  <->  E. y  e.  B  E. x  e.  A  ph )
Colors of variables: wff setvar class
Syntax hints:    <-> wb 196    /\ wa 384   E.wex 1704    e. wcel 1990   F/_wnfc 2751   E.wrex 2913
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918
This theorem is referenced by:  rexcom  3099  rexcom4f  29317
  Copyright terms: Public domain W3C validator