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

Theorem iss 4998
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 3174 . . . . . . 7  |-  ( A 
C_  _I  ->  ( <.
x ,  y >.  e.  A  ->  <. x ,  y >.  e.  _I  ) )
2 vex 2791 . . . . . . . . 9  |-  x  e. 
_V
3 vex 2791 . . . . . . . . 9  |-  y  e. 
_V
42, 3opeldm 4882 . . . . . . . 8  |-  ( <.
x ,  y >.  e.  A  ->  x  e. 
dom  A )
54a1i 10 . . . . . . 7  |-  ( A 
C_  _I  ->  ( <.
x ,  y >.  e.  A  ->  x  e. 
dom  A ) )
61, 5jcad 519 . . . . . 6  |-  ( A 
C_  _I  ->  ( <.
x ,  y >.  e.  A  ->  ( <.
x ,  y >.  e.  _I  /\  x  e. 
dom  A ) ) )
7 df-br 4024 . . . . . . . . 9  |-  ( x  _I  y  <->  <. x ,  y >.  e.  _I  )
83ideq 4836 . . . . . . . . 9  |-  ( x  _I  y  <->  x  =  y )
97, 8bitr3i 242 . . . . . . . 8  |-  ( <.
x ,  y >.  e.  _I  <->  x  =  y
)
102eldm2 4877 . . . . . . . . . 10  |-  ( x  e.  dom  A  <->  E. y <. x ,  y >.  e.  A )
11 opeq2 3797 . . . . . . . . . . . . . . 15  |-  ( x  =  y  ->  <. x ,  x >.  =  <. x ,  y >. )
1211eleq1d 2349 . . . . . . . . . . . . . 14  |-  ( x  =  y  ->  ( <. x ,  x >.  e.  A  <->  <. x ,  y
>.  e.  A ) )
1312biimprcd 216 . . . . . . . . . . . . 13  |-  ( <.
x ,  y >.  e.  A  ->  ( x  =  y  ->  <. x ,  x >.  e.  A
) )
149, 13syl5bi 208 . . . . . . . . . . . 12  |-  ( <.
x ,  y >.  e.  A  ->  ( <.
x ,  y >.  e.  _I  ->  <. x ,  x >.  e.  A
) )
151, 14sylcom 25 . . . . . . . . . . 11  |-  ( A 
C_  _I  ->  ( <.
x ,  y >.  e.  A  ->  <. x ,  x >.  e.  A
) )
1615exlimdv 1664 . . . . . . . . . 10  |-  ( A 
C_  _I  ->  ( E. y <. x ,  y
>.  e.  A  ->  <. x ,  x >.  e.  A
) )
1710, 16syl5bi 208 . . . . . . . . 9  |-  ( A 
C_  _I  ->  ( x  e.  dom  A  ->  <. x ,  x >.  e.  A ) )
1812imbi2d 307 . . . . . . . . 9  |-  ( x  =  y  ->  (
( x  e.  dom  A  ->  <. x ,  x >.  e.  A )  <->  ( x  e.  dom  A  ->  <. x ,  y >.  e.  A
) ) )
1917, 18syl5ibcom 211 . . . . . . . 8  |-  ( A 
C_  _I  ->  ( x  =  y  ->  (
x  e.  dom  A  -> 
<. x ,  y >.  e.  A ) ) )
209, 19syl5bi 208 . . . . . . 7  |-  ( A 
C_  _I  ->  ( <.
x ,  y >.  e.  _I  ->  ( x  e.  dom  A  ->  <. x ,  y >.  e.  A
) ) )
2120imp3a 420 . . . . . 6  |-  ( A 
C_  _I  ->  ( (
<. x ,  y >.  e.  _I  /\  x  e. 
dom  A )  ->  <. x ,  y >.  e.  A ) )
226, 21impbid 183 . . . . 5  |-  ( A 
C_  _I  ->  ( <.
x ,  y >.  e.  A  <->  ( <. x ,  y >.  e.  _I  /\  x  e.  dom  A ) ) )
233opelres 4960 . . . . 5  |-  ( <.
x ,  y >.  e.  (  _I  |`  dom  A
)  <->  ( <. x ,  y >.  e.  _I  /\  x  e.  dom  A ) )
2422, 23syl6bbr 254 . . . 4  |-  ( A 
C_  _I  ->  ( <.
x ,  y >.  e.  A  <->  <. x ,  y
>.  e.  (  _I  |`  dom  A
) ) )
2524alrimivv 1618 . . 3  |-  ( A 
C_  _I  ->  A. x A. y ( <. x ,  y >.  e.  A  <->  <.
x ,  y >.  e.  (  _I  |`  dom  A
) ) )
26 reli 4813 . . . . 5  |-  Rel  _I
27 relss 4775 . . . . 5  |-  ( A 
C_  _I  ->  ( Rel 
_I  ->  Rel  A )
)
2826, 27mpi 16 . . . 4  |-  ( A 
C_  _I  ->  Rel  A
)
29 relres 4983 . . . 4  |-  Rel  (  _I  |`  dom  A )
30 eqrel 4777 . . . 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 643 . . 3  |-  ( A 
C_  _I  ->  ( A  =  (  _I  |`  dom  A
)  <->  A. x A. y
( <. x ,  y
>.  e.  A  <->  <. x ,  y >.  e.  (  _I  |`  dom  A ) ) ) )
3225, 31mpbird 223 . 2  |-  ( A 
C_  _I  ->  A  =  (  _I  |`  dom  A
) )
33 resss 4979 . . 3  |-  (  _I  |`  dom  A )  C_  _I
34 sseq1 3199 . . 3  |-  ( A  =  (  _I  |`  dom  A
)  ->  ( A  C_  _I  <->  (  _I  |`  dom  A
)  C_  _I  )
)
3533, 34mpbiri 224 . 2  |-  ( A  =  (  _I  |`  dom  A
)  ->  A  C_  _I  )
3632, 35impbii 180 1  |-  ( A 
C_  _I  <->  A  =  (  _I  |`  dom  A ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358   A.wal 1527   E.wex 1528    = wceq 1623    e. wcel 1684    C_ wss 3152   <.cop 3643   class class class wbr 4023    _I cid 4304   dom cdm 4689    |` cres 4691   Rel wrel 4694
This theorem is referenced by:  funcocnv2  5498
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pr 4214
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-rab 2552  df-v 2790  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-br 4024  df-opab 4078  df-id 4309  df-xp 4695  df-rel 4696  df-dm 4699  df-res 4701
  Copyright terms: Public domain W3C validator