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

Theorem iftrue 4493
Description: Value of the conditional operator when its first argument is true. (Contributed by NM, 15-May-1999.) (Proof shortened by Andrew Salmon, 26-Jun-2011.)
Assertion
Ref Expression
iftrue (𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐴)

Proof of Theorem iftrue
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 dfif2 4489 . 2 if(𝜑, 𝐴, 𝐵) = {𝑥 ∣ ((𝑥 ∈ 𝐵 → 𝜑) → (𝑥 ∈ 𝐴 ∧ 𝜑))}
2 dedlem0a 1060 . . 3 (𝜑 → (𝑥 ∈ 𝐴 ↔ ((𝑥 ∈ 𝐵 → 𝜑) → (𝑥 ∈ 𝐴 ∧ 𝜑))))
32eqabdv 2903 . 2 (𝜑 → 𝐴 = {𝑥 ∣ ((𝑥 ∈ 𝐵 → 𝜑) → (𝑥 ∈ 𝐴 ∧ 𝜑))})
41, 3eqtr4id 2823 1 (𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2151  {cab 2747  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-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-if 4488
This theorem is used by:  iftruei  4494  iftrued  4495  iftrueb  4500  ifsb  4501  ifbi  4510  ifeq2da  4520  ifeq12da  4521  ifclda  4523  ifeqda  4524  elimif  4525  ifbothda  4526  ifid  4528  ifeqor  4539  ifnot  4540  ifan  4541  ifor  4542  2if2  4543  dedth  4546  elimhyp  4553  elimhyp2v  4554  elimhyp3v  4555  elimhyp4v  4556  elimdhyp  4558  keephyp2v  4560  keephyp3v  4561  dfopif  4845  dfopg  4846  somin1  6149  somincom  6150  xpima1  6197  elimdelov  7551  brif1  7552  ovif12  7555  ifmpt2v  7557  tz7.44-1  8456  rdg0n  8484  resixpfo  9006  boxriin  9010  boxcutc  9011  pw2f1olem  9142  unxpdomlem2  9290  unxpdomlem3  9291  infsupprpr  9539  ordtypelem1  9553  wemaplem2  9582  unwdomg  9619  ixpiunwdom  9625  cantnfp1lem2  9721  cantnfp1lem3  9722  ssttrcl  9757  ttrclselem2  9768  acndom  10173  dfac12lem2  10266  fin23lem14  10454  axcc2lem  10557  pwfseqlem2  10787  indval2  12369  ind1  12373  uzin  13045  xrmax1  13349  xrmax2  13350  xrmin1  13351  xrmin2  13352  max1ALT  13360  max0sub  13370  ifle  13371  xmulneg1  13443  fzprval  13763  fztpval  13764  modifeq2int  14120  seqf1olem1  14228  seqf1olem2  14229  bcval2  14494  tpf1ofv0  14686  tpf1ofv1  14687  ccatval1  14767  ccatalpha  14785  swrdccat  14930  pfxccat3a  14933  swrdccat3b  14935  repswswrd  14981  cshword  14988  0csh0  14990  ccatco  15032  sgnn  15294  max0add  15524  absmax  15544  sumrblem  15925  fsumcvg  15926  summolem2a  15929  isum  15933  sumss  15938  sumss2  15940  fsumcvg2  15941  fsumser  15944  fsumsplit  15955  sumsplit  15982  prodrblem  16144  fprodcvg  16145  prodmolem2a  16149  zprod  16152  iprod  16153  iprodn0  16155  prodss  16162  fprodsplit  16181  ruclem2  16447  ruclem3  16448  flodddiv4  16632  sadadd2lem2  16667  sadcf  16670  sadc0  16671  sadcp1  16672  sadcaddlem  16674  smupf  16695  smup0  16696  gcd0val  16714  dfgcd2  16766  eucalgf  16806  eucalginv  16807  eucalglt  16808  lcmf0val  16845  phisum  17019  pc0  17083  pcgcd  17107  pcmptcl  17120  pcmpt  17121  pcmpt2  17122  pcprod  17124  fldivp1  17126  prmreclem2  17146  prmreclem4  17148  1arithlem4  17155  vdwlem6  17215  ramtcl2  17240  ramcl2  17245  ramub1lem1  17255  prmop1  17267  fvprmselelfz  17273  fvprmselgcd1  17274  ressid2  17463  xpsfrnel  17795  xpsaddlem  17806  xpsvsca  17810  mreexexd  17883  gsumval1  18933  mgm2nsgrplem2  19179  sgrp2nmndlem2  19184  symgextfve  19695  symgfixfolem1  19714  pmtrmvd  19732  pmtrfinv  19737  pmtrprfval  19763  pmtrprfvalrn  19764  frgpuptinv  20047  frgpup2  20052  frgpup3lem  20053  cyggex  20174  gsumzsplit  20203  gsummpt1n0  20241  dprdfid  20295  dmdprdsplitlem  20315  sdrgacs  21120  abvtrivd  21151  znf1o  21923  uvcvv1  22161  psrlidm  22337  psrridm  22338  mvrf1  22361  mplmonmul  22413  mplcoe1  22414  mplcoe3  22415  mplcoe5  22417  mplmon2  22438  subrgasclcl  22444  evlslem3  22457  evlslem1  22459  selvvvval  22519  psdmul  22555  psdmvr  22558  coe1tmfv1  22665  ply1sclid  22679  dmatmul  22884  scmatscmiddistr  22895  1mavmul  22935  mulmarep1gsum2  22961  1marepvmarrepid  22962  mdetdiag  22986  mdetralt2  22996  mdetunilem2  23000  mdetunilem7  23005  mdetunilem8  23006  mdetunilem9  23007  mndifsplit  23023  maducoeval2  23027  madugsum  23030  madurid  23031  gsummatr01lem3  23044  gsummatr01  23046  smadiadetglem2  23059  matunitlindflem1  23066  1elcpmat  23105  decpmatid  23160  chfacfscmulgsum  23250  chfacfpmmulgsum  23254  ptpjpre1  23962  ptbasfi  23972  ptpjopn  24003  isfcls  24400  ptcmplem2  24444  ptcmplem3  24445  tsmssplit  24543  dscmet  24963  dscopn  24964  icccmplem2  25215  iccpnfcnv  25337  xrhmeo  25339  pcopt  25415  pcopt2  25416  pcoass  25417  pcorevlem  25419  cmetcaulem  25681  ovolicc1  25909  ioorcl  25970  i1f1lem  26082  itg11  26084  itg1addlem2  26090  itg1addlem4  26092  i1fres  26098  itg1climres  26107  mbfi1fseqlem4  26111  mbfi1fseqlem5  26112  mbfi1flim  26116  itg2const2  26134  itg2seq  26135  itg2uba  26136  itg2splitlem  26141  itg2split  26142  itg2monolem1  26143  itg2cnlem1  26154  itg2cnlem2  26155  iblcnlem  26181  iblss  26197  iblss2  26198  itgitg2  26199  itgle  26202  itgss  26204  itgss2  26205  itgss3  26207  itgless  26209  ibladdlem  26212  itgaddlem1  26215  iblabslem  26220  iblabs  26221  iblabsr  26222  iblmulc2  26223  bddmulibl  26231  bddiblnc  26234  itggt0  26236  itgcn  26237  limcvallem  26263  ellimc2  26269  limccnp  26283  limccnp2  26284  limcco  26285  dvcobr  26338  dvexp2  26346  mon1pid  26540  elply2  26582  elplyd  26588  ply1termlem  26589  coe1termlem  26645  abelthlem9  26837  logtayl  27058  leibpilem2  27339  leibpi  27340  rlimcnp2  27364  efrlim  27367  igamz  27445  isnsqf  27532  mule1  27545  sqff1o  27579  muinv  27590  chtublem  27608  dchrelbasd  27636  bposlem1  27681  bposlem3  27683  bposlem5  27685  bposlem6  27686  lgsval2lem  27704  lgsneg  27718  lgsdilem  27721  lgsdir2  27727  lgsdir  27729  lgsdi  27731  lgsne0  27732  gausslemma2dlem1a  27762  2lgslem1c  27790  2lgslem3  27801  2lgs  27804  dchrvmasum2if  27894  dchrvmasumiflem1  27898  rpvmasum2  27909  pntrlog2bndlem4  27977  pntrlog2bndlem5  27978  padicabv  28027  ostth2lem4  28033  nosupno  28130  nosupbday  28132  nosupbnd1  28141  nosupbnd2  28143  noinfno  28145  noinfbday  28147  noinfbnd1  28156  maxs1  28196  maxs2  28197  mins1  28198  mins2  28199  abssid  28697  abssge0  28701  axlowdimlem15  29604  opvtxval  29651  opiedgval  29654  elimifd  33250  elim2if  33251  ifeq3da  33253  ifnefals  33255  fmptunsnop  33402  pmtridf1o  33765  fzto1stfv1  33772  resvid2  34006  psrmonmul  34304  vieta  34334  2sqr3minply  34534  cos9thpiminply  34542  xrge0iifcnv  34687  xrge0iifiso  34689  xrge0iifhom  34691  sigaclfu2  34875  ddeval1  34989  eulerpartlemb  35122  ballotlemsima  35270  ballotlemrv1  35275  signsw0glem  35304  signswmnd  35308  signswrid  35309  jaeqifi  35835  ordunmax  35846  soinfdom  35854  vonf1oonfo  36109  onf1oracwevd  36112  onprcf1of1ord  36115  indispconn  36226  ex-sategoelel  36413  ex-sategoelelomsuc  36418  ex-sategoelel12  36419  mrsubvr  36503  dfrdg2  36791  dfrdg3  36792  unisnif  36921  dfrdg4  36949  fnejoin2  37391  unbdqndv2lem2  37610  bj-xpima2sn  38106  finxpreclem1  38600  finxpreclem3  38604  poimirlem2  38828  poimirlem15  38841  poimirlem16  38842  poimirlem17  38843  poimirlem19  38845  poimirlem20  38846  poimirlem24  38850  mblfinlem2  38864  mbfposadd  38873  itg2addnclem  38877  itg2gt0cn  38881  ibladdnclem  38882  itgaddnclem1  38884  iblabsnclem  38889  iblabsnc  38890  iblmulc2nc  38891  itggt0cn  38896  ftc1anclem4  38902  ftc1anclem5  38903  ftc1anclem6  38904  ftc1anclem7  38905  ftc1anclem8  38906  ftc1anc  38907  areacirclem5  38918  areacirc  38919  fdc  38965  heiborlem4  39034  ac6s6  39390  cdleme27a  41710  cdleme31sn1  41724  cdleme31fv1  41734  cdlemk40t  42261  dihvalb  42580  sticksstones12a  43493  brif2  43563  brif12  43564  evlsbagval  43897  fsuppind  43901  dffltz  43953  pw2f1ocnv  44326  aomclem5  44342  kelac1  44347  arearect  44555  areaquad  44556  oe0rif  44625  cantnfresb  44664  safesnsupfidom1o  44756  safesnsupfilb  44757  clsk1indlem1  45383  refsum2cnlem1  46405  upbdrech2  46674  lptioo2  46993  lptioo1  46994  limsupmnfuzlem  47086  limsupre3uzlem  47095  limsup10exlem  47132  coskpi2  47226  cosknegpi  47229  cncfiooicclem1  47253  cncfiooiccre  47255  dvnxpaek  47302  dvnprodlem1  47306  dvnprodlem3  47308  itgioocnicc  47337  iblcncfioo  47338  volico  47343  sublevolico  47344  volioore  47350  voliooico  47352  voliccico  47359  dirkerper  47456  dirkertrigeq  47461  dirkercncflem2  47464  fourierdlem10  47477  fourierdlem32  47499  fourierdlem33  47500  fourierdlem37  47504  fourierdlem62  47528  fourierdlem73  47539  fourierdlem74  47540  fourierdlem75  47541  fourierdlem79  47545  fourierdlem81  47547  fourierdlem82  47548  fourierdlem93  47559  fourierdlem97  47563  fourierdlem101  47567  fourierdlem103  47569  fourierdlem104  47570  sqwvfoura  47588  sqwvfourb  47589  fourierswlem  47590  fouriersw  47591  etransclem4  47598  etransclem15  47609  etransclem19  47613  etransclem20  47614  etransclem23  47617  etransclem24  47618  etransclem25  47619  etransclem27  47621  etransclem31  47625  etransclem32  47626  ioorrnopnxrlem  47666  nnfoctbdjlem  47815  isomenndlem  47890  ovn0val  47910  hoidmv0val  47943  hsphoidmvle2  47945  hoidmv1lelem1  47951  hoidmv1lelem2  47952  hoidmv1le  47954  hoidmvlelem2  47956  hoidmvlelem3  47957  ovnhoilem1  47961  hspdifhsp  47976  hoidifhspdmvle  47980  hspmbllem1  47986  hspmbllem2  47987  hspmbl  47989  volico2  48001  ovnsubadd2lem  48005  ovolval4lem2  48010  ovolval5lem1  48012  aiotaexim  48518  afvfundmfveq  48558  dfatafv2iota  48630  dfatafv2eqfv  48681  difmodm1lt  48785  prproropf1olem3  48937  prproropf1olem4  48938  linply2cfv  49789  linc1  49975  lincext3  50006  lindslinindsimp1  50007  el0ldep  50016  islindeps2  50033  itcoval0  50212  ackval0  50230  crosspv1d  51495  crosspv2d  51496  veronesev1lem  51508  veronesev2lem  51509  veronesev3lem  51510  veronesev4lem  51511  veronesev5lem  51512  veronesev6lem  51513  veronesevrowd  51514
  Copyright terms: Public domain W3C validator