Proof of Theorem psgnuni
Step | Hyp | Ref
| Expression |
1 | | psgnuni.w |
. . . . . 6
⊢ (𝜑 → 𝑊 ∈ Word 𝑇) |
2 | | lencl 14164 |
. . . . . 6
⊢ (𝑊 ∈ Word 𝑇 → (♯‘𝑊) ∈
ℕ0) |
3 | 1, 2 | syl 17 |
. . . . 5
⊢ (𝜑 → (♯‘𝑊) ∈
ℕ0) |
4 | 3 | nn0zd 12353 |
. . . 4
⊢ (𝜑 → (♯‘𝑊) ∈
ℤ) |
5 | | m1expcl 13733 |
. . . 4
⊢
((♯‘𝑊)
∈ ℤ → (-1↑(♯‘𝑊)) ∈ ℤ) |
6 | 4, 5 | syl 17 |
. . 3
⊢ (𝜑 →
(-1↑(♯‘𝑊))
∈ ℤ) |
7 | 6 | zcnd 12356 |
. 2
⊢ (𝜑 →
(-1↑(♯‘𝑊))
∈ ℂ) |
8 | | psgnuni.x |
. . . . . 6
⊢ (𝜑 → 𝑋 ∈ Word 𝑇) |
9 | | lencl 14164 |
. . . . . 6
⊢ (𝑋 ∈ Word 𝑇 → (♯‘𝑋) ∈
ℕ0) |
10 | 8, 9 | syl 17 |
. . . . 5
⊢ (𝜑 → (♯‘𝑋) ∈
ℕ0) |
11 | 10 | nn0zd 12353 |
. . . 4
⊢ (𝜑 → (♯‘𝑋) ∈
ℤ) |
12 | | m1expcl 13733 |
. . . 4
⊢
((♯‘𝑋)
∈ ℤ → (-1↑(♯‘𝑋)) ∈ ℤ) |
13 | 11, 12 | syl 17 |
. . 3
⊢ (𝜑 →
(-1↑(♯‘𝑋))
∈ ℤ) |
14 | 13 | zcnd 12356 |
. 2
⊢ (𝜑 →
(-1↑(♯‘𝑋))
∈ ℂ) |
15 | | neg1cn 12017 |
. . 3
⊢ -1 ∈
ℂ |
16 | | neg1ne0 12019 |
. . 3
⊢ -1 ≠
0 |
17 | | expne0i 13743 |
. . 3
⊢ ((-1
∈ ℂ ∧ -1 ≠ 0 ∧ (♯‘𝑋) ∈ ℤ) →
(-1↑(♯‘𝑋))
≠ 0) |
18 | 15, 16, 11, 17 | mp3an12i 1463 |
. 2
⊢ (𝜑 →
(-1↑(♯‘𝑋))
≠ 0) |
19 | | m1expaddsub 19021 |
. . . 4
⊢
(((♯‘𝑊)
∈ ℤ ∧ (♯‘𝑋) ∈ ℤ) →
(-1↑((♯‘𝑊)
− (♯‘𝑋)))
= (-1↑((♯‘𝑊) + (♯‘𝑋)))) |
20 | 4, 11, 19 | syl2anc 583 |
. . 3
⊢ (𝜑 →
(-1↑((♯‘𝑊)
− (♯‘𝑋)))
= (-1↑((♯‘𝑊) + (♯‘𝑋)))) |
21 | | expsub 13759 |
. . . . 5
⊢ (((-1
∈ ℂ ∧ -1 ≠ 0) ∧ ((♯‘𝑊) ∈ ℤ ∧ (♯‘𝑋) ∈ ℤ)) →
(-1↑((♯‘𝑊)
− (♯‘𝑋)))
= ((-1↑(♯‘𝑊)) / (-1↑(♯‘𝑋)))) |
22 | 15, 16, 21 | mpanl12 698 |
. . . 4
⊢
(((♯‘𝑊)
∈ ℤ ∧ (♯‘𝑋) ∈ ℤ) →
(-1↑((♯‘𝑊)
− (♯‘𝑋)))
= ((-1↑(♯‘𝑊)) / (-1↑(♯‘𝑋)))) |
23 | 4, 11, 22 | syl2anc 583 |
. . 3
⊢ (𝜑 →
(-1↑((♯‘𝑊)
− (♯‘𝑋)))
= ((-1↑(♯‘𝑊)) / (-1↑(♯‘𝑋)))) |
24 | | revcl 14402 |
. . . . . . . 8
⊢ (𝑋 ∈ Word 𝑇 → (reverse‘𝑋) ∈ Word 𝑇) |
25 | 8, 24 | syl 17 |
. . . . . . 7
⊢ (𝜑 → (reverse‘𝑋) ∈ Word 𝑇) |
26 | | ccatlen 14206 |
. . . . . . 7
⊢ ((𝑊 ∈ Word 𝑇 ∧ (reverse‘𝑋) ∈ Word 𝑇) → (♯‘(𝑊 ++ (reverse‘𝑋))) = ((♯‘𝑊) + (♯‘(reverse‘𝑋)))) |
27 | 1, 25, 26 | syl2anc 583 |
. . . . . 6
⊢ (𝜑 → (♯‘(𝑊 ++ (reverse‘𝑋))) = ((♯‘𝑊) +
(♯‘(reverse‘𝑋)))) |
28 | | revlen 14403 |
. . . . . . . 8
⊢ (𝑋 ∈ Word 𝑇 → (♯‘(reverse‘𝑋)) = (♯‘𝑋)) |
29 | 8, 28 | syl 17 |
. . . . . . 7
⊢ (𝜑 →
(♯‘(reverse‘𝑋)) = (♯‘𝑋)) |
30 | 29 | oveq2d 7271 |
. . . . . 6
⊢ (𝜑 → ((♯‘𝑊) +
(♯‘(reverse‘𝑋))) = ((♯‘𝑊) + (♯‘𝑋))) |
31 | 27, 30 | eqtr2d 2779 |
. . . . 5
⊢ (𝜑 → ((♯‘𝑊) + (♯‘𝑋)) = (♯‘(𝑊 ++ (reverse‘𝑋)))) |
32 | 31 | oveq2d 7271 |
. . . 4
⊢ (𝜑 →
(-1↑((♯‘𝑊)
+ (♯‘𝑋))) =
(-1↑(♯‘(𝑊
++ (reverse‘𝑋))))) |
33 | | psgnuni.g |
. . . . 5
⊢ 𝐺 = (SymGrp‘𝐷) |
34 | | psgnuni.t |
. . . . 5
⊢ 𝑇 = ran (pmTrsp‘𝐷) |
35 | | psgnuni.d |
. . . . 5
⊢ (𝜑 → 𝐷 ∈ 𝑉) |
36 | | ccatcl 14205 |
. . . . . 6
⊢ ((𝑊 ∈ Word 𝑇 ∧ (reverse‘𝑋) ∈ Word 𝑇) → (𝑊 ++ (reverse‘𝑋)) ∈ Word 𝑇) |
37 | 1, 25, 36 | syl2anc 583 |
. . . . 5
⊢ (𝜑 → (𝑊 ++ (reverse‘𝑋)) ∈ Word 𝑇) |
38 | | psgnuni.e |
. . . . . . . . . 10
⊢ (𝜑 → (𝐺 Σg 𝑊) = (𝐺 Σg 𝑋)) |
39 | 38 | fveq2d 6760 |
. . . . . . . . 9
⊢ (𝜑 →
((invg‘𝐺)‘(𝐺 Σg 𝑊)) =
((invg‘𝐺)‘(𝐺 Σg 𝑋))) |
40 | | eqid 2738 |
. . . . . . . . . . 11
⊢
(invg‘𝐺) = (invg‘𝐺) |
41 | 34, 33, 40 | symgtrinv 18995 |
. . . . . . . . . 10
⊢ ((𝐷 ∈ 𝑉 ∧ 𝑋 ∈ Word 𝑇) → ((invg‘𝐺)‘(𝐺 Σg 𝑋)) = (𝐺 Σg
(reverse‘𝑋))) |
42 | 35, 8, 41 | syl2anc 583 |
. . . . . . . . 9
⊢ (𝜑 →
((invg‘𝐺)‘(𝐺 Σg 𝑋)) = (𝐺 Σg
(reverse‘𝑋))) |
43 | 39, 42 | eqtr2d 2779 |
. . . . . . . 8
⊢ (𝜑 → (𝐺 Σg
(reverse‘𝑋)) =
((invg‘𝐺)‘(𝐺 Σg 𝑊))) |
44 | 43 | oveq2d 7271 |
. . . . . . 7
⊢ (𝜑 → ((𝐺 Σg 𝑊)(+g‘𝐺)(𝐺 Σg
(reverse‘𝑋))) =
((𝐺
Σg 𝑊)(+g‘𝐺)((invg‘𝐺)‘(𝐺 Σg 𝑊)))) |
45 | 33 | symggrp 18923 |
. . . . . . . . 9
⊢ (𝐷 ∈ 𝑉 → 𝐺 ∈ Grp) |
46 | 35, 45 | syl 17 |
. . . . . . . 8
⊢ (𝜑 → 𝐺 ∈ Grp) |
47 | | grpmnd 18499 |
. . . . . . . . . 10
⊢ (𝐺 ∈ Grp → 𝐺 ∈ Mnd) |
48 | 35, 45, 47 | 3syl 18 |
. . . . . . . . 9
⊢ (𝜑 → 𝐺 ∈ Mnd) |
49 | | eqid 2738 |
. . . . . . . . . . . 12
⊢
(Base‘𝐺) =
(Base‘𝐺) |
50 | 34, 33, 49 | symgtrf 18992 |
. . . . . . . . . . 11
⊢ 𝑇 ⊆ (Base‘𝐺) |
51 | | sswrd 14153 |
. . . . . . . . . . 11
⊢ (𝑇 ⊆ (Base‘𝐺) → Word 𝑇 ⊆ Word (Base‘𝐺)) |
52 | 50, 51 | ax-mp 5 |
. . . . . . . . . 10
⊢ Word
𝑇 ⊆ Word
(Base‘𝐺) |
53 | 52, 1 | sselid 3915 |
. . . . . . . . 9
⊢ (𝜑 → 𝑊 ∈ Word (Base‘𝐺)) |
54 | 49 | gsumwcl 18392 |
. . . . . . . . 9
⊢ ((𝐺 ∈ Mnd ∧ 𝑊 ∈ Word (Base‘𝐺)) → (𝐺 Σg 𝑊) ∈ (Base‘𝐺)) |
55 | 48, 53, 54 | syl2anc 583 |
. . . . . . . 8
⊢ (𝜑 → (𝐺 Σg 𝑊) ∈ (Base‘𝐺)) |
56 | | eqid 2738 |
. . . . . . . . 9
⊢
(+g‘𝐺) = (+g‘𝐺) |
57 | | eqid 2738 |
. . . . . . . . 9
⊢
(0g‘𝐺) = (0g‘𝐺) |
58 | 49, 56, 57, 40 | grprinv 18544 |
. . . . . . . 8
⊢ ((𝐺 ∈ Grp ∧ (𝐺 Σg
𝑊) ∈ (Base‘𝐺)) → ((𝐺 Σg 𝑊)(+g‘𝐺)((invg‘𝐺)‘(𝐺 Σg 𝑊))) = (0g‘𝐺)) |
59 | 46, 55, 58 | syl2anc 583 |
. . . . . . 7
⊢ (𝜑 → ((𝐺 Σg 𝑊)(+g‘𝐺)((invg‘𝐺)‘(𝐺 Σg 𝑊))) = (0g‘𝐺)) |
60 | 44, 59 | eqtrd 2778 |
. . . . . 6
⊢ (𝜑 → ((𝐺 Σg 𝑊)(+g‘𝐺)(𝐺 Σg
(reverse‘𝑋))) =
(0g‘𝐺)) |
61 | 52, 25 | sselid 3915 |
. . . . . . 7
⊢ (𝜑 → (reverse‘𝑋) ∈ Word (Base‘𝐺)) |
62 | 49, 56 | gsumccat 18395 |
. . . . . . 7
⊢ ((𝐺 ∈ Mnd ∧ 𝑊 ∈ Word (Base‘𝐺) ∧ (reverse‘𝑋) ∈ Word (Base‘𝐺)) → (𝐺 Σg (𝑊 ++ (reverse‘𝑋))) = ((𝐺 Σg 𝑊)(+g‘𝐺)(𝐺 Σg
(reverse‘𝑋)))) |
63 | 48, 53, 61, 62 | syl3anc 1369 |
. . . . . 6
⊢ (𝜑 → (𝐺 Σg (𝑊 ++ (reverse‘𝑋))) = ((𝐺 Σg 𝑊)(+g‘𝐺)(𝐺 Σg
(reverse‘𝑋)))) |
64 | 33 | symgid 18924 |
. . . . . . 7
⊢ (𝐷 ∈ 𝑉 → ( I ↾ 𝐷) = (0g‘𝐺)) |
65 | 35, 64 | syl 17 |
. . . . . 6
⊢ (𝜑 → ( I ↾ 𝐷) = (0g‘𝐺)) |
66 | 60, 63, 65 | 3eqtr4d 2788 |
. . . . 5
⊢ (𝜑 → (𝐺 Σg (𝑊 ++ (reverse‘𝑋))) = ( I ↾ 𝐷)) |
67 | 33, 34, 35, 37, 66 | psgnunilem4 19020 |
. . . 4
⊢ (𝜑 →
(-1↑(♯‘(𝑊
++ (reverse‘𝑋)))) =
1) |
68 | 32, 67 | eqtrd 2778 |
. . 3
⊢ (𝜑 →
(-1↑((♯‘𝑊)
+ (♯‘𝑋))) =
1) |
69 | 20, 23, 68 | 3eqtr3d 2786 |
. 2
⊢ (𝜑 →
((-1↑(♯‘𝑊)) / (-1↑(♯‘𝑋))) = 1) |
70 | 7, 14, 18, 69 | diveq1d 11689 |
1
⊢ (𝜑 →
(-1↑(♯‘𝑊))
= (-1↑(♯‘𝑋))) |