MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  iss Structured version   Visualization version   GIF version

Theorem iss 5888
Description: A subclass of the identity function is the identity function restricted to its domain. (Contributed by NM, 13-Dec-2003.) (Proof shortened by Andrew Salmon, 27-Aug-2011.)
Assertion
Ref Expression
iss (𝐴 ⊆ I ↔ 𝐴 = ( I ↾ dom 𝐴))

Proof of Theorem iss
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 3402 . . . . . . . . 9 𝑥 ∈ V
2 vex 3402 . . . . . . . . 9 𝑦 ∈ V
31, 2opeldm 5761 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ 𝐴𝑥 ∈ dom 𝐴)
43a1i 11 . . . . . . 7 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴𝑥 ∈ dom 𝐴))
5 ssel 3880 . . . . . . 7 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑦⟩ ∈ I ))
64, 5jcad 516 . . . . . 6 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (𝑥 ∈ dom 𝐴 ∧ ⟨𝑥, 𝑦⟩ ∈ I )))
7 df-br 5040 . . . . . . . . 9 (𝑥 I 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ I )
82ideq 5706 . . . . . . . . 9 (𝑥 I 𝑦𝑥 = 𝑦)
97, 8bitr3i 280 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ I ↔ 𝑥 = 𝑦)
101eldm2 5755 . . . . . . . . . 10 (𝑥 ∈ dom 𝐴 ↔ ∃𝑦𝑥, 𝑦⟩ ∈ 𝐴)
11 opeq2 4771 . . . . . . . . . . . . . . 15 (𝑥 = 𝑦 → ⟨𝑥, 𝑥⟩ = ⟨𝑥, 𝑦⟩)
1211eleq1d 2815 . . . . . . . . . . . . . 14 (𝑥 = 𝑦 → (⟨𝑥, 𝑥⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐴))
1312biimprcd 253 . . . . . . . . . . . . 13 (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (𝑥 = 𝑦 → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
149, 13syl5bi 245 . . . . . . . . . . . 12 (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (⟨𝑥, 𝑦⟩ ∈ I → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
155, 14sylcom 30 . . . . . . . . . . 11 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
1615exlimdv 1941 . . . . . . . . . 10 (𝐴 ⊆ I → (∃𝑦𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
1710, 16syl5bi 245 . . . . . . . . 9 (𝐴 ⊆ I → (𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
1812imbi2d 344 . . . . . . . . 9 (𝑥 = 𝑦 → ((𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑥⟩ ∈ 𝐴) ↔ (𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
1917, 18syl5ibcom 248 . . . . . . . 8 (𝐴 ⊆ I → (𝑥 = 𝑦 → (𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
209, 19syl5bi 245 . . . . . . 7 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ I → (𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
2120impcomd 415 . . . . . 6 (𝐴 ⊆ I → ((𝑥 ∈ dom 𝐴 ∧ ⟨𝑥, 𝑦⟩ ∈ I ) → ⟨𝑥, 𝑦⟩ ∈ 𝐴))
226, 21impbid 215 . . . . 5 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ (𝑥 ∈ dom 𝐴 ∧ ⟨𝑥, 𝑦⟩ ∈ I )))
232opelresi 5844 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ ( I ↾ dom 𝐴) ↔ (𝑥 ∈ dom 𝐴 ∧ ⟨𝑥, 𝑦⟩ ∈ I ))
2422, 23bitr4di 292 . . . 4 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ dom 𝐴)))
2524alrimivv 1936 . . 3 (𝐴 ⊆ I → ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ dom 𝐴)))
26 reli 5681 . . . . 5 Rel I
27 relss 5638 . . . . 5 (𝐴 ⊆ I → (Rel I → Rel 𝐴))
2826, 27mpi 20 . . . 4 (𝐴 ⊆ I → Rel 𝐴)
29 relres 5865 . . . 4 Rel ( I ↾ dom 𝐴)
30 eqrel 5640 . . . 4 ((Rel 𝐴 ∧ Rel ( I ↾ dom 𝐴)) → (𝐴 = ( I ↾ dom 𝐴) ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ dom 𝐴))))
3128, 29, 30sylancl 589 . . 3 (𝐴 ⊆ I → (𝐴 = ( I ↾ dom 𝐴) ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ dom 𝐴))))
3225, 31mpbird 260 . 2 (𝐴 ⊆ I → 𝐴 = ( I ↾ dom 𝐴))
33 resss 5861 . . 3 ( I ↾ dom 𝐴) ⊆ I
34 sseq1 3912 . . 3 (𝐴 = ( I ↾ dom 𝐴) → (𝐴 ⊆ I ↔ ( I ↾ dom 𝐴) ⊆ I ))
3533, 34mpbiri 261 . 2 (𝐴 = ( I ↾ dom 𝐴) → 𝐴 ⊆ I )
3632, 35impbii 212 1 (𝐴 ⊆ I ↔ 𝐴 = ( I ↾ dom 𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wal 1541   = wceq 1543  wex 1787  wcel 2112  wss 3853  cop 4533   class class class wbr 5039   I cid 5439  dom cdm 5536  cres 5538  Rel wrel 5541
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-12 2177  ax-ext 2708  ax-sep 5177  ax-nul 5184  ax-pr 5307
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-sb 2073  df-clab 2715  df-cleq 2728  df-clel 2809  df-ral 3056  df-rex 3057  df-rab 3060  df-v 3400  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4224  df-if 4426  df-sn 4528  df-pr 4530  df-op 4534  df-br 5040  df-opab 5102  df-id 5440  df-xp 5542  df-rel 5543  df-dm 5546  df-res 5548
This theorem is referenced by:  funcocnv2  6663  trust  23081
  Copyright terms: Public domain W3C validator