ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  iss GIF version

Theorem iss 4873
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 ssel 3096 . . . . . . 7 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑦⟩ ∈ I ))
2 vex 2692 . . . . . . . . 9 𝑥 ∈ V
3 vex 2692 . . . . . . . . 9 𝑦 ∈ V
42, 3opeldm 4750 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ 𝐴𝑥 ∈ dom 𝐴)
54a1i 9 . . . . . . 7 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴𝑥 ∈ dom 𝐴))
61, 5jcad 305 . . . . . 6 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑥 ∈ dom 𝐴)))
7 df-br 3938 . . . . . . . . 9 (𝑥 I 𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ I )
83ideq 4699 . . . . . . . . 9 (𝑥 I 𝑦𝑥 = 𝑦)
97, 8bitr3i 185 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ I ↔ 𝑥 = 𝑦)
102eldm2 4745 . . . . . . . . . 10 (𝑥 ∈ dom 𝐴 ↔ ∃𝑦𝑥, 𝑦⟩ ∈ 𝐴)
11 opeq2 3714 . . . . . . . . . . . . . . 15 (𝑥 = 𝑦 → ⟨𝑥, 𝑥⟩ = ⟨𝑥, 𝑦⟩)
1211eleq1d 2209 . . . . . . . . . . . . . 14 (𝑥 = 𝑦 → (⟨𝑥, 𝑥⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐴))
1312biimprcd 159 . . . . . . . . . . . . 13 (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (𝑥 = 𝑦 → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
149, 13syl5bi 151 . . . . . . . . . . . 12 (⟨𝑥, 𝑦⟩ ∈ 𝐴 → (⟨𝑥, 𝑦⟩ ∈ I → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
151, 14sylcom 28 . . . . . . . . . . 11 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
1615exlimdv 1792 . . . . . . . . . 10 (𝐴 ⊆ I → (∃𝑦𝑥, 𝑦⟩ ∈ 𝐴 → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
1710, 16syl5bi 151 . . . . . . . . 9 (𝐴 ⊆ I → (𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑥⟩ ∈ 𝐴))
1812imbi2d 229 . . . . . . . . 9 (𝑥 = 𝑦 → ((𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑥⟩ ∈ 𝐴) ↔ (𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
1917, 18syl5ibcom 154 . . . . . . . 8 (𝐴 ⊆ I → (𝑥 = 𝑦 → (𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
209, 19syl5bi 151 . . . . . . 7 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ I → (𝑥 ∈ dom 𝐴 → ⟨𝑥, 𝑦⟩ ∈ 𝐴)))
2120impd 252 . . . . . 6 (𝐴 ⊆ I → ((⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑥 ∈ dom 𝐴) → ⟨𝑥, 𝑦⟩ ∈ 𝐴))
226, 21impbid 128 . . . . 5 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ (⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑥 ∈ dom 𝐴)))
233opelres 4832 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ ( I ↾ dom 𝐴) ↔ (⟨𝑥, 𝑦⟩ ∈ I ∧ 𝑥 ∈ dom 𝐴))
2422, 23syl6bbr 197 . . . 4 (𝐴 ⊆ I → (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ dom 𝐴)))
2524alrimivv 1848 . . 3 (𝐴 ⊆ I → ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ dom 𝐴)))
26 reli 4676 . . . . 5 Rel I
27 relss 4634 . . . . 5 (𝐴 ⊆ I → (Rel I → Rel 𝐴))
2826, 27mpi 15 . . . 4 (𝐴 ⊆ I → Rel 𝐴)
29 relres 4855 . . . 4 Rel ( I ↾ dom 𝐴)
30 eqrel 4636 . . . 4 ((Rel 𝐴 ∧ Rel ( I ↾ dom 𝐴)) → (𝐴 = ( I ↾ dom 𝐴) ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ dom 𝐴))))
3128, 29, 30sylancl 410 . . 3 (𝐴 ⊆ I → (𝐴 = ( I ↾ dom 𝐴) ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑥, 𝑦⟩ ∈ ( I ↾ dom 𝐴))))
3225, 31mpbird 166 . 2 (𝐴 ⊆ I → 𝐴 = ( I ↾ dom 𝐴))
33 resss 4851 . . 3 ( I ↾ dom 𝐴) ⊆ I
34 sseq1 3125 . . 3 (𝐴 = ( I ↾ dom 𝐴) → (𝐴 ⊆ I ↔ ( I ↾ dom 𝐴) ⊆ I ))
3533, 34mpbiri 167 . 2 (𝐴 = ( I ↾ dom 𝐴) → 𝐴 ⊆ I )
3632, 35impbii 125 1 (𝐴 ⊆ I ↔ 𝐴 = ( I ↾ dom 𝐴))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1330   = wceq 1332  wex 1469  wcel 1481  wss 3076  cop 3535   class class class wbr 3937   I cid 4218  dom cdm 4547  cres 4549  Rel wrel 4552
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-14 1493  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122  ax-sep 4054  ax-pow 4106  ax-pr 4139
This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1335  df-nf 1438  df-sb 1737  df-eu 2003  df-mo 2004  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ral 2422  df-rex 2423  df-v 2691  df-un 3080  df-in 3082  df-ss 3089  df-pw 3517  df-sn 3538  df-pr 3539  df-op 3541  df-br 3938  df-opab 3998  df-id 4223  df-xp 4553  df-rel 4554  df-dm 4557  df-res 4559
This theorem is referenced by:  funcocnv2  5400
  Copyright terms: Public domain W3C validator