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

Theorem epelg 5567
Description: The membership relation and the membership predicate agree when the "containing" class is a set. General version of epel 5569 and closed form of epeli 5568. 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 5117 . . . 4 (𝐴 E 𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ E )
2 0nelopab 5555 . . . . . . . 8 ¬ ∅ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑥 ∈ 𝑦}
3 df-eprel 5566 . . . . . . . . . 10 E = {⟨𝑥, 𝑦⟩ ∣ 𝑥 ∈ 𝑦}
43eqcomi 2783 . . . . . . . . 9 {⟨𝑥, 𝑦⟩ ∣ 𝑥 ∈ 𝑦} = E
54eleq2i 2867 . . . . . . . 8 (∅ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑥 ∈ 𝑦} ↔ ∅ ∈ E )
62, 5mtbi 325 . . . . . . 7 ¬ ∅ ∈ E
7 eleq1 2863 . . . . . . 7 (⟨𝐴, 𝐵⟩ = ∅ → (⟨𝐴, 𝐵⟩ ∈ E ↔ ∅ ∈ E ))
86, 7mtbiri 330 . . . . . 6 (⟨𝐴, 𝐵⟩ = ∅ → ¬ ⟨𝐴, 𝐵⟩ ∈ E )
98con2i 140 . . . . 5 (⟨𝐴, 𝐵⟩ ∈ E → ¬ ⟨𝐴, 𝐵⟩ = ∅)
10 opprc1 4868 . . . . 5 (¬ 𝐴 ∈ V → ⟨𝐴, 𝐵⟩ = ∅)
119, 10nsyl2 142 . . . 4 (⟨𝐴, 𝐵⟩ ∈ E → 𝐴 ∈ V)
121, 11sylbi 220 . . 3 (𝐴 E 𝐵 → 𝐴 ∈ V)
1312a1i 11 . 2 (𝐵 ∈ 𝑉 → (𝐴 E 𝐵 → 𝐴 ∈ V))
14 elex 3482 . . 3 (𝐴 ∈ 𝐵 → 𝐴 ∈ V)
1514a1i 11 . 2 (𝐵 ∈ 𝑉 → (𝐴 ∈ 𝐵 → 𝐴 ∈ V))
16 eleq12 2865 . . . 4 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → (𝑥 ∈ 𝑦 ↔ 𝐴 ∈ 𝐵))
1716, 3brabga 5523 . . 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 1572   ∈ wcel 2156  Vcvv 3461  ∅c0 4288  ⟨cop 4848   class class class wbr 5116  {copab 5181   E cep 5565
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746  ax-sep 5263  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-ne 2971  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-br 5117  df-opab 5182  df-eprel 5566
This theorem is used by:  epeli  5568  efrirr  5646  efrn2lp  5647  epin  6120  predep  6371  epne3  7835  cnfcomlem  9753  fpwwe2lem5  10775  ltpiord  11027  tgelrnpln  29399  orvcelval  35284  bj-epelb  38337  brcnvep  39551  onsupuni  44632  oninfint  44639  onepsuc  44655  cantnfresb  44727  epelon2  44923  alephiso2  44960
  Copyright terms: Public domain W3C validator