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

Theorem eltpg 4583
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 4546 . . 3 (𝐴𝑉 → (𝐴 ∈ {𝐵, 𝐶} ↔ (𝐴 = 𝐵𝐴 = 𝐶)))
2 elsng 4539 . . 3 (𝐴𝑉 → (𝐴 ∈ {𝐷} ↔ 𝐴 = 𝐷))
31, 2orbi12d 916 . 2 (𝐴𝑉 → ((𝐴 ∈ {𝐵, 𝐶} ∨ 𝐴 ∈ {𝐷}) ↔ ((𝐴 = 𝐵𝐴 = 𝐶) ∨ 𝐴 = 𝐷)))
4 df-tp 4530 . . . 4 {𝐵, 𝐶, 𝐷} = ({𝐵, 𝐶} ∪ {𝐷})
54eleq2i 2881 . . 3 (𝐴 ∈ {𝐵, 𝐶, 𝐷} ↔ 𝐴 ∈ ({𝐵, 𝐶} ∪ {𝐷}))
6 elun 4076 . . 3 (𝐴 ∈ ({𝐵, 𝐶} ∪ {𝐷}) ↔ (𝐴 ∈ {𝐵, 𝐶} ∨ 𝐴 ∈ {𝐷}))
75, 6bitri 278 . 2 (𝐴 ∈ {𝐵, 𝐶, 𝐷} ↔ (𝐴 ∈ {𝐵, 𝐶} ∨ 𝐴 ∈ {𝐷}))
8 df-3or 1085 . 2 ((𝐴 = 𝐵𝐴 = 𝐶𝐴 = 𝐷) ↔ ((𝐴 = 𝐵𝐴 = 𝐶) ∨ 𝐴 = 𝐷))
93, 7, 83bitr4g 317 1 (𝐴𝑉 → (𝐴 ∈ {𝐵, 𝐶, 𝐷} ↔ (𝐴 = 𝐵𝐴 = 𝐶𝐴 = 𝐷)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wo 844  w3o 1083   = wceq 1538  wcel 2111  cun 3879  {csn 4525  {cpr 4527  {ctp 4529
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-tru 1541  df-ex 1782  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-v 3443  df-un 3886  df-sn 4526  df-pr 4528  df-tp 4530
This theorem is referenced by:  eldiftp  4584  eltpi  4585  eltp  4586  tpid1g  4665  tpid2g  4667  tpid3g  4668  f1dom3fv3dif  7004  f1dom3el3dif  7005  lcmftp  15970  estrreslem2  17380  1cubr  25428  zabsle1  25880  nb3grprlem1  27170
  Copyright terms: Public domain W3C validator