ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ifnefalse GIF version

Theorem ifnefalse 3635
Description: When values are unequal, but an "if" condition checks if they are equal, then the "false" branch results. This is a simple utility to provide a slight shortening and simplification of proofs versus applying iffalse 3632 directly in this case. (Contributed by David A. Wheeler, 15-May-2015.)
Assertion
Ref Expression
ifnefalse (𝐴𝐵 → if(𝐴 = 𝐵, 𝐶, 𝐷) = 𝐷)

Proof of Theorem ifnefalse
StepHypRef Expression
1 df-ne 2415 . 2 (𝐴𝐵 ↔ ¬ 𝐴 = 𝐵)
2 iffalse 3632 . 2 𝐴 = 𝐵 → if(𝐴 = 𝐵, 𝐶, 𝐷) = 𝐷)
31, 2sylbi 121 1 (𝐴𝐵 → if(𝐴 = 𝐵, 𝐶, 𝐷) = 𝐷)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4   = wceq 1398  wne 2414  ifcif 3622
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in2 620  ax-io 717  ax-5 1496  ax-7 1497  ax-gen 1498  ax-ie1 1542  ax-ie2 1543  ax-8 1553  ax-11 1555  ax-4 1559  ax-17 1575  ax-i9 1579  ax-ial 1583  ax-i5r 1584  ax-ext 2216
This theorem depends on definitions:  df-bi 117  df-nf 1510  df-sb 1812  df-clab 2221  df-cleq 2227  df-clel 2230  df-ne 2415  df-if 3623
This theorem is referenced by:  xnegmnf  10168  rexneg  10169  xaddpnf1  10185  xaddpnf2  10186  xaddmnf1  10187  xaddmnf2  10188  mnfaddpnf  10190  rexadd  10191  fztpval  10424  pcval  13002  xpsfrnel  13578  znf1o  14848  znfi  14852  znhash  14853  lgsval3  15940  lgsdinn0  15970
  Copyright terms: Public domain W3C validator