| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > ifpr | Structured version Visualization version GIF version | ||
| Description: Membership of a conditional operator in an unordered pair. (Contributed by NM, 17-Jun-2007.) |
| Ref | Expression |
|---|---|
| ifpr | ⊢ ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) → if(𝜑, 𝐴, 𝐵) ∈ {𝐴, 𝐵}) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | elex 3463 | . 2 ⊢ (𝐴 ∈ 𝐶 → 𝐴 ∈ V) | |
| 2 | elex 3463 | . 2 ⊢ (𝐵 ∈ 𝐷 → 𝐵 ∈ V) | |
| 3 | ifcl 4527 | . . 3 ⊢ ((𝐴 ∈ V ∧ 𝐵 ∈ V) → if(𝜑, 𝐴, 𝐵) ∈ V) | |
| 4 | ifeqor 4533 | . . . 4 ⊢ (if(𝜑, 𝐴, 𝐵) = 𝐴 ∨ if(𝜑, 𝐴, 𝐵) = 𝐵) | |
| 5 | elprg 4605 | . . . 4 ⊢ (if(𝜑, 𝐴, 𝐵) ∈ V → (if(𝜑, 𝐴, 𝐵) ∈ {𝐴, 𝐵} ↔ (if(𝜑, 𝐴, 𝐵) = 𝐴 ∨ if(𝜑, 𝐴, 𝐵) = 𝐵))) | |
| 6 | 4, 5 | mpbiri 258 | . . 3 ⊢ (if(𝜑, 𝐴, 𝐵) ∈ V → if(𝜑, 𝐴, 𝐵) ∈ {𝐴, 𝐵}) |
| 7 | 3, 6 | syl 17 | . 2 ⊢ ((𝐴 ∈ V ∧ 𝐵 ∈ V) → if(𝜑, 𝐴, 𝐵) ∈ {𝐴, 𝐵}) |
| 8 | 1, 2, 7 | syl2an 597 | 1 ⊢ ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) → if(𝜑, 𝐴, 𝐵) ∈ {𝐴, 𝐵}) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 395 ∨ wo 848 = wceq 1542 ∈ wcel 2114 Vcvv 3442 ifcif 4481 {cpr 4584 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1797 ax-4 1811 ax-5 1912 ax-6 1969 ax-7 2010 ax-8 2116 ax-9 2124 ax-ext 2709 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 849 df-tru 1545 df-ex 1782 df-sb 2069 df-clab 2716 df-cleq 2729 df-clel 2812 df-v 3444 df-un 3908 df-if 4482 df-sn 4583 df-pr 4585 |
| This theorem is referenced by: suppr 9387 infpr 9420 uvcvvcl 21754 indf 32944 |
| Copyright terms: Public domain | W3C validator |