Users' Mathboxes Mathbox for David A. Wheeler < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  ifnmfalse Structured version   Visualization version   GIF version

Theorem ifnmfalse 50582
Description: If A is not a member of B, but an "if" condition requires it, then the "false" branch results. This is a simple utility to provide a slight shortening and simplification of proofs versus applying iffalse 4501 directly in this case. (Contributed by David A. Wheeler, 15-May-2015.)
Assertion
Ref Expression
ifnmfalse (𝐴𝐵 → if(𝐴𝐵, 𝐶, 𝐷) = 𝐷)

Proof of Theorem ifnmfalse
StepHypRef Expression
1 df-nel 3068 . 2 (𝐴𝐵 ↔ ¬ 𝐴𝐵)
2 iffalse 4501 . 2 𝐴𝐵 → if(𝐴𝐵, 𝐶, 𝐷) = 𝐷)
31, 2sylbi 220 1 (𝐴𝐵 → if(𝐴𝐵, 𝐶, 𝐷) = 𝐷)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3  wi 4   = wceq 1570  wcel 2146  wnel 3067  ifcif 4492
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-ext 2738
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1813  df-sb 2100  df-clab 2745  df-cleq 2758  df-clel 2841  df-nel 3068  df-if 4493
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator