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

Theorem smndex1basss 19130
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 6905 . . . . . . . . 9 (𝑛 = 𝑘 → (𝐺‘𝑛) = (𝐺‘𝑘))
43sneqd 4596 . . . . . . . 8 (𝑛 = 𝑘 → {(𝐺‘𝑛)} = {(𝐺‘𝑘)})
54cbviunv 5000 . . . . . . 7 ∪ 𝑛 ∈ (0..^𝑁){(𝐺‘𝑛)} = ∪ 𝑘 ∈ (0..^𝑁){(𝐺‘𝑘)}
65uneq2i 4167 . . . . . 6 ({𝐼} ∪ ∪ 𝑛 ∈ (0..^𝑁){(𝐺‘𝑛)}) = ({𝐼} ∪ ∪ 𝑘 ∈ (0..^𝑁){(𝐺‘𝑘)})
76eleq2i 2856 . . . . 5 (𝑏 ∈ ({𝐼} ∪ ∪ 𝑛 ∈ (0..^𝑁){(𝐺‘𝑛)}) ↔ 𝑏 ∈ ({𝐼} ∪ ∪ 𝑘 ∈ (0..^𝑁){(𝐺‘𝑘)}))
82, 7bitri 278 . . . 4 (𝑏 ∈ 𝐵 ↔ 𝑏 ∈ ({𝐼} ∪ ∪ 𝑘 ∈ (0..^𝑁){(𝐺‘𝑘)}))
9 elun 4155 . . . 4 (𝑏 ∈ ({𝐼} ∪ ∪ 𝑘 ∈ (0..^𝑁){(𝐺‘𝑘)}) ↔ (𝑏 ∈ {𝐼} ∨ 𝑏 ∈ ∪ 𝑘 ∈ (0..^𝑁){(𝐺‘𝑘)}))
10 velsn 4600 . . . . 5 (𝑏 ∈ {𝐼} ↔ 𝑏 = 𝐼)
11 eliun 4958 . . . . 5 (𝑏 ∈ ∪ 𝑘 ∈ (0..^𝑁){(𝐺‘𝑘)} ↔ ∃𝑘 ∈ (0..^𝑁)𝑏 ∈ {(𝐺‘𝑘)})
1210, 11orbi12i 928 . . . 4 ((𝑏 ∈ {𝐼} ∨ 𝑏 ∈ ∪ 𝑘 ∈ (0..^𝑁){(𝐺‘𝑘)}) ↔ (𝑏 = 𝐼 ∨ ∃𝑘 ∈ (0..^𝑁)𝑏 ∈ {(𝐺‘𝑘)}))
138, 9, 123bitri 300 . . 3 (𝑏 ∈ 𝐵 ↔ (𝑏 = 𝐼 ∨ ∃𝑘 ∈ (0..^𝑁)𝑏 ∈ {(𝐺‘𝑘)}))
14 smndex1ibas.m . . . . . 6 𝑀 = (EndoFMnd‘ℕ0)
15 smndex1ibas.n . . . . . 6 𝑁 ∈ ℕ
16 smndex1ibas.i . . . . . 6 𝐼 = (𝑥 ∈ ℕ0 ↦ (𝑥 mod 𝑁))
1714, 15, 16smndex1ibas 19122 . . . . 5 𝐼 ∈ (Base‘𝑀)
18 eleq1 2852 . . . . 5 (𝑏 = 𝐼 → (𝑏 ∈ (Base‘𝑀) ↔ 𝐼 ∈ (Base‘𝑀)))
1917, 18mpbiri 261 . . . 4 (𝑏 = 𝐼 → 𝑏 ∈ (Base‘𝑀))
20 smndex1ibas.g . . . . . . . 8 𝐺 = (𝑛 ∈ (0..^𝑁) ↦ (𝑥 ∈ ℕ0 ↦ 𝑛))
2114, 15, 16, 20smndex1gbas 19124 . . . . . . 7 (𝑘 ∈ (0..^𝑁) → (𝐺‘𝑘) ∈ (Base‘𝑀))
2221adantr 486 . . . . . 6 ((𝑘 ∈ (0..^𝑁) ∧ 𝑏 ∈ {(𝐺‘𝑘)}) → (𝐺‘𝑘) ∈ (Base‘𝑀))
23 elsni 4601 . . . . . . . 8 (𝑏 ∈ {(𝐺‘𝑘)} → 𝑏 = (𝐺‘𝑘))
2423eleq1d 2849 . . . . . . 7 (𝑏 ∈ {(𝐺‘𝑘)} → (𝑏 ∈ (Base‘𝑀) ↔ (𝐺‘𝑘) ∈ (Base‘𝑀)))
2524adantl 487 . . . . . 6 ((𝑘 ∈ (0..^𝑁) ∧ 𝑏 ∈ {(𝐺‘𝑘)}) → (𝑏 ∈ (Base‘𝑀) ↔ (𝐺‘𝑘) ∈ (Base‘𝑀)))
2622, 25mpbird 260 . . . . 5 ((𝑘 ∈ (0..^𝑁) ∧ 𝑏 ∈ {(𝐺‘𝑘)}) → 𝑏 ∈ (Base‘𝑀))
2726rexlimiva 3159 . . . 4 (∃𝑘 ∈ (0..^𝑁)𝑏 ∈ {(𝐺‘𝑘)} → 𝑏 ∈ (Base‘𝑀))
2819, 27jaoi 871 . . 3 ((𝑏 = 𝐼 ∨ ∃𝑘 ∈ (0..^𝑁)𝑏 ∈ {(𝐺‘𝑘)}) → 𝑏 ∈ (Base‘𝑀))
2913, 28sylbi 220 . 2 (𝑏 ∈ 𝐵 → 𝑏 ∈ (Base‘𝑀))
3029ssriv 3917 1 𝐵 ⊆ (Base‘𝑀)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1570   ∈ wcel 2147  ∃wrex 3090   ⊆ wss 3900   ∪ cun 4152  {csn 4588  ∪ ciun 4954   ↦ cmpt 5189  ‘cfv 6555  (class class class)co 7440  0cc0 11224  ℕcn 12359  ℕ0cn0 12630  ..^cfzo 13812   mod cmo 14033  Basecbs 17413  EndoFMndcefmnd 19090
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  ax-pre-sup 11302
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-tp 4593  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-1o 8501  df-er 8742  df-map 8874  df-en 8999  df-dom 9000  df-sdom 9001  df-fin 9002  df-sup 9458  df-inf 9459  df-pnf 11369  df-mnf 11370  df-xr 11371  df-ltxr 11372  df-le 11373  df-sub 11567  df-neg 11568  df-div 11998  df-nn 12360  df-2 12429  df-3 12430  df-4 12431  df-5 12432  df-6 12433  df-7 12434  df-8 12435  df-9 12436  df-n0 12631  df-z 12718  df-uz 12990  df-rp 13145  df-fz 13664  df-fzo 13813  df-fl 13956  df-mod 14034  df-struct 17351  df-slot 17386  df-ndx 17398  df-base 17414  df-plusg 17467  df-tset 17473  df-efmnd 19091
This theorem is used by:  smndex1bas  19131  smndex1mgm  19132  smndex1sgrp  19133  smndex1mnd  19135  smndex1id  19136
  Copyright terms: Public domain W3C validator