| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > ifnefalse | GIF version | ||
| 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 3629 directly in this case. (Contributed by David A. Wheeler, 15-May-2015.) |
| Ref | Expression |
|---|---|
| ifnefalse | ⊢ (𝐴 ≠ 𝐵 → if(𝐴 = 𝐵, 𝐶, 𝐷) = 𝐷) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | df-ne 2413 | . 2 ⊢ (𝐴 ≠ 𝐵 ↔ ¬ 𝐴 = 𝐵) | |
| 2 | iffalse 3629 | . 2 ⊢ (¬ 𝐴 = 𝐵 → if(𝐴 = 𝐵, 𝐶, 𝐷) = 𝐷) | |
| 3 | 1, 2 | sylbi 121 | 1 ⊢ (𝐴 ≠ 𝐵 → if(𝐴 = 𝐵, 𝐶, 𝐷) = 𝐷) |
| Colors of variables: wff set class |
| Syntax hints: ¬ wn 3 → wi 4 = wceq 1398 ≠ wne 2412 ifcif 3619 |
| 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 2214 |
| This theorem depends on definitions: df-bi 117 df-nf 1510 df-sb 1812 df-clab 2219 df-cleq 2225 df-clel 2228 df-ne 2413 df-if 3620 |
| This theorem is referenced by: xnegmnf 10158 rexneg 10159 xaddpnf1 10175 xaddpnf2 10176 xaddmnf1 10177 xaddmnf2 10178 mnfaddpnf 10180 rexadd 10181 fztpval 10413 pcval 12987 xpsfrnel 13546 znf1o 14786 znfi 14790 znhash 14791 lgsval3 15878 lgsdinn0 15908 |
| Copyright terms: Public domain | W3C validator |