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

Theorem ifeq1da 4521
Description: Conditional equality. (Contributed by Jeff Madsen, 2-Sep-2009.)
Hypothesis
Ref Expression
ifeq1da.1 ((𝜑𝜓) → 𝐴 = 𝐵)
Assertion
Ref Expression
ifeq1da (𝜑 → if(𝜓, 𝐴, 𝐶) = if(𝜓, 𝐵, 𝐶))

Proof of Theorem ifeq1da
StepHypRef Expression
1 ifeq1da.1 . . 3 ((𝜑𝜓) → 𝐴 = 𝐵)
21ifeq1d 4509 . 2 ((𝜑𝜓) → if(𝜓, 𝐴, 𝐶) = if(𝜓, 𝐵, 𝐶))
3 iffalse 4498 . . . 4 𝜓 → if(𝜓, 𝐴, 𝐶) = 𝐶)
4 iffalse 4498 . . . 4 𝜓 → if(𝜓, 𝐵, 𝐶) = 𝐶)
53, 4eqtr4d 2803 . . 3 𝜓 → if(𝜓, 𝐴, 𝐶) = if(𝜓, 𝐵, 𝐶))
65adantl 487 . 2 ((𝜑 ∧ ¬ 𝜓) → if(𝜓, 𝐴, 𝐶) = if(𝜓, 𝐵, 𝐶))
72, 6pm2.61dan 825 1 (𝜑 → if(𝜓, 𝐴, 𝐶) = if(𝜓, 𝐵, 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3  wi 4  wa 401   = wceq 1570  ifcif 4489
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-ext 2737
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-sb 2100  df-clab 2744  df-cleq 2757  df-clel 2840  df-rab 3419  df-v 3459  df-un 3911  df-if 4490
This theorem is used by:  ifeq12da  4523  cantnflem1d  9664  cantnflem1  9665  dfac12lem1  10143  xrmaxeq  13221  xrmineq  13222  rexmul  13313  max0add  15385  sumeq2ii  15768  fsumser  15804  ramcl  17111  dmdprdsplitlem  20153  coe1pwmul  22490  scmatscmiddistr  22715  mulmarep1gsum1  22780  maducoeval2  22847  madugsum  22850  madurid  22851  ptcld  23821  ibllem  25974  itgvallem3  25996  iblposlem  26002  iblss2  26016  iblmulc2  26041  cnplimc  26097  limcco  26103  dvexp3  26188  dchrinvcl  27468  lgsval2lem  27522  lgsval4lem  27523  lgsneg  27536  lgsmod  27538  lgsdilem2  27548  rpvmasum2  27727  esplyind  34029  mrsubrn  36042  ftc1anclem6  38406  ftc1anclem8  38408  fsuppind  43380
  Copyright terms: Public domain W3C validator