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

Theorem eltpg 4651
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 4612 . . 3 (𝐴𝑉 → (𝐴 ∈ {𝐵, 𝐶} ↔ (𝐴 = 𝐵𝐴 = 𝐶)))
2 elsng 4605 . . 3 (𝐴𝑉 → (𝐴 ∈ {𝐷} ↔ 𝐴 = 𝐷))
31, 2orbi12d 918 . 2 (𝐴𝑉 → ((𝐴 ∈ {𝐵, 𝐶} ∨ 𝐴 ∈ {𝐷}) ↔ ((𝐴 = 𝐵𝐴 = 𝐶) ∨ 𝐴 = 𝐷)))
4 df-tp 4596 . . . 4 {𝐵, 𝐶, 𝐷} = ({𝐵, 𝐶} ∪ {𝐷})
54eleq2i 2830 . . 3 (𝐴 ∈ {𝐵, 𝐶, 𝐷} ↔ 𝐴 ∈ ({𝐵, 𝐶} ∪ {𝐷}))
6 elun 4113 . . 3 (𝐴 ∈ ({𝐵, 𝐶} ∪ {𝐷}) ↔ (𝐴 ∈ {𝐵, 𝐶} ∨ 𝐴 ∈ {𝐷}))
75, 6bitri 275 . 2 (𝐴 ∈ {𝐵, 𝐶, 𝐷} ↔ (𝐴 ∈ {𝐵, 𝐶} ∨ 𝐴 ∈ {𝐷}))
8 df-3or 1089 . 2 ((𝐴 = 𝐵𝐴 = 𝐶𝐴 = 𝐷) ↔ ((𝐴 = 𝐵𝐴 = 𝐶) ∨ 𝐴 = 𝐷))
93, 7, 83bitr4g 314 1 (𝐴𝑉 → (𝐴 ∈ {𝐵, 𝐶, 𝐷} ↔ (𝐴 = 𝐵𝐴 = 𝐶𝐴 = 𝐷)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wo 846  w3o 1087   = wceq 1542  wcel 2107  cun 3913  {csn 4591  {cpr 4593  {ctp 4595
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 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-ext 2708
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3or 1089  df-tru 1545  df-ex 1783  df-sb 2069  df-clab 2715  df-cleq 2729  df-clel 2815  df-v 3450  df-un 3920  df-sn 4592  df-pr 4594  df-tp 4596
This theorem is referenced by:  eldiftp  4652  eltpi  4653  eltp  4654  tpid1g  4735  tpid2g  4737  tpid3g  4738  f1dom3fv3dif  7220  f1dom3el3dif  7221  lcmftp  16519  estrreslem2  18033  1cubr  26208  zabsle1  26660  nb3grprlem1  28370
  Copyright terms: Public domain W3C validator