| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > tpprceq3 | Structured version Visualization version GIF version | ||
| Description: An unordered triple is an unordered pair if one of its elements is a proper class or is identical with another element. (Contributed by Alexander van der Vekens, 6-Oct-2017.) |
| Ref | Expression |
|---|---|
| tpprceq3 | ⊢ (¬ (𝐶 ∈ V ∧ 𝐶 ≠ 𝐵) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵}) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | ianor 983 | . 2 ⊢ (¬ (𝐶 ∈ V ∧ 𝐶 ≠ 𝐵) ↔ (¬ 𝐶 ∈ V ∨ ¬ 𝐶 ≠ 𝐵)) | |
| 2 | prprc2 4730 | . . . . 5 ⊢ (¬ 𝐶 ∈ V → {𝐵, 𝐶} = {𝐵}) | |
| 3 | 2 | uneq1d 4130 | . . . 4 ⊢ (¬ 𝐶 ∈ V → ({𝐵, 𝐶} ∪ {𝐴}) = ({𝐵} ∪ {𝐴})) |
| 4 | tprot 4713 | . . . . 5 ⊢ {𝐴, 𝐵, 𝐶} = {𝐵, 𝐶, 𝐴} | |
| 5 | df-tp 4594 | . . . . 5 ⊢ {𝐵, 𝐶, 𝐴} = ({𝐵, 𝐶} ∪ {𝐴}) | |
| 6 | 4, 5 | eqtri 2752 | . . . 4 ⊢ {𝐴, 𝐵, 𝐶} = ({𝐵, 𝐶} ∪ {𝐴}) |
| 7 | prcom 4696 | . . . . 5 ⊢ {𝐴, 𝐵} = {𝐵, 𝐴} | |
| 8 | df-pr 4592 | . . . . 5 ⊢ {𝐵, 𝐴} = ({𝐵} ∪ {𝐴}) | |
| 9 | 7, 8 | eqtri 2752 | . . . 4 ⊢ {𝐴, 𝐵} = ({𝐵} ∪ {𝐴}) |
| 10 | 3, 6, 9 | 3eqtr4g 2789 | . . 3 ⊢ (¬ 𝐶 ∈ V → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵}) |
| 11 | nne 2929 | . . . 4 ⊢ (¬ 𝐶 ≠ 𝐵 ↔ 𝐶 = 𝐵) | |
| 12 | tppreq3 4723 | . . . . 5 ⊢ (𝐵 = 𝐶 → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵}) | |
| 13 | 12 | eqcoms 2737 | . . . 4 ⊢ (𝐶 = 𝐵 → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵}) |
| 14 | 11, 13 | sylbi 217 | . . 3 ⊢ (¬ 𝐶 ≠ 𝐵 → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵}) |
| 15 | 10, 14 | jaoi 857 | . 2 ⊢ ((¬ 𝐶 ∈ V ∨ ¬ 𝐶 ≠ 𝐵) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵}) |
| 16 | 1, 15 | sylbi 217 | 1 ⊢ (¬ (𝐶 ∈ V ∧ 𝐶 ≠ 𝐵) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵}) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 → wi 4 ∧ wa 395 ∨ wo 847 = wceq 1540 ∈ wcel 2109 ≠ wne 2925 Vcvv 3447 ∪ cun 3912 {csn 4589 {cpr 4591 {ctp 4593 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2008 ax-8 2111 ax-9 2119 ax-ext 2701 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3or 1087 df-tru 1543 df-fal 1553 df-ex 1780 df-sb 2066 df-clab 2708 df-cleq 2721 df-clel 2803 df-ne 2926 df-v 3449 df-dif 3917 df-un 3919 df-nul 4297 df-sn 4590 df-pr 4592 df-tp 4594 |
| This theorem is referenced by: tppreqb 4769 1to3vfriswmgr 30209 tpssad 32468 |
| Copyright terms: Public domain | W3C validator |