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

Theorem bj-idreseq 38083
Description: Sufficient condition for the restricted identity relation to agree with equality. Note that the instance of bj-ideqg 38078 with V substituted for 𝑉 is a direct consequence of bj-idreseq 38083. This is a strengthening of resieq 5981 which should be proved from it (note that currently, resieq 5981 relies on ideq 5830). Note that the intersection in the antecedent is not very meaningful, but is a device to prove versions with either class assumed to be a set. It could be enough to prove the version with a disjunctive antecedent: ((𝐴 ∈ 𝐶 ∨ 𝐵 ∈ 𝐶) → ...). (Contributed by BJ, 25-Dec-2023.)
Assertion
Ref Expression
bj-idreseq ((𝐴 ∩ 𝐵) ∈ 𝐶 → (𝐴( I ↾ 𝐶)𝐵 ↔ 𝐴 = 𝐵))

Proof of Theorem bj-idreseq
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 bj-brresdm 38067 . . . 4 (𝐴( I ↾ 𝐶)𝐵 → 𝐴 ∈ 𝐶)
2 relres 5996 . . . . 5 Rel ( I ↾ 𝐶)
32brrelex2i 5708 . . . 4 (𝐴( I ↾ 𝐶)𝐵 → 𝐵 ∈ V)
41, 3jca 521 . . 3 (𝐴( I ↾ 𝐶)𝐵 → (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ V))
54adantl 487 . 2 (((𝐴 ∩ 𝐵) ∈ 𝐶 ∧ 𝐴( I ↾ 𝐶)𝐵) → (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ V))
6 eqimss 3989 . . . . . 6 (𝐴 = 𝐵 → 𝐴 ⊆ 𝐵)
7 dfss2 3917 . . . . . 6 (𝐴 ⊆ 𝐵 ↔ (𝐴 ∩ 𝐵) = 𝐴)
86, 7sylib 221 . . . . 5 (𝐴 = 𝐵 → (𝐴 ∩ 𝐵) = 𝐴)
98adantl 487 . . . 4 (((𝐴 ∩ 𝐵) ∈ 𝐶 ∧ 𝐴 = 𝐵) → (𝐴 ∩ 𝐵) = 𝐴)
10 simpl 488 . . . 4 (((𝐴 ∩ 𝐵) ∈ 𝐶 ∧ 𝐴 = 𝐵) → (𝐴 ∩ 𝐵) ∈ 𝐶)
119, 10eqeltrrd 2862 . . 3 (((𝐴 ∩ 𝐵) ∈ 𝐶 ∧ 𝐴 = 𝐵) → 𝐴 ∈ 𝐶)
12 eqimss2 3990 . . . . . . 7 (𝐴 = 𝐵 → 𝐵 ⊆ 𝐴)
13 sseqin2 4169 . . . . . . 7 (𝐵 ⊆ 𝐴 ↔ (𝐴 ∩ 𝐵) = 𝐵)
1412, 13sylib 221 . . . . . 6 (𝐴 = 𝐵 → (𝐴 ∩ 𝐵) = 𝐵)
1514adantl 487 . . . . 5 (((𝐴 ∩ 𝐵) ∈ 𝐶 ∧ 𝐴 = 𝐵) → (𝐴 ∩ 𝐵) = 𝐵)
1615, 10eqeltrrd 2862 . . . 4 (((𝐴 ∩ 𝐵) ∈ 𝐶 ∧ 𝐴 = 𝐵) → 𝐵 ∈ 𝐶)
1716elexd 3474 . . 3 (((𝐴 ∩ 𝐵) ∈ 𝐶 ∧ 𝐴 = 𝐵) → 𝐵 ∈ V)
1811, 17jca 521 . 2 (((𝐴 ∩ 𝐵) ∈ 𝐶 ∧ 𝐴 = 𝐵) → (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ V))
19 brres 5977 . . . 4 (𝐵 ∈ V → (𝐴( I ↾ 𝐶)𝐵 ↔ (𝐴 ∈ 𝐶 ∧ 𝐴 I 𝐵)))
2019adantl 487 . . 3 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ V) → (𝐴( I ↾ 𝐶)𝐵 ↔ (𝐴 ∈ 𝐶 ∧ 𝐴 I 𝐵)))
21 eqeq12 2778 . . . . 5 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → (𝑥 = 𝑦 ↔ 𝐴 = 𝐵))
22 df-id 5546 . . . . 5 I = {⟨𝑥, 𝑦⟩ ∣ 𝑥 = 𝑦}
2321, 22brabga 5508 . . . 4 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ V) → (𝐴 I 𝐵 ↔ 𝐴 = 𝐵))
2423anbi2d 642 . . 3 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ V) → ((𝐴 ∈ 𝐶 ∧ 𝐴 I 𝐵) ↔ (𝐴 ∈ 𝐶 ∧ 𝐴 = 𝐵)))
25 simp3 1156 . . . . 5 (((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ V) ∧ 𝐴 ∈ 𝐶 ∧ 𝐴 = 𝐵) → 𝐴 = 𝐵)
26253expib 1140 . . . 4 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ V) → ((𝐴 ∈ 𝐶 ∧ 𝐴 = 𝐵) → 𝐴 = 𝐵))
27 3simpb 1167 . . . . 5 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ V ∧ 𝐴 = 𝐵) → (𝐴 ∈ 𝐶 ∧ 𝐴 = 𝐵))
28273expia 1139 . . . 4 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ V) → (𝐴 = 𝐵 → (𝐴 ∈ 𝐶 ∧ 𝐴 = 𝐵)))
2926, 28impbid 215 . . 3 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ V) → ((𝐴 ∈ 𝐶 ∧ 𝐴 = 𝐵) ↔ 𝐴 = 𝐵))
3020, 24, 293bitrd 308 . 2 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ V) → (𝐴( I ↾ 𝐶)𝐵 ↔ 𝐴 = 𝐵))
315, 18, 30pm5.21nd 814 1 ((𝐴 ∩ 𝐵) ∈ 𝐶 → (𝐴( I ↾ 𝐶)𝐵 ↔ 𝐴 = 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  Vcvv 3451   ∩ cin 3898   ⊆ wss 3899   class class class wbr 5103   I cid 5545   ↾ cres 5653
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733  ax-sep 5249  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-br 5104  df-opab 5168  df-id 5546  df-xp 5657  df-rel 5658  df-res 5663
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator