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

Theorem gsumwsubmcl 13398
Description: Closure of the composite in any submonoid. (Contributed by Stefan O'Rear, 15-Aug-2015.) (Revised by Mario Carneiro, 1-Oct-2015.)
Assertion
Ref Expression
gsumwsubmcl  |-  ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  ->  ( G  gsumg  W )  e.  S
)

Proof of Theorem gsumwsubmcl
Dummy variables  x  y  j are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 oveq2 5964 . . . . 5  |-  ( W  =  (/)  ->  ( G 
gsumg  W )  =  ( G  gsumg  (/) ) )
21adantl 277 . . . 4  |-  ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =  (/) )  ->  ( G  gsumg  W )  =  ( G  gsumg  (/) ) )
3 submrcl 13373 . . . . . 6  |-  ( S  e.  (SubMnd `  G
)  ->  G  e.  Mnd )
4 eqid 2206 . . . . . . 7  |-  ( 0g
`  G )  =  ( 0g `  G
)
54gsum0g 13298 . . . . . 6  |-  ( G  e.  Mnd  ->  ( G  gsumg  (/) )  =  ( 0g `  G ) )
63, 5syl 14 . . . . 5  |-  ( S  e.  (SubMnd `  G
)  ->  ( G  gsumg  (/) )  =  ( 0g
`  G ) )
76ad2antrr 488 . . . 4  |-  ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =  (/) )  ->  ( G  gsumg  (/) )  =  ( 0g `  G ) )
82, 7eqtrd 2239 . . 3  |-  ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =  (/) )  ->  ( G  gsumg  W )  =  ( 0g `  G ) )
94subm0cl 13380 . . . 4  |-  ( S  e.  (SubMnd `  G
)  ->  ( 0g `  G )  e.  S
)
109ad2antrr 488 . . 3  |-  ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =  (/) )  ->  ( 0g `  G )  e.  S )
118, 10eqeltrd 2283 . 2  |-  ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =  (/) )  ->  ( G  gsumg  W )  e.  S
)
12 eqid 2206 . . . 4  |-  ( Base `  G )  =  (
Base `  G )
13 eqid 2206 . . . 4  |-  ( +g  `  G )  =  ( +g  `  G )
143ad2antrr 488 . . . 4  |-  ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  ->  G  e.  Mnd )
15 lennncl 11031 . . . . . . 7  |-  ( ( W  e. Word  S  /\  W  =/=  (/) )  ->  ( `  W )  e.  NN )
1615adantll 476 . . . . . 6  |-  ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  ->  ( `  W )  e.  NN )
17 nnm1nn0 9351 . . . . . 6  |-  ( ( `  W )  e.  NN  ->  ( ( `  W
)  -  1 )  e.  NN0 )
1816, 17syl 14 . . . . 5  |-  ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  ->  (
( `  W )  - 
1 )  e.  NN0 )
19 nn0uz 9698 . . . . 5  |-  NN0  =  ( ZZ>= `  0 )
2018, 19eleqtrdi 2299 . . . 4  |-  ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  ->  (
( `  W )  - 
1 )  e.  (
ZZ>= `  0 ) )
21 wrdf 11017 . . . . . . 7  |-  ( W  e. Word  S  ->  W : ( 0..^ ( `  W ) ) --> S )
2221ad2antlr 489 . . . . . 6  |-  ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  ->  W : ( 0..^ ( `  W ) ) --> S )
2316nnzd 9509 . . . . . . . 8  |-  ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  ->  ( `  W )  e.  ZZ )
24 fzoval 10285 . . . . . . . 8  |-  ( ( `  W )  e.  ZZ  ->  ( 0..^ ( `  W
) )  =  ( 0 ... ( ( `  W )  -  1 ) ) )
2523, 24syl 14 . . . . . . 7  |-  ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  ->  (
0..^ ( `  W )
)  =  ( 0 ... ( ( `  W
)  -  1 ) ) )
2625feq2d 5422 . . . . . 6  |-  ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  ->  ( W : ( 0..^ ( `  W ) ) --> S  <-> 
W : ( 0 ... ( ( `  W
)  -  1 ) ) --> S ) )
2722, 26mpbid 147 . . . . 5  |-  ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  ->  W : ( 0 ... ( ( `  W
)  -  1 ) ) --> S )
2812submss 13378 . . . . . 6  |-  ( S  e.  (SubMnd `  G
)  ->  S  C_  ( Base `  G ) )
2928ad2antrr 488 . . . . 5  |-  ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  ->  S  C_  ( Base `  G
) )
3027, 29fssd 5447 . . . 4  |-  ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  ->  W : ( 0 ... ( ( `  W
)  -  1 ) ) --> ( Base `  G
) )
3112, 13, 14, 20, 30gsumval2 13299 . . 3  |-  ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  ->  ( G  gsumg  W )  =  (  seq 0 ( ( +g  `  G ) ,  W ) `  ( ( `  W )  -  1 ) ) )
32 fvexg 5607 . . . . 5  |-  ( ( W  e. Word  S  /\  x  e.  ( ZZ>= ` 
0 ) )  -> 
( W `  x
)  e.  _V )
3332ad4ant24 516 . . . 4  |-  ( ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  /\  x  e.  ( ZZ>= ` 
0 ) )  -> 
( W `  x
)  e.  _V )
3427ffvelcdmda 5727 . . . 4  |-  ( ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  /\  x  e.  ( 0 ... ( ( `  W
)  -  1 ) ) )  ->  ( W `  x )  e.  S )
3513submcl 13381 . . . . . 6  |-  ( ( S  e.  (SubMnd `  G )  /\  x  e.  S  /\  y  e.  S )  ->  (
x ( +g  `  G
) y )  e.  S )
36353expb 1207 . . . . 5  |-  ( ( S  e.  (SubMnd `  G )  /\  (
x  e.  S  /\  y  e.  S )
)  ->  ( x
( +g  `  G ) y )  e.  S
)
3736ad4ant14 514 . . . 4  |-  ( ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  /\  ( x  e.  S  /\  y  e.  S
) )  ->  (
x ( +g  `  G
) y )  e.  S )
38 ssv 3219 . . . . 5  |-  S  C_  _V
3938a1i 9 . . . 4  |-  ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  ->  S  C_ 
_V )
40 simprl 529 . . . . 5  |-  ( ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  /\  ( x  e.  _V  /\  y  e.  _V )
)  ->  x  e.  _V )
4114adantr 276 . . . . . 6  |-  ( ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  /\  ( x  e.  _V  /\  y  e.  _V )
)  ->  G  e.  Mnd )
42 plusgslid 13014 . . . . . . 7  |-  ( +g  = Slot  ( +g  `  ndx )  /\  ( +g  `  ndx )  e.  NN )
4342slotex 12929 . . . . . 6  |-  ( G  e.  Mnd  ->  ( +g  `  G )  e. 
_V )
4441, 43syl 14 . . . . 5  |-  ( ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  /\  ( x  e.  _V  /\  y  e.  _V )
)  ->  ( +g  `  G )  e.  _V )
45 simprr 531 . . . . 5  |-  ( ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  /\  ( x  e.  _V  /\  y  e.  _V )
)  ->  y  e.  _V )
46 ovexg 5990 . . . . 5  |-  ( ( x  e.  _V  /\  ( +g  `  G )  e.  _V  /\  y  e.  _V )  ->  (
x ( +g  `  G
) y )  e. 
_V )
4740, 44, 45, 46syl3anc 1250 . . . 4  |-  ( ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  /\  ( x  e.  _V  /\  y  e.  _V )
)  ->  ( x
( +g  `  G ) y )  e.  _V )
4820, 33, 34, 37, 39, 47seq3clss 10633 . . 3  |-  ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  ->  (  seq 0 ( ( +g  `  G ) ,  W
) `  ( ( `  W )  -  1 ) )  e.  S
)
4931, 48eqeltrd 2283 . 2  |-  ( ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  /\  W  =/=  (/) )  ->  ( G  gsumg  W )  e.  S
)
50 wrdfin 11030 . . . . 5  |-  ( W  e. Word  S  ->  W  e.  Fin )
51 fin0or 6997 . . . . 5  |-  ( W  e.  Fin  ->  ( W  =  (/)  \/  E. j  j  e.  W
) )
5250, 51syl 14 . . . 4  |-  ( W  e. Word  S  ->  ( W  =  (/)  \/  E. j  j  e.  W
) )
53 n0r 3478 . . . . 5  |-  ( E. j  j  e.  W  ->  W  =/=  (/) )
5453orim2i 763 . . . 4  |-  ( ( W  =  (/)  \/  E. j  j  e.  W
)  ->  ( W  =  (/)  \/  W  =/=  (/) ) )
5552, 54syl 14 . . 3  |-  ( W  e. Word  S  ->  ( W  =  (/)  \/  W  =/=  (/) ) )
5655adantl 277 . 2  |-  ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  ->  ( W  =  (/)  \/  W  =/=  (/) ) )
5711, 49, 56mpjaodan 800 1  |-  ( ( S  e.  (SubMnd `  G )  /\  W  e. Word  S )  ->  ( G  gsumg  W )  e.  S
)
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    \/ wo 710    = wceq 1373   E.wex 1516    e. wcel 2177    =/= wne 2377   _Vcvv 2773    C_ wss 3170   (/)c0 3464   -->wf 5275   ` cfv 5279  (class class class)co 5956   Fincfn 6839   0cc0 7940   1c1 7941    - cmin 8258   NNcn 9051   NN0cn0 9310   ZZcz 9387   ZZ>=cuz 9663   ...cfz 10145  ..^cfzo 10279    seqcseq 10609  ♯chash 10937  Word cword 11011   Basecbs 12902   +g cplusg 12979   0gc0g 13158    gsumg cgsu 13159   Mndcmnd 13318  SubMndcsubmnd 13360
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-in1 615  ax-in2 616  ax-io 711  ax-5 1471  ax-7 1472  ax-gen 1473  ax-ie1 1517  ax-ie2 1518  ax-8 1528  ax-10 1529  ax-11 1530  ax-i12 1531  ax-bndl 1533  ax-4 1534  ax-17 1550  ax-i9 1554  ax-ial 1558  ax-i5r 1559  ax-13 2179  ax-14 2180  ax-ext 2188  ax-coll 4166  ax-sep 4169  ax-nul 4177  ax-pow 4225  ax-pr 4260  ax-un 4487  ax-setind 4592  ax-iinf 4643  ax-cnex 8031  ax-resscn 8032  ax-1cn 8033  ax-1re 8034  ax-icn 8035  ax-addcl 8036  ax-addrcl 8037  ax-mulcl 8038  ax-addcom 8040  ax-addass 8042  ax-distr 8044  ax-i2m1 8045  ax-0lt1 8046  ax-0id 8048  ax-rnegex 8049  ax-cnre 8051  ax-pre-ltirr 8052  ax-pre-ltwlin 8053  ax-pre-lttrn 8054  ax-pre-apti 8055  ax-pre-ltadd 8056
This theorem depends on definitions:  df-bi 117  df-dc 837  df-3or 982  df-3an 983  df-tru 1376  df-fal 1379  df-nf 1485  df-sb 1787  df-eu 2058  df-mo 2059  df-clab 2193  df-cleq 2199  df-clel 2202  df-nfc 2338  df-ne 2378  df-nel 2473  df-ral 2490  df-rex 2491  df-reu 2492  df-rab 2494  df-v 2775  df-sbc 3003  df-csb 3098  df-dif 3172  df-un 3174  df-in 3176  df-ss 3183  df-nul 3465  df-if 3576  df-pw 3622  df-sn 3643  df-pr 3644  df-op 3646  df-uni 3856  df-int 3891  df-iun 3934  df-br 4051  df-opab 4113  df-mpt 4114  df-tr 4150  df-id 4347  df-iord 4420  df-on 4422  df-ilim 4423  df-suc 4425  df-iom 4646  df-xp 4688  df-rel 4689  df-cnv 4690  df-co 4691  df-dm 4692  df-rn 4693  df-res 4694  df-ima 4695  df-iota 5240  df-fun 5281  df-fn 5282  df-f 5283  df-f1 5284  df-fo 5285  df-f1o 5286  df-fv 5287  df-riota 5911  df-ov 5959  df-oprab 5960  df-mpo 5961  df-1st 6238  df-2nd 6239  df-recs 6403  df-frec 6489  df-1o 6514  df-er 6632  df-en 6840  df-dom 6841  df-fin 6842  df-pnf 8124  df-mnf 8125  df-xr 8126  df-ltxr 8127  df-le 8128  df-sub 8260  df-neg 8261  df-inn 9052  df-2 9110  df-n0 9311  df-z 9388  df-uz 9664  df-fz 10146  df-fzo 10280  df-seqfrec 10610  df-ihash 10938  df-word 11012  df-ndx 12905  df-slot 12906  df-base 12908  df-plusg 12992  df-0g 13160  df-igsum 13161  df-submnd 13362
This theorem is referenced by:  gsumwcl  13399
  Copyright terms: Public domain W3C validator