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

Theorem epelg 5468
Description: The membership relation and the membership predicate agree when the "containing" class is a set. General version of epel 5471 and closed form of epeli 5470. (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 5069 . . . 4 (𝐴 E 𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ E )
2 0nelopab 5454 . . . . . . . 8 ¬ ∅ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑥𝑦}
3 df-eprel 5467 . . . . . . . . . 10 E = {⟨𝑥, 𝑦⟩ ∣ 𝑥𝑦}
43eqcomi 2832 . . . . . . . . 9 {⟨𝑥, 𝑦⟩ ∣ 𝑥𝑦} = E
54eleq2i 2906 . . . . . . . 8 (∅ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝑥𝑦} ↔ ∅ ∈ E )
62, 5mtbi 324 . . . . . . 7 ¬ ∅ ∈ E
7 eleq1 2902 . . . . . . 7 (⟨𝐴, 𝐵⟩ = ∅ → (⟨𝐴, 𝐵⟩ ∈ E ↔ ∅ ∈ E ))
86, 7mtbiri 329 . . . . . 6 (⟨𝐴, 𝐵⟩ = ∅ → ¬ ⟨𝐴, 𝐵⟩ ∈ E )
98con2i 141 . . . . 5 (⟨𝐴, 𝐵⟩ ∈ E → ¬ ⟨𝐴, 𝐵⟩ = ∅)
10 opprc1 4829 . . . . 5 𝐴 ∈ V → ⟨𝐴, 𝐵⟩ = ∅)
119, 10nsyl2 143 . . . 4 (⟨𝐴, 𝐵⟩ ∈ E → 𝐴 ∈ V)
121, 11sylbi 219 . . 3 (𝐴 E 𝐵𝐴 ∈ V)
1312a1i 11 . 2 (𝐵𝑉 → (𝐴 E 𝐵𝐴 ∈ V))
14 elex 3514 . . 3 (𝐴𝐵𝐴 ∈ V)
1514a1i 11 . 2 (𝐵𝑉 → (𝐴𝐵𝐴 ∈ V))
16 eleq12 2904 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥𝑦𝐴𝐵))
1716, 3brabga 5423 . . 3 ((𝐴 ∈ V ∧ 𝐵𝑉) → (𝐴 E 𝐵𝐴𝐵))
1817expcom 416 . 2 (𝐵𝑉 → (𝐴 ∈ V → (𝐴 E 𝐵𝐴𝐵)))
1913, 15, 18pm5.21ndd 383 1 (𝐵𝑉 → (𝐴 E 𝐵𝐴𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208   = wceq 1537  wcel 2114  Vcvv 3496  c0 4293  cop 4575   class class class wbr 5068  {copab 5130   E cep 5466
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pr 5332
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-rab 3149  df-v 3498  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-br 5069  df-opab 5131  df-eprel 5467
This theorem is referenced by:  epeli  5470  efrirr  5538  efrn2lp  5539  predep  6176  epne3  7497  cnfcomlem  9164  fpwwe2lem6  10059  ltpiord  10311  orvcelval  31728  bj-epelb  34363  brcnvep  35528  epelon2  39894  alephiso2  39924
  Copyright terms: Public domain W3C validator