Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bj-inexeqex Structured version   Visualization version   GIF version

Theorem bj-inexeqex 37651
Description: Lemma for bj-opelid 37653 (but not specific to the identity relation): if the intersection of two classes is a set and the two classes are equal, then both are sets (all three classes are equal, so they all belong to 𝑉, but it is more convenient to have V in the consequent for theorems using it). (Contributed by BJ, 27-Dec-2023.)
Assertion
Ref Expression
bj-inexeqex (((𝐴𝐵) ∈ 𝑉𝐴 = 𝐵) → (𝐴 ∈ V ∧ 𝐵 ∈ V))

Proof of Theorem bj-inexeqex
StepHypRef Expression
1 eqimss 3996 . . . . 5 (𝐴 = 𝐵𝐴𝐵)
2 dfss2 3924 . . . . 5 (𝐴𝐵 ↔ (𝐴𝐵) = 𝐴)
31, 2sylib 220 . . . 4 (𝐴 = 𝐵 → (𝐴𝐵) = 𝐴)
4 eleq1 2852 . . . . 5 ((𝐴𝐵) = 𝐴 → ((𝐴𝐵) ∈ 𝑉𝐴𝑉))
54biimpac 482 . . . 4 (((𝐴𝐵) ∈ 𝑉 ∧ (𝐴𝐵) = 𝐴) → 𝐴𝑉)
63, 5sylan2 602 . . 3 (((𝐴𝐵) ∈ 𝑉𝐴 = 𝐵) → 𝐴𝑉)
76elexd 3479 . 2 (((𝐴𝐵) ∈ 𝑉𝐴 = 𝐵) → 𝐴 ∈ V)
8 eqimss2 3997 . . . . 5 (𝐴 = 𝐵𝐵𝐴)
9 sseqin2 4177 . . . . 5 (𝐵𝐴 ↔ (𝐴𝐵) = 𝐵)
108, 9sylib 220 . . . 4 (𝐴 = 𝐵 → (𝐴𝐵) = 𝐵)
11 eleq1 2852 . . . . 5 ((𝐴𝐵) = 𝐵 → ((𝐴𝐵) ∈ 𝑉𝐵𝑉))
1211biimpac 482 . . . 4 (((𝐴𝐵) ∈ 𝑉 ∧ (𝐴𝐵) = 𝐵) → 𝐵𝑉)
1310, 12sylan2 602 . . 3 (((𝐴𝐵) ∈ 𝑉𝐴 = 𝐵) → 𝐵𝑉)
1413elexd 3479 . 2 (((𝐴𝐵) ∈ 𝑉𝐴 = 𝐵) → 𝐵 ∈ V)
157, 14jca 519 1 (((𝐴𝐵) ∈ 𝑉𝐴 = 𝐵) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1562  wcel 2144  Vcvv 3456  cin 3905  wss 3906
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1817  ax-4 1831  ax-5 1932  ax-6 1989  ax-7 2030  ax-8 2146  ax-9 2154  ax-ext 2736
This theorem depends on definitions:  df-bi 209  df-an 400  df-3an 1101  df-tru 1565  df-ex 1802  df-sb 2093  df-clab 2743  df-cleq 2756  df-clel 2839  df-rab 3417  df-v 3458  df-in 3913  df-ss 3923
This theorem is referenced by:  bj-elsn0  37652  bj-opelid  37653  bj-ideqgALT  37655
  Copyright terms: Public domain W3C validator