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

Theorem iffv 6662
Description: Move a conditional outside of a function. (Contributed by Thierry Arnoux, 28-Sep-2018.)
Assertion
Ref Expression
iffv (if(𝜑, 𝐹, 𝐺)‘𝐴) = if(𝜑, (𝐹𝐴), (𝐺𝐴))

Proof of Theorem iffv
StepHypRef Expression
1 fveq1 6644 . 2 (if(𝜑, 𝐹, 𝐺) = 𝐹 → (if(𝜑, 𝐹, 𝐺)‘𝐴) = (𝐹𝐴))
2 fveq1 6644 . 2 (if(𝜑, 𝐹, 𝐺) = 𝐺 → (if(𝜑, 𝐹, 𝐺)‘𝐴) = (𝐺𝐴))
31, 2ifsb 4438 1 (if(𝜑, 𝐹, 𝐺)‘𝐴) = if(𝜑, (𝐹𝐴), (𝐺𝐴))
Colors of variables: wff setvar class
Syntax hints:   = wceq 1538  ifcif 4425  cfv 6324
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-ex 1782  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-v 3443  df-in 3888  df-ss 3898  df-if 4426  df-uni 4801  df-br 5031  df-iota 6283  df-fv 6332
This theorem is referenced by:  decpmatid  21375  pmatcollpwscmatlem1  21394
  Copyright terms: Public domain W3C validator