| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > elif | Structured version Visualization version GIF version | ||
| Description: Membership in a conditional operator. (Contributed by NM, 14-Feb-2005.) |
| Ref | Expression |
|---|---|
| elif | ⊢ (𝐴 ∈ if(𝜑, 𝐵, 𝐶) ↔ ((𝜑 ∧ 𝐴 ∈ 𝐵) ∨ (¬ 𝜑 ∧ 𝐴 ∈ 𝐶))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | eleq2 2864 | . 2 ⊢ (if(𝜑, 𝐵, 𝐶) = 𝐵 → (𝐴 ∈ if(𝜑, 𝐵, 𝐶) ↔ 𝐴 ∈ 𝐵)) | |
| 2 | eleq2 2864 | . 2 ⊢ (if(𝜑, 𝐵, 𝐶) = 𝐶 → (𝐴 ∈ if(𝜑, 𝐵, 𝐶) ↔ 𝐴 ∈ 𝐶)) | |
| 3 | 1, 2 | elimif 4530 | 1 ⊢ (𝐴 ∈ if(𝜑, 𝐵, 𝐶) ↔ ((𝜑 ∧ 𝐴 ∈ 𝐵) ∨ (¬ 𝜑 ∧ 𝐴 ∈ 𝐶))) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ¬ wn 3 ↔ wb 209 ∧ wa 401 ∨ wo 861 ∈ wcel 2156 ifcif 4492 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1834 ax-4 1848 ax-5 1951 ax-6 2009 ax-7 2050 ax-8 2158 ax-9 2166 ax-ext 2746 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-ex 1819 df-sb 2110 df-clab 2753 df-cleq 2766 df-clel 2850 df-if 4493 |
| This theorem is used by: bj-imdirco 38490 safesnsupfiss 44845 clsk1indlem3 45472 elif0 50525 parhomel 51346 |
| Copyright terms: Public domain | W3C validator |