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

Theorem ifnefalse 3583
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 3580 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 2378 . 2 (𝐴𝐵 ↔ ¬ 𝐴 = 𝐵)
2 iffalse 3580 . 2 𝐴 = 𝐵 → if(𝐴 = 𝐵, 𝐶, 𝐷) = 𝐷)
31, 2sylbi 121 1 (𝐴𝐵 → if(𝐴 = 𝐵, 𝐶, 𝐷) = 𝐷)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4   = wceq 1373  wne 2377  ifcif 3572
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 616  ax-io 711  ax-5 1471  ax-7 1472  ax-gen 1473  ax-ie1 1517  ax-ie2 1518  ax-8 1528  ax-11 1530  ax-4 1534  ax-17 1550  ax-i9 1554  ax-ial 1558  ax-i5r 1559  ax-ext 2188
This theorem depends on definitions:  df-bi 117  df-nf 1485  df-sb 1787  df-clab 2193  df-cleq 2199  df-clel 2202  df-ne 2378  df-if 3573
This theorem is referenced by:  xnegmnf  9958  rexneg  9959  xaddpnf1  9975  xaddpnf2  9976  xaddmnf1  9977  xaddmnf2  9978  mnfaddpnf  9980  rexadd  9981  fztpval  10212  pcval  12663  xpsfrnel  13220  znf1o  14457  znfi  14461  znhash  14462  lgsval3  15539  lgsdinn0  15569
  Copyright terms: Public domain W3C validator