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

Theorem tpprceq3 4335
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 509 . 2 (¬ (𝐶 ∈ V ∧ 𝐶𝐵) ↔ (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐵))
2 prprc2 4301 . . . . 5 𝐶 ∈ V → {𝐵, 𝐶} = {𝐵})
32uneq1d 3766 . . . 4 𝐶 ∈ V → ({𝐵, 𝐶} ∪ {𝐴}) = ({𝐵} ∪ {𝐴}))
4 tprot 4284 . . . . 5 {𝐴, 𝐵, 𝐶} = {𝐵, 𝐶, 𝐴}
5 df-tp 4182 . . . . 5 {𝐵, 𝐶, 𝐴} = ({𝐵, 𝐶} ∪ {𝐴})
64, 5eqtri 2644 . . . 4 {𝐴, 𝐵, 𝐶} = ({𝐵, 𝐶} ∪ {𝐴})
7 prcom 4267 . . . . 5 {𝐴, 𝐵} = {𝐵, 𝐴}
8 df-pr 4180 . . . . 5 {𝐵, 𝐴} = ({𝐵} ∪ {𝐴})
97, 8eqtri 2644 . . . 4 {𝐴, 𝐵} = ({𝐵} ∪ {𝐴})
103, 6, 93eqtr4g 2681 . . 3 𝐶 ∈ V → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
11 nne 2798 . . . 4 𝐶𝐵𝐶 = 𝐵)
12 tppreq3 4294 . . . . 5 (𝐵 = 𝐶 → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
1312eqcoms 2630 . . . 4 (𝐶 = 𝐵 → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
1411, 13sylbi 207 . . 3 𝐶𝐵 → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
1510, 14jaoi 394 . 2 ((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐵) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
161, 15sylbi 207 1 (¬ (𝐶 ∈ V ∧ 𝐶𝐵) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wo 383  wa 384   = wceq 1483  wcel 1990  wne 2794  Vcvv 3200  cun 3572  {csn 4177  {cpr 4179  {ctp 4181
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1038  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-v 3202  df-dif 3577  df-un 3579  df-nul 3916  df-sn 4178  df-pr 4180  df-tp 4182
This theorem is referenced by:  tppreqb  4336  1to3vfriswmgr  27144
  Copyright terms: Public domain W3C validator