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 38226
Description: Sufficient condition for the restricted identity relation to agree with equality. The instance of bj-ideqg 38221 with V substituted for 𝑉 is a direct consequence of bj-idreseq 38226. This is a strengthening of resieq 5986 which should be proved from it (currently, resieq 5986 relies on ideq 5835). 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 38210 . . . 4 (𝐴( I ↾ 𝐶)𝐵 → 𝐴 ∈ 𝐶)
2 relres 6001 . . . . 5 Rel ( I ↾ 𝐶)
32brrelex2i 5712 . . . 4 (𝐴( I ↾ 𝐶)𝐵 → 𝐵 ∈ V)
41, 3jca 521 . . 3 (𝐴( I ↾ 𝐶)𝐵 → (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ V))
54adantl 487 . 2 (((𝐴 ∩ 𝐵) ∈ 𝐶 ∧ 𝐴( I ↾ 𝐶)𝐵) → (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ V))
6 eqimss 3971 . . . . . 6 (𝐴 = 𝐵 → 𝐴 ⊆ 𝐵)
7 dfss2 4097 . . . . . 6 (𝐴 ⊆ 𝐵 ↔ (𝐴 ∩ 𝐵) = 𝐴)
86, 7sylib 221 . . . . 5 (𝐴 = 𝐵 → (𝐴 ∩ 𝐵) = 𝐴)
98adantl 487 . . . 4 (((𝐴 ∩ 𝐵) ∈ 𝐶 ∧ 𝐴 = 𝐵) → (𝐴 ∩ 𝐵) = 𝐴)
10 simpl 488 . . . 4 (((𝐴 ∩ 𝐵) ∈ 𝐶 ∧ 𝐴 = 𝐵) → (𝐴 ∩ 𝐵) ∈ 𝐶)
119, 10eqeltrrd 2865 . . 3 (((𝐴 ∩ 𝐵) ∈ 𝐶 ∧ 𝐴 = 𝐵) → 𝐴 ∈ 𝐶)
12 eqimss2 3972 . . . . . . 7 (𝐴 = 𝐵 → 𝐵 ⊆ 𝐴)
13 sseqin2 4123 . . . . . . 7 (𝐵 ⊆ 𝐴 ↔ (𝐴 ∩ 𝐵) = 𝐵)
1412, 13sylib 221 . . . . . 6 (𝐴 = 𝐵 → (𝐴 ∩ 𝐵) = 𝐵)
1514adantl 487 . . . . 5 (((𝐴 ∩ 𝐵) ∈ 𝐶 ∧ 𝐴 = 𝐵) → (𝐴 ∩ 𝐵) = 𝐵)
1615, 10eqeltrrd 2865 . . . 4 (((𝐴 ∩ 𝐵) ∈ 𝐶 ∧ 𝐴 = 𝐵) → 𝐵 ∈ 𝐶)
1716elexd 3477 . . 3 (((𝐴 ∩ 𝐵) ∈ 𝐶 ∧ 𝐴 = 𝐵) → 𝐵 ∈ V)
1811, 17jca 521 . 2 (((𝐴 ∩ 𝐵) ∈ 𝐶 ∧ 𝐴 = 𝐵) → (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ V))
19 brres 5982 . . . 4 (𝐵 ∈ V → (𝐴( I ↾ 𝐶)𝐵 ↔ (𝐴 ∈ 𝐶 ∧ 𝐴 I 𝐵)))
2019adantl 487 . . 3 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ V) → (𝐴( I ↾ 𝐶)𝐵 ↔ (𝐴 ∈ 𝐶 ∧ 𝐴 I 𝐵)))
21 eqeq12 2780 . . . . 5 ((𝑥 = 𝐴 ∧ 𝑦 = 𝐵) → (𝑥 = 𝑦 ↔ 𝐴 = 𝐵))
22 df-id 5550 . . . . 5 I = {⟨𝑥, 𝑦⟩ ∣ 𝑥 = 𝑦}
2321, 22brabga 5512 . . . 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 1569   ∈ wcel 2146  Vcvv 3454   ⊆ wss 3900   ∩ cin 4092   class class class wbr 5106   I cid 5549   ↾ cres 5657
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-ext 2735  ax-sep 5252  ax-pr 5395
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2101  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-br 5107  df-opab 5171  df-id 5550  df-xp 5661  df-rel 5662  df-res 5667
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator