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

Theorem rexprg 3802
Description: Convert a quantification over a pair to a disjunction. (Contributed by NM, 17-Sep-2011.) (Revised by Mario Carneiro, 23-Apr-2015.)
Hypotheses
Ref Expression
ralprg.1  |-  ( x  =  A  ->  ( ph 
<->  ps ) )
ralprg.2  |-  ( x  =  B  ->  ( ph 
<->  ch ) )
Assertion
Ref Expression
rexprg  |-  ( ( A  e.  V  /\  B  e.  W )  ->  ( E. x  e. 
{ A ,  B } ph  <->  ( ps  \/  ch ) ) )
Distinct variable groups:    x, A    x, B    ps, x    ch, x
Allowed substitution hints:    ph( x)    V( x)    W( x)

Proof of Theorem rexprg
StepHypRef Expression
1 df-pr 3765 . . . 4  |-  { A ,  B }  =  ( { A }  u.  { B } )
21rexeqi 2853 . . 3  |-  ( E. x  e.  { A ,  B } ph  <->  E. x  e.  ( { A }  u.  { B } )
ph )
3 rexun 3471 . . 3  |-  ( E. x  e.  ( { A }  u.  { B } ) ph  <->  ( E. x  e.  { A } ph  \/  E. x  e.  { B } ph ) )
42, 3bitri 241 . 2  |-  ( E. x  e.  { A ,  B } ph  <->  ( E. x  e.  { A } ph  \/  E. x  e.  { B } ph ) )
5 ralprg.1 . . . . 5  |-  ( x  =  A  ->  ( ph 
<->  ps ) )
65rexsng 3791 . . . 4  |-  ( A  e.  V  ->  ( E. x  e.  { A } ph  <->  ps ) )
76orbi1d 684 . . 3  |-  ( A  e.  V  ->  (
( E. x  e. 
{ A } ph  \/  E. x  e.  { B } ph )  <->  ( ps  \/  E. x  e.  { B } ph ) ) )
8 ralprg.2 . . . . 5  |-  ( x  =  B  ->  ( ph 
<->  ch ) )
98rexsng 3791 . . . 4  |-  ( B  e.  W  ->  ( E. x  e.  { B } ph  <->  ch ) )
109orbi2d 683 . . 3  |-  ( B  e.  W  ->  (
( ps  \/  E. x  e.  { B } ph )  <->  ( ps  \/  ch ) ) )
117, 10sylan9bb 681 . 2  |-  ( ( A  e.  V  /\  B  e.  W )  ->  ( ( E. x  e.  { A } ph  \/  E. x  e.  { B } ph )  <->  ( ps  \/  ch ) ) )
124, 11syl5bb 249 1  |-  ( ( A  e.  V  /\  B  e.  W )  ->  ( E. x  e. 
{ A ,  B } ph  <->  ( ps  \/  ch ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    \/ wo 358    /\ wa 359    = wceq 1649    e. wcel 1717   E.wrex 2651    u. cun 3262   {csn 3758   {cpr 3759
This theorem is referenced by:  rextpg  3804  rexpr  3806  fr2nr  4502  nb3graprlem2  21328  frgra2v  27753  3vfriswmgralem  27758
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2369
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-clab 2375  df-cleq 2381  df-clel 2384  df-nfc 2513  df-rex 2656  df-v 2902  df-sbc 3106  df-un 3269  df-sn 3764  df-pr 3765
  Copyright terms: Public domain W3C validator