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

Theorem iffv 6933
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 6915 . 2 (if(𝜑, 𝐹, 𝐺) = 𝐹 → (if(𝜑, 𝐹, 𝐺)‘𝐴) = (𝐹‘𝐴))
2 fveq1 6915 . 2 (if(𝜑, 𝐹, 𝐺) = 𝐺 → (if(𝜑, 𝐹, 𝐺)‘𝐴) = (𝐺‘𝐴))
31, 2ifsb 4498 1 (if(𝜑, 𝐹, 𝐺)‘𝐴) = if(𝜑, (𝐹‘𝐴), (𝐺‘𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1572  ifcif 4484  ‘cfv 6566
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 2152  ax-9 2160  ax-ext 2738
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1815  df-sb 2104  df-clab 2745  df-cleq 2758  df-clel 2842  df-v 3455  df-ss 3900  df-if 4485  df-uni 4872  df-br 5108  df-iota 6520  df-fv 6574
This theorem is used by:  selvvvval  22509  decpmatid  23146  pmatcollpwscmatlem1  23165
  Copyright terms: Public domain W3C validator