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

Theorem eltpg 4621
Description: Members of an unordered triple of classes. (Contributed by FL, 2-Feb-2014.) (Proof shortened by Mario Carneiro, 11-Feb-2015.)
Assertion
Ref Expression
eltpg (𝐴𝑉 → (𝐴 ∈ {𝐵, 𝐶, 𝐷} ↔ (𝐴 = 𝐵𝐴 = 𝐶𝐴 = 𝐷)))

Proof of Theorem eltpg
StepHypRef Expression
1 elprg 4582 . . 3 (𝐴𝑉 → (𝐴 ∈ {𝐵, 𝐶} ↔ (𝐴 = 𝐵𝐴 = 𝐶)))
2 elsng 4575 . . 3 (𝐴𝑉 → (𝐴 ∈ {𝐷} ↔ 𝐴 = 𝐷))
31, 2orbi12d 916 . 2 (𝐴𝑉 → ((𝐴 ∈ {𝐵, 𝐶} ∨ 𝐴 ∈ {𝐷}) ↔ ((𝐴 = 𝐵𝐴 = 𝐶) ∨ 𝐴 = 𝐷)))
4 df-tp 4566 . . . 4 {𝐵, 𝐶, 𝐷} = ({𝐵, 𝐶} ∪ {𝐷})
54eleq2i 2830 . . 3 (𝐴 ∈ {𝐵, 𝐶, 𝐷} ↔ 𝐴 ∈ ({𝐵, 𝐶} ∪ {𝐷}))
6 elun 4083 . . 3 (𝐴 ∈ ({𝐵, 𝐶} ∪ {𝐷}) ↔ (𝐴 ∈ {𝐵, 𝐶} ∨ 𝐴 ∈ {𝐷}))
75, 6bitri 274 . 2 (𝐴 ∈ {𝐵, 𝐶, 𝐷} ↔ (𝐴 ∈ {𝐵, 𝐶} ∨ 𝐴 ∈ {𝐷}))
8 df-3or 1087 . 2 ((𝐴 = 𝐵𝐴 = 𝐶𝐴 = 𝐷) ↔ ((𝐴 = 𝐵𝐴 = 𝐶) ∨ 𝐴 = 𝐷))
93, 7, 83bitr4g 314 1 (𝐴𝑉 → (𝐴 ∈ {𝐵, 𝐶, 𝐷} ↔ (𝐴 = 𝐵𝐴 = 𝐶𝐴 = 𝐷)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wo 844  w3o 1085   = wceq 1539  wcel 2106  cun 3885  {csn 4561  {cpr 4563  {ctp 4565
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-tru 1542  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-v 3434  df-un 3892  df-sn 4562  df-pr 4564  df-tp 4566
This theorem is referenced by:  eldiftp  4622  eltpi  4623  eltp  4624  tpid1g  4705  tpid2g  4707  tpid3g  4708  f1dom3fv3dif  7141  f1dom3el3dif  7142  lcmftp  16341  estrreslem2  17855  1cubr  25992  zabsle1  26444  nb3grprlem1  27747
  Copyright terms: Public domain W3C validator