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

Theorem smndex1basss 18944
Description: The modulo function 𝐼 and the constant functions (𝐺𝐾) are endofunctions on 0. (Contributed by AV, 12-Feb-2024.)
Hypotheses
Ref Expression
smndex1ibas.m 𝑀 = (EndoFMnd‘ℕ0)
smndex1ibas.n 𝑁 ∈ ℕ
smndex1ibas.i 𝐼 = (𝑥 ∈ ℕ0 ↦ (𝑥 mod 𝑁))
smndex1ibas.g 𝐺 = (𝑛 ∈ (0..^𝑁) ↦ (𝑥 ∈ ℕ0𝑛))
smndex1mgm.b 𝐵 = ({𝐼} ∪ 𝑛 ∈ (0..^𝑁){(𝐺𝑛)})
Assertion
Ref Expression
smndex1basss 𝐵 ⊆ (Base‘𝑀)
Distinct variable groups:   𝑥,𝑁,𝑛   𝑥,𝑀   𝑛,𝐺   𝑛,𝑀
Allowed substitution hints:   𝐵(𝑥,𝑛)   𝐺(𝑥)   𝐼(𝑥,𝑛)

Proof of Theorem smndex1basss
Dummy variables 𝑏 𝑘 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 smndex1mgm.b . . . . . 6 𝐵 = ({𝐼} ∪ 𝑛 ∈ (0..^𝑁){(𝐺𝑛)})
21eleq2i 2856 . . . . 5 (𝑏𝐵𝑏 ∈ ({𝐼} ∪ 𝑛 ∈ (0..^𝑁){(𝐺𝑛)}))
3 fveq2 6869 . . . . . . . . 9 (𝑛 = 𝑘 → (𝐺𝑛) = (𝐺𝑘))
43sneqd 4596 . . . . . . . 8 (𝑛 = 𝑘 → {(𝐺𝑛)} = {(𝐺𝑘)})
54cbviunv 4998 . . . . . . 7 𝑛 ∈ (0..^𝑁){(𝐺𝑛)} = 𝑘 ∈ (0..^𝑁){(𝐺𝑘)}
65uneq2i 4120 . . . . . 6 ({𝐼} ∪ 𝑛 ∈ (0..^𝑁){(𝐺𝑛)}) = ({𝐼} ∪ 𝑘 ∈ (0..^𝑁){(𝐺𝑘)})
76eleq2i 2856 . . . . 5 (𝑏 ∈ ({𝐼} ∪ 𝑛 ∈ (0..^𝑁){(𝐺𝑛)}) ↔ 𝑏 ∈ ({𝐼} ∪ 𝑘 ∈ (0..^𝑁){(𝐺𝑘)}))
82, 7bitri 277 . . . 4 (𝑏𝐵𝑏 ∈ ({𝐼} ∪ 𝑘 ∈ (0..^𝑁){(𝐺𝑘)}))
9 elun 4108 . . . 4 (𝑏 ∈ ({𝐼} ∪ 𝑘 ∈ (0..^𝑁){(𝐺𝑘)}) ↔ (𝑏 ∈ {𝐼} ∨ 𝑏 𝑘 ∈ (0..^𝑁){(𝐺𝑘)}))
10 velsn 4600 . . . . 5 (𝑏 ∈ {𝐼} ↔ 𝑏 = 𝐼)
11 eliun 4955 . . . . 5 (𝑏 𝑘 ∈ (0..^𝑁){(𝐺𝑘)} ↔ ∃𝑘 ∈ (0..^𝑁)𝑏 ∈ {(𝐺𝑘)})
1210, 11orbi12i 925 . . . 4 ((𝑏 ∈ {𝐼} ∨ 𝑏 𝑘 ∈ (0..^𝑁){(𝐺𝑘)}) ↔ (𝑏 = 𝐼 ∨ ∃𝑘 ∈ (0..^𝑁)𝑏 ∈ {(𝐺𝑘)}))
138, 9, 123bitri 299 . . 3 (𝑏𝐵 ↔ (𝑏 = 𝐼 ∨ ∃𝑘 ∈ (0..^𝑁)𝑏 ∈ {(𝐺𝑘)}))
14 smndex1ibas.m . . . . . 6 𝑀 = (EndoFMnd‘ℕ0)
15 smndex1ibas.n . . . . . 6 𝑁 ∈ ℕ
16 smndex1ibas.i . . . . . 6 𝐼 = (𝑥 ∈ ℕ0 ↦ (𝑥 mod 𝑁))
1714, 15, 16smndex1ibas 18936 . . . . 5 𝐼 ∈ (Base‘𝑀)
18 eleq1 2852 . . . . 5 (𝑏 = 𝐼 → (𝑏 ∈ (Base‘𝑀) ↔ 𝐼 ∈ (Base‘𝑀)))
1917, 18mpbiri 260 . . . 4 (𝑏 = 𝐼𝑏 ∈ (Base‘𝑀))
20 smndex1ibas.g . . . . . . . 8 𝐺 = (𝑛 ∈ (0..^𝑁) ↦ (𝑥 ∈ ℕ0𝑛))
2114, 15, 16, 20smndex1gbas 18938 . . . . . . 7 (𝑘 ∈ (0..^𝑁) → (𝐺𝑘) ∈ (Base‘𝑀))
2221adantr 484 . . . . . 6 ((𝑘 ∈ (0..^𝑁) ∧ 𝑏 ∈ {(𝐺𝑘)}) → (𝐺𝑘) ∈ (Base‘𝑀))
23 elsni 4601 . . . . . . . 8 (𝑏 ∈ {(𝐺𝑘)} → 𝑏 = (𝐺𝑘))
2423eleq1d 2849 . . . . . . 7 (𝑏 ∈ {(𝐺𝑘)} → (𝑏 ∈ (Base‘𝑀) ↔ (𝐺𝑘) ∈ (Base‘𝑀)))
2524adantl 485 . . . . . 6 ((𝑘 ∈ (0..^𝑁) ∧ 𝑏 ∈ {(𝐺𝑘)}) → (𝑏 ∈ (Base‘𝑀) ↔ (𝐺𝑘) ∈ (Base‘𝑀)))
2622, 25mpbird 259 . . . . 5 ((𝑘 ∈ (0..^𝑁) ∧ 𝑏 ∈ {(𝐺𝑘)}) → 𝑏 ∈ (Base‘𝑀))
2726rexlimiva 3157 . . . 4 (∃𝑘 ∈ (0..^𝑁)𝑏 ∈ {(𝐺𝑘)} → 𝑏 ∈ (Base‘𝑀))
2819, 27jaoi 868 . . 3 ((𝑏 = 𝐼 ∨ ∃𝑘 ∈ (0..^𝑁)𝑏 ∈ {(𝐺𝑘)}) → 𝑏 ∈ (Base‘𝑀))
2913, 28sylbi 219 . 2 (𝑏𝐵𝑏 ∈ (Base‘𝑀))
3029ssriv 3942 1 𝐵 ⊆ (Base‘𝑀)
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 399  wo 858   = wceq 1562  wcel 2144  wrex 3088  cun 3904  wss 3906  {csn 4584   ciun 4951  cmpt 5183  cfv 6523  (class class class)co 7398  0cc0 11075  cn 12212  0cn0 12483  ..^cfzo 13661   mod cmo 13881  Basecbs 17247  EndoFMndcefmnd 18904
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1817  ax-4 1831  ax-5 1932  ax-6 1989  ax-7 2030  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2214  ax-ext 2736  ax-sep 5248  ax-nul 5258  ax-pow 5324  ax-pr 5392  ax-un 7720  ax-cnex 11131  ax-resscn 11132  ax-1cn 11133  ax-icn 11134  ax-addcl 11135  ax-addrcl 11136  ax-mulcl 11137  ax-mulrcl 11138  ax-mulcom 11139  ax-addass 11140  ax-mulass 11141  ax-distr 11142  ax-i2m1 11143  ax-1ne0 11144  ax-1rid 11145  ax-rnegex 11146  ax-rrecex 11147  ax-cnre 11148  ax-pre-lttri 11149  ax-pre-lttrn 11150  ax-pre-ltadd 11151  ax-pre-mulgt0 11152  ax-pre-sup 11153
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3or 1100  df-3an 1101  df-tru 1565  df-fal 1575  df-ex 1802  df-nf 1806  df-sb 2093  df-mo 2568  df-eu 2598  df-clab 2743  df-cleq 2756  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3064  df-ral 3079  df-rex 3089  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3458  df-sbc 3747  df-csb 3855  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-pss 3926  df-nul 4288  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4591  df-uni 4868  df-iun 4953  df-br 5103  df-opab 5165  df-mpt 5184  df-tr 5210  df-id 5544  df-eprel 5549  df-po 5557  df-so 5558  df-fr 5602  df-we 5604  df-xp 5655  df-rel 5656  df-cnv 5657  df-co 5658  df-dm 5659  df-rn 5660  df-res 5661  df-ima 5662  df-pred 6290  df-ord 6351  df-on 6352  df-lim 6353  df-suc 6354  df-iota 6479  df-fun 6525  df-fn 6526  df-f 6527  df-f1 6528  df-fo 6529  df-f1o 6530  df-fv 6531  df-riota 7355  df-ov 7401  df-oprab 7402  df-mpo 7403  df-om 7849  df-1st 7972  df-2nd 7973  df-frecs 8264  df-wrecs 8295  df-recs 8344  df-rdg 8383  df-1o 8439  df-er 8680  df-map 8812  df-en 8930  df-dom 8931  df-sdom 8932  df-fin 8933  df-sup 9390  df-inf 9391  df-pnf 11220  df-mnf 11221  df-xr 11222  df-ltxr 11223  df-le 11224  df-sub 11418  df-neg 11419  df-div 11847  df-nn 12213  df-2 12282  df-3 12283  df-4 12284  df-5 12285  df-6 12286  df-7 12287  df-8 12288  df-9 12289  df-n0 12484  df-z 12571  df-uz 12842  df-rp 12996  df-fz 13515  df-fzo 13662  df-fl 13804  df-mod 13882  df-struct 17185  df-slot 17220  df-ndx 17232  df-base 17248  df-plusg 17301  df-tset 17307  df-efmnd 18905
This theorem is referenced by:  smndex1bas  18945  smndex1mgm  18946  smndex1sgrp  18947  smndex1mnd  18949  smndex1id  18950
  Copyright terms: Public domain W3C validator