| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > diftpsn3 | Structured version Visualization version GIF version | ||
| Description: Removal of a singleton from an unordered triple. (Contributed by Alexander van der Vekens, 5-Oct-2017.) (Proof shortened by JJ, 23-Jul-2021.) |
| Ref | Expression |
|---|---|
| diftpsn3 | ⊢ ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → ({𝐴, 𝐵, 𝐶} ∖ {𝐶}) = {𝐴, 𝐵}) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | disjprsn 4646 | . . . . 5 ⊢ ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → ({𝐴, 𝐵} ∩ {𝐶}) = ∅) | |
| 2 | disj3 4382 | . . . . 5 ⊢ (({𝐴, 𝐵} ∩ {𝐶}) = ∅ ↔ {𝐴, 𝐵} = ({𝐴, 𝐵} ∖ {𝐶})) | |
| 3 | 1, 2 | sylib 219 | . . . 4 ⊢ ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → {𝐴, 𝐵} = ({𝐴, 𝐵} ∖ {𝐶})) |
| 4 | 3 | eqcomd 2745 | . . 3 ⊢ ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → ({𝐴, 𝐵} ∖ {𝐶}) = {𝐴, 𝐵}) |
| 5 | difid 4304 | . . . 4 ⊢ ({𝐶} ∖ {𝐶}) = ∅ | |
| 6 | 5 | a1i 11 | . . 3 ⊢ ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → ({𝐶} ∖ {𝐶}) = ∅) |
| 7 | 4, 6 | uneq12d 4099 | . 2 ⊢ ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → (({𝐴, 𝐵} ∖ {𝐶}) ∪ ({𝐶} ∖ {𝐶})) = ({𝐴, 𝐵} ∪ ∅)) |
| 8 | df-tp 4560 | . . . 4 ⊢ {𝐴, 𝐵, 𝐶} = ({𝐴, 𝐵} ∪ {𝐶}) | |
| 9 | 8 | difeq1i 4053 | . . 3 ⊢ ({𝐴, 𝐵, 𝐶} ∖ {𝐶}) = (({𝐴, 𝐵} ∪ {𝐶}) ∖ {𝐶}) |
| 10 | difundir 4219 | . . 3 ⊢ (({𝐴, 𝐵} ∪ {𝐶}) ∖ {𝐶}) = (({𝐴, 𝐵} ∖ {𝐶}) ∪ ({𝐶} ∖ {𝐶})) | |
| 11 | 9, 10 | eqtr2i 2763 | . 2 ⊢ (({𝐴, 𝐵} ∖ {𝐶}) ∪ ({𝐶} ∖ {𝐶})) = ({𝐴, 𝐵, 𝐶} ∖ {𝐶}) |
| 12 | un0 4322 | . 2 ⊢ ({𝐴, 𝐵} ∪ ∅) = {𝐴, 𝐵} | |
| 13 | 7, 11, 12 | 3eqtr3g 2797 | 1 ⊢ ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → ({𝐴, 𝐵, 𝐶} ∖ {𝐶}) = {𝐴, 𝐵}) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 396 = wceq 1547 ≠ wne 2934 ∖ cdif 3880 ∪ cun 3881 ∩ cin 3882 ∅c0 4261 {csn 4555 {cpr 4557 {ctp 4559 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1802 ax-4 1816 ax-5 1917 ax-6 1974 ax-7 2015 ax-8 2121 ax-9 2129 ax-ext 2711 |
| This theorem depends on definitions: df-bi 208 df-an 397 df-or 854 df-tru 1550 df-fal 1560 df-ex 1787 df-sb 2074 df-clab 2718 df-cleq 2731 df-clel 2814 df-ne 2935 df-ral 3054 df-rab 3392 df-v 3433 df-dif 3886 df-un 3888 df-in 3890 df-ss 3900 df-nul 4262 df-sn 4556 df-pr 4558 df-tp 4560 |
| This theorem is referenced by: f13dfv 7218 ex-chn2 18595 nb3grprlem2 29468 cplgr3v 29522 frgr3v 30363 3vfriswmgr 30366 signswch 34745 signstfvcl 34757 |
| Copyright terms: Public domain | W3C validator |