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

Theorem eqif 4076
Description: Expansion of an equality with a conditional operator. (Contributed by NM, 14-Feb-2005.)
Assertion
Ref Expression
eqif (𝐴 = if(𝜑, 𝐵, 𝐶) ↔ ((𝜑𝐴 = 𝐵) ∨ (¬ 𝜑𝐴 = 𝐶)))

Proof of Theorem eqif
StepHypRef Expression
1 eqeq2 2621 . 2 (if(𝜑, 𝐵, 𝐶) = 𝐵 → (𝐴 = if(𝜑, 𝐵, 𝐶) ↔ 𝐴 = 𝐵))
2 eqeq2 2621 . 2 (if(𝜑, 𝐵, 𝐶) = 𝐶 → (𝐴 = if(𝜑, 𝐵, 𝐶) ↔ 𝐴 = 𝐶))
31, 2elimif 4072 1 (𝐴 = if(𝜑, 𝐵, 𝐶) ↔ ((𝜑𝐴 = 𝐵) ∨ (¬ 𝜑𝐴 = 𝐶)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 195  wo 382  wa 383   = wceq 1475  ifcif 4036
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-if 4037
This theorem is referenced by:  ifval  4077  xpima  5495  fin23lem19  9041  fin23lem28  9045  fin23lem29  9046  fin23lem30  9047  aalioulem3  23893  iocinif  28933  fsumcvg4  29324  ind1a  29410  esumsnf  29453  itg2addnclem2  32632  clsk1indlem4  37362  afvpcfv0  39875
  Copyright terms: Public domain W3C validator