| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > ifeqor | Structured version Visualization version GIF version | ||
| Description: The possible values of a conditional operator. (Contributed by NM, 17-Jun-2007.) (Proof shortened by Andrew Salmon, 26-Jun-2011.) |
| Ref | Expression |
|---|---|
| ifeqor | ⊢ (if(𝜑, 𝐴, 𝐵) = 𝐴 ∨ if(𝜑, 𝐴, 𝐵) = 𝐵) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | iftrue 4493 | . . . 4 ⊢ (𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐴) | |
| 2 | 1 | con3i 155 | . . 3 ⊢ (¬ if(𝜑, 𝐴, 𝐵) = 𝐴 → ¬ 𝜑) |
| 3 | 2 | iffalsed 4498 | . 2 ⊢ (¬ if(𝜑, 𝐴, 𝐵) = 𝐴 → if(𝜑, 𝐴, 𝐵) = 𝐵) |
| 4 | 3 | orri 876 | 1 ⊢ (if(𝜑, 𝐴, 𝐵) = 𝐴 ∨ if(𝜑, 𝐴, 𝐵) = 𝐵) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ¬ wn 3 ∨ wo 861 = wceq 1572 ifcif 4487 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1830 ax-4 1844 ax-5 1947 ax-6 2004 ax-7 2045 ax-8 2153 ax-9 2161 ax-ext 2741 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-ex 1815 df-sb 2105 df-clab 2748 df-cleq 2761 df-clel 2845 df-if 4488 |
| This theorem is used by: ifpr 4657 rabrsn 4689 prmolefac 17281 muval2 27537 abssor 28708 finxpreclem2 38607 relexpxpmin 45061 |
| Copyright terms: Public domain | W3C validator |