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

Theorem tpprceq3 4697
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 979 . 2 (¬ (𝐶 ∈ V ∧ 𝐶𝐵) ↔ (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐵))
2 prprc2 4662 . . . . 5 𝐶 ∈ V → {𝐵, 𝐶} = {𝐵})
32uneq1d 4089 . . . 4 𝐶 ∈ V → ({𝐵, 𝐶} ∪ {𝐴}) = ({𝐵} ∪ {𝐴}))
4 tprot 4645 . . . . 5 {𝐴, 𝐵, 𝐶} = {𝐵, 𝐶, 𝐴}
5 df-tp 4530 . . . . 5 {𝐵, 𝐶, 𝐴} = ({𝐵, 𝐶} ∪ {𝐴})
64, 5eqtri 2821 . . . 4 {𝐴, 𝐵, 𝐶} = ({𝐵, 𝐶} ∪ {𝐴})
7 prcom 4628 . . . . 5 {𝐴, 𝐵} = {𝐵, 𝐴}
8 df-pr 4528 . . . . 5 {𝐵, 𝐴} = ({𝐵} ∪ {𝐴})
97, 8eqtri 2821 . . . 4 {𝐴, 𝐵} = ({𝐵} ∪ {𝐴})
103, 6, 93eqtr4g 2858 . . 3 𝐶 ∈ V → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
11 nne 2991 . . . 4 𝐶𝐵𝐶 = 𝐵)
12 tppreq3 4655 . . . . 5 (𝐵 = 𝐶 → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
1312eqcoms 2806 . . . 4 (𝐶 = 𝐵 → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
1411, 13sylbi 220 . . 3 𝐶𝐵 → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
1510, 14jaoi 854 . 2 ((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐵) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
161, 15sylbi 220 1 (¬ (𝐶 ∈ V ∧ 𝐶𝐵) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399  wo 844   = wceq 1538  wcel 2111  wne 2987  Vcvv 3441  cun 3879  {csn 4525  {cpr 4527  {ctp 4529
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-tru 1541  df-ex 1782  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-ne 2988  df-v 3443  df-dif 3884  df-un 3886  df-nul 4244  df-sn 4526  df-pr 4528  df-tp 4530
This theorem is referenced by:  tppreqb  4698  1to3vfriswmgr  28065
  Copyright terms: Public domain W3C validator