| Mathbox for Thierry Arnoux |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > ifnefals | Structured version Visualization version GIF version | ||
| Description: Deduce falsehood from a conditional operator value. (Contributed by Thierry Arnoux, 20-Feb-2025.) |
| Ref | Expression |
|---|---|
| ifnefals | ⊢ ((𝐴 ≠ 𝐵 ∧ if(𝜑, 𝐴, 𝐵) = 𝐵) → ¬ 𝜑) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | iftrue 4493 | . . 3 ⊢ (𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐴) | |
| 2 | 1 | adantl 486 | . 2 ⊢ (((𝐴 ≠ 𝐵 ∧ if(𝜑, 𝐴, 𝐵) = 𝐵) ∧ 𝜑) → if(𝜑, 𝐴, 𝐵) = 𝐴) |
| 3 | simplr 780 | . . . 4 ⊢ (((𝐴 ≠ 𝐵 ∧ if(𝜑, 𝐴, 𝐵) = 𝐵) ∧ 𝜑) → if(𝜑, 𝐴, 𝐵) = 𝐵) | |
| 4 | simpll 778 | . . . . 5 ⊢ (((𝐴 ≠ 𝐵 ∧ if(𝜑, 𝐴, 𝐵) = 𝐵) ∧ 𝜑) → 𝐴 ≠ 𝐵) | |
| 5 | 4 | necomd 3013 | . . . 4 ⊢ (((𝐴 ≠ 𝐵 ∧ if(𝜑, 𝐴, 𝐵) = 𝐵) ∧ 𝜑) → 𝐵 ≠ 𝐴) |
| 6 | 3, 5 | eqnetrd 3025 | . . 3 ⊢ (((𝐴 ≠ 𝐵 ∧ if(𝜑, 𝐴, 𝐵) = 𝐵) ∧ 𝜑) → if(𝜑, 𝐴, 𝐵) ≠ 𝐴) |
| 7 | 6 | neneqd 2963 | . 2 ⊢ (((𝐴 ≠ 𝐵 ∧ if(𝜑, 𝐴, 𝐵) = 𝐵) ∧ 𝜑) → ¬ if(𝜑, 𝐴, 𝐵) = 𝐴) |
| 8 | 2, 7 | pm2.65da 828 | 1 ⊢ ((𝐴 ≠ 𝐵 ∧ if(𝜑, 𝐴, 𝐵) = 𝐵) → ¬ 𝜑) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ¬ wn 3 → wi 4 ∧ wa 400 = wceq 1570 ≠ wne 2958 ifcif 4487 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1825 ax-4 1839 ax-5 1940 ax-6 1997 ax-7 2038 ax-8 2145 ax-9 2153 ax-ext 2735 |
| This proof depends on definitions: df-bi 210 df-an 401 df-or 861 df-ex 1810 df-sb 2097 df-clab 2742 df-cleq 2755 df-clel 2838 df-ne 2959 df-if 4488 |
| This theorem is used by: ifnebib 32904 |
| Copyright terms: Public domain | W3C validator |