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

Theorem elpr2g 4648
Description: A member of a pair of sets is one or the other of them, and conversely. Exercise 1 of [TakeutiZaring] p. 15. (Contributed by NM, 14-Oct-2005.) Generalize from sethood hypothesis to sethood antecedent. (Revised by BJ, 25-May-2024.)
Assertion
Ref Expression
elpr2g ((𝐵𝑉𝐶𝑊) → (𝐴 ∈ {𝐵, 𝐶} ↔ (𝐴 = 𝐵𝐴 = 𝐶)))

Proof of Theorem elpr2g
StepHypRef Expression
1 elex 3488 . . 3 (𝐴 ∈ {𝐵, 𝐶} → 𝐴 ∈ V)
21a1i 11 . 2 ((𝐵𝑉𝐶𝑊) → (𝐴 ∈ {𝐵, 𝐶} → 𝐴 ∈ V))
3 elex 3488 . . . 4 (𝐵𝑉𝐵 ∈ V)
4 eleq1a 2823 . . . 4 (𝐵 ∈ V → (𝐴 = 𝐵𝐴 ∈ V))
53, 4syl 17 . . 3 (𝐵𝑉 → (𝐴 = 𝐵𝐴 ∈ V))
6 elex 3488 . . . 4 (𝐶𝑊𝐶 ∈ V)
7 eleq1a 2823 . . . 4 (𝐶 ∈ V → (𝐴 = 𝐶𝐴 ∈ V))
86, 7syl 17 . . 3 (𝐶𝑊 → (𝐴 = 𝐶𝐴 ∈ V))
95, 8jaao 953 . 2 ((𝐵𝑉𝐶𝑊) → ((𝐴 = 𝐵𝐴 = 𝐶) → 𝐴 ∈ V))
10 elprg 4645 . . 3 (𝐴 ∈ V → (𝐴 ∈ {𝐵, 𝐶} ↔ (𝐴 = 𝐵𝐴 = 𝐶)))
1110a1i 11 . 2 ((𝐵𝑉𝐶𝑊) → (𝐴 ∈ V → (𝐴 ∈ {𝐵, 𝐶} ↔ (𝐴 = 𝐵𝐴 = 𝐶))))
122, 9, 11pm5.21ndd 379 1 ((𝐵𝑉𝐶𝑊) → (𝐴 ∈ {𝐵, 𝐶} ↔ (𝐴 = 𝐵𝐴 = 𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wo 846   = wceq 1534  wcel 2099  Vcvv 3469  {cpr 4626
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1906  ax-6 1964  ax-7 2004  ax-8 2101  ax-9 2109  ax-ext 2698
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 847  df-tru 1537  df-ex 1775  df-sb 2061  df-clab 2705  df-cleq 2719  df-clel 2805  df-v 3471  df-un 3949  df-sn 4625  df-pr 4627
This theorem is referenced by:  elpr2  4649
  Copyright terms: Public domain W3C validator