| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > ifel | Structured version Visualization version GIF version | ||
| Description: Membership of a conditional operator. (Contributed by NM, 10-Sep-2005.) |
| Ref | Expression |
|---|---|
| ifel | ⊢ (if(𝜑, 𝐴, 𝐵) ∈ 𝐶 ↔ ((𝜑 ∧ 𝐴 ∈ 𝐶) ∨ (¬ 𝜑 ∧ 𝐵 ∈ 𝐶))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | eleq1 2853 | . 2 ⊢ (if(𝜑, 𝐴, 𝐵) = 𝐴 → (if(𝜑, 𝐴, 𝐵) ∈ 𝐶 ↔ 𝐴 ∈ 𝐶)) | |
| 2 | eleq1 2853 | . 2 ⊢ (if(𝜑, 𝐴, 𝐵) = 𝐵 → (if(𝜑, 𝐴, 𝐵) ∈ 𝐶 ↔ 𝐵 ∈ 𝐶)) | |
| 3 | 1, 2 | elimif 4521 | 1 ⊢ (if(𝜑, 𝐴, 𝐵) ∈ 𝐶 ↔ ((𝜑 ∧ 𝐴 ∈ 𝐶) ∨ (¬ 𝜑 ∧ 𝐵 ∈ 𝐶))) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 ↔ wb 209 ∧ wa 400 ∨ wo 860 ∈ wcel 2145 ifcif 4483 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1818 ax-4 1832 ax-5 1933 ax-6 1990 ax-7 2031 ax-8 2147 ax-9 2155 ax-ext 2737 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-ex 1803 df-sb 2094 df-clab 2744 df-cleq 2757 df-clel 2840 df-if 4484 |
| This theorem is referenced by: clwlkclwwlklem2a 30254 smatrcl 34098 clsk1independent 44629 |
| Copyright terms: Public domain | W3C validator |