Step | Hyp | Ref
| Expression |
1 | | oveq2 7263 |
. . . . 5
⊢ (𝑊 = ∅ → (𝑀 Σg
𝑊) = (𝑀 Σg
∅)) |
2 | | eqid 2738 |
. . . . . 6
⊢
(0g‘𝑀) = (0g‘𝑀) |
3 | 2 | gsum0 18283 |
. . . . 5
⊢ (𝑀 Σg
∅) = (0g‘𝑀) |
4 | 1, 3 | eqtrdi 2795 |
. . . 4
⊢ (𝑊 = ∅ → (𝑀 Σg
𝑊) =
(0g‘𝑀)) |
5 | 4 | fveq2d 6760 |
. . 3
⊢ (𝑊 = ∅ → (𝐻‘(𝑀 Σg 𝑊)) = (𝐻‘(0g‘𝑀))) |
6 | | coeq2 5756 |
. . . . . 6
⊢ (𝑊 = ∅ → (𝐻 ∘ 𝑊) = (𝐻 ∘ ∅)) |
7 | | co02 6153 |
. . . . . 6
⊢ (𝐻 ∘ ∅) =
∅ |
8 | 6, 7 | eqtrdi 2795 |
. . . . 5
⊢ (𝑊 = ∅ → (𝐻 ∘ 𝑊) = ∅) |
9 | 8 | oveq2d 7271 |
. . . 4
⊢ (𝑊 = ∅ → (𝑁 Σg
(𝐻 ∘ 𝑊)) = (𝑁 Σg
∅)) |
10 | | eqid 2738 |
. . . . 5
⊢
(0g‘𝑁) = (0g‘𝑁) |
11 | 10 | gsum0 18283 |
. . . 4
⊢ (𝑁 Σg
∅) = (0g‘𝑁) |
12 | 9, 11 | eqtrdi 2795 |
. . 3
⊢ (𝑊 = ∅ → (𝑁 Σg
(𝐻 ∘ 𝑊)) = (0g‘𝑁)) |
13 | 5, 12 | eqeq12d 2754 |
. 2
⊢ (𝑊 = ∅ → ((𝐻‘(𝑀 Σg 𝑊)) = (𝑁 Σg (𝐻 ∘ 𝑊)) ↔ (𝐻‘(0g‘𝑀)) = (0g‘𝑁))) |
14 | | mhmrcl1 18348 |
. . . . . 6
⊢ (𝐻 ∈ (𝑀 MndHom 𝑁) → 𝑀 ∈ Mnd) |
15 | 14 | ad2antrr 722 |
. . . . 5
⊢ (((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) → 𝑀 ∈ Mnd) |
16 | | gsumwmhm.b |
. . . . . . 7
⊢ 𝐵 = (Base‘𝑀) |
17 | | eqid 2738 |
. . . . . . 7
⊢
(+g‘𝑀) = (+g‘𝑀) |
18 | 16, 17 | mndcl 18308 |
. . . . . 6
⊢ ((𝑀 ∈ Mnd ∧ 𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵) → (𝑥(+g‘𝑀)𝑦) ∈ 𝐵) |
19 | 18 | 3expb 1118 |
. . . . 5
⊢ ((𝑀 ∈ Mnd ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (𝑥(+g‘𝑀)𝑦) ∈ 𝐵) |
20 | 15, 19 | sylan 579 |
. . . 4
⊢ ((((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (𝑥(+g‘𝑀)𝑦) ∈ 𝐵) |
21 | | wrdf 14150 |
. . . . . . 7
⊢ (𝑊 ∈ Word 𝐵 → 𝑊:(0..^(♯‘𝑊))⟶𝐵) |
22 | 21 | ad2antlr 723 |
. . . . . 6
⊢ (((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) → 𝑊:(0..^(♯‘𝑊))⟶𝐵) |
23 | | wrdfin 14163 |
. . . . . . . . . . . 12
⊢ (𝑊 ∈ Word 𝐵 → 𝑊 ∈ Fin) |
24 | 23 | adantl 481 |
. . . . . . . . . . 11
⊢ ((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) → 𝑊 ∈ Fin) |
25 | | hashnncl 14009 |
. . . . . . . . . . 11
⊢ (𝑊 ∈ Fin →
((♯‘𝑊) ∈
ℕ ↔ 𝑊 ≠
∅)) |
26 | 24, 25 | syl 17 |
. . . . . . . . . 10
⊢ ((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) → ((♯‘𝑊) ∈ ℕ ↔ 𝑊 ≠ ∅)) |
27 | 26 | biimpar 477 |
. . . . . . . . 9
⊢ (((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) → (♯‘𝑊) ∈
ℕ) |
28 | 27 | nnzd 12354 |
. . . . . . . 8
⊢ (((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) → (♯‘𝑊) ∈
ℤ) |
29 | | fzoval 13317 |
. . . . . . . 8
⊢
((♯‘𝑊)
∈ ℤ → (0..^(♯‘𝑊)) = (0...((♯‘𝑊) − 1))) |
30 | 28, 29 | syl 17 |
. . . . . . 7
⊢ (((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) →
(0..^(♯‘𝑊)) =
(0...((♯‘𝑊)
− 1))) |
31 | 30 | feq2d 6570 |
. . . . . 6
⊢ (((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) → (𝑊:(0..^(♯‘𝑊))⟶𝐵 ↔ 𝑊:(0...((♯‘𝑊) − 1))⟶𝐵)) |
32 | 22, 31 | mpbid 231 |
. . . . 5
⊢ (((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) → 𝑊:(0...((♯‘𝑊) − 1))⟶𝐵) |
33 | 32 | ffvelrnda 6943 |
. . . 4
⊢ ((((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) ∧ 𝑥 ∈ (0...((♯‘𝑊) − 1))) → (𝑊‘𝑥) ∈ 𝐵) |
34 | | nnm1nn0 12204 |
. . . . . 6
⊢
((♯‘𝑊)
∈ ℕ → ((♯‘𝑊) − 1) ∈
ℕ0) |
35 | 27, 34 | syl 17 |
. . . . 5
⊢ (((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) → ((♯‘𝑊) − 1) ∈
ℕ0) |
36 | | nn0uz 12549 |
. . . . 5
⊢
ℕ0 = (ℤ≥‘0) |
37 | 35, 36 | eleqtrdi 2849 |
. . . 4
⊢ (((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) → ((♯‘𝑊) − 1) ∈
(ℤ≥‘0)) |
38 | | eqid 2738 |
. . . . . . 7
⊢
(+g‘𝑁) = (+g‘𝑁) |
39 | 16, 17, 38 | mhmlin 18352 |
. . . . . 6
⊢ ((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵) → (𝐻‘(𝑥(+g‘𝑀)𝑦)) = ((𝐻‘𝑥)(+g‘𝑁)(𝐻‘𝑦))) |
40 | 39 | 3expb 1118 |
. . . . 5
⊢ ((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (𝐻‘(𝑥(+g‘𝑀)𝑦)) = ((𝐻‘𝑥)(+g‘𝑁)(𝐻‘𝑦))) |
41 | 40 | ad4ant14 748 |
. . . 4
⊢ ((((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (𝐻‘(𝑥(+g‘𝑀)𝑦)) = ((𝐻‘𝑥)(+g‘𝑁)(𝐻‘𝑦))) |
42 | 32 | ffnd 6585 |
. . . . . 6
⊢ (((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) → 𝑊 Fn (0...((♯‘𝑊) − 1))) |
43 | | fvco2 6847 |
. . . . . 6
⊢ ((𝑊 Fn (0...((♯‘𝑊) − 1)) ∧ 𝑥 ∈
(0...((♯‘𝑊)
− 1))) → ((𝐻
∘ 𝑊)‘𝑥) = (𝐻‘(𝑊‘𝑥))) |
44 | 42, 43 | sylan 579 |
. . . . 5
⊢ ((((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) ∧ 𝑥 ∈ (0...((♯‘𝑊) − 1))) → ((𝐻 ∘ 𝑊)‘𝑥) = (𝐻‘(𝑊‘𝑥))) |
45 | 44 | eqcomd 2744 |
. . . 4
⊢ ((((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) ∧ 𝑥 ∈ (0...((♯‘𝑊) − 1))) → (𝐻‘(𝑊‘𝑥)) = ((𝐻 ∘ 𝑊)‘𝑥)) |
46 | 20, 33, 37, 41, 45 | seqhomo 13698 |
. . 3
⊢ (((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) → (𝐻‘(seq0((+g‘𝑀), 𝑊)‘((♯‘𝑊) − 1))) =
(seq0((+g‘𝑁), (𝐻 ∘ 𝑊))‘((♯‘𝑊) − 1))) |
47 | 16, 17, 15, 37, 32 | gsumval2 18285 |
. . . 4
⊢ (((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) → (𝑀 Σg 𝑊) =
(seq0((+g‘𝑀), 𝑊)‘((♯‘𝑊) − 1))) |
48 | 47 | fveq2d 6760 |
. . 3
⊢ (((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) → (𝐻‘(𝑀 Σg 𝑊)) = (𝐻‘(seq0((+g‘𝑀), 𝑊)‘((♯‘𝑊) − 1)))) |
49 | | eqid 2738 |
. . . 4
⊢
(Base‘𝑁) =
(Base‘𝑁) |
50 | | mhmrcl2 18349 |
. . . . 5
⊢ (𝐻 ∈ (𝑀 MndHom 𝑁) → 𝑁 ∈ Mnd) |
51 | 50 | ad2antrr 722 |
. . . 4
⊢ (((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) → 𝑁 ∈ Mnd) |
52 | 16, 49 | mhmf 18350 |
. . . . . 6
⊢ (𝐻 ∈ (𝑀 MndHom 𝑁) → 𝐻:𝐵⟶(Base‘𝑁)) |
53 | 52 | ad2antrr 722 |
. . . . 5
⊢ (((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) → 𝐻:𝐵⟶(Base‘𝑁)) |
54 | | fco 6608 |
. . . . 5
⊢ ((𝐻:𝐵⟶(Base‘𝑁) ∧ 𝑊:(0...((♯‘𝑊) − 1))⟶𝐵) → (𝐻 ∘ 𝑊):(0...((♯‘𝑊) − 1))⟶(Base‘𝑁)) |
55 | 53, 32, 54 | syl2anc 583 |
. . . 4
⊢ (((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) → (𝐻 ∘ 𝑊):(0...((♯‘𝑊) − 1))⟶(Base‘𝑁)) |
56 | 49, 38, 51, 37, 55 | gsumval2 18285 |
. . 3
⊢ (((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) → (𝑁 Σg (𝐻 ∘ 𝑊)) = (seq0((+g‘𝑁), (𝐻 ∘ 𝑊))‘((♯‘𝑊) − 1))) |
57 | 46, 48, 56 | 3eqtr4d 2788 |
. 2
⊢ (((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) ∧ 𝑊 ≠ ∅) → (𝐻‘(𝑀 Σg 𝑊)) = (𝑁 Σg (𝐻 ∘ 𝑊))) |
58 | 2, 10 | mhm0 18353 |
. . 3
⊢ (𝐻 ∈ (𝑀 MndHom 𝑁) → (𝐻‘(0g‘𝑀)) = (0g‘𝑁)) |
59 | 58 | adantr 480 |
. 2
⊢ ((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) → (𝐻‘(0g‘𝑀)) = (0g‘𝑁)) |
60 | 13, 57, 59 | pm2.61ne 3029 |
1
⊢ ((𝐻 ∈ (𝑀 MndHom 𝑁) ∧ 𝑊 ∈ Word 𝐵) → (𝐻‘(𝑀 Σg 𝑊)) = (𝑁 Σg (𝐻 ∘ 𝑊))) |