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

Theorem fvif 6842
Description: Move a conditional outside of a function. (Contributed by Jeff Madsen, 2-Sep-2009.)
Assertion
Ref Expression
fvif (𝐹‘if(𝜑, 𝐴, 𝐵)) = if(𝜑, (𝐹𝐴), (𝐹𝐵))

Proof of Theorem fvif
StepHypRef Expression
1 fveq2 6826 . 2 (if(𝜑, 𝐴, 𝐵) = 𝐴 → (𝐹‘if(𝜑, 𝐴, 𝐵)) = (𝐹𝐴))
2 fveq2 6826 . 2 (if(𝜑, 𝐴, 𝐵) = 𝐵 → (𝐹‘if(𝜑, 𝐴, 𝐵)) = (𝐹𝐵))
31, 2ifsb 4492 1 (𝐹‘if(𝜑, 𝐴, 𝐵)) = if(𝜑, (𝐹𝐴), (𝐹𝐵))
Colors of variables: wff setvar class
Syntax hints:   = wceq 1540  ifcif 4478  cfv 6486
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-ext 2701
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-sb 2066  df-clab 2708  df-cleq 2721  df-clel 2803  df-rab 3397  df-v 3440  df-dif 3908  df-un 3910  df-ss 3922  df-nul 4287  df-if 4479  df-sn 4580  df-pr 4582  df-op 4586  df-uni 4862  df-br 5096  df-iota 6442  df-fv 6494
This theorem is referenced by:  ccatco  14760  sumeq2ii  15618  prodeq2ii  15836  ruclem1  16158  xpsrnbas  17493  rhmmpl  22286  rhmply1vr1  22290  mat2pmat1  22635  decpmatid  22673  pmatcollpwscmatlem1  22692  copco  24934  pcopt  24938  pcopt2  24939  limccnp  25808  prmorcht  27104  pclogsum  27142  mblfinlem2  37637  ftc1anclem8  37679  ftc1anc  37680  rhmpsr  42525  fvifeq  47265
  Copyright terms: Public domain W3C validator