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

Theorem ovif2 7231
Description: Move a conditional outside of an operation. (Contributed by Thierry Arnoux, 1-Oct-2018.)
Assertion
Ref Expression
ovif2 (𝐴𝐹if(𝜑, 𝐵, 𝐶)) = if(𝜑, (𝐴𝐹𝐵), (𝐴𝐹𝐶))

Proof of Theorem ovif2
StepHypRef Expression
1 oveq2 7143 . 2 (if(𝜑, 𝐵, 𝐶) = 𝐵 → (𝐴𝐹if(𝜑, 𝐵, 𝐶)) = (𝐴𝐹𝐵))
2 oveq2 7143 . 2 (if(𝜑, 𝐵, 𝐶) = 𝐶 → (𝐴𝐹if(𝜑, 𝐵, 𝐶)) = (𝐴𝐹𝐶))
31, 2ifsb 4438 1 (𝐴𝐹if(𝜑, 𝐵, 𝐶)) = if(𝜑, (𝐴𝐹𝐵), (𝐴𝐹𝐶))
Colors of variables: wff setvar class
Syntax hints:   = wceq 1538  ifcif 4425  (class class class)co 7135
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-3an 1086  df-ex 1782  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-v 3443  df-un 3886  df-in 3888  df-ss 3898  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-iota 6283  df-fv 6332  df-ov 7138
This theorem is referenced by:  ramcl  16355  matsc  21055  scmatscmide  21112  mulmarep1el  21177  maducoeval2  21245  madugsum  21248  itg2const  24344  itg2monolem1  24354  iblmulc2  24434  itgmulc2lem1  24435  bddmulibl  24442  dchrvmasumiflem2  26086  rpvmasum2  26096  sgnneg  31908  itg2addnclem  35108  itgaddnclem2  35116  itgmulc2nclem1  35123  sqrtcval2  40342
  Copyright terms: Public domain W3C validator