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

Theorem eqif 4521
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 2773 . 2 (if(𝜑, 𝐵, 𝐶) = 𝐵 → (𝐴 = if(𝜑, 𝐵, 𝐶) ↔ 𝐴 = 𝐵))
2 eqeq2 2773 . 2 (if(𝜑, 𝐵, 𝐶) = 𝐶 → (𝐴 = if(𝜑, 𝐵, 𝐶) ↔ 𝐴 = 𝐶))
31, 2elimif 4517 1 (𝐴 = if(𝜑, 𝐵, 𝐶) ↔ ((𝜑𝐴 = 𝐵) ∨ (¬ 𝜑𝐴 = 𝐶)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 208  wa 399  wo 858   = wceq 1559  ifcif 4479
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1814  ax-4 1828  ax-5 1929  ax-6 1986  ax-7 2027  ax-8 2143  ax-9 2151  ax-ext 2733
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-ex 1799  df-sb 2090  df-clab 2740  df-cleq 2753  df-clel 2836  df-if 4480
This theorem is referenced by:  ifval  4522  xpima  6164  fin23lem19  10290  fin23lem28  10294  fin23lem29  10295  fin23lem30  10296  ind1a  12203  aalioulem3  26375  ifnebib  32697  iocinif  32933  fsumcvg4  34208  esumsnf  34322  itg2addnclem2  38135  clsk1indlem4  44584  afvpcfv0  47704
  Copyright terms: Public domain W3C validator