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

Theorem epelg 5496
Description: The membership relation and the membership predicate agree when the "containing" class is a set. General version of epel 5498 and closed form of epeli 5497. (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 5075 . . . 4 (𝐴 E 𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ E )
2 0nelopab 5480 . . . . . . . 8 ¬ ∅ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑥𝑦}
3 df-eprel 5495 . . . . . . . . . 10 E = {⟨𝑥, 𝑦⟩ ∣ 𝑥𝑦}
43eqcomi 2747 . . . . . . . . 9 {⟨𝑥, 𝑦⟩ ∣ 𝑥𝑦} = E
54eleq2i 2830 . . . . . . . 8 (∅ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑥𝑦} ↔ ∅ ∈ E )
62, 5mtbi 322 . . . . . . 7 ¬ ∅ ∈ E
7 eleq1 2826 . . . . . . 7 (⟨𝐴, 𝐵⟩ = ∅ → (⟨𝐴, 𝐵⟩ ∈ E ↔ ∅ ∈ E ))
86, 7mtbiri 327 . . . . . 6 (⟨𝐴, 𝐵⟩ = ∅ → ¬ ⟨𝐴, 𝐵⟩ ∈ E )
98con2i 139 . . . . 5 (⟨𝐴, 𝐵⟩ ∈ E → ¬ ⟨𝐴, 𝐵⟩ = ∅)
10 opprc1 4828 . . . . 5 𝐴 ∈ V → ⟨𝐴, 𝐵⟩ = ∅)
119, 10nsyl2 141 . . . 4 (⟨𝐴, 𝐵⟩ ∈ E → 𝐴 ∈ V)
121, 11sylbi 216 . . 3 (𝐴 E 𝐵𝐴 ∈ V)
1312a1i 11 . 2 (𝐵𝑉 → (𝐴 E 𝐵𝐴 ∈ V))
14 elex 3450 . . 3 (𝐴𝐵𝐴 ∈ V)
1514a1i 11 . 2 (𝐵𝑉 → (𝐴𝐵𝐴 ∈ V))
16 eleq12 2828 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥𝑦𝐴𝐵))
1716, 3brabga 5447 . . 3 ((𝐴 ∈ V ∧ 𝐵𝑉) → (𝐴 E 𝐵𝐴𝐵))
1817expcom 414 . 2 (𝐵𝑉 → (𝐴 ∈ V → (𝐴 E 𝐵𝐴𝐵)))
1913, 15, 18pm5.21ndd 381 1 (𝐵𝑉 → (𝐴 E 𝐵𝐴𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205   = wceq 1539  wcel 2106  Vcvv 3432  c0 4256  cop 4567   class class class wbr 5074  {copab 5136   E cep 5494
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ne 2944  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-br 5075  df-opab 5137  df-eprel 5495
This theorem is referenced by:  epeli  5497  efrirr  5570  efrn2lp  5571  epin  6003  predep  6233  epne3  7623  cnfcomlem  9457  fpwwe2lem5  10391  ltpiord  10643  orvcelval  32435  bj-epelb  35240  brcnvep  36404  epelon2  41128  alephiso2  41165
  Copyright terms: Public domain W3C validator