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

Theorem elprg 4609
Description: A member of a pair of classes is one or the other of them, and conversely as soon as it is a set. Exercise 1 of [TakeutiZaring] p. 15, generalized. (Contributed by NM, 13-Sep-1995.)
Assertion
Ref Expression
elprg (𝐴 ∈ 𝑉 → (𝐴 ∈ {𝐵, 𝐶} ↔ (𝐴 = 𝐵 ∨ 𝐴 = 𝐶)))

Proof of Theorem elprg
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 eqeq1 2773 . . 3 (𝑥 = 𝐴 → (𝑥 = 𝐵 ↔ 𝐴 = 𝐵))
2 eqeq1 2773 . . 3 (𝑥 = 𝐴 → (𝑥 = 𝐶 ↔ 𝐴 = 𝐶))
31, 2orbi12d 932 . 2 (𝑥 = 𝐴 → ((𝑥 = 𝐵 ∨ 𝑥 = 𝐶) ↔ (𝐴 = 𝐵 ∨ 𝐴 = 𝐶)))
4 dfpr2 4607 . 2 {𝐵, 𝐶} = {𝑥 ∣ (𝑥 = 𝐵 ∨ 𝑥 = 𝐶)}
53, 4elab2g 3639 1 (𝐴 ∈ 𝑉 → (𝐴 ∈ {𝐵, 𝐶} ↔ (𝐴 = 𝐵 ∨ 𝐴 = 𝐶)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∨ wo 861   = wceq 1572   ∈ wcel 2151  {cpr 4592
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-v 3458  df-un 4156  df-sn 4591  df-pr 4593
This theorem is used by:  elpri  4610  elpr  4611  elpr2g  4612  nelpr  4616  nelpr2  4617  nelpr1  4618  eldifpr  4622  eltpg  4650  ifpr  4657  prid1g  4726  ssprss  4788  preq1b  4809  prel12g  4827  ordunpr  7882  hashtpg  14684  2nsgsimpgd  20392  cnsubrg  21824  atandm  27328  1egrvtxdg0  30216  eupth2lem1  30943  eliccioo  33655  linds2eq  34087  sfprmdvdsmersenne  49044
  Copyright terms: Public domain W3C validator