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

Theorem ifeq12d 4509
Description: Equality deduction for conditional operator. (Contributed by NM, 24-Mar-2015.)
Hypotheses
Ref Expression
ifeq1d.1 (𝜑 → 𝐴 = 𝐵)
ifeq12d.2 (𝜑 → 𝐶 = 𝐷)
Assertion
Ref Expression
ifeq12d (𝜑 → if(𝜓, 𝐴, 𝐶) = if(𝜓, 𝐵, 𝐷))

Proof of Theorem ifeq12d
StepHypRef Expression
1 ifeq1d.1 . . 3 (𝜑 → 𝐴 = 𝐵)
21ifeq1d 4507 . 2 (𝜑 → if(𝜓, 𝐴, 𝐶) = if(𝜓, 𝐵, 𝐶))
3 ifeq12d.2 . . 3 (𝜑 → 𝐶 = 𝐷)
43ifeq2d 4508 . 2 (𝜑 → if(𝜓, 𝐵, 𝐶) = if(𝜓, 𝐵, 𝐷))
52, 4eqtrd 2804 1 (𝜑 → if(𝜓, 𝐴, 𝐶) = if(𝜓, 𝐵, 𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1572  ifcif 4487
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-rab 3419  df-v 3458  df-un 4156  df-if 4488
This theorem is used by:  ifbieq12d  4516  csbif  4545  oev  8571  dfac12r  10275  xaddpnf1  13407  swrdccat3blem  14943  relexpsucnnr  15234  ruclem1  16455  eucalgval  16814  gsumpropd  18937  gsumpropd2lem  18938  gsumress  18941  mulgfval  19351  mulgfvalALT  19352  mulgpropd  19398  frgpup3lem  20064  isobs  22118  uvcfval  22182  psrascl  22380  subrgmvr  22436  selvvvval  22545  psdmvr  22584  rhmmpl  22798  rhmply1vr1  22802  matsc  22865  scmatscmide  22922  marrepval0  22976  marepvval0  22981  mulmarep1el  22987  madufval  23052  madugsum  23058  minmar1fval  23061  pmat1opsc  23117  pmat1ovscd  23118  mat2pmat1  23150  decpmatid  23188  idpm2idmp  23219  pcoval  25432  pcorevlem  25447  itg2const  26161  ditgeq3  26270  efrlim  27421  lgsval  27752  rpvmasum2  27963  expsval  28935  fzto1st  33821  psgnfzto1st  33823  mplasclco  34276  extvval  34291  esplyfval0  34324  xrhval  34778  cbvditgdavw  37311  itg2addnclem  38883  ftc1anclem5  38909  hdmap1fval  43145  sticksstones12a  43499  sticksstones12  43500  rhmpsr  43900  fsuppind  43907  dgrsub2  44424  reabssgn  44980  dirkerval  47457  fourierdlem111  47583  fourierdlem112  47584  fourierdlem113  47585  hsphoif  47942  hsphoival  47945  hoidmvlelem5  47965  hoidifhspval2  47981  hspmbllem2  47993  itcoval  50232  crosspval  51510  veronesematrowexpd  51538
  Copyright terms: Public domain W3C validator