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

Theorem ifbieq2i 4491
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 4488 . . 3 ((𝜑𝜓) → if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐴))
31, 2ax-mp 5 . 2 if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐴)
4 ifbieq2i.2 . . 3 𝐴 = 𝐵
5 ifeq2 4472 . . 3 (𝐴 = 𝐵 → if(𝜓, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵))
64, 5ax-mp 5 . 2 if(𝜓, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵)
73, 6eqtri 2844 1 if(𝜑, 𝐶, 𝐴) = if(𝜓, 𝐶, 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wb 208   = wceq 1533  ifcif 4467
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-rab 3147  df-v 3497  df-un 3941  df-if 4468
This theorem is referenced by:  ifbieq12i  4493  gcdcom  15856  gcdass  15889  lcmcom  15931  lcmass  15952  bj-xpimasn  34262  cdleme31sdnN  37517  cdlemefr44  37555  cdleme48fv  37629  cdlemeg49lebilem  37669  cdleme50eq  37671  hoidmvlelem3  42872  hoidmvlelem4  42873
  Copyright terms: Public domain W3C validator