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

Theorem ifeq1da 4486
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 4474 . 2 ((𝜑𝜓) → if(𝜓, 𝐴, 𝐶) = if(𝜓, 𝐵, 𝐶))
3 iffalse 4463 . . . 4 𝜓 → if(𝜓, 𝐴, 𝐶) = 𝐶)
4 iffalse 4463 . . . 4 𝜓 → if(𝜓, 𝐵, 𝐶) = 𝐶)
53, 4eqtr4d 2777 . . 3 𝜓 → if(𝜓, 𝐴, 𝐶) = if(𝜓, 𝐵, 𝐶))
65adantl 482 . 2 ((𝜑 ∧ ¬ 𝜓) → if(𝜓, 𝐴, 𝐶) = if(𝜓, 𝐵, 𝐶))
72, 6pm2.61dan 818 1 (𝜑 → if(𝜓, 𝐴, 𝐶) = if(𝜓, 𝐵, 𝐶))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396   = wceq 1547  ifcif 4454
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-ext 2711
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-tru 1550  df-ex 1787  df-sb 2074  df-clab 2718  df-cleq 2731  df-clel 2814  df-rab 3392  df-v 3433  df-un 3888  df-if 4455
This theorem is referenced by:  ifeq12da  4488  cantnflem1d  9600  cantnflem1  9601  dfac12lem1  10057  xrmaxeq  13122  xrmineq  13123  rexmul  13214  max0add  15263  sumeq2ii  15646  fsumser  15683  ramcl  16991  dmdprdsplitlem  20005  coe1pwmul  22265  scmatscmiddistr  22491  mulmarep1gsum1  22556  maducoeval2  22623  madugsum  22626  madurid  22627  ptcld  23596  ibllem  25749  itgvallem3  25771  iblposlem  25777  iblss2  25791  iblmulc2  25816  cnplimc  25872  limcco  25878  dvexp3  25963  dchrinvcl  27234  lgsval2lem  27288  lgsval4lem  27289  lgsneg  27302  lgsmod  27304  lgsdilem2  27314  rpvmasum2  27493  esplyind  33759  mrsubrn  35741  ftc1anclem6  38065  ftc1anclem8  38067  fsuppind  43040
  Copyright terms: Public domain W3C validator