| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > pr2ne | Structured version Visualization version GIF version | ||
| Description: If an unordered pair has two elements, then they are different. (Contributed by FL, 14-Feb-2010.) Avoid ax-pow 5335, ax-un 7734. (Revised by BTernaryTau, 30-Dec-2024.) |
| Ref | Expression |
|---|---|
| pr2ne | ⊢ ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) → ({𝐴, 𝐵} ≈ 2o ↔ 𝐴 ≠ 𝐵)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | snnen2o 9203 | . . . 4 ⊢ ¬ {𝐴} ≈ 2o | |
| 2 | dfsn2 4601 | . . . . . 6 ⊢ {𝐴} = {𝐴, 𝐴} | |
| 3 | preq2 4699 | . . . . . 6 ⊢ (𝐴 = 𝐵 → {𝐴, 𝐴} = {𝐴, 𝐵}) | |
| 4 | 2, 3 | eqtr2id 2810 | . . . . 5 ⊢ (𝐴 = 𝐵 → {𝐴, 𝐵} = {𝐴}) |
| 5 | 4 | breq1d 5118 | . . . 4 ⊢ (𝐴 = 𝐵 → ({𝐴, 𝐵} ≈ 2o ↔ {𝐴} ≈ 2o)) |
| 6 | 1, 5 | mtbiri 330 | . . 3 ⊢ (𝐴 = 𝐵 → ¬ {𝐴, 𝐵} ≈ 2o) |
| 7 | 6 | necon2ai 2986 | . 2 ⊢ ({𝐴, 𝐵} ≈ 2o → 𝐴 ≠ 𝐵) |
| 8 | enpr2 9995 | . . 3 ⊢ ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷 ∧ 𝐴 ≠ 𝐵) → {𝐴, 𝐵} ≈ 2o) | |
| 9 | 8 | 3expia 1138 | . 2 ⊢ ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) → (𝐴 ≠ 𝐵 → {𝐴, 𝐵} ≈ 2o)) |
| 10 | 7, 9 | impbid2 229 | 1 ⊢ ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) → ({𝐴, 𝐵} ≈ 2o ↔ 𝐴 ≠ 𝐵)) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ↔ wb 209 ∧ wa 400 = wceq 1569 ∈ wcel 2142 ≠ wne 2957 {csn 4588 {cpr 4590 class class class wbr 5108 2oc2o 8445 ≈ cen 8938 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1824 ax-4 1838 ax-5 1939 ax-6 1996 ax-7 2037 ax-8 2144 ax-9 2152 ax-10 2175 ax-11 2191 ax-12 2212 ax-ext 2734 ax-sep 5256 ax-nul 5268 ax-pr 5403 |
| This proof depends on definitions: df-bi 210 df-an 401 df-or 861 df-3an 1104 df-tru 1572 df-fal 1582 df-ex 1809 df-nf 1813 df-sb 2096 df-mo 2566 df-eu 2596 df-clab 2741 df-cleq 2754 df-clel 2837 df-ne 2958 df-ral 3079 df-rex 3089 df-rab 3416 df-v 3456 df-dif 3907 df-un 3909 df-in 3911 df-ss 3921 df-nul 4286 df-if 4487 df-sn 4589 df-pr 4591 df-op 4595 df-uni 4872 df-br 5109 df-opab 5173 df-id 5555 df-xp 5666 df-rel 5667 df-cnv 5668 df-co 5669 df-dm 5670 df-rn 5671 df-suc 6366 df-iota 6492 df-fun 6538 df-fn 6539 df-f 6540 df-f1 6541 df-fo 6542 df-f1o 6543 df-fv 6544 df-1o 8451 df-2o 8452 df-en 8942 |
| This theorem is used by: prdom2 9997 isprm2lem 16745 pmtrrn2 19536 mdetunilem7 22786 trsp2cyc 33452 en2pr 44301 pr2cv 44302 pren2 44307 |
| Copyright terms: Public domain | W3C validator |