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

Theorem ifpr 3683
Description: Membership of a conditional operator in an unordered pair. (Contributed by NM, 17-Jun-2007.)
Assertion
Ref Expression
ifpr  |-  ( ( A  e.  C  /\  B  e.  D )  ->  if ( ph ,  A ,  B )  e.  { A ,  B } )

Proof of Theorem ifpr
StepHypRef Expression
1 elex 2798 . 2  |-  ( A  e.  C  ->  A  e.  _V )
2 elex 2798 . 2  |-  ( B  e.  D  ->  B  e.  _V )
3 ifcl 3603 . . 3  |-  ( ( A  e.  _V  /\  B  e.  _V )  ->  if ( ph ,  A ,  B )  e.  _V )
4 ifeqor 3604 . . . 4  |-  ( if ( ph ,  A ,  B )  =  A  \/  if ( ph ,  A ,  B )  =  B )
5 elprg 3659 . . . 4  |-  ( if ( ph ,  A ,  B )  e.  _V  ->  ( if ( ph ,  A ,  B )  e.  { A ,  B }  <->  ( if (
ph ,  A ,  B )  =  A  \/  if ( ph ,  A ,  B )  =  B ) ) )
64, 5mpbiri 226 . . 3  |-  ( if ( ph ,  A ,  B )  e.  _V  ->  if ( ph ,  A ,  B )  e.  { A ,  B } )
73, 6syl 17 . 2  |-  ( ( A  e.  _V  /\  B  e.  _V )  ->  if ( ph ,  A ,  B )  e.  { A ,  B } )
81, 2, 7syl2an 465 1  |-  ( ( A  e.  C  /\  B  e.  D )  ->  if ( ph ,  A ,  B )  e.  { A ,  B } )
Colors of variables: wff set class
Syntax hints:    -> wi 6    \/ wo 359    /\ wa 360    = wceq 1624    e. wcel 1685   _Vcvv 2790   ifcif 3567   {cpr 3643
This theorem is referenced by:  suppr  7215  uvcvvcl  26636
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-gen 1534  ax-5 1545  ax-17 1604  ax-9 1637  ax-8 1645  ax-6 1704  ax-7 1709  ax-11 1716  ax-12 1868  ax-ext 2266
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-tru 1312  df-ex 1530  df-nf 1533  df-sb 1632  df-clab 2272  df-cleq 2278  df-clel 2281  df-nfc 2410  df-v 2792  df-un 3159  df-if 3568  df-sn 3648  df-pr 3649
  Copyright terms: Public domain W3C validator