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

Theorem ifbieq2i 4515
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 4512 . . 3 ((𝜑𝜓) → if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐴))
31, 2ax-mp 5 . 2 if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐴)
4 ifbieq2i.2 . . 3 𝐴 = 𝐵
5 ifeq2 4495 . . 3 (𝐴 = 𝐵 → if(𝜓, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵))
64, 5ax-mp 5 . 2 if(𝜓, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵)
73, 6eqtri 2761 1 if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wb 205   = wceq 1542  ifcif 4490
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-ext 2704
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-tru 1545  df-ex 1783  df-sb 2069  df-clab 2711  df-cleq 2725  df-clel 2811  df-rab 3407  df-v 3449  df-un 3919  df-if 4491
This theorem is referenced by:  ifbieq12i  4517  gcdcom  16401  gcdass  16436  lcmcom  16477  lcmass  16498  bj-xpimasn  35476  cdleme31sdnN  38900  cdlemefr44  38938  cdleme48fv  39012  cdlemeg49lebilem  39052  cdleme50eq  39054  hoidmvlelem3  44928  hoidmvlelem4  44929
  Copyright terms: Public domain W3C validator