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

Theorem smndex1basss 19156
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 2859 . . . . 5 (𝑏 ∈ 𝐵 ↔ 𝑏 ∈ ({𝐼} ∪ ∪ 𝑛 ∈ (0..^𝑁){(𝐺‘𝑛)}))
3 fveq2 6915 . . . . . . . . 9 (𝑛 = 𝑘 → (𝐺‘𝑛) = (𝐺‘𝑘))
43sneqd 4595 . . . . . . . 8 (𝑛 = 𝑘 → {(𝐺‘𝑛)} = {(𝐺‘𝑘)})
54cbviunv 5001 . . . . . . 7 ∪ 𝑛 ∈ (0..^𝑁){(𝐺‘𝑛)} = ∪ 𝑘 ∈ (0..^𝑁){(𝐺‘𝑘)}
65uneq2i 4166 . . . . . 6 ({𝐼} ∪ ∪ 𝑛 ∈ (0..^𝑁){(𝐺‘𝑛)}) = ({𝐼} ∪ ∪ 𝑘 ∈ (0..^𝑁){(𝐺‘𝑘)})
76eleq2i 2859 . . . . 5 (𝑏 ∈ ({𝐼} ∪ ∪ 𝑛 ∈ (0..^𝑁){(𝐺‘𝑛)}) ↔ 𝑏 ∈ ({𝐼} ∪ ∪ 𝑘 ∈ (0..^𝑁){(𝐺‘𝑘)}))
82, 7bitri 278 . . . 4 (𝑏 ∈ 𝐵 ↔ 𝑏 ∈ ({𝐼} ∪ ∪ 𝑘 ∈ (0..^𝑁){(𝐺‘𝑘)}))
9 elun 4154 . . . 4 (𝑏 ∈ ({𝐼} ∪ ∪ 𝑘 ∈ (0..^𝑁){(𝐺‘𝑘)}) ↔ (𝑏 ∈ {𝐼} ∨ 𝑏 ∈ ∪ 𝑘 ∈ (0..^𝑁){(𝐺‘𝑘)}))
10 velsn 4599 . . . . 5 (𝑏 ∈ {𝐼} ↔ 𝑏 = 𝐼)
11 eliun 4959 . . . . 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 19148 . . . . 5 𝐼 ∈ (Base‘𝑀)
18 eleq1 2855 . . . . 5 (𝑏 = 𝐼 → (𝑏 ∈ (Base‘𝑀) ↔ 𝐼 ∈ (Base‘𝑀)))
1917, 18mpbiri 261 . . . 4 (𝑏 = 𝐼 → 𝑏 ∈ (Base‘𝑀))
20 smndex1ibas.g . . . . . . . 8 𝐺 = (𝑛 ∈ (0..^𝑁) ↦ (𝑥 ∈ ℕ0 ↦ 𝑛))
2114, 15, 16, 20smndex1gbas 19150 . . . . . . 7 (𝑘 ∈ (0..^𝑁) → (𝐺‘𝑘) ∈ (Base‘𝑀))
2221adantr 486 . . . . . 6 ((𝑘 ∈ (0..^𝑁) ∧ 𝑏 ∈ {(𝐺‘𝑘)}) → (𝐺‘𝑘) ∈ (Base‘𝑀))
23 elsni 4600 . . . . . . . 8 (𝑏 ∈ {(𝐺‘𝑘)} → 𝑏 = (𝐺‘𝑘))
2423eleq1d 2852 . . . . . . 7 (𝑏 ∈ {(𝐺‘𝑘)} → (𝑏 ∈ (Base‘𝑀) ↔ (𝐺‘𝑘) ∈ (Base‘𝑀)))
2524adantl 487 . . . . . 6 ((𝑘 ∈ (0..^𝑁) ∧ 𝑏 ∈ {(𝐺‘𝑘)}) → (𝑏 ∈ (Base‘𝑀) ↔ (𝐺‘𝑘) ∈ (Base‘𝑀)))
2622, 25mpbird 260 . . . . 5 ((𝑘 ∈ (0..^𝑁) ∧ 𝑏 ∈ {(𝐺‘𝑘)}) → 𝑏 ∈ (Base‘𝑀))
2726rexlimiva 3162 . . . 4 (∃𝑘 ∈ (0..^𝑁)𝑏 ∈ {(𝐺‘𝑘)} → 𝑏 ∈ (Base‘𝑀))
2819, 27jaoi 871 . . 3 ((𝑏 = 𝐼 ∨ ∃𝑘 ∈ (0..^𝑁)𝑏 ∈ {(𝐺‘𝑘)}) → 𝑏 ∈ (Base‘𝑀))
2913, 28sylbi 220 . 2 (𝑏 ∈ 𝐵 → 𝑏 ∈ (Base‘𝑀))
3029ssriv 3916 1 𝐵 ⊆ (Base‘𝑀)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1572   ∈ wcel 2150  ∃wrex 3093   ⊆ wss 3899   ∪ cun 4151  {csn 4587  ∪ ciun 4955   ↦ cmpt 5191  ‘cfv 6565  (class class class)co 7450  0cc0 11238  ℕcn 12374  ℕ0cn0 12645  ..^cfzo 13827   mod cmo 14048  Basecbs 17433  EndoFMndcefmnd 19116
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  ax-pre-sup 11316
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-tp 4592  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-1o 8513  df-er 8754  df-map 8886  df-en 9011  df-dom 9012  df-sdom 9013  df-fin 9014  df-sup 9470  df-inf 9471  df-pnf 11383  df-mnf 11384  df-xr 11385  df-ltxr 11386  df-le 11387  df-sub 11581  df-neg 11582  df-div 12013  df-nn 12375  df-2 12444  df-3 12445  df-4 12446  df-5 12447  df-6 12448  df-7 12449  df-8 12450  df-9 12451  df-n0 12646  df-z 12733  df-uz 13005  df-rp 13160  df-fz 13679  df-fzo 13828  df-fl 13971  df-mod 14049  df-struct 17371  df-slot 17406  df-ndx 17418  df-base 17434  df-plusg 17488  df-tset 17494  df-efmnd 19117
This theorem is used by:  smndex1bas  19157  smndex1mgm  19158  smndex1sgrp  19159  smndex1mnd  19161  smndex1id  19162
  Copyright terms: Public domain W3C validator