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

Theorem sgrpidmndm 13004
Description: A semigroup with an identity element which is inhabited is a monoid. Of course there could be monoids with the empty set as identity element, but these cannot be proven to be monoids with this theorem. (Contributed by AV, 29-Jan-2024.)
Hypotheses
Ref Expression
sgrpidmnd.b  |-  B  =  ( Base `  G
)
sgrpidmnd.0  |-  .0.  =  ( 0g `  G )
Assertion
Ref Expression
sgrpidmndm  |-  ( ( G  e. Smgrp  /\  E. e  e.  B  ( E. w  w  e.  e  /\  e  =  .0.  ) )  ->  G  e.  Mnd )
Distinct variable groups:    B, e, w   
e, G, w    w,  .0.    w, e
Allowed substitution hint:    .0. ( e)

Proof of Theorem sgrpidmndm
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simp-4r 542 . . . . . . . . . 10  |-  ( ( ( ( ( G  e. Smgrp  /\  e  e.  B )  /\  w  e.  e )  /\  e  =  .0.  )  /\  x  e.  B )  ->  e  e.  B )
2 simpllr 534 . . . . . . . . . . 11  |-  ( ( ( ( ( G  e. Smgrp  /\  e  e.  B )  /\  w  e.  e )  /\  e  =  .0.  )  /\  x  e.  B )  ->  w  e.  e )
3219.8ad 1602 . . . . . . . . . 10  |-  ( ( ( ( ( G  e. Smgrp  /\  e  e.  B )  /\  w  e.  e )  /\  e  =  .0.  )  /\  x  e.  B )  ->  E. w  w  e.  e )
4 simplr 528 . . . . . . . . . . 11  |-  ( ( ( ( ( G  e. Smgrp  /\  e  e.  B )  /\  w  e.  e )  /\  e  =  .0.  )  /\  x  e.  B )  ->  e  =  .0.  )
5 sgrpidmnd.b . . . . . . . . . . . . . 14  |-  B  =  ( Base `  G
)
6 eqid 2193 . . . . . . . . . . . . . 14  |-  ( +g  `  G )  =  ( +g  `  G )
7 sgrpidmnd.0 . . . . . . . . . . . . . 14  |-  .0.  =  ( 0g `  G )
85, 6, 7grpidvalg 12959 . . . . . . . . . . . . 13  |-  ( G  e. Smgrp  ->  .0.  =  ( iota y ( y  e.  B  /\  A. x  e.  B  ( (
y ( +g  `  G
) x )  =  x  /\  ( x ( +g  `  G
) y )  =  x ) ) ) )
98eqeq2d 2205 . . . . . . . . . . . 12  |-  ( G  e. Smgrp  ->  ( e  =  .0.  <->  e  =  ( iota y ( y  e.  B  /\  A. x  e.  B  (
( y ( +g  `  G ) x )  =  x  /\  (
x ( +g  `  G
) y )  =  x ) ) ) ) )
109ad4antr 494 . . . . . . . . . . 11  |-  ( ( ( ( ( G  e. Smgrp  /\  e  e.  B )  /\  w  e.  e )  /\  e  =  .0.  )  /\  x  e.  B )  ->  (
e  =  .0.  <->  e  =  ( iota y ( y  e.  B  /\  A. x  e.  B  (
( y ( +g  `  G ) x )  =  x  /\  (
x ( +g  `  G
) y )  =  x ) ) ) ) )
114, 10mpbid 147 . . . . . . . . . 10  |-  ( ( ( ( ( G  e. Smgrp  /\  e  e.  B )  /\  w  e.  e )  /\  e  =  .0.  )  /\  x  e.  B )  ->  e  =  ( iota y
( y  e.  B  /\  A. x  e.  B  ( ( y ( +g  `  G ) x )  =  x  /\  ( x ( +g  `  G ) y )  =  x ) ) ) )
121, 3, 113jca 1179 . . . . . . . . 9  |-  ( ( ( ( ( G  e. Smgrp  /\  e  e.  B )  /\  w  e.  e )  /\  e  =  .0.  )  /\  x  e.  B )  ->  (
e  e.  B  /\  E. w  w  e.  e  /\  e  =  ( iota y ( y  e.  B  /\  A. x  e.  B  (
( y ( +g  `  G ) x )  =  x  /\  (
x ( +g  `  G
) y )  =  x ) ) ) ) )
13 simpr 110 . . . . . . . . 9  |-  ( ( ( ( ( G  e. Smgrp  /\  e  e.  B )  /\  w  e.  e )  /\  e  =  .0.  )  /\  x  e.  B )  ->  x  e.  B )
14 eleq1w 2254 . . . . . . . . . . . 12  |-  ( y  =  e  ->  (
y  e.  B  <->  e  e.  B ) )
15 oveq1 5926 . . . . . . . . . . . . . 14  |-  ( y  =  e  ->  (
y ( +g  `  G
) x )  =  ( e ( +g  `  G ) x ) )
1615eqeq1d 2202 . . . . . . . . . . . . 13  |-  ( y  =  e  ->  (
( y ( +g  `  G ) x )  =  x  <->  ( e
( +g  `  G ) x )  =  x ) )
1716ovanraleqv 5943 . . . . . . . . . . . 12  |-  ( y  =  e  ->  ( A. x  e.  B  ( ( y ( +g  `  G ) x )  =  x  /\  ( x ( +g  `  G ) y )  =  x )  <->  A. x  e.  B  ( ( e ( +g  `  G ) x )  =  x  /\  ( x ( +g  `  G ) e )  =  x ) ) )
1814, 17anbi12d 473 . . . . . . . . . . 11  |-  ( y  =  e  ->  (
( y  e.  B  /\  A. x  e.  B  ( ( y ( +g  `  G ) x )  =  x  /\  ( x ( +g  `  G ) y )  =  x ) )  <->  ( e  e.  B  /\  A. x  e.  B  ( (
e ( +g  `  G
) x )  =  x  /\  ( x ( +g  `  G
) e )  =  x ) ) ) )
1918iotam 5247 . . . . . . . . . 10  |-  ( ( e  e.  B  /\  E. w  w  e.  e  /\  e  =  ( iota y ( y  e.  B  /\  A. x  e.  B  (
( y ( +g  `  G ) x )  =  x  /\  (
x ( +g  `  G
) y )  =  x ) ) ) )  ->  ( e  e.  B  /\  A. x  e.  B  ( (
e ( +g  `  G
) x )  =  x  /\  ( x ( +g  `  G
) e )  =  x ) ) )
20 rsp 2541 . . . . . . . . . 10  |-  ( A. x  e.  B  (
( e ( +g  `  G ) x )  =  x  /\  (
x ( +g  `  G
) e )  =  x )  ->  (
x  e.  B  -> 
( ( e ( +g  `  G ) x )  =  x  /\  ( x ( +g  `  G ) e )  =  x ) ) )
2119, 20simpl2im 386 . . . . . . . . 9  |-  ( ( e  e.  B  /\  E. w  w  e.  e  /\  e  =  ( iota y ( y  e.  B  /\  A. x  e.  B  (
( y ( +g  `  G ) x )  =  x  /\  (
x ( +g  `  G
) y )  =  x ) ) ) )  ->  ( x  e.  B  ->  ( ( e ( +g  `  G
) x )  =  x  /\  ( x ( +g  `  G
) e )  =  x ) ) )
2212, 13, 21sylc 62 . . . . . . . 8  |-  ( ( ( ( ( G  e. Smgrp  /\  e  e.  B )  /\  w  e.  e )  /\  e  =  .0.  )  /\  x  e.  B )  ->  (
( e ( +g  `  G ) x )  =  x  /\  (
x ( +g  `  G
) e )  =  x ) )
2322ralrimiva 2567 . . . . . . 7  |-  ( ( ( ( G  e. Smgrp  /\  e  e.  B
)  /\  w  e.  e )  /\  e  =  .0.  )  ->  A. x  e.  B  ( (
e ( +g  `  G
) x )  =  x  /\  ( x ( +g  `  G
) e )  =  x ) )
2423exp31 364 . . . . . 6  |-  ( ( G  e. Smgrp  /\  e  e.  B )  ->  (
w  e.  e  -> 
( e  =  .0. 
->  A. x  e.  B  ( ( e ( +g  `  G ) x )  =  x  /\  ( x ( +g  `  G ) e )  =  x ) ) ) )
2524exlimdv 1830 . . . . 5  |-  ( ( G  e. Smgrp  /\  e  e.  B )  ->  ( E. w  w  e.  e  ->  ( e  =  .0.  ->  A. x  e.  B  ( (
e ( +g  `  G
) x )  =  x  /\  ( x ( +g  `  G
) e )  =  x ) ) ) )
2625impd 254 . . . 4  |-  ( ( G  e. Smgrp  /\  e  e.  B )  ->  (
( E. w  w  e.  e  /\  e  =  .0.  )  ->  A. x  e.  B  ( (
e ( +g  `  G
) x )  =  x  /\  ( x ( +g  `  G
) e )  =  x ) ) )
2726reximdva 2596 . . 3  |-  ( G  e. Smgrp  ->  ( E. e  e.  B  ( E. w  w  e.  e  /\  e  =  .0.  )  ->  E. e  e.  B  A. x  e.  B  ( ( e ( +g  `  G ) x )  =  x  /\  ( x ( +g  `  G ) e )  =  x ) ) )
2827imdistani 445 . 2  |-  ( ( G  e. Smgrp  /\  E. e  e.  B  ( E. w  w  e.  e  /\  e  =  .0.  ) )  ->  ( G  e. Smgrp  /\  E. e  e.  B  A. x  e.  B  ( (
e ( +g  `  G
) x )  =  x  /\  ( x ( +g  `  G
) e )  =  x ) ) )
295, 6ismnddef 13002 . 2  |-  ( G  e.  Mnd  <->  ( G  e. Smgrp  /\  E. e  e.  B  A. x  e.  B  ( ( e ( +g  `  G
) x )  =  x  /\  ( x ( +g  `  G
) e )  =  x ) ) )
3028, 29sylibr 134 1  |-  ( ( G  e. Smgrp  /\  E. e  e.  B  ( E. w  w  e.  e  /\  e  =  .0.  ) )  ->  G  e.  Mnd )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    <-> wb 105    /\ w3a 980    = wceq 1364   E.wex 1503    e. wcel 2164   A.wral 2472   E.wrex 2473   iotacio 5214   ` cfv 5255  (class class class)co 5919   Basecbs 12621   +g cplusg 12698   0gc0g 12870  Smgrpcsgrp 12987   Mndcmnd 13000
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 710  ax-5 1458  ax-7 1459  ax-gen 1460  ax-ie1 1504  ax-ie2 1505  ax-8 1515  ax-10 1516  ax-11 1517  ax-i12 1518  ax-bndl 1520  ax-4 1521  ax-17 1537  ax-i9 1541  ax-ial 1545  ax-i5r 1546  ax-13 2166  ax-14 2167  ax-ext 2175  ax-sep 4148  ax-pow 4204  ax-pr 4239  ax-un 4465  ax-cnex 7965  ax-resscn 7966  ax-1re 7968  ax-addrcl 7971
This theorem depends on definitions:  df-bi 117  df-3an 982  df-tru 1367  df-nf 1472  df-sb 1774  df-eu 2045  df-mo 2046  df-clab 2180  df-cleq 2186  df-clel 2189  df-nfc 2325  df-ral 2477  df-rex 2478  df-rab 2481  df-v 2762  df-sbc 2987  df-csb 3082  df-un 3158  df-in 3160  df-ss 3167  df-pw 3604  df-sn 3625  df-pr 3626  df-op 3628  df-uni 3837  df-int 3872  df-br 4031  df-opab 4092  df-mpt 4093  df-id 4325  df-xp 4666  df-rel 4667  df-cnv 4668  df-co 4669  df-dm 4670  df-rn 4671  df-res 4672  df-iota 5216  df-fun 5257  df-fn 5258  df-fv 5263  df-riota 5874  df-ov 5922  df-inn 8985  df-2 9043  df-ndx 12624  df-slot 12625  df-base 12627  df-plusg 12711  df-0g 12872  df-mnd 13001
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator