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

Theorem tppreqb 4731
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 4730 . . . . . . . 8 (¬ (𝐶 ∈ V ∧ 𝐶𝐴) → {𝐵, 𝐴, 𝐶} = {𝐵, 𝐴})
75, 6sylbir 237 . . . . . . 7 ((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴) → {𝐵, 𝐴, 𝐶} = {𝐵, 𝐴})
8 tpcoma 4679 . . . . . . 7 {𝐵, 𝐴, 𝐶} = {𝐴, 𝐵, 𝐶}
9 prcom 4661 . . . . . . 7 {𝐵, 𝐴} = {𝐴, 𝐵}
107, 8, 93eqtr3g 2879 . . . . . 6 ((¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴) → {𝐴, 𝐵, 𝐶} = {𝐴, 𝐵})
11 orcom 866 . . . . . . . 8 ((¬ 𝐶𝐵 ∨ ¬ 𝐶 ∈ V) ↔ (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐵))
12 ianor 978 . . . . . . . 8 (¬ (𝐶 ∈ V ∧ 𝐶𝐵) ↔ (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐵))
1311, 12bitr4i 280 . . . . . . 7 ((¬ 𝐶𝐵 ∨ ¬ 𝐶 ∈ V) ↔ ¬ (𝐶 ∈ V ∧ 𝐶𝐵))
14 tpprceq3 4730 . . . . . . 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 4565 . . . 4 {𝐴, 𝐵, 𝐶} = ({𝐴, 𝐵} ∪ {𝐶})
2120eqeq1i 2826 . . 3 ({𝐴, 𝐵, 𝐶} = {𝐴, 𝐵} ↔ ({𝐴, 𝐵} ∪ {𝐶}) = {𝐴, 𝐵})
22 ssequn2 4158 . . . 4 ({𝐶} ⊆ {𝐴, 𝐵} ↔ ({𝐴, 𝐵} ∪ {𝐶}) = {𝐴, 𝐵})
23 snssg 4710 . . . . . . 7 (𝐶 ∈ V → (𝐶 ∈ {𝐴, 𝐵} ↔ {𝐶} ⊆ {𝐴, 𝐵}))
24 elpri 4582 . . . . . . . 8 (𝐶 ∈ {𝐴, 𝐵} → (𝐶 = 𝐴𝐶 = 𝐵))
25 nne 3020 . . . . . . . . . 10 𝐶𝐴𝐶 = 𝐴)
26 3mix2 1327 . . . . . . . . . 10 𝐶𝐴 → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵))
2725, 26sylbir 237 . . . . . . . . 9 (𝐶 = 𝐴 → (¬ 𝐶 ∈ V ∨ ¬ 𝐶𝐴 ∨ ¬ 𝐶𝐵))
28 nne 3020 . . . . . . . . . 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 1533  wcel 2110  wne 3016  Vcvv 3494  cun 3933  wss 3935  {csn 4560  {cpr 4562  {ctp 4564
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 2157  ax-12 2173  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  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 3496  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-sn 4561  df-pr 4563  df-tp 4565
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator