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

Theorem tppreqb 4741
Description: An unordered triple is an unordered pair if and only if one of its elements is a proper class or is identical with one of the another elements. (Contributed by Alexander van der Vekens, 15-Jan-2018.)
Assertion
Ref Expression
tppreqb (¬ (𝐶 ∈ V ∧ 𝐶𝐴𝐶𝐵) ↔ {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})

Proof of Theorem tppreqb
StepHypRef Expression
1 3ianor 1103 . . . 4 (¬ (𝐶 ∈ V ∧ 𝐶𝐴𝐶𝐵) ↔ (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵))
2 df-3or 1084 . . . 4 ((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵) ↔ ((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴) ∨ ¬ 𝐶𝐵))
31, 2bitri 277 . . 3 (¬ (𝐶 ∈ V ∧ 𝐶𝐴𝐶𝐵) ↔ ((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴) ∨ ¬ 𝐶𝐵))
4 orass 918 . . . . 5 ((((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴) ∨ ¬ 𝐶𝐵) ∨ ¬ 𝐶 ∈ V) ↔ ((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴) ∨ (¬ 𝐶𝐵 ∨ ¬ 𝐶 ∈ V)))
5 ianor 978 . . . . . . . 8 (¬ (𝐶 ∈ V ∧ 𝐶𝐴) ↔ (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴))
6 tpprceq3 4740 . . . . . . . 8 (¬ (𝐶 ∈ V ∧ 𝐶𝐴) → {𝐵, 𝐴, 𝐶} = {𝐵, 𝐴})
75, 6sylbir 237 . . . . . . 7 ((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴) → {𝐵, 𝐴, 𝐶} = {𝐵, 𝐴})
8 tpcoma 4689 . . . . . . 7 {𝐵, 𝐴, 𝐶} = {𝐴, 𝐵, 𝐶}
9 prcom 4671 . . . . . . 7 {𝐵, 𝐴} = {𝐴, 𝐵}
107, 8, 93eqtr3g 2882 . . . . . 6 ((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
11 orcom 866 . . . . . . . 8 ((¬ 𝐶𝐵 ∨ ¬ 𝐶 ∈ V) ↔ (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐵))
12 ianor 978 . . . . . . . 8 (¬ (𝐶 ∈ V ∧ 𝐶𝐵) ↔ (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐵))
1311, 12bitr4i 280 . . . . . . 7 ((¬ 𝐶𝐵 ∨ ¬ 𝐶 ∈ V) ↔ ¬ (𝐶 ∈ V ∧ 𝐶𝐵))
14 tpprceq3 4740 . . . . . . 7 (¬ (𝐶 ∈ V ∧ 𝐶𝐵) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
1513, 14sylbi 219 . . . . . 6 ((¬ 𝐶𝐵 ∨ ¬ 𝐶 ∈ V) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
1610, 15jaoi 853 . . . . 5 (((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴) ∨ (¬ 𝐶𝐵 ∨ ¬ 𝐶 ∈ V)) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
174, 16sylbi 219 . . . 4 ((((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴) ∨ ¬ 𝐶𝐵) ∨ ¬ 𝐶 ∈ V) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
1817orcs 871 . . 3 (((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴) ∨ ¬ 𝐶𝐵) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
193, 18sylbi 219 . 2 (¬ (𝐶 ∈ V ∧ 𝐶𝐴𝐶𝐵) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
20 df-tp 4575 . . . 4 {𝐴, 𝐵, 𝐶} = ({𝐴, 𝐵} ∪ {𝐶})
2120eqeq1i 2829 . . 3 ({𝐴, 𝐵, 𝐶} = {𝐴, 𝐵} ↔ ({𝐴, 𝐵} ∪ {𝐶}) = {𝐴, 𝐵})
22 ssequn2 4162 . . . 4 ({𝐶} ⊆ {𝐴, 𝐵} ↔ ({𝐴, 𝐵} ∪ {𝐶}) = {𝐴, 𝐵})
23 snssg 4720 . . . . . . 7 (𝐶 ∈ V → (𝐶 ∈ {𝐴, 𝐵} ↔ {𝐶} ⊆ {𝐴, 𝐵}))
24 elpri 4592 . . . . . . . 8 (𝐶 ∈ {𝐴, 𝐵} → (𝐶 = 𝐴𝐶 = 𝐵))
25 nne 3023 . . . . . . . . . 10 𝐶𝐴𝐶 = 𝐴)
26 3mix2 1327 . . . . . . . . . 10 𝐶𝐴 → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵))
2725, 26sylbir 237 . . . . . . . . 9 (𝐶 = 𝐴 → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵))
28 nne 3023 . . . . . . . . . 10 𝐶𝐵𝐶 = 𝐵)
29 3mix3 1328 . . . . . . . . . 10 𝐶𝐵 → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵))
3028, 29sylbir 237 . . . . . . . . 9 (𝐶 = 𝐵 → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵))
3127, 30jaoi 853 . . . . . . . 8 ((𝐶 = 𝐴𝐶 = 𝐵) → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵))
3224, 31syl 17 . . . . . . 7 (𝐶 ∈ {𝐴, 𝐵} → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵))
3323, 32syl6bir 256 . . . . . 6 (𝐶 ∈ V → ({𝐶} ⊆ {𝐴, 𝐵} → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵)))
34 3mix1 1326 . . . . . . 7 𝐶 ∈ V → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵))
3534a1d 25 . . . . . 6 𝐶 ∈ V → ({𝐶} ⊆ {𝐴, 𝐵} → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵)))
3633, 35pm2.61i 184 . . . . 5 ({𝐶} ⊆ {𝐴, 𝐵} → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵))
3736, 1sylibr 236 . . . 4 ({𝐶} ⊆ {𝐴, 𝐵} → ¬ (𝐶 ∈ V ∧ 𝐶𝐴𝐶𝐵))
3822, 37sylbir 237 . . 3 (({𝐴, 𝐵} ∪ {𝐶}) = {𝐴, 𝐵} → ¬ (𝐶 ∈ V ∧ 𝐶𝐴𝐶𝐵))
3921, 38sylbi 219 . 2 ({𝐴, 𝐵, 𝐶} = {𝐴, 𝐵} → ¬ (𝐶 ∈ V ∧ 𝐶𝐴𝐶𝐵))
4019, 39impbii 211 1 (¬ (𝐶 ∈ V ∧ 𝐶𝐴𝐶𝐵) ↔ {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  wo 843  w3o 1082  w3a 1083   = wceq 1536  wcel 2113  wne 3019  Vcvv 3497  cun 3937  wss 3939  {csn 4570  {cpr 4572  {ctp 4574
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2796
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2966  df-ne 3020  df-v 3499  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-nul 4295  df-sn 4571  df-pr 4573  df-tp 4575
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator