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

Theorem bj-ideqg1 34459
Description: For sets, the identity relation is the same thing as equality. (Contributed by NM, 30-Apr-2004.) (Proof shortened by Andrew Salmon, 27-Aug-2011.) Generalize to a disjunctive antecedent. (Revised by BJ, 24-Dec-2023.)

TODO: delete once bj-ideqg 34452 is in the main section.

Assertion
Ref Expression
bj-ideqg1 ((𝐴𝑉𝐵𝑊) → (𝐴 I 𝐵𝐴 = 𝐵))

Proof of Theorem bj-ideqg1
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqeq12 2835 . . 3 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥 = 𝑦𝐴 = 𝐵))
2 df-id 5460 . . 3 I = {⟨𝑥, 𝑦⟩ ∣ 𝑥 = 𝑦}
31, 2bj-brab2a1 34444 . 2 (𝐴 I 𝐵 ↔ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝐴 = 𝐵))
4 simpr 487 . . 3 (((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝐴 = 𝐵) → 𝐴 = 𝐵)
5 elex 3512 . . . . . . 7 (𝐴𝑉𝐴 ∈ V)
65a1d 25 . . . . . 6 (𝐴𝑉 → (𝐴 = 𝐵𝐴 ∈ V))
7 elex 3512 . . . . . . 7 (𝐵𝑊𝐵 ∈ V)
8 eleq1a 2908 . . . . . . 7 (𝐵 ∈ V → (𝐴 = 𝐵𝐴 ∈ V))
97, 8syl 17 . . . . . 6 (𝐵𝑊 → (𝐴 = 𝐵𝐴 ∈ V))
106, 9jaoi 853 . . . . 5 ((𝐴𝑉𝐵𝑊) → (𝐴 = 𝐵𝐴 ∈ V))
11 eleq1 2900 . . . . . . 7 (𝐴 = 𝐵 → (𝐴 ∈ V ↔ 𝐵 ∈ V))
125, 11syl5ibcom 247 . . . . . 6 (𝐴𝑉 → (𝐴 = 𝐵𝐵 ∈ V))
137a1d 25 . . . . . 6 (𝐵𝑊 → (𝐴 = 𝐵𝐵 ∈ V))
1412, 13jaoi 853 . . . . 5 ((𝐴𝑉𝐵𝑊) → (𝐴 = 𝐵𝐵 ∈ V))
1510, 14jcad 515 . . . 4 ((𝐴𝑉𝐵𝑊) → (𝐴 = 𝐵 → (𝐴 ∈ V ∧ 𝐵 ∈ V)))
1615ancrd 554 . . 3 ((𝐴𝑉𝐵𝑊) → (𝐴 = 𝐵 → ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝐴 = 𝐵)))
174, 16impbid2 228 . 2 ((𝐴𝑉𝐵𝑊) → (((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝐴 = 𝐵) ↔ 𝐴 = 𝐵))
183, 17syl5bb 285 1 ((𝐴𝑉𝐵𝑊) → (𝐴 I 𝐵𝐴 = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wo 843   = wceq 1537  wcel 2114  Vcvv 3494   class class class wbr 5066   I cid 5459
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 2793  ax-sep 5203  ax-nul 5210  ax-pr 5330
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 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-br 5067  df-opab 5129  df-id 5460  df-xp 5561
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator