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

Theorem ovif 7514
Description: Move a conditional outside of an operation. (Contributed by Thierry Arnoux, 25-Jan-2017.)
Assertion
Ref Expression
ovif (if(𝜑, 𝐴, 𝐵)𝐹𝐶) = if(𝜑, (𝐴𝐹𝐶), (𝐵𝐹𝐶))

Proof of Theorem ovif
StepHypRef Expression
1 oveq1 7423 . 2 (if(𝜑, 𝐴, 𝐵) = 𝐴 → (if(𝜑, 𝐴, 𝐵)𝐹𝐶) = (𝐴𝐹𝐶))
2 oveq1 7423 . 2 (if(𝜑, 𝐴, 𝐵) = 𝐵 → (if(𝜑, 𝐴, 𝐵)𝐹𝐶) = (𝐵𝐹𝐶))
31, 2ifsb 4504 1 (if(𝜑, 𝐴, 𝐵)𝐹𝐶) = if(𝜑, (𝐴𝐹𝐶), (𝐵𝐹𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570  ifcif 4490  (class class class)co 7416
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 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-ext 2738
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2745  df-cleq 2758  df-clel 2841  df-rab 3420  df-v 3460  df-dif 3911  df-un 3913  df-ss 3925  df-nul 4290  df-if 4491  df-sn 4593  df-pr 4595  df-op 4599  df-uni 4876  df-br 5113  df-iota 6496  df-fv 6548  df-ov 7419
This theorem is used by:  scmatscm  22685  pmatcollpwscmatlem1  22961  idpm2idmp  22973  monmat2matmon  22996  chmatval  23001  plyn0mulidp  26457  leibpi  27122  musumsum  27371  muinv  27372  dchrinvcl  27432  rpvmasum2  27691  padicabvcxp  27811  mplmulmvr  33942  pnfneige0  34354  ftc1anclem6  38381  reabssgn  44394  sqrtcval  44399  linc0scn0  49235
  Copyright terms: Public domain W3C validator