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

Theorem ifbieq2i 4553
Description: Equivalence/equality inference for conditional operators. (Contributed by Paul Chapman, 22-Jun-2011.)
Hypotheses
Ref Expression
ifbieq2i.1 (𝜑𝜓)
ifbieq2i.2 𝐴 = 𝐵
Assertion
Ref Expression
ifbieq2i if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵)

Proof of Theorem ifbieq2i
StepHypRef Expression
1 ifbieq2i.1 . . 3 (𝜑𝜓)
2 ifbi 4550 . . 3 ((𝜑𝜓) → if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐴))
31, 2ax-mp 5 . 2 if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐴)
4 ifbieq2i.2 . . 3 𝐴 = 𝐵
5 ifeq2 4533 . . 3 (𝐴 = 𝐵 → if(𝜓, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵))
64, 5ax-mp 5 . 2 if(𝜓, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵)
73, 6eqtri 2760 1 if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wb 205   = wceq 1541  ifcif 4528
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2703
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-tru 1544  df-ex 1782  df-sb 2068  df-clab 2710  df-cleq 2724  df-clel 2810  df-rab 3433  df-v 3476  df-un 3953  df-if 4529
This theorem is referenced by:  ifbieq12i  4555  gcdcom  16453  gcdass  16488  lcmcom  16529  lcmass  16550  bj-xpimasn  35831  cdleme31sdnN  39253  cdlemefr44  39291  cdleme48fv  39365  cdlemeg49lebilem  39405  cdleme50eq  39407  hoidmvlelem3  45303  hoidmvlelem4  45304
  Copyright terms: Public domain W3C validator