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

Theorem sgrpidmndm 13001
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 12956 . . . . . . . . . . . . 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 5925 . . . . . . . . . . . . . 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 5942 . . . . . . . . . . . 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 5246 . . . . . . . . . 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 12999 . 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 5213   ` cfv 5254  (class class class)co 5918   Basecbs 12618   +g cplusg 12695   0gc0g 12867  Smgrpcsgrp 12984   Mndcmnd 12997
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 4147  ax-pow 4203  ax-pr 4238  ax-un 4464  ax-cnex 7963  ax-resscn 7964  ax-1re 7966  ax-addrcl 7969
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 2986  df-csb 3081  df-un 3157  df-in 3159  df-ss 3166  df-pw 3603  df-sn 3624  df-pr 3625  df-op 3627  df-uni 3836  df-int 3871  df-br 4030  df-opab 4091  df-mpt 4092  df-id 4324  df-xp 4665  df-rel 4666  df-cnv 4667  df-co 4668  df-dm 4669  df-rn 4670  df-res 4671  df-iota 5215  df-fun 5256  df-fn 5257  df-fv 5262  df-riota 5873  df-ov 5921  df-inn 8983  df-2 9041  df-ndx 12621  df-slot 12622  df-base 12624  df-plusg 12708  df-0g 12869  df-mnd 12998
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator