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

Theorem ifbieq2i 4546
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 4543 . . 3 ((𝜑𝜓) → if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐴))
31, 2ax-mp 5 . 2 if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐴)
4 ifbieq2i.2 . . 3 𝐴 = 𝐵
5 ifeq2 4526 . . 3 (𝐴 = 𝐵 → if(𝜓, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵))
64, 5ax-mp 5 . 2 if(𝜓, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵)
73, 6eqtri 2752 1 if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wb 205   = wceq 1533  ifcif 4521
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-ext 2695
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 845  df-tru 1536  df-ex 1774  df-sb 2060  df-clab 2702  df-cleq 2716  df-clel 2802  df-rab 3425  df-v 3468  df-un 3946  df-if 4522
This theorem is referenced by:  ifbieq12i  4548  gcdcom  16457  gcdass  16492  lcmcom  16533  lcmass  16554  bj-xpimasn  36336  cdleme31sdnN  39761  cdlemefr44  39799  cdleme48fv  39873  cdlemeg49lebilem  39913  cdleme50eq  39915  hoidmvlelem3  45858  hoidmvlelem4  45859
  Copyright terms: Public domain W3C validator