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

Theorem ifbieq12i 4492
Description: Equivalence deduction for conditional operators. (Contributed by NM, 18-Mar-2013.)
Hypotheses
Ref Expression
ifbieq12i.1 (𝜑𝜓)
ifbieq12i.2 𝐴 = 𝐶
ifbieq12i.3 𝐵 = 𝐷
Assertion
Ref Expression
ifbieq12i if(𝜑, 𝐴, 𝐵) = if(𝜓, 𝐶, 𝐷)

Proof of Theorem ifbieq12i
StepHypRef Expression
1 ifbieq12i.2 . . 3 𝐴 = 𝐶
2 ifeq1 4469 . . 3 (𝐴 = 𝐶 → if(𝜑, 𝐴, 𝐵) = if(𝜑, 𝐶, 𝐵))
31, 2ax-mp 5 . 2 if(𝜑, 𝐴, 𝐵) = if(𝜑, 𝐶, 𝐵)
4 ifbieq12i.1 . . 3 (𝜑𝜓)
5 ifbieq12i.3 . . 3 𝐵 = 𝐷
64, 5ifbieq2i 4490 . 2 if(𝜑, 𝐶, 𝐵) = if(𝜓, 𝐶, 𝐷)
73, 6eqtri 2764 1 if(𝜑, 𝐴, 𝐵) = if(𝜓, 𝐶, 𝐷)
Colors of variables: wff setvar class
Syntax hints:  wb 205   = wceq 1539  ifcif 4465
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-ext 2707
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-tru 1542  df-ex 1780  df-sb 2066  df-clab 2714  df-cleq 2728  df-clel 2814  df-rab 3306  df-v 3439  df-un 3897  df-if 4466
This theorem is referenced by:  cbvditg  25067  sgnneg  32556  nosupcbv  33954  noinfcbv  33969  binomcxplemdvsum  42186
  Copyright terms: Public domain W3C validator