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 34579
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 34572 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 2812 . . 3 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑥 = 𝑦𝐴 = 𝐵))
2 df-id 5425 . . 3 I = {⟨𝑥, 𝑦⟩ ∣ 𝑥 = 𝑦}
31, 2bj-brab2a1 34564 . 2 (𝐴 I 𝐵 ↔ ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝐴 = 𝐵))
4 simpr 488 . . 3 (((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝐴 = 𝐵) → 𝐴 = 𝐵)
5 elex 3459 . . . . . . 7 (𝐴𝑉𝐴 ∈ V)
65a1d 25 . . . . . 6 (𝐴𝑉 → (𝐴 = 𝐵𝐴 ∈ V))
7 elex 3459 . . . . . . 7 (𝐵𝑊𝐵 ∈ V)
8 eleq1a 2885 . . . . . . 7 (𝐵 ∈ V → (𝐴 = 𝐵𝐴 ∈ V))
97, 8syl 17 . . . . . 6 (𝐵𝑊 → (𝐴 = 𝐵𝐴 ∈ V))
106, 9jaoi 854 . . . . 5 ((𝐴𝑉𝐵𝑊) → (𝐴 = 𝐵𝐴 ∈ V))
11 eleq1 2877 . . . . . . 7 (𝐴 = 𝐵 → (𝐴 ∈ V ↔ 𝐵 ∈ V))
125, 11syl5ibcom 248 . . . . . 6 (𝐴𝑉 → (𝐴 = 𝐵𝐵 ∈ V))
137a1d 25 . . . . . 6 (𝐵𝑊 → (𝐴 = 𝐵𝐵 ∈ V))
1412, 13jaoi 854 . . . . 5 ((𝐴𝑉𝐵𝑊) → (𝐴 = 𝐵𝐵 ∈ V))
1510, 14jcad 516 . . . 4 ((𝐴𝑉𝐵𝑊) → (𝐴 = 𝐵 → (𝐴 ∈ V ∧ 𝐵 ∈ V)))
1615ancrd 555 . . 3 ((𝐴𝑉𝐵𝑊) → (𝐴 = 𝐵 → ((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝐴 = 𝐵)))
174, 16impbid2 229 . 2 ((𝐴𝑉𝐵𝑊) → (((𝐴 ∈ V ∧ 𝐵 ∈ V) ∧ 𝐴 = 𝐵) ↔ 𝐴 = 𝐵))
183, 17syl5bb 286 1 ((𝐴𝑉𝐵𝑊) → (𝐴 I 𝐵𝐴 = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wo 844   = wceq 1538  wcel 2111  Vcvv 3441   class class class wbr 5030   I cid 5424
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-br 5031  df-opab 5093  df-id 5425  df-xp 5525
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator