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

Theorem iffv 6902
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 6884 . 2 (if(𝜑, 𝐹, 𝐺) = 𝐹 → (if(𝜑, 𝐹, 𝐺)‘𝐴) = (𝐹‘𝐴))
2 fveq1 6884 . 2 (if(𝜑, 𝐹, 𝐺) = 𝐺 → (if(𝜑, 𝐹, 𝐺)‘𝐴) = (𝐺‘𝐴))
31, 2ifsb 4495 1 (if(𝜑, 𝐹, 𝐺)‘𝐴) = if(𝜑, (𝐹‘𝐴), (𝐺‘𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1569  ifcif 4481  ‘cfv 6538
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-v 3452  df-ss 3896  df-if 4482  df-uni 4867  df-br 5103  df-iota 6494  df-fv 6546
This theorem is used by:  selvvvval  22451  decpmatid  23088  pmatcollpwscmatlem1  23107
  Copyright terms: Public domain W3C validator