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 4647 | . . . . 5 ⊢ ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → ({𝐴, 𝐵} ∩ {𝐶}) = ∅) | |
2 | disj3 4384 | . . . . 5 ⊢ (({𝐴, 𝐵} ∩ {𝐶}) = ∅ ↔ {𝐴, 𝐵} = ({𝐴, 𝐵} ∖ {𝐶})) | |
3 | 1, 2 | sylib 217 | . . . 4 ⊢ ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → {𝐴, 𝐵} = ({𝐴, 𝐵} ∖ {𝐶})) |
4 | 3 | eqcomd 2744 | . . 3 ⊢ ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → ({𝐴, 𝐵} ∖ {𝐶}) = {𝐴, 𝐵}) |
5 | difid 4301 | . . . 4 ⊢ ({𝐶} ∖ {𝐶}) = ∅ | |
6 | 5 | a1i 11 | . . 3 ⊢ ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → ({𝐶} ∖ {𝐶}) = ∅) |
7 | 4, 6 | uneq12d 4094 | . 2 ⊢ ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → (({𝐴, 𝐵} ∖ {𝐶}) ∪ ({𝐶} ∖ {𝐶})) = ({𝐴, 𝐵} ∪ ∅)) |
8 | df-tp 4563 | . . . 4 ⊢ {𝐴, 𝐵, 𝐶} = ({𝐴, 𝐵} ∪ {𝐶}) | |
9 | 8 | difeq1i 4049 | . . 3 ⊢ ({𝐴, 𝐵, 𝐶} ∖ {𝐶}) = (({𝐴, 𝐵} ∪ {𝐶}) ∖ {𝐶}) |
10 | difundir 4211 | . . 3 ⊢ (({𝐴, 𝐵} ∪ {𝐶}) ∖ {𝐶}) = (({𝐴, 𝐵} ∖ {𝐶}) ∪ ({𝐶} ∖ {𝐶})) | |
11 | 9, 10 | eqtr2i 2767 | . 2 ⊢ (({𝐴, 𝐵} ∖ {𝐶}) ∪ ({𝐶} ∖ {𝐶})) = ({𝐴, 𝐵, 𝐶} ∖ {𝐶}) |
12 | un0 4321 | . 2 ⊢ ({𝐴, 𝐵} ∪ ∅) = {𝐴, 𝐵} | |
13 | 7, 11, 12 | 3eqtr3g 2802 | 1 ⊢ ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐶) → ({𝐴, 𝐵, 𝐶} ∖ {𝐶}) = {𝐴, 𝐵}) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 395 = wceq 1539 ≠ wne 2942 ∖ cdif 3880 ∪ cun 3881 ∩ cin 3882 ∅c0 4253 {csn 4558 {cpr 4560 {ctp 4562 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1799 ax-4 1813 ax-5 1914 ax-6 1972 ax-7 2012 ax-8 2110 ax-9 2118 ax-ext 2709 |
This theorem depends on definitions: df-bi 206 df-an 396 df-or 844 df-tru 1542 df-fal 1552 df-ex 1784 df-sb 2069 df-clab 2716 df-cleq 2730 df-clel 2817 df-ne 2943 df-ral 3068 df-rab 3072 df-v 3424 df-dif 3886 df-un 3888 df-in 3890 df-ss 3900 df-nul 4254 df-sn 4559 df-pr 4561 df-tp 4563 |
This theorem is referenced by: f13dfv 7127 nb3grprlem2 27651 cplgr3v 27705 frgr3v 28540 3vfriswmgr 28543 signswch 32440 signstfvcl 32452 |
Copyright terms: Public domain | W3C validator |