| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > nelpr2 | Structured version Visualization version GIF version | ||
| Description: If a class is not an element of an unordered pair, it is not the second listed element. (Contributed by Glauco Siliprandi, 3-Mar-2021.) |
| Ref | Expression |
|---|---|
| nelpr2.a | ⊢ (𝜑 → 𝐴 ∈ 𝑉) |
| nelpr2.n | ⊢ (𝜑 → ¬ 𝐴 ∈ {𝐵, 𝐶}) |
| Ref | Expression |
|---|---|
| nelpr2 | ⊢ (𝜑 → 𝐴 ≠ 𝐶) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | nelpr2.n | . . 3 ⊢ (𝜑 → ¬ 𝐴 ∈ {𝐵, 𝐶}) | |
| 2 | animorr 994 | . . . 4 ⊢ ((𝜑 ∧ 𝐴 = 𝐶) → (𝐴 = 𝐵 ∨ 𝐴 = 𝐶)) | |
| 3 | nelpr2.a | . . . . . 6 ⊢ (𝜑 → 𝐴 ∈ 𝑉) | |
| 4 | elprg 4614 | . . . . . 6 ⊢ (𝐴 ∈ 𝑉 → (𝐴 ∈ {𝐵, 𝐶} ↔ (𝐴 = 𝐵 ∨ 𝐴 = 𝐶))) | |
| 5 | 3, 4 | syl 18 | . . . . 5 ⊢ (𝜑 → (𝐴 ∈ {𝐵, 𝐶} ↔ (𝐴 = 𝐵 ∨ 𝐴 = 𝐶))) |
| 6 | 5 | adantr 486 | . . . 4 ⊢ ((𝜑 ∧ 𝐴 = 𝐶) → (𝐴 ∈ {𝐵, 𝐶} ↔ (𝐴 = 𝐵 ∨ 𝐴 = 𝐶))) |
| 7 | 2, 6 | mpbird 260 | . . 3 ⊢ ((𝜑 ∧ 𝐴 = 𝐶) → 𝐴 ∈ {𝐵, 𝐶}) |
| 8 | 1, 7 | mtand 828 | . 2 ⊢ (𝜑 → ¬ 𝐴 = 𝐶) |
| 9 | 8 | neqned 2967 | 1 ⊢ (𝜑 → 𝐴 ≠ 𝐶) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ¬ wn 3 → wi 4 ↔ wb 209 ∧ wa 401 ∨ wo 861 = wceq 1570 ∈ wcel 2146 ≠ wne 2960 {cpr 4593 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1828 ax-4 1842 ax-5 1943 ax-6 2000 ax-7 2041 ax-8 2148 ax-9 2156 ax-ext 2737 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-tru 1573 df-ex 1813 df-sb 2100 df-clab 2744 df-cleq 2757 df-clel 2840 df-ne 2961 df-v 3459 df-un 3911 df-sn 4592 df-pr 4594 |
| This theorem is used by: chnccat 18706 ovnsubadd2lem 47419 |
| Copyright terms: Public domain | W3C validator |