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

Theorem smndex1id 18068
Description: The modulo function 𝐼 is the identity of the monoid of endofunctions on 0 restricted to the modulo function 𝐼 and the constant functions (𝐺𝐾). (Contributed by AV, 16-Feb-2024.)
Hypotheses
Ref Expression
smndex1ibas.m 𝑀 = (EndoFMnd‘ℕ0)
smndex1ibas.n 𝑁 ∈ ℕ
smndex1ibas.i 𝐼 = (𝑥 ∈ ℕ0 ↦ (𝑥 mod 𝑁))
smndex1ibas.g 𝐺 = (𝑛 ∈ (0..^𝑁) ↦ (𝑥 ∈ ℕ0𝑛))
smndex1mgm.b 𝐵 = ({𝐼} ∪ 𝑛 ∈ (0..^𝑁){(𝐺𝑛)})
smndex1mgm.s 𝑆 = (𝑀s 𝐵)
Assertion
Ref Expression
smndex1id 𝐼 = (0g𝑆)
Distinct variable groups:   𝑥,𝑁,𝑛   𝑥,𝑀   𝑛,𝐺   𝑛,𝑀   𝑥,𝐺   𝑛,𝐼,𝑥   𝑥,𝑆
Allowed substitution hints:   𝐵(𝑥,𝑛)   𝑆(𝑛)

Proof of Theorem smndex1id
Dummy variable 𝑎 is distinct from all other variables.
StepHypRef Expression
1 smndex1ibas.i . . . . . 6 𝐼 = (𝑥 ∈ ℕ0 ↦ (𝑥 mod 𝑁))
2 nn0ex 11891 . . . . . . 7 0 ∈ V
32mptex 6963 . . . . . 6 (𝑥 ∈ ℕ0 ↦ (𝑥 mod 𝑁)) ∈ V
41, 3eqeltri 2886 . . . . 5 𝐼 ∈ V
54snid 4561 . . . 4 𝐼 ∈ {𝐼}
6 elun1 4103 . . . 4 (𝐼 ∈ {𝐼} → 𝐼 ∈ ({𝐼} ∪ 𝑛 ∈ (0..^𝑁){(𝐺𝑛)}))
75, 6ax-mp 5 . . 3 𝐼 ∈ ({𝐼} ∪ 𝑛 ∈ (0..^𝑁){(𝐺𝑛)})
8 smndex1mgm.b . . 3 𝐵 = ({𝐼} ∪ 𝑛 ∈ (0..^𝑁){(𝐺𝑛)})
97, 8eleqtrri 2889 . 2 𝐼𝐵
10 smndex1ibas.m . . . . . 6 𝑀 = (EndoFMnd‘ℕ0)
11 smndex1ibas.n . . . . . 6 𝑁 ∈ ℕ
12 smndex1ibas.g . . . . . 6 𝐺 = (𝑛 ∈ (0..^𝑁) ↦ (𝑥 ∈ ℕ0𝑛))
13 smndex1mgm.s . . . . . 6 𝑆 = (𝑀s 𝐵)
1410, 11, 1, 12, 8, 13smndex1bas 18063 . . . . 5 (Base‘𝑆) = 𝐵
1514eqcomi 2807 . . . 4 𝐵 = (Base‘𝑆)
1615a1i 11 . . 3 (𝐼𝐵𝐵 = (Base‘𝑆))
17 snex 5297 . . . . . 6 {𝐼} ∈ V
18 ovex 7168 . . . . . . 7 (0..^𝑁) ∈ V
19 snex 5297 . . . . . . 7 {(𝐺𝑛)} ∈ V
2018, 19iunex 7651 . . . . . 6 𝑛 ∈ (0..^𝑁){(𝐺𝑛)} ∈ V
2117, 20unex 7449 . . . . 5 ({𝐼} ∪ 𝑛 ∈ (0..^𝑁){(𝐺𝑛)}) ∈ V
228, 21eqeltri 2886 . . . 4 𝐵 ∈ V
23 eqid 2798 . . . . 5 (+g𝑀) = (+g𝑀)
2413, 23ressplusg 16604 . . . 4 (𝐵 ∈ V → (+g𝑀) = (+g𝑆))
2522, 24mp1i 13 . . 3 (𝐼𝐵 → (+g𝑀) = (+g𝑆))
26 id 22 . . 3 (𝐼𝐵𝐼𝐵)
2710, 11, 1smndex1ibas 18057 . . . . . 6 𝐼 ∈ (Base‘𝑀)
2827a1i 11 . . . . 5 (𝐼𝐵𝐼 ∈ (Base‘𝑀))
2910, 11, 1, 12, 8smndex1basss 18062 . . . . . 6 𝐵 ⊆ (Base‘𝑀)
3029sseli 3911 . . . . 5 (𝑎𝐵𝑎 ∈ (Base‘𝑀))
31 eqid 2798 . . . . . 6 (Base‘𝑀) = (Base‘𝑀)
3210, 31, 23efmndov 18038 . . . . 5 ((𝐼 ∈ (Base‘𝑀) ∧ 𝑎 ∈ (Base‘𝑀)) → (𝐼(+g𝑀)𝑎) = (𝐼𝑎))
3328, 30, 32syl2an 598 . . . 4 ((𝐼𝐵𝑎𝐵) → (𝐼(+g𝑀)𝑎) = (𝐼𝑎))
3410, 11, 1, 12, 8, 13smndex1mndlem 18066 . . . . . 6 (𝑎𝐵 → ((𝐼𝑎) = 𝑎 ∧ (𝑎𝐼) = 𝑎))
3534simpld 498 . . . . 5 (𝑎𝐵 → (𝐼𝑎) = 𝑎)
3635adantl 485 . . . 4 ((𝐼𝐵𝑎𝐵) → (𝐼𝑎) = 𝑎)
3733, 36eqtrd 2833 . . 3 ((𝐼𝐵𝑎𝐵) → (𝐼(+g𝑀)𝑎) = 𝑎)
3810, 31, 23efmndov 18038 . . . . 5 ((𝑎 ∈ (Base‘𝑀) ∧ 𝐼 ∈ (Base‘𝑀)) → (𝑎(+g𝑀)𝐼) = (𝑎𝐼))
3930, 28, 38syl2anr 599 . . . 4 ((𝐼𝐵𝑎𝐵) → (𝑎(+g𝑀)𝐼) = (𝑎𝐼))
4034simprd 499 . . . . 5 (𝑎𝐵 → (𝑎𝐼) = 𝑎)
4140adantl 485 . . . 4 ((𝐼𝐵𝑎𝐵) → (𝑎𝐼) = 𝑎)
4239, 41eqtrd 2833 . . 3 ((𝐼𝐵𝑎𝐵) → (𝑎(+g𝑀)𝐼) = 𝑎)
4316, 25, 26, 37, 42grpidd 17873 . 2 (𝐼𝐵𝐼 = (0g𝑆))
449, 43ax-mp 5 1 𝐼 = (0g𝑆)
Colors of variables: wff setvar class
Syntax hints:  wa 399   = wceq 1538  wcel 2111  Vcvv 3441  cun 3879  {csn 4525   ciun 4881  cmpt 5110  ccom 5523  cfv 6324  (class class class)co 7135  0cc0 10526  cn 11625  0cn0 11885  ..^cfzo 13028   mod cmo 13232  Basecbs 16475  s cress 16476  +gcplusg 16557  0gc0g 16705  EndoFMndcefmnd 18025
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441  ax-cnex 10582  ax-resscn 10583  ax-1cn 10584  ax-icn 10585  ax-addcl 10586  ax-addrcl 10587  ax-mulcl 10588  ax-mulrcl 10589  ax-mulcom 10590  ax-addass 10591  ax-mulass 10592  ax-distr 10593  ax-i2m1 10594  ax-1ne0 10595  ax-1rid 10596  ax-rnegex 10597  ax-rrecex 10598  ax-cnre 10599  ax-pre-lttri 10600  ax-pre-lttrn 10601  ax-pre-ltadd 10602  ax-pre-mulgt0 10603  ax-pre-sup 10604
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-nel 3092  df-ral 3111  df-rex 3112  df-reu 3113  df-rmo 3114  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-pss 3900  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4801  df-int 4839  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-pred 6116  df-ord 6162  df-on 6163  df-lim 6164  df-suc 6165  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-riota 7093  df-ov 7138  df-oprab 7139  df-mpo 7140  df-om 7561  df-1st 7671  df-2nd 7672  df-wrecs 7930  df-recs 7991  df-rdg 8029  df-1o 8085  df-oadd 8089  df-er 8272  df-map 8391  df-en 8493  df-dom 8494  df-sdom 8495  df-fin 8496  df-sup 8890  df-inf 8891  df-pnf 10666  df-mnf 10667  df-xr 10668  df-ltxr 10669  df-le 10670  df-sub 10861  df-neg 10862  df-div 11287  df-nn 11626  df-2 11688  df-3 11689  df-4 11690  df-5 11691  df-6 11692  df-7 11693  df-8 11694  df-9 11695  df-n0 11886  df-z 11970  df-uz 12232  df-rp 12378  df-fz 12886  df-fzo 13029  df-fl 13157  df-mod 13233  df-struct 16477  df-ndx 16478  df-slot 16479  df-base 16481  df-sets 16482  df-ress 16483  df-plusg 16570  df-tset 16576  df-0g 16707  df-efmnd 18026
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator