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

Theorem eqif 3611
Description: Expansion of an equality with a conditional operator. (Contributed by NM, 14-Feb-2005.)
Assertion
Ref Expression
eqif  |-  ( A  =  if ( ph ,  B ,  C )  <-> 
( ( ph  /\  A  =  B )  \/  ( -.  ph  /\  A  =  C )
) )

Proof of Theorem eqif
StepHypRef Expression
1 eqeq2 2305 . 2  |-  ( if ( ph ,  B ,  C )  =  B  ->  ( A  =  if ( ph ,  B ,  C )  <->  A  =  B ) )
2 eqeq2 2305 . 2  |-  ( if ( ph ,  B ,  C )  =  C  ->  ( A  =  if ( ph ,  B ,  C )  <->  A  =  C ) )
31, 2elimif 3607 1  |-  ( A  =  if ( ph ,  B ,  C )  <-> 
( ( ph  /\  A  =  B )  \/  ( -.  ph  /\  A  =  C )
) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    <-> wb 176    \/ wo 357    /\ wa 358    = wceq 1632   ifcif 3578
This theorem is referenced by:  fin23lem19  7978  fin23lem28  7982  fin23lem29  7983  fin23lem30  7984  aalioulem3  19730  ifbieq12d2  23165  xpima  23217  iocinif  23289  esumsn  23452  ind1a  23619  itg2addnclem2  25004  afvpcfv0  28114
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-clab 2283  df-cleq 2289  df-clel 2292  df-if 3579
  Copyright terms: Public domain W3C validator