MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  cycsubm Structured version   Visualization version   GIF version

Theorem cycsubm 19443
Description: The set of nonnegative integer powers of an element 𝐴 of a monoid forms a submonoid containing 𝐴 (see cycsubmcl 19442), called the cyclic monoid generated by the element 𝐴. This corresponds to the statement in [Lang] p. 6. (Contributed by AV, 28-Dec-2023.)
Hypotheses
Ref Expression
cycsubm.b 𝐵 = (Base‘𝐺)
cycsubm.t · = (.g‘𝐺)
cycsubm.f 𝐹 = (𝑥 ∈ ℕ0 ↦ (𝑥 · 𝐴))
cycsubm.c 𝐶 = ran 𝐹
Assertion
Ref Expression
cycsubm ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → 𝐶 ∈ (SubMnd‘𝐺))
Distinct variable groups:   𝑥,𝐴   𝑥, ·   𝑥,𝐵   𝑥,𝐺
Allowed substitution hints:   𝐶(𝑥)   𝐹(𝑥)

Proof of Theorem cycsubm
Dummy variables 𝑖 𝑎 𝑏 𝑗 𝑘 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 cycsubm.c . . 3 𝐶 = ran 𝐹
2 cycsubm.b . . . . . . . 8 𝐵 = (Base‘𝐺)
3 cycsubm.t . . . . . . . 8 · = (.g‘𝐺)
42, 3mulgnn0cl 19326 . . . . . . 7 ((𝐺 ∈ Mnd ∧ 𝑥 ∈ ℕ0 ∧ 𝐴 ∈ 𝐵) → (𝑥 · 𝐴) ∈ 𝐵)
543expa 1136 . . . . . 6 (((𝐺 ∈ Mnd ∧ 𝑥 ∈ ℕ0) ∧ 𝐴 ∈ 𝐵) → (𝑥 · 𝐴) ∈ 𝐵)
65an32s 665 . . . . 5 (((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑥 ∈ ℕ0) → (𝑥 · 𝐴) ∈ 𝐵)
7 cycsubm.f . . . . 5 𝐹 = (𝑥 ∈ ℕ0 ↦ (𝑥 · 𝐴))
86, 7fmptd 7135 . . . 4 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → 𝐹:ℕ0⟶𝐵)
98frnd 6737 . . 3 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → ran 𝐹 ⊆ 𝐵)
101, 9eqsstrid 3951 . 2 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → 𝐶 ⊆ 𝐵)
11 0nn0 12645 . . . . 5 0 ∈ ℕ0
1211a1i 11 . . . 4 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → 0 ∈ ℕ0)
13 oveq1 7447 . . . . . 6 (𝑖 = 0 → (𝑖 · 𝐴) = (0 · 𝐴))
1413eqeq2d 2774 . . . . 5 (𝑖 = 0 → ((0g‘𝐺) = (𝑖 · 𝐴) ↔ (0g‘𝐺) = (0 · 𝐴)))
1514adantl 487 . . . 4 (((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 = 0) → ((0g‘𝐺) = (𝑖 · 𝐴) ↔ (0g‘𝐺) = (0 · 𝐴)))
16 eqid 2763 . . . . . . 7 (0g‘𝐺) = (0g‘𝐺)
172, 16, 3mulg0 19310 . . . . . 6 (𝐴 ∈ 𝐵 → (0 · 𝐴) = (0g‘𝐺))
1817adantl 487 . . . . 5 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → (0 · 𝐴) = (0g‘𝐺))
1918eqcomd 2769 . . . 4 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → (0g‘𝐺) = (0 · 𝐴))
2012, 15, 19rspcedvd 3582 . . 3 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → ∃𝑖 ∈ ℕ0 (0g‘𝐺) = (𝑖 · 𝐴))
212, 3, 7, 1cycsubmel 19441 . . 3 ((0g‘𝐺) ∈ 𝐶 ↔ ∃𝑖 ∈ ℕ0 (0g‘𝐺) = (𝑖 · 𝐴))
2220, 21sylibr 237 . 2 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → (0g‘𝐺) ∈ 𝐶)
23 simplr 781 . . . . . . . . . . . 12 ((((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) ∧ 𝑗 ∈ ℕ0) → 𝑖 ∈ ℕ0)
24 simpr 490 . . . . . . . . . . . 12 ((((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) ∧ 𝑗 ∈ ℕ0) → 𝑗 ∈ ℕ0)
2523, 24nn0addcld 12695 . . . . . . . . . . 11 ((((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) ∧ 𝑗 ∈ ℕ0) → (𝑖 + 𝑗) ∈ ℕ0)
2625adantr 486 . . . . . . . . . 10 (((((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) ∧ 𝑗 ∈ ℕ0) ∧ (𝑏 = (𝑗 · 𝐴) ∧ 𝑎 = (𝑖 · 𝐴))) → (𝑖 + 𝑗) ∈ ℕ0)
27 oveq1 7447 . . . . . . . . . . . 12 (𝑘 = (𝑖 + 𝑗) → (𝑘 · 𝐴) = ((𝑖 + 𝑗) · 𝐴))
2827eqeq2d 2774 . . . . . . . . . . 11 (𝑘 = (𝑖 + 𝑗) → ((𝑎(+g‘𝐺)𝑏) = (𝑘 · 𝐴) ↔ (𝑎(+g‘𝐺)𝑏) = ((𝑖 + 𝑗) · 𝐴)))
2928adantl 487 . . . . . . . . . 10 ((((((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) ∧ 𝑗 ∈ ℕ0) ∧ (𝑏 = (𝑗 · 𝐴) ∧ 𝑎 = (𝑖 · 𝐴))) ∧ 𝑘 = (𝑖 + 𝑗)) → ((𝑎(+g‘𝐺)𝑏) = (𝑘 · 𝐴) ↔ (𝑎(+g‘𝐺)𝑏) = ((𝑖 + 𝑗) · 𝐴)))
30 oveq12 7449 . . . . . . . . . . . 12 ((𝑎 = (𝑖 · 𝐴) ∧ 𝑏 = (𝑗 · 𝐴)) → (𝑎(+g‘𝐺)𝑏) = ((𝑖 · 𝐴)(+g‘𝐺)(𝑗 · 𝐴)))
3130ancoms 464 . . . . . . . . . . 11 ((𝑏 = (𝑗 · 𝐴) ∧ 𝑎 = (𝑖 · 𝐴)) → (𝑎(+g‘𝐺)𝑏) = ((𝑖 · 𝐴)(+g‘𝐺)(𝑗 · 𝐴)))
32 simplll 787 . . . . . . . . . . . . 13 ((((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) ∧ 𝑗 ∈ ℕ0) → 𝐺 ∈ Mnd)
33 simpllr 788 . . . . . . . . . . . . 13 ((((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) ∧ 𝑗 ∈ ℕ0) → 𝐴 ∈ 𝐵)
34 eqid 2763 . . . . . . . . . . . . . 14 (+g‘𝐺) = (+g‘𝐺)
352, 3, 34mulgnn0dir 19340 . . . . . . . . . . . . 13 ((𝐺 ∈ Mnd ∧ (𝑖 ∈ ℕ0 ∧ 𝑗 ∈ ℕ0 ∧ 𝐴 ∈ 𝐵)) → ((𝑖 + 𝑗) · 𝐴) = ((𝑖 · 𝐴)(+g‘𝐺)(𝑗 · 𝐴)))
3632, 23, 24, 33, 35syl13anc 1400 . . . . . . . . . . . 12 ((((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) ∧ 𝑗 ∈ ℕ0) → ((𝑖 + 𝑗) · 𝐴) = ((𝑖 · 𝐴)(+g‘𝐺)(𝑗 · 𝐴)))
3736eqcomd 2769 . . . . . . . . . . 11 ((((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) ∧ 𝑗 ∈ ℕ0) → ((𝑖 · 𝐴)(+g‘𝐺)(𝑗 · 𝐴)) = ((𝑖 + 𝑗) · 𝐴))
3831, 37sylan9eqr 2820 . . . . . . . . . 10 (((((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) ∧ 𝑗 ∈ ℕ0) ∧ (𝑏 = (𝑗 · 𝐴) ∧ 𝑎 = (𝑖 · 𝐴))) → (𝑎(+g‘𝐺)𝑏) = ((𝑖 + 𝑗) · 𝐴))
3926, 29, 38rspcedvd 3582 . . . . . . . . 9 (((((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) ∧ 𝑗 ∈ ℕ0) ∧ (𝑏 = (𝑗 · 𝐴) ∧ 𝑎 = (𝑖 · 𝐴))) → ∃𝑘 ∈ ℕ0 (𝑎(+g‘𝐺)𝑏) = (𝑘 · 𝐴))
4039exp32 426 . . . . . . . 8 ((((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) ∧ 𝑗 ∈ ℕ0) → (𝑏 = (𝑗 · 𝐴) → (𝑎 = (𝑖 · 𝐴) → ∃𝑘 ∈ ℕ0 (𝑎(+g‘𝐺)𝑏) = (𝑘 · 𝐴))))
4140rexlimdva 3167 . . . . . . 7 (((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) → (∃𝑗 ∈ ℕ0 𝑏 = (𝑗 · 𝐴) → (𝑎 = (𝑖 · 𝐴) → ∃𝑘 ∈ ℕ0 (𝑎(+g‘𝐺)𝑏) = (𝑘 · 𝐴))))
4241com23 87 . . . . . 6 (((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) → (𝑎 = (𝑖 · 𝐴) → (∃𝑗 ∈ ℕ0 𝑏 = (𝑗 · 𝐴) → ∃𝑘 ∈ ℕ0 (𝑎(+g‘𝐺)𝑏) = (𝑘 · 𝐴))))
4342rexlimdva 3167 . . . . 5 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → (∃𝑖 ∈ ℕ0 𝑎 = (𝑖 · 𝐴) → (∃𝑗 ∈ ℕ0 𝑏 = (𝑗 · 𝐴) → ∃𝑘 ∈ ℕ0 (𝑎(+g‘𝐺)𝑏) = (𝑘 · 𝐴))))
4443impd 416 . . . 4 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → ((∃𝑖 ∈ ℕ0 𝑎 = (𝑖 · 𝐴) ∧ ∃𝑗 ∈ ℕ0 𝑏 = (𝑗 · 𝐴)) → ∃𝑘 ∈ ℕ0 (𝑎(+g‘𝐺)𝑏) = (𝑘 · 𝐴)))
452, 3, 7, 1cycsubmel 19441 . . . . 5 (𝑎 ∈ 𝐶 ↔ ∃𝑖 ∈ ℕ0 𝑎 = (𝑖 · 𝐴))
462, 3, 7, 1cycsubmel 19441 . . . . 5 (𝑏 ∈ 𝐶 ↔ ∃𝑗 ∈ ℕ0 𝑏 = (𝑗 · 𝐴))
4745, 46anbi12i 640 . . . 4 ((𝑎 ∈ 𝐶 ∧ 𝑏 ∈ 𝐶) ↔ (∃𝑖 ∈ ℕ0 𝑎 = (𝑖 · 𝐴) ∧ ∃𝑗 ∈ ℕ0 𝑏 = (𝑗 · 𝐴)))
482, 3, 7, 1cycsubmel 19441 . . . 4 ((𝑎(+g‘𝐺)𝑏) ∈ 𝐶 ↔ ∃𝑘 ∈ ℕ0 (𝑎(+g‘𝐺)𝑏) = (𝑘 · 𝐴))
4944, 47, 483imtr4g 299 . . 3 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → ((𝑎 ∈ 𝐶 ∧ 𝑏 ∈ 𝐶) → (𝑎(+g‘𝐺)𝑏) ∈ 𝐶))
5049ralrimivv 3207 . 2 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → ∀𝑎 ∈ 𝐶 ∀𝑏 ∈ 𝐶 (𝑎(+g‘𝐺)𝑏) ∈ 𝐶)
512, 16, 34issubm 19024 . . 3 (𝐺 ∈ Mnd → (𝐶 ∈ (SubMnd‘𝐺) ↔ (𝐶 ⊆ 𝐵 ∧ (0g‘𝐺) ∈ 𝐶 ∧ ∀𝑎 ∈ 𝐶 ∀𝑏 ∈ 𝐶 (𝑎(+g‘𝐺)𝑏) ∈ 𝐶)))
5251adantr 486 . 2 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → (𝐶 ∈ (SubMnd‘𝐺) ↔ (𝐶 ⊆ 𝐵 ∧ (0g‘𝐺) ∈ 𝐶 ∧ ∀𝑎 ∈ 𝐶 ∀𝑏 ∈ 𝐶 (𝑎(+g‘𝐺)𝑏) ∈ 𝐶)))
5310, 22, 50, 52mpbir3and 1361 1 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → 𝐶 ∈ (SubMnd‘𝐺))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2147  ∀wral 3080  ∃wrex 3090   ⊆ wss 3900   ↦ cmpt 5189  ran crn 5656  ‘cfv 6555  (class class class)co 7440  0cc0 11224   + caddc 11227  ℕ0cn0 12630  Basecbs 17413  +gcplusg 17454  0gc0g 17636  Mndcmnd 18949  SubMndcsubmnd 19003  .gcmg 19303
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7772  ax-cnex 11280  ax-resscn 11281  ax-1cn 11282  ax-icn 11283  ax-addcl 11284  ax-addrcl 11285  ax-mulcl 11286  ax-mulrcl 11287  ax-mulcom 11288  ax-addass 11289  ax-mulass 11290  ax-distr 11291  ax-i2m1 11292  ax-1ne0 11293  ax-1rid 11294  ax-rnegex 11295  ax-rrecex 11296  ax-cnre 11297  ax-pre-lttri 11298  ax-pre-lttrn 11299  ax-pre-ltadd 11300  ax-pre-mulgt0 11301
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6319  df-ord 6380  df-on 6381  df-lim 6382  df-suc 6383  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562  df-fv 6563  df-riota 7397  df-ov 7443  df-oprab 7444  df-mpo 7445  df-om 7899  df-1st 8022  df-2nd 8023  df-frecs 8324  df-wrecs 8355  df-recs 8404  df-rdg 8443  df-er 8742  df-en 8999  df-dom 9000  df-sdom 9001  df-pnf 11369  df-mnf 11370  df-xr 11371  df-ltxr 11372  df-le 11373  df-sub 11567  df-neg 11568  df-nn 12360  df-n0 12631  df-z 12718  df-uz 12990  df-fz 13664  df-seq 14169  df-0g 17638  df-mgm 18842  df-sgrp 18934  df-mnd 18950  df-submnd 19005  df-mulg 19304
This theorem is used by:  cycsubmcmn  20130
  Copyright terms: Public domain W3C validator