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

Theorem eltpg 4586
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 4547 . . 3 (𝐴𝑉 → (𝐴 ∈ {𝐵, 𝐶} ↔ (𝐴 = 𝐵𝐴 = 𝐶)))
2 elsng 4540 . . 3 (𝐴𝑉 → (𝐴 ∈ {𝐷} ↔ 𝐴 = 𝐷))
31, 2orbi12d 918 . 2 (𝐴𝑉 → ((𝐴 ∈ {𝐵, 𝐶} ∨ 𝐴 ∈ {𝐷}) ↔ ((𝐴 = 𝐵𝐴 = 𝐶) ∨ 𝐴 = 𝐷)))
4 df-tp 4531 . . . 4 {𝐵, 𝐶, 𝐷} = ({𝐵, 𝐶} ∪ {𝐷})
54eleq2i 2825 . . 3 (𝐴 ∈ {𝐵, 𝐶, 𝐷} ↔ 𝐴 ∈ ({𝐵, 𝐶} ∪ {𝐷}))
6 elun 4049 . . 3 (𝐴 ∈ ({𝐵, 𝐶} ∪ {𝐷}) ↔ (𝐴 ∈ {𝐵, 𝐶} ∨ 𝐴 ∈ {𝐷}))
75, 6bitri 278 . 2 (𝐴 ∈ {𝐵, 𝐶, 𝐷} ↔ (𝐴 ∈ {𝐵, 𝐶} ∨ 𝐴 ∈ {𝐷}))
8 df-3or 1089 . 2 ((𝐴 = 𝐵𝐴 = 𝐶𝐴 = 𝐷) ↔ ((𝐴 = 𝐵𝐴 = 𝐶) ∨ 𝐴 = 𝐷))
93, 7, 83bitr4g 317 1 (𝐴𝑉 → (𝐴 ∈ {𝐵, 𝐶, 𝐷} ↔ (𝐴 = 𝐵𝐴 = 𝐶𝐴 = 𝐷)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wo 846  w3o 1087   = wceq 1542  wcel 2114  cun 3851  {csn 4526  {cpr 4528  {ctp 4530
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-ext 2711
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3or 1089  df-tru 1545  df-ex 1787  df-sb 2075  df-clab 2718  df-cleq 2731  df-clel 2812  df-v 3402  df-un 3858  df-sn 4527  df-pr 4529  df-tp 4531
This theorem is referenced by:  eldiftp  4587  eltpi  4588  eltp  4589  tpid1g  4670  tpid2g  4672  tpid3g  4673  f1dom3fv3dif  7050  f1dom3el3dif  7051  lcmftp  16090  estrreslem2  17517  1cubr  25593  zabsle1  26045  nb3grprlem1  27335
  Copyright terms: Public domain W3C validator