Users' Mathboxes Mathbox for Jeff Madsen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  exidresid Unicode version

Theorem exidresid 26569
Description: The restriction of a binary operation with identity to a subset containing the identity has the same identity element. (Contributed by Jeff Madsen, 8-Jun-2010.) (Revised by Mario Carneiro, 23-Dec-2013.)
Hypotheses
Ref Expression
exidres.1  |-  X  =  ran  G
exidres.2  |-  U  =  (GId `  G )
exidres.3  |-  H  =  ( G  |`  ( Y  X.  Y ) )
Assertion
Ref Expression
exidresid  |-  ( ( ( G  e.  (
Magma  i^i  ExId  )  /\  Y  C_  X  /\  U  e.  Y )  /\  H  e.  Magma )  ->  (GId `  H )  =  U )

Proof of Theorem exidresid
Dummy variables  x  u are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 exidres.3 . . . . . 6  |-  H  =  ( G  |`  ( Y  X.  Y ) )
2 resexg 4994 . . . . . 6  |-  ( G  e.  ( Magma  i^i  ExId  )  ->  ( G  |`  ( Y  X.  Y
) )  e.  _V )
31, 2syl5eqel 2367 . . . . 5  |-  ( G  e.  ( Magma  i^i  ExId  )  ->  H  e.  _V )
4 eqid 2283 . . . . . 6  |-  ran  H  =  ran  H
54gidval 20880 . . . . 5  |-  ( H  e.  _V  ->  (GId `  H )  =  (
iota_ u  e.  ran  H A. x  e.  ran  H ( ( u H x )  =  x  /\  ( x H u )  =  x ) ) )
63, 5syl 15 . . . 4  |-  ( G  e.  ( Magma  i^i  ExId  )  ->  (GId `  H
)  =  ( iota_ u  e.  ran  H A. x  e.  ran  H ( ( u H x )  =  x  /\  ( x H u )  =  x ) ) )
763ad2ant1 976 . . 3  |-  ( ( G  e.  ( Magma  i^i 
ExId  )  /\  Y  C_  X  /\  U  e.  Y
)  ->  (GId `  H
)  =  ( iota_ u  e.  ran  H A. x  e.  ran  H ( ( u H x )  =  x  /\  ( x H u )  =  x ) ) )
87adantr 451 . 2  |-  ( ( ( G  e.  (
Magma  i^i  ExId  )  /\  Y  C_  X  /\  U  e.  Y )  /\  H  e.  Magma )  ->  (GId `  H )  =  (
iota_ u  e.  ran  H A. x  e.  ran  H ( ( u H x )  =  x  /\  ( x H u )  =  x ) ) )
9 exidres.1 . . . . . . 7  |-  X  =  ran  G
10 exidres.2 . . . . . . 7  |-  U  =  (GId `  G )
119, 10, 1exidreslem 26567 . . . . . 6  |-  ( ( G  e.  ( Magma  i^i 
ExId  )  /\  Y  C_  X  /\  U  e.  Y
)  ->  ( U  e.  dom  dom  H  /\  A. x  e.  dom  dom  H ( ( U H x )  =  x  /\  ( x H U )  =  x ) ) )
1211simprd 449 . . . . 5  |-  ( ( G  e.  ( Magma  i^i 
ExId  )  /\  Y  C_  X  /\  U  e.  Y
)  ->  A. x  e.  dom  dom  H (
( U H x )  =  x  /\  ( x H U )  =  x ) )
1312adantr 451 . . . 4  |-  ( ( ( G  e.  (
Magma  i^i  ExId  )  /\  Y  C_  X  /\  U  e.  Y )  /\  H  e.  Magma )  ->  A. x  e.  dom  dom  H (
( U H x )  =  x  /\  ( x H U )  =  x ) )
149, 10, 1exidres 26568 . . . . . 6  |-  ( ( G  e.  ( Magma  i^i 
ExId  )  /\  Y  C_  X  /\  U  e.  Y
)  ->  H  e.  ExId 
)
15 elin 3358 . . . . . . . 8  |-  ( H  e.  ( Magma  i^i  ExId  )  <-> 
( H  e.  Magma  /\  H  e.  ExId  )
)
16 rngopid 20990 . . . . . . . 8  |-  ( H  e.  ( Magma  i^i  ExId  )  ->  ran  H  =  dom  dom  H )
1715, 16sylbir 204 . . . . . . 7  |-  ( ( H  e.  Magma  /\  H  e.  ExId  )  ->  ran  H  =  dom  dom  H
)
1817ancoms 439 . . . . . 6  |-  ( ( H  e.  ExId  /\  H  e.  Magma )  ->  ran  H  =  dom  dom  H
)
1914, 18sylan 457 . . . . 5  |-  ( ( ( G  e.  (
Magma  i^i  ExId  )  /\  Y  C_  X  /\  U  e.  Y )  /\  H  e.  Magma )  ->  ran  H  =  dom  dom  H
)
2019raleqdv 2742 . . . 4  |-  ( ( ( G  e.  (
Magma  i^i  ExId  )  /\  Y  C_  X  /\  U  e.  Y )  /\  H  e.  Magma )  ->  ( A. x  e.  ran  H ( ( U H x )  =  x  /\  ( x H U )  =  x )  <->  A. x  e.  dom  dom 
H ( ( U H x )  =  x  /\  ( x H U )  =  x ) ) )
2113, 20mpbird 223 . . 3  |-  ( ( ( G  e.  (
Magma  i^i  ExId  )  /\  Y  C_  X  /\  U  e.  Y )  /\  H  e.  Magma )  ->  A. x  e.  ran  H ( ( U H x )  =  x  /\  (
x H U )  =  x ) )
2211simpld 445 . . . . . 6  |-  ( ( G  e.  ( Magma  i^i 
ExId  )  /\  Y  C_  X  /\  U  e.  Y
)  ->  U  e.  dom  dom  H )
2322adantr 451 . . . . 5  |-  ( ( ( G  e.  (
Magma  i^i  ExId  )  /\  Y  C_  X  /\  U  e.  Y )  /\  H  e.  Magma )  ->  U  e.  dom  dom  H )
2423, 19eleqtrrd 2360 . . . 4  |-  ( ( ( G  e.  (
Magma  i^i  ExId  )  /\  Y  C_  X  /\  U  e.  Y )  /\  H  e.  Magma )  ->  U  e.  ran  H )
254exidu1 20993 . . . . . . 7  |-  ( H  e.  ( Magma  i^i  ExId  )  ->  E! u  e. 
ran  H A. x  e.  ran  H ( ( u H x )  =  x  /\  (
x H u )  =  x ) )
2615, 25sylbir 204 . . . . . 6  |-  ( ( H  e.  Magma  /\  H  e.  ExId  )  ->  E! u  e.  ran  H A. x  e.  ran  H ( ( u H x )  =  x  /\  ( x H u )  =  x ) )
2726ancoms 439 . . . . 5  |-  ( ( H  e.  ExId  /\  H  e.  Magma )  ->  E! u  e.  ran  H A. x  e.  ran  H ( ( u H x )  =  x  /\  ( x H u )  =  x ) )
2814, 27sylan 457 . . . 4  |-  ( ( ( G  e.  (
Magma  i^i  ExId  )  /\  Y  C_  X  /\  U  e.  Y )  /\  H  e.  Magma )  ->  E! u  e.  ran  H A. x  e.  ran  H ( ( u H x )  =  x  /\  ( x H u )  =  x ) )
29 oveq1 5865 . . . . . . . 8  |-  ( u  =  U  ->  (
u H x )  =  ( U H x ) )
3029eqeq1d 2291 . . . . . . 7  |-  ( u  =  U  ->  (
( u H x )  =  x  <->  ( U H x )  =  x ) )
31 oveq2 5866 . . . . . . . 8  |-  ( u  =  U  ->  (
x H u )  =  ( x H U ) )
3231eqeq1d 2291 . . . . . . 7  |-  ( u  =  U  ->  (
( x H u )  =  x  <->  ( x H U )  =  x ) )
3330, 32anbi12d 691 . . . . . 6  |-  ( u  =  U  ->  (
( ( u H x )  =  x  /\  ( x H u )  =  x )  <->  ( ( U H x )  =  x  /\  ( x H U )  =  x ) ) )
3433ralbidv 2563 . . . . 5  |-  ( u  =  U  ->  ( A. x  e.  ran  H ( ( u H x )  =  x  /\  ( x H u )  =  x )  <->  A. x  e.  ran  H ( ( U H x )  =  x  /\  ( x H U )  =  x ) ) )
3534riota2 6327 . . . 4  |-  ( ( U  e.  ran  H  /\  E! u  e.  ran  H A. x  e.  ran  H ( ( u H x )  =  x  /\  ( x H u )  =  x ) )  ->  ( A. x  e.  ran  H ( ( U H x )  =  x  /\  ( x H U )  =  x )  <->  ( iota_ u  e. 
ran  H A. x  e.  ran  H ( ( u H x )  =  x  /\  (
x H u )  =  x ) )  =  U ) )
3624, 28, 35syl2anc 642 . . 3  |-  ( ( ( G  e.  (
Magma  i^i  ExId  )  /\  Y  C_  X  /\  U  e.  Y )  /\  H  e.  Magma )  ->  ( A. x  e.  ran  H ( ( U H x )  =  x  /\  ( x H U )  =  x )  <->  ( iota_ u  e. 
ran  H A. x  e.  ran  H ( ( u H x )  =  x  /\  (
x H u )  =  x ) )  =  U ) )
3721, 36mpbid 201 . 2  |-  ( ( ( G  e.  (
Magma  i^i  ExId  )  /\  Y  C_  X  /\  U  e.  Y )  /\  H  e.  Magma )  ->  ( iota_ u  e.  ran  H A. x  e.  ran  H ( ( u H x )  =  x  /\  ( x H u )  =  x ) )  =  U )
388, 37eqtrd 2315 1  |-  ( ( ( G  e.  (
Magma  i^i  ExId  )  /\  Y  C_  X  /\  U  e.  Y )  /\  H  e.  Magma )  ->  (GId `  H )  =  U )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    /\ w3a 934    = wceq 1623    e. wcel 1684   A.wral 2543   E!wreu 2545   _Vcvv 2788    i^i cin 3151    C_ wss 3152    X. cxp 4687   dom cdm 4689   ran crn 4690    |` cres 4691   ` cfv 5255  (class class class)co 5858   iota_crio 6297  GIdcgi 20854    ExId cexid 20981   Magmacmagm 20985
This theorem is referenced by:  isdrngo2  26589
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-13 1686  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  ax-un 4512
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-reu 2550  df-rmo 2551  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  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-uni 3828  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-id 4309  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-fo 5261  df-fv 5263  df-ov 5861  df-riota 6304  df-gid 20859  df-exid 20982  df-mgm 20986
  Copyright terms: Public domain W3C validator