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

Theorem tppreqb 4735
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 1105 . . . 4 (¬ (𝐶 ∈ V ∧ 𝐶𝐴𝐶𝐵) ↔ (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵))
2 df-3or 1086 . . . 4 ((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵) ↔ ((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴) ∨ ¬ 𝐶𝐵))
31, 2bitri 274 . . 3 (¬ (𝐶 ∈ V ∧ 𝐶𝐴𝐶𝐵) ↔ ((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴) ∨ ¬ 𝐶𝐵))
4 orass 918 . . . . 5 ((((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴) ∨ ¬ 𝐶𝐵) ∨ ¬ 𝐶 ∈ V) ↔ ((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴) ∨ (¬ 𝐶𝐵 ∨ ¬ 𝐶 ∈ V)))
5 ianor 978 . . . . . . . 8 (¬ (𝐶 ∈ V ∧ 𝐶𝐴) ↔ (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴))
6 tpprceq3 4734 . . . . . . . 8 (¬ (𝐶 ∈ V ∧ 𝐶𝐴) → {𝐵, 𝐴, 𝐶} = {𝐵, 𝐴})
75, 6sylbir 234 . . . . . . 7 ((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴) → {𝐵, 𝐴, 𝐶} = {𝐵, 𝐴})
8 tpcoma 4683 . . . . . . 7 {𝐵, 𝐴, 𝐶} = {𝐴, 𝐵, 𝐶}
9 prcom 4665 . . . . . . 7 {𝐵, 𝐴} = {𝐴, 𝐵}
107, 8, 93eqtr3g 2802 . . . . . 6 ((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
11 orcom 866 . . . . . . . 8 ((¬ 𝐶𝐵 ∨ ¬ 𝐶 ∈ V) ↔ (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐵))
12 ianor 978 . . . . . . . 8 (¬ (𝐶 ∈ V ∧ 𝐶𝐵) ↔ (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐵))
1311, 12bitr4i 277 . . . . . . 7 ((¬ 𝐶𝐵 ∨ ¬ 𝐶 ∈ V) ↔ ¬ (𝐶 ∈ V ∧ 𝐶𝐵))
14 tpprceq3 4734 . . . . . . 7 (¬ (𝐶 ∈ V ∧ 𝐶𝐵) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
1513, 14sylbi 216 . . . . . 6 ((¬ 𝐶𝐵 ∨ ¬ 𝐶 ∈ V) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
1610, 15jaoi 853 . . . . 5 (((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴) ∨ (¬ 𝐶𝐵 ∨ ¬ 𝐶 ∈ V)) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
174, 16sylbi 216 . . . 4 ((((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴) ∨ ¬ 𝐶𝐵) ∨ ¬ 𝐶 ∈ V) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
1817orcs 871 . . 3 (((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴) ∨ ¬ 𝐶𝐵) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
193, 18sylbi 216 . 2 (¬ (𝐶 ∈ V ∧ 𝐶𝐴𝐶𝐵) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
20 df-tp 4563 . . . 4 {𝐴, 𝐵, 𝐶} = ({𝐴, 𝐵} ∪ {𝐶})
2120eqeq1i 2743 . . 3 ({𝐴, 𝐵, 𝐶} = {𝐴, 𝐵} ↔ ({𝐴, 𝐵} ∪ {𝐶}) = {𝐴, 𝐵})
22 ssequn2 4113 . . . 4 ({𝐶} ⊆ {𝐴, 𝐵} ↔ ({𝐴, 𝐵} ∪ {𝐶}) = {𝐴, 𝐵})
23 snssg 4715 . . . . . . 7 (𝐶 ∈ V → (𝐶 ∈ {𝐴, 𝐵} ↔ {𝐶} ⊆ {𝐴, 𝐵}))
24 elpri 4580 . . . . . . . 8 (𝐶 ∈ {𝐴, 𝐵} → (𝐶 = 𝐴𝐶 = 𝐵))
25 nne 2946 . . . . . . . . . 10 𝐶𝐴𝐶 = 𝐴)
26 3mix2 1329 . . . . . . . . . 10 𝐶𝐴 → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵))
2725, 26sylbir 234 . . . . . . . . 9 (𝐶 = 𝐴 → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵))
28 nne 2946 . . . . . . . . . 10 𝐶𝐵𝐶 = 𝐵)
29 3mix3 1330 . . . . . . . . . 10 𝐶𝐵 → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵))
3028, 29sylbir 234 . . . . . . . . 9 (𝐶 = 𝐵 → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵))
3127, 30jaoi 853 . . . . . . . 8 ((𝐶 = 𝐴𝐶 = 𝐵) → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵))
3224, 31syl 17 . . . . . . 7 (𝐶 ∈ {𝐴, 𝐵} → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵))
3323, 32syl6bir 253 . . . . . 6 (𝐶 ∈ V → ({𝐶} ⊆ {𝐴, 𝐵} → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵)))
34 3mix1 1328 . . . . . . 7 𝐶 ∈ V → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵))
3534a1d 25 . . . . . 6 𝐶 ∈ V → ({𝐶} ⊆ {𝐴, 𝐵} → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵)))
3633, 35pm2.61i 182 . . . . 5 ({𝐶} ⊆ {𝐴, 𝐵} → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵))
3736, 1sylibr 233 . . . 4 ({𝐶} ⊆ {𝐴, 𝐵} → ¬ (𝐶 ∈ V ∧ 𝐶𝐴𝐶𝐵))
3822, 37sylbir 234 . . 3 (({𝐴, 𝐵} ∪ {𝐶}) = {𝐴, 𝐵} → ¬ (𝐶 ∈ V ∧ 𝐶𝐴𝐶𝐵))
3921, 38sylbi 216 . 2 ({𝐴, 𝐵, 𝐶} = {𝐴, 𝐵} → ¬ (𝐶 ∈ V ∧ 𝐶𝐴𝐶𝐵))
4019, 39impbii 208 1 (¬ (𝐶 ∈ V ∧ 𝐶𝐴𝐶𝐵) ↔ {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843  w3o 1084  w3a 1085   = wceq 1539  wcel 2108  wne 2942  Vcvv 3422  cun 3881  wss 3883  {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-3or 1086  df-3an 1087  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-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: (None)
  Copyright terms: Public domain W3C validator