| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > nelpr1 | Structured version Visualization version GIF version | ||
| Description: If a class is not an element of an unordered pair, it is not the first listed element. (Contributed by Glauco Siliprandi, 3-Mar-2021.) |
| Ref | Expression |
|---|---|
| nelpr1.a | ⊢ (𝜑 → 𝐴 ∈ 𝑉) |
| nelpr1.n | ⊢ (𝜑 → ¬ 𝐴 ∈ {𝐵, 𝐶}) |
| Ref | Expression |
|---|---|
| nelpr1 | ⊢ (𝜑 → 𝐴 ≠ 𝐵) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | nelpr1.n | . . 3 ⊢ (𝜑 → ¬ 𝐴 ∈ {𝐵, 𝐶}) | |
| 2 | animorrl 997 | . . . 4 ⊢ ((𝜑 ∧ 𝐴 = 𝐵) → (𝐴 = 𝐵 ∨ 𝐴 = 𝐶)) | |
| 3 | nelpr1.a | . . . . . 6 ⊢ (𝜑 → 𝐴 ∈ 𝑉) | |
| 4 | elprg 4609 | . . . . . 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 2972 | 1 ⊢ (𝜑 → 𝐴 ≠ 𝐵) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ¬ wn 3 → wi 4 ↔ wb 209 ∧ wa 401 ∨ wo 861 = wceq 1572 ∈ wcel 2151 ≠ wne 2965 {cpr 4592 |
| 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-tru 1575 df-ex 1815 df-sb 2105 df-clab 2748 df-cleq 2761 df-clel 2845 df-ne 2966 df-v 3458 df-un 4156 df-sn 4591 df-pr 4593 |
| This theorem is used by: cyc3genpmlem 33822 ovnsubadd2lem 48005 |
| Copyright terms: Public domain | W3C validator |