MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  tpprceq3 Structured version   Visualization version   GIF version

Theorem tpprceq3 4731
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.)
Assertion
Ref Expression
tpprceq3 (¬ (𝐶 ∈ V ∧ 𝐶𝐵) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})

Proof of Theorem tpprceq3
StepHypRef Expression
1 ianor 978 . 2 (¬ (𝐶 ∈ V ∧ 𝐶𝐵) ↔ (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐵))
2 prprc2 4696 . . . . 5 𝐶 ∈ V → {𝐵, 𝐶} = {𝐵})
32uneq1d 4138 . . . 4 𝐶 ∈ V → ({𝐵, 𝐶} ∪ {𝐴}) = ({𝐵} ∪ {𝐴}))
4 tprot 4679 . . . . 5 {𝐴, 𝐵, 𝐶} = {𝐵, 𝐶, 𝐴}
5 df-tp 4566 . . . . 5 {𝐵, 𝐶, 𝐴} = ({𝐵, 𝐶} ∪ {𝐴})
64, 5eqtri 2844 . . . 4 {𝐴, 𝐵, 𝐶} = ({𝐵, 𝐶} ∪ {𝐴})
7 prcom 4662 . . . . 5 {𝐴, 𝐵} = {𝐵, 𝐴}
8 df-pr 4564 . . . . 5 {𝐵, 𝐴} = ({𝐵} ∪ {𝐴})
97, 8eqtri 2844 . . . 4 {𝐴, 𝐵} = ({𝐵} ∪ {𝐴})
103, 6, 93eqtr4g 2881 . . 3 𝐶 ∈ V → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
11 nne 3020 . . . 4 𝐶𝐵𝐶 = 𝐵)
12 tppreq3 4689 . . . . 5 (𝐵 = 𝐶 → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
1312eqcoms 2829 . . . 4 (𝐶 = 𝐵 → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
1411, 13sylbi 219 . . 3 𝐶𝐵 → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
1510, 14jaoi 853 . 2 ((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐵) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
161, 15sylbi 219 1 (¬ (𝐶 ∈ V ∧ 𝐶𝐵) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 398  wo 843   = wceq 1533  wcel 2110  wne 3016  Vcvv 3495  cun 3934  {csn 4561  {cpr 4563  {ctp 4565
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-v 3497  df-dif 3939  df-un 3941  df-nul 4292  df-sn 4562  df-pr 4564  df-tp 4566
This theorem is referenced by:  tppreqb  4732  1to3vfriswmgr  28053
  Copyright terms: Public domain W3C validator