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

Theorem epelg 5551
Description: The membership relation and the membership predicate agree when the "containing" class is a set. General version of epel 5553 and closed form of epeli 5552. Definition 1.6 of [Schloeder] p. 1. (Contributed by Scott Fenton, 27-Mar-2011.) (Revised by Mario Carneiro, 28-Apr-2015.) (Proof shortened by BJ, 14-Jul-2023.)
Assertion
Ref Expression
epelg (𝐵 ∈ 𝑉 → (𝐴 E 𝐵 ↔ 𝐴 ∈ 𝐵))

Proof of Theorem epelg
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-br 5103 . . . 4 (𝐴 E 𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ E )
2 0nelopab 5539 . . . . . . . 8 ¬ ∅ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑥 ∈ 𝑦}
3 df-eprel 5550 . . . . . . . . . 10 E = {⟨𝑥, 𝑦⟩ ∣ 𝑥 ∈ 𝑦}
43eqcomi 2769 . . . . . . . . 9 {⟨𝑥, 𝑦⟩ ∣ 𝑥 ∈ 𝑦} = E
54eleq2i 2852 . . . . . . . 8 (∅ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑥 ∈ 𝑦} ↔ ∅ ∈ E )
62, 5mtbi 325 . . . . . . 7 ¬ ∅ ∈ E
7 eleq1 2848 . . . . . . 7 (⟨𝐴, 𝐵⟩ = ∅ → (⟨𝐴, 𝐵⟩ ∈ E ↔ ∅ ∈ E ))
86, 7mtbiri 330 . . . . . 6 (⟨𝐴, 𝐵⟩ = ∅ → ¬ ⟨𝐴, 𝐵⟩ ∈ E )
98con2i 140 . . . . 5 (⟨𝐴, 𝐵⟩ ∈ E → ¬ ⟨𝐴, 𝐵⟩ = ∅)
10 opprc1 4854 . . . . 5 (¬ 𝐴 ∈ V → ⟨𝐴, 𝐵⟩ = ∅)
119, 10nsyl2 142 . . . 4 (⟨𝐴, 𝐵⟩ ∈ E → 𝐴 ∈ V)
121, 11sylbi 220 . . 3 (𝐴 E 𝐵 → 𝐴 ∈ V)
1312a1i 11 . 2 (𝐵 ∈ 𝑉 → (𝐴 E 𝐵 → 𝐴 ∈ V))
14 elex 3471 . . 3 (𝐴 ∈ 𝐵 → 𝐴 ∈ V)
1514a1i 11 . 2 (𝐵 ∈ 𝑉 → (𝐴 ∈ 𝐵 → 𝐴 ∈ V))
16 eleq12 2850 . . . 4 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → (𝑥 ∈ 𝑦 ↔ 𝐴 ∈ 𝐵))
1716, 3brabga 5507 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ 𝑉) → (𝐴 E 𝐵 ↔ 𝐴 ∈ 𝐵))
1817expcom 419 . 2 (𝐵 ∈ 𝑉 → (𝐴 ∈ V → (𝐴 E 𝐵 ↔ 𝐴 ∈ 𝐵)))
1913, 15, 18pm5.21ndd 382 1 (𝐵 ∈ 𝑉 → (𝐴 E 𝐵 ↔ 𝐴 ∈ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1569   ∈ wcel 2144  Vcvv 3450  ∅c0 4278  ⟨cop 4834   class class class wbr 5102  {copab 5166   E cep 5549
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 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-br 5103  df-opab 5167  df-eprel 5550
This theorem is used by:  epeli  5552  efrirr  5630  efrn2lp  5631  epin  6092  predep  6333  epne3  7788  cnfcomlem  9704  fpwwe2lem5  10724  ltpiord  10976  tgelrnpln  29260  orvcelval  35148  bj-epelb  38077  brcnvep  39296  onsupuni  44325  oninfint  44332  onepsuc  44348  cantnfresb  44420  epelon2  44616  alephiso2  44653
  Copyright terms: Public domain W3C validator