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

Theorem elpr2g 4610
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 3475 . . 3 (𝐴 ∈ {𝐵, 𝐶} → 𝐴 ∈ V)
21a1i 11 . 2 ((𝐵 ∈ 𝑉 ∧ 𝐶 ∈ 𝑊) → (𝐴 ∈ {𝐵, 𝐶} → 𝐴 ∈ V))
3 elex 3475 . . . 4 (𝐵 ∈ 𝑉 → 𝐵 ∈ V)
4 eleq1a 2859 . . . 4 (𝐵 ∈ V → (𝐴 = 𝐵 → 𝐴 ∈ V))
53, 4syl 18 . . 3 (𝐵 ∈ 𝑉 → (𝐴 = 𝐵 → 𝐴 ∈ V))
6 elex 3475 . . . 4 (𝐶 ∈ 𝑊 → 𝐶 ∈ V)
7 eleq1a 2859 . . . 4 (𝐶 ∈ V → (𝐴 = 𝐶 → 𝐴 ∈ V))
86, 7syl 18 . . 3 (𝐶 ∈ 𝑊 → (𝐴 = 𝐶 → 𝐴 ∈ V))
95, 8jaao 969 . 2 ((𝐵 ∈ 𝑉 ∧ 𝐶 ∈ 𝑊) → ((𝐴 = 𝐵 ∨ 𝐴 = 𝐶) → 𝐴 ∈ V))
10 elprg 4607 . . 3 (𝐴 ∈ V → (𝐴 ∈ {𝐵, 𝐶} ↔ (𝐴 = 𝐵 ∨ 𝐴 = 𝐶)))
1110a1i 11 . 2 ((𝐵 ∈ 𝑉 ∧ 𝐶 ∈ 𝑊) → (𝐴 ∈ V → (𝐴 ∈ {𝐵, 𝐶} ↔ (𝐴 = 𝐵 ∨ 𝐴 = 𝐶))))
122, 9, 11pm5.21ndd 382 1 ((𝐵 ∈ 𝑉 ∧ 𝐶 ∈ 𝑊) → (𝐴 ∈ {𝐵, 𝐶} ↔ (𝐴 = 𝐵 ∨ 𝐴 = 𝐶)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1569   ∈ wcel 2146  Vcvv 3454  {cpr 4590
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-sb 2101  df-clab 2742  df-cleq 2755  df-clel 2839  df-v 3456  df-un 4154  df-sn 4589  df-pr 4591
This theorem is used by:  elpr2  4611  prelrrx2b  49969
  Copyright terms: Public domain W3C validator