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

Theorem iss 5156
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  |-  ( A 
C_  _I  <->  A  =  (  _I  |`  dom  A ) )

Proof of Theorem iss
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ssel 3310 . . . . . . 7  |-  ( A 
C_  _I  ->  ( <.
x ,  y >.  e.  A  ->  <. x ,  y >.  e.  _I  ) )
2 vex 2927 . . . . . . . . 9  |-  x  e. 
_V
3 vex 2927 . . . . . . . . 9  |-  y  e. 
_V
42, 3opeldm 5040 . . . . . . . 8  |-  ( <.
x ,  y >.  e.  A  ->  x  e. 
dom  A )
54a1i 11 . . . . . . 7  |-  ( A 
C_  _I  ->  ( <.
x ,  y >.  e.  A  ->  x  e. 
dom  A ) )
61, 5jcad 520 . . . . . 6  |-  ( A 
C_  _I  ->  ( <.
x ,  y >.  e.  A  ->  ( <.
x ,  y >.  e.  _I  /\  x  e. 
dom  A ) ) )
7 df-br 4181 . . . . . . . . 9  |-  ( x  _I  y  <->  <. x ,  y >.  e.  _I  )
83ideq 4992 . . . . . . . . 9  |-  ( x  _I  y  <->  x  =  y )
97, 8bitr3i 243 . . . . . . . 8  |-  ( <.
x ,  y >.  e.  _I  <->  x  =  y
)
102eldm2 5035 . . . . . . . . . 10  |-  ( x  e.  dom  A  <->  E. y <. x ,  y >.  e.  A )
11 opeq2 3953 . . . . . . . . . . . . . . 15  |-  ( x  =  y  ->  <. x ,  x >.  =  <. x ,  y >. )
1211eleq1d 2478 . . . . . . . . . . . . . 14  |-  ( x  =  y  ->  ( <. x ,  x >.  e.  A  <->  <. x ,  y
>.  e.  A ) )
1312biimprcd 217 . . . . . . . . . . . . 13  |-  ( <.
x ,  y >.  e.  A  ->  ( x  =  y  ->  <. x ,  x >.  e.  A
) )
149, 13syl5bi 209 . . . . . . . . . . . 12  |-  ( <.
x ,  y >.  e.  A  ->  ( <.
x ,  y >.  e.  _I  ->  <. x ,  x >.  e.  A
) )
151, 14sylcom 27 . . . . . . . . . . 11  |-  ( A 
C_  _I  ->  ( <.
x ,  y >.  e.  A  ->  <. x ,  x >.  e.  A
) )
1615exlimdv 1643 . . . . . . . . . 10  |-  ( A 
C_  _I  ->  ( E. y <. x ,  y
>.  e.  A  ->  <. x ,  x >.  e.  A
) )
1710, 16syl5bi 209 . . . . . . . . 9  |-  ( A 
C_  _I  ->  ( x  e.  dom  A  ->  <. x ,  x >.  e.  A ) )
1812imbi2d 308 . . . . . . . . 9  |-  ( x  =  y  ->  (
( x  e.  dom  A  ->  <. x ,  x >.  e.  A )  <->  ( x  e.  dom  A  ->  <. x ,  y >.  e.  A
) ) )
1917, 18syl5ibcom 212 . . . . . . . 8  |-  ( A 
C_  _I  ->  ( x  =  y  ->  (
x  e.  dom  A  -> 
<. x ,  y >.  e.  A ) ) )
209, 19syl5bi 209 . . . . . . 7  |-  ( A 
C_  _I  ->  ( <.
x ,  y >.  e.  _I  ->  ( x  e.  dom  A  ->  <. x ,  y >.  e.  A
) ) )
2120imp3a 421 . . . . . 6  |-  ( A 
C_  _I  ->  ( (
<. x ,  y >.  e.  _I  /\  x  e. 
dom  A )  ->  <. x ,  y >.  e.  A ) )
226, 21impbid 184 . . . . 5  |-  ( A 
C_  _I  ->  ( <.
x ,  y >.  e.  A  <->  ( <. x ,  y >.  e.  _I  /\  x  e.  dom  A ) ) )
233opelres 5118 . . . . 5  |-  ( <.
x ,  y >.  e.  (  _I  |`  dom  A
)  <->  ( <. x ,  y >.  e.  _I  /\  x  e.  dom  A ) )
2422, 23syl6bbr 255 . . . 4  |-  ( A 
C_  _I  ->  ( <.
x ,  y >.  e.  A  <->  <. x ,  y
>.  e.  (  _I  |`  dom  A
) ) )
2524alrimivv 1639 . . 3  |-  ( A 
C_  _I  ->  A. x A. y ( <. x ,  y >.  e.  A  <->  <.
x ,  y >.  e.  (  _I  |`  dom  A
) ) )
26 reli 4969 . . . . 5  |-  Rel  _I
27 relss 4930 . . . . 5  |-  ( A 
C_  _I  ->  ( Rel 
_I  ->  Rel  A )
)
2826, 27mpi 17 . . . 4  |-  ( A 
C_  _I  ->  Rel  A
)
29 relres 5141 . . . 4  |-  Rel  (  _I  |`  dom  A )
30 eqrel 4932 . . . 4  |-  ( ( Rel  A  /\  Rel  (  _I  |`  dom  A
) )  ->  ( A  =  (  _I  |` 
dom  A )  <->  A. x A. y ( <. x ,  y >.  e.  A  <->  <.
x ,  y >.  e.  (  _I  |`  dom  A
) ) ) )
3128, 29, 30sylancl 644 . . 3  |-  ( A 
C_  _I  ->  ( A  =  (  _I  |`  dom  A
)  <->  A. x A. y
( <. x ,  y
>.  e.  A  <->  <. x ,  y >.  e.  (  _I  |`  dom  A ) ) ) )
3225, 31mpbird 224 . 2  |-  ( A 
C_  _I  ->  A  =  (  _I  |`  dom  A
) )
33 resss 5137 . . 3  |-  (  _I  |`  dom  A )  C_  _I
34 sseq1 3337 . . 3  |-  ( A  =  (  _I  |`  dom  A
)  ->  ( A  C_  _I  <->  (  _I  |`  dom  A
)  C_  _I  )
)
3533, 34mpbiri 225 . 2  |-  ( A  =  (  _I  |`  dom  A
)  ->  A  C_  _I  )
3632, 35impbii 181 1  |-  ( A 
C_  _I  <->  A  =  (  _I  |`  dom  A ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359   A.wal 1546   E.wex 1547    = wceq 1649    e. wcel 1721    C_ wss 3288   <.cop 3785   class class class wbr 4180    _I cid 4461   dom cdm 4845    |` cres 4847   Rel wrel 4850
This theorem is referenced by:  funcocnv2  5667  trust  18220
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1662  ax-8 1683  ax-14 1725  ax-6 1740  ax-7 1745  ax-11 1757  ax-12 1946  ax-ext 2393  ax-sep 4298  ax-nul 4306  ax-pr 4371
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2266  df-mo 2267  df-clab 2399  df-cleq 2405  df-clel 2408  df-nfc 2537  df-ne 2577  df-ral 2679  df-rex 2680  df-rab 2683  df-v 2926  df-dif 3291  df-un 3293  df-in 3295  df-ss 3302  df-nul 3597  df-if 3708  df-sn 3788  df-pr 3789  df-op 3791  df-br 4181  df-opab 4235  df-id 4466  df-xp 4851  df-rel 4852  df-dm 4855  df-res 4857
  Copyright terms: Public domain W3C validator