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

Theorem cycsubm 19469
Description: The set of nonnegative integer powers of an element 𝐴 of a monoid forms a submonoid containing 𝐴 (see cycsubmcl 19468), 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 19352 . . . . . . 7 ((𝐺 ∈ Mnd ∧ 𝑥 ∈ ℕ0 ∧ 𝐴 ∈ 𝐵) → (𝑥 · 𝐴) ∈ 𝐵)
543expa 1137 . . . . . 6 (((𝐺 ∈ Mnd ∧ 𝑥 ∈ ℕ0) ∧ 𝐴 ∈ 𝐵) → (𝑥 · 𝐴) ∈ 𝐵)
65an32s 665 . . . . 5 (((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑥 ∈ ℕ0) → (𝑥 · 𝐴) ∈ 𝐵)
7 cycsubm.f . . . . 5 𝐹 = (𝑥 ∈ ℕ0 ↦ (𝑥 · 𝐴))
86, 7fmptd 7145 . . . 4 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → 𝐹:ℕ0⟶𝐵)
98frnd 6747 . . 3 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → ran 𝐹 ⊆ 𝐵)
101, 9eqsstrid 3950 . 2 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → 𝐶 ⊆ 𝐵)
11 0nn0 12660 . . . . 5 0 ∈ ℕ0
1211a1i 11 . . . 4 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → 0 ∈ ℕ0)
13 oveq1 7457 . . . . . 6 (𝑖 = 0 → (𝑖 · 𝐴) = (0 · 𝐴))
1413eqeq2d 2777 . . . . 5 (𝑖 = 0 → ((0g‘𝐺) = (𝑖 · 𝐴) ↔ (0g‘𝐺) = (0 · 𝐴)))
1514adantl 487 . . . 4 (((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 = 0) → ((0g‘𝐺) = (𝑖 · 𝐴) ↔ (0g‘𝐺) = (0 · 𝐴)))
16 eqid 2766 . . . . . . 7 (0g‘𝐺) = (0g‘𝐺)
172, 16, 3mulg0 19336 . . . . . 6 (𝐴 ∈ 𝐵 → (0 · 𝐴) = (0g‘𝐺))
1817adantl 487 . . . . 5 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → (0 · 𝐴) = (0g‘𝐺))
1918eqcomd 2772 . . . 4 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → (0g‘𝐺) = (0 · 𝐴))
2012, 15, 19rspcedvd 3581 . . 3 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → ∃𝑖 ∈ ℕ0 (0g‘𝐺) = (𝑖 · 𝐴))
212, 3, 7, 1cycsubmel 19467 . . 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 12710 . . . . . . . . . . 11 ((((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) ∧ 𝑗 ∈ ℕ0) → (𝑖 + 𝑗) ∈ ℕ0)
2625adantr 486 . . . . . . . . . 10 (((((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) ∧ 𝑗 ∈ ℕ0) ∧ (𝑏 = (𝑗 · 𝐴) ∧ 𝑎 = (𝑖 · 𝐴))) → (𝑖 + 𝑗) ∈ ℕ0)
27 oveq1 7457 . . . . . . . . . . . 12 (𝑘 = (𝑖 + 𝑗) → (𝑘 · 𝐴) = ((𝑖 + 𝑗) · 𝐴))
2827eqeq2d 2777 . . . . . . . . . . 11 (𝑘 = (𝑖 + 𝑗) → ((𝑎(+g‘𝐺)𝑏) = (𝑘 · 𝐴) ↔ (𝑎(+g‘𝐺)𝑏) = ((𝑖 + 𝑗) · 𝐴)))
2928adantl 487 . . . . . . . . . 10 ((((((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) ∧ 𝑗 ∈ ℕ0) ∧ (𝑏 = (𝑗 · 𝐴) ∧ 𝑎 = (𝑖 · 𝐴))) ∧ 𝑘 = (𝑖 + 𝑗)) → ((𝑎(+g‘𝐺)𝑏) = (𝑘 · 𝐴) ↔ (𝑎(+g‘𝐺)𝑏) = ((𝑖 + 𝑗) · 𝐴)))
30 oveq12 7459 . . . . . . . . . . . 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 2766 . . . . . . . . . . . . . 14 (+g‘𝐺) = (+g‘𝐺)
352, 3, 34mulgnn0dir 19366 . . . . . . . . . . . . 13 ((𝐺 ∈ Mnd ∧ (𝑖 ∈ ℕ0 ∧ 𝑗 ∈ ℕ0 ∧ 𝐴 ∈ 𝐵)) → ((𝑖 + 𝑗) · 𝐴) = ((𝑖 · 𝐴)(+g‘𝐺)(𝑗 · 𝐴)))
3632, 23, 24, 33, 35syl13anc 1402 . . . . . . . . . . . 12 ((((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) ∧ 𝑗 ∈ ℕ0) → ((𝑖 + 𝑗) · 𝐴) = ((𝑖 · 𝐴)(+g‘𝐺)(𝑗 · 𝐴)))
3736eqcomd 2772 . . . . . . . . . . 11 ((((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) ∧ 𝑗 ∈ ℕ0) → ((𝑖 · 𝐴)(+g‘𝐺)(𝑗 · 𝐴)) = ((𝑖 + 𝑗) · 𝐴))
3831, 37sylan9eqr 2823 . . . . . . . . . 10 (((((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) ∧ 𝑗 ∈ ℕ0) ∧ (𝑏 = (𝑗 · 𝐴) ∧ 𝑎 = (𝑖 · 𝐴))) → (𝑎(+g‘𝐺)𝑏) = ((𝑖 + 𝑗) · 𝐴))
3926, 29, 38rspcedvd 3581 . . . . . . . . 9 (((((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) ∧ 𝑗 ∈ ℕ0) ∧ (𝑏 = (𝑗 · 𝐴) ∧ 𝑎 = (𝑖 · 𝐴))) → ∃𝑘 ∈ ℕ0 (𝑎(+g‘𝐺)𝑏) = (𝑘 · 𝐴))
4039exp32 426 . . . . . . . 8 ((((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) ∧ 𝑗 ∈ ℕ0) → (𝑏 = (𝑗 · 𝐴) → (𝑎 = (𝑖 · 𝐴) → ∃𝑘 ∈ ℕ0 (𝑎(+g‘𝐺)𝑏) = (𝑘 · 𝐴))))
4140rexlimdva 3170 . . . . . . 7 (((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) → (∃𝑗 ∈ ℕ0 𝑏 = (𝑗 · 𝐴) → (𝑎 = (𝑖 · 𝐴) → ∃𝑘 ∈ ℕ0 (𝑎(+g‘𝐺)𝑏) = (𝑘 · 𝐴))))
4241com23 87 . . . . . 6 (((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) ∧ 𝑖 ∈ ℕ0) → (𝑎 = (𝑖 · 𝐴) → (∃𝑗 ∈ ℕ0 𝑏 = (𝑗 · 𝐴) → ∃𝑘 ∈ ℕ0 (𝑎(+g‘𝐺)𝑏) = (𝑘 · 𝐴))))
4342rexlimdva 3170 . . . . 5 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → (∃𝑖 ∈ ℕ0 𝑎 = (𝑖 · 𝐴) → (∃𝑗 ∈ ℕ0 𝑏 = (𝑗 · 𝐴) → ∃𝑘 ∈ ℕ0 (𝑎(+g‘𝐺)𝑏) = (𝑘 · 𝐴))))
4443impd 416 . . . 4 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → ((∃𝑖 ∈ ℕ0 𝑎 = (𝑖 · 𝐴) ∧ ∃𝑗 ∈ ℕ0 𝑏 = (𝑗 · 𝐴)) → ∃𝑘 ∈ ℕ0 (𝑎(+g‘𝐺)𝑏) = (𝑘 · 𝐴)))
452, 3, 7, 1cycsubmel 19467 . . . . 5 (𝑎 ∈ 𝐶 ↔ ∃𝑖 ∈ ℕ0 𝑎 = (𝑖 · 𝐴))
462, 3, 7, 1cycsubmel 19467 . . . . 5 (𝑏 ∈ 𝐶 ↔ ∃𝑗 ∈ ℕ0 𝑏 = (𝑗 · 𝐴))
4745, 46anbi12i 640 . . . 4 ((𝑎 ∈ 𝐶 ∧ 𝑏 ∈ 𝐶) ↔ (∃𝑖 ∈ ℕ0 𝑎 = (𝑖 · 𝐴) ∧ ∃𝑗 ∈ ℕ0 𝑏 = (𝑗 · 𝐴)))
482, 3, 7, 1cycsubmel 19467 . . . 4 ((𝑎(+g‘𝐺)𝑏) ∈ 𝐶 ↔ ∃𝑘 ∈ ℕ0 (𝑎(+g‘𝐺)𝑏) = (𝑘 · 𝐴))
4944, 47, 483imtr4g 299 . . 3 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → ((𝑎 ∈ 𝐶 ∧ 𝑏 ∈ 𝐶) → (𝑎(+g‘𝐺)𝑏) ∈ 𝐶))
5049ralrimivv 3210 . 2 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → ∀𝑎 ∈ 𝐶 ∀𝑏 ∈ 𝐶 (𝑎(+g‘𝐺)𝑏) ∈ 𝐶)
512, 16, 34issubm 19050 . . 3 (𝐺 ∈ Mnd → (𝐶 ∈ (SubMnd‘𝐺) ↔ (𝐶 ⊆ 𝐵 ∧ (0g‘𝐺) ∈ 𝐶 ∧ ∀𝑎 ∈ 𝐶 ∀𝑏 ∈ 𝐶 (𝑎(+g‘𝐺)𝑏) ∈ 𝐶)))
5251adantr 486 . 2 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → (𝐶 ∈ (SubMnd‘𝐺) ↔ (𝐶 ⊆ 𝐵 ∧ (0g‘𝐺) ∈ 𝐶 ∧ ∀𝑎 ∈ 𝐶 ∀𝑏 ∈ 𝐶 (𝑎(+g‘𝐺)𝑏) ∈ 𝐶)))
5310, 22, 50, 52mpbir3and 1363 1 ((𝐺 ∈ Mnd ∧ 𝐴 ∈ 𝐵) → 𝐶 ∈ (SubMnd‘𝐺))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1104   = wceq 1572   ∈ wcel 2150  ∀wral 3083  ∃wrex 3093   ⊆ wss 3899   ↦ cmpt 5191  ran crn 5658  ‘cfv 6565  (class class class)co 7450  0cc0 11238   + caddc 11241  ℕ0cn0 12645  Basecbs 17433  +gcplusg 17474  0gc0g 17662  Mndcmnd 18975  SubMndcsubmnd 19029  .gcmg 19329
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7782  ax-cnex 11294  ax-resscn 11295  ax-1cn 11296  ax-icn 11297  ax-addcl 11298  ax-addrcl 11299  ax-mulcl 11300  ax-mulrcl 11301  ax-mulcom 11302  ax-addass 11303  ax-mulass 11304  ax-distr 11305  ax-i2m1 11306  ax-1ne0 11307  ax-1rid 11308  ax-rnegex 11309  ax-rrecex 11310  ax-cnre 11311  ax-pre-lttri 11312  ax-pre-lttrn 11313  ax-pre-ltadd 11314  ax-pre-mulgt0 11315
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-nel 3069  df-ral 3084  df-rex 3094  df-rmo 3368  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5552  df-eprel 5557  df-po 5565  df-so 5566  df-fr 5610  df-we 5612  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-pred 6329  df-ord 6390  df-on 6391  df-lim 6392  df-suc 6393  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573  df-riota 7407  df-ov 7453  df-oprab 7454  df-mpo 7455  df-om 7911  df-1st 8034  df-2nd 8035  df-frecs 8336  df-wrecs 8367  df-recs 8416  df-rdg 8455  df-er 8754  df-en 9011  df-dom 9012  df-sdom 9013  df-pnf 11383  df-mnf 11384  df-xr 11385  df-ltxr 11386  df-le 11387  df-sub 11581  df-neg 11582  df-nn 12375  df-n0 12646  df-z 12733  df-uz 13005  df-fz 13679  df-seq 14184  df-0g 17664  df-mgm 18868  df-sgrp 18960  df-mnd 18976  df-submnd 19031  df-mulg 19330
This theorem is used by:  cycsubmcmn  20156
  Copyright terms: Public domain W3C validator