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

Theorem iffv 6925
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 6907 . 2 (if(𝜑, 𝐹, 𝐺) = 𝐹 → (if(𝜑, 𝐹, 𝐺)‘𝐴) = (𝐹‘𝐴))
2 fveq1 6907 . 2 (if(𝜑, 𝐹, 𝐺) = 𝐺 → (if(𝜑, 𝐹, 𝐺)‘𝐴) = (𝐺‘𝐴))
31, 2ifsb 4499 1 (if(𝜑, 𝐹, 𝐺)‘𝐴) = if(𝜑, (𝐹‘𝐴), (𝐺‘𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570  ifcif 4485  ‘cfv 6558
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-v 3456  df-ss 3901  df-if 4486  df-uni 4871  df-br 5107  df-iota 6512  df-fv 6566
This theorem is used by:  selvvvval  22481  decpmatid  23118  pmatcollpwscmatlem1  23137
  Copyright terms: Public domain W3C validator