Step | Hyp | Ref
| Expression |
1 | | cycpmrn.4 |
. . . . . . . . . . . 12
⊢ (𝜑 → 𝑊:dom 𝑊–1-1→𝐷) |
2 | 1 | ad4antr 728 |
. . . . . . . . . . 11
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → 𝑊:dom 𝑊–1-1→𝐷) |
3 | | simpllr 772 |
. . . . . . . . . . 11
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → 𝑥 ∈ dom 𝑊) |
4 | | fzo0ss1 13345 |
. . . . . . . . . . . . 13
⊢
(1..^(♯‘𝑊)) ⊆ (0..^(♯‘𝑊)) |
5 | | simpr 484 |
. . . . . . . . . . . . . 14
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → 𝑥 ∈
(0..^((♯‘𝑊)
− 1))) |
6 | | cycpmrn.3 |
. . . . . . . . . . . . . . . . 17
⊢ (𝜑 → 𝑊 ∈ Word 𝐷) |
7 | | lencl 14164 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑊 ∈ Word 𝐷 → (♯‘𝑊) ∈
ℕ0) |
8 | 6, 7 | syl 17 |
. . . . . . . . . . . . . . . 16
⊢ (𝜑 → (♯‘𝑊) ∈
ℕ0) |
9 | 8 | ad4antr 728 |
. . . . . . . . . . . . . . 15
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) →
(♯‘𝑊) ∈
ℕ0) |
10 | 9 | nn0zd 12353 |
. . . . . . . . . . . . . 14
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) →
(♯‘𝑊) ∈
ℤ) |
11 | | 1zzd 12281 |
. . . . . . . . . . . . . 14
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → 1 ∈
ℤ) |
12 | | fzoaddel2 13371 |
. . . . . . . . . . . . . 14
⊢ ((𝑥 ∈
(0..^((♯‘𝑊)
− 1)) ∧ (♯‘𝑊) ∈ ℤ ∧ 1 ∈ ℤ)
→ (𝑥 + 1) ∈
(1..^(♯‘𝑊))) |
13 | 5, 10, 11, 12 | syl3anc 1369 |
. . . . . . . . . . . . 13
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → (𝑥 + 1) ∈
(1..^(♯‘𝑊))) |
14 | 4, 13 | sselid 3915 |
. . . . . . . . . . . 12
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → (𝑥 + 1) ∈
(0..^(♯‘𝑊))) |
15 | 6 | ad4antr 728 |
. . . . . . . . . . . . 13
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → 𝑊 ∈ Word 𝐷) |
16 | | wrddm 14152 |
. . . . . . . . . . . . 13
⊢ (𝑊 ∈ Word 𝐷 → dom 𝑊 = (0..^(♯‘𝑊))) |
17 | 15, 16 | syl 17 |
. . . . . . . . . . . 12
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → dom 𝑊 = (0..^(♯‘𝑊))) |
18 | 14, 17 | eleqtrrd 2842 |
. . . . . . . . . . 11
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → (𝑥 + 1) ∈ dom 𝑊) |
19 | | fzossz 13335 |
. . . . . . . . . . . . . 14
⊢
(0..^((♯‘𝑊) − 1)) ⊆
ℤ |
20 | 19, 5 | sselid 3915 |
. . . . . . . . . . . . 13
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → 𝑥 ∈
ℤ) |
21 | 20 | zred 12355 |
. . . . . . . . . . . 12
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → 𝑥 ∈
ℝ) |
22 | 21 | ltp1d 11835 |
. . . . . . . . . . . 12
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → 𝑥 < (𝑥 + 1)) |
23 | 21, 22 | ltned 11041 |
. . . . . . . . . . 11
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → 𝑥 ≠ (𝑥 + 1)) |
24 | | f1veqaeq 7111 |
. . . . . . . . . . . . . 14
⊢ ((𝑊:dom 𝑊–1-1→𝐷 ∧ (𝑥 ∈ dom 𝑊 ∧ (𝑥 + 1) ∈ dom 𝑊)) → ((𝑊‘𝑥) = (𝑊‘(𝑥 + 1)) → 𝑥 = (𝑥 + 1))) |
25 | 24 | necon3d 2963 |
. . . . . . . . . . . . 13
⊢ ((𝑊:dom 𝑊–1-1→𝐷 ∧ (𝑥 ∈ dom 𝑊 ∧ (𝑥 + 1) ∈ dom 𝑊)) → (𝑥 ≠ (𝑥 + 1) → (𝑊‘𝑥) ≠ (𝑊‘(𝑥 + 1)))) |
26 | 25 | anassrs 467 |
. . . . . . . . . . . 12
⊢ (((𝑊:dom 𝑊–1-1→𝐷 ∧ 𝑥 ∈ dom 𝑊) ∧ (𝑥 + 1) ∈ dom 𝑊) → (𝑥 ≠ (𝑥 + 1) → (𝑊‘𝑥) ≠ (𝑊‘(𝑥 + 1)))) |
27 | 26 | imp 406 |
. . . . . . . . . . 11
⊢ ((((𝑊:dom 𝑊–1-1→𝐷 ∧ 𝑥 ∈ dom 𝑊) ∧ (𝑥 + 1) ∈ dom 𝑊) ∧ 𝑥 ≠ (𝑥 + 1)) → (𝑊‘𝑥) ≠ (𝑊‘(𝑥 + 1))) |
28 | 2, 3, 18, 23, 27 | syl1111anc 836 |
. . . . . . . . . 10
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → (𝑊‘𝑥) ≠ (𝑊‘(𝑥 + 1))) |
29 | | cycpmrn.1 |
. . . . . . . . . . 11
⊢ 𝑀 = (toCyc‘𝐷) |
30 | | cycpmrn.2 |
. . . . . . . . . . . 12
⊢ (𝜑 → 𝐷 ∈ 𝑉) |
31 | 30 | ad4antr 728 |
. . . . . . . . . . 11
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → 𝐷 ∈ 𝑉) |
32 | 29, 31, 15, 2, 5 | cycpmfv1 31282 |
. . . . . . . . . 10
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → ((𝑀‘𝑊)‘(𝑊‘𝑥)) = (𝑊‘(𝑥 + 1))) |
33 | 28, 32 | neeqtrrd 3017 |
. . . . . . . . 9
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → (𝑊‘𝑥) ≠ ((𝑀‘𝑊)‘(𝑊‘𝑥))) |
34 | 33 | necomd 2998 |
. . . . . . . 8
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → ((𝑀‘𝑊)‘(𝑊‘𝑥)) ≠ (𝑊‘𝑥)) |
35 | | simplr 765 |
. . . . . . . . 9
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → 𝑦 = (𝑊‘𝑥)) |
36 | 35 | fveq2d 6760 |
. . . . . . . 8
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → ((𝑀‘𝑊)‘𝑦) = ((𝑀‘𝑊)‘(𝑊‘𝑥))) |
37 | 34, 36, 35 | 3netr4d 3020 |
. . . . . . 7
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 ∈ (0..^((♯‘𝑊) − 1))) → ((𝑀‘𝑊)‘𝑦) ≠ 𝑦) |
38 | 1 | ad4antr 728 |
. . . . . . . . 9
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 = ((♯‘𝑊) − 1)) → 𝑊:dom 𝑊–1-1→𝐷) |
39 | 6 | ad3antrrr 726 |
. . . . . . . . . . . . 13
⊢ ((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) → 𝑊 ∈ Word 𝐷) |
40 | | eldmne0 30864 |
. . . . . . . . . . . . . 14
⊢ (𝑥 ∈ dom 𝑊 → 𝑊 ≠ ∅) |
41 | 40 | ad2antlr 723 |
. . . . . . . . . . . . 13
⊢ ((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) → 𝑊 ≠ ∅) |
42 | | lennncl 14165 |
. . . . . . . . . . . . 13
⊢ ((𝑊 ∈ Word 𝐷 ∧ 𝑊 ≠ ∅) → (♯‘𝑊) ∈
ℕ) |
43 | 39, 41, 42 | syl2anc 583 |
. . . . . . . . . . . 12
⊢ ((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) → (♯‘𝑊) ∈ ℕ) |
44 | | lbfzo0 13355 |
. . . . . . . . . . . 12
⊢ (0 ∈
(0..^(♯‘𝑊))
↔ (♯‘𝑊)
∈ ℕ) |
45 | 43, 44 | sylibr 233 |
. . . . . . . . . . 11
⊢ ((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) → 0 ∈ (0..^(♯‘𝑊))) |
46 | 39, 16 | syl 17 |
. . . . . . . . . . 11
⊢ ((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) → dom 𝑊 = (0..^(♯‘𝑊))) |
47 | 45, 46 | eleqtrrd 2842 |
. . . . . . . . . 10
⊢ ((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) → 0 ∈ dom 𝑊) |
48 | 47 | adantr 480 |
. . . . . . . . 9
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 = ((♯‘𝑊) − 1)) → 0 ∈ dom 𝑊) |
49 | | simpllr 772 |
. . . . . . . . 9
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 = ((♯‘𝑊) − 1)) → 𝑥 ∈ dom 𝑊) |
50 | | 0red 10909 |
. . . . . . . . . . . 12
⊢ (𝜑 → 0 ∈
ℝ) |
51 | | cycpmrn.5 |
. . . . . . . . . . . . 13
⊢ (𝜑 → 1 <
(♯‘𝑊)) |
52 | | 1red 10907 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → 1 ∈
ℝ) |
53 | 8 | nn0red 12224 |
. . . . . . . . . . . . . 14
⊢ (𝜑 → (♯‘𝑊) ∈
ℝ) |
54 | 52, 53 | posdifd 11492 |
. . . . . . . . . . . . 13
⊢ (𝜑 → (1 <
(♯‘𝑊) ↔ 0
< ((♯‘𝑊)
− 1))) |
55 | 51, 54 | mpbid 231 |
. . . . . . . . . . . 12
⊢ (𝜑 → 0 <
((♯‘𝑊) −
1)) |
56 | 50, 55 | ltned 11041 |
. . . . . . . . . . 11
⊢ (𝜑 → 0 ≠
((♯‘𝑊) −
1)) |
57 | 56 | ad4antr 728 |
. . . . . . . . . 10
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 = ((♯‘𝑊) − 1)) → 0 ≠
((♯‘𝑊) −
1)) |
58 | | simpr 484 |
. . . . . . . . . 10
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 = ((♯‘𝑊) − 1)) → 𝑥 = ((♯‘𝑊) − 1)) |
59 | 57, 58 | neeqtrrd 3017 |
. . . . . . . . 9
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 = ((♯‘𝑊) − 1)) → 0 ≠ 𝑥) |
60 | | f1veqaeq 7111 |
. . . . . . . . . . . 12
⊢ ((𝑊:dom 𝑊–1-1→𝐷 ∧ (0 ∈ dom 𝑊 ∧ 𝑥 ∈ dom 𝑊)) → ((𝑊‘0) = (𝑊‘𝑥) → 0 = 𝑥)) |
61 | 60 | necon3d 2963 |
. . . . . . . . . . 11
⊢ ((𝑊:dom 𝑊–1-1→𝐷 ∧ (0 ∈ dom 𝑊 ∧ 𝑥 ∈ dom 𝑊)) → (0 ≠ 𝑥 → (𝑊‘0) ≠ (𝑊‘𝑥))) |
62 | 61 | anassrs 467 |
. . . . . . . . . 10
⊢ (((𝑊:dom 𝑊–1-1→𝐷 ∧ 0 ∈ dom 𝑊) ∧ 𝑥 ∈ dom 𝑊) → (0 ≠ 𝑥 → (𝑊‘0) ≠ (𝑊‘𝑥))) |
63 | 62 | imp 406 |
. . . . . . . . 9
⊢ ((((𝑊:dom 𝑊–1-1→𝐷 ∧ 0 ∈ dom 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 0 ≠ 𝑥) → (𝑊‘0) ≠ (𝑊‘𝑥)) |
64 | 38, 48, 49, 59, 63 | syl1111anc 836 |
. . . . . . . 8
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 = ((♯‘𝑊) − 1)) → (𝑊‘0) ≠ (𝑊‘𝑥)) |
65 | | simplr 765 |
. . . . . . . . . 10
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 = ((♯‘𝑊) − 1)) → 𝑦 = (𝑊‘𝑥)) |
66 | 65 | fveq2d 6760 |
. . . . . . . . 9
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 = ((♯‘𝑊) − 1)) → ((𝑀‘𝑊)‘𝑦) = ((𝑀‘𝑊)‘(𝑊‘𝑥))) |
67 | 30 | ad4antr 728 |
. . . . . . . . . 10
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 = ((♯‘𝑊) − 1)) → 𝐷 ∈ 𝑉) |
68 | 6 | ad4antr 728 |
. . . . . . . . . 10
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 = ((♯‘𝑊) − 1)) → 𝑊 ∈ Word 𝐷) |
69 | 43 | nngt0d 11952 |
. . . . . . . . . . 11
⊢ ((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) → 0 < (♯‘𝑊)) |
70 | 69 | adantr 480 |
. . . . . . . . . 10
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 = ((♯‘𝑊) − 1)) → 0 <
(♯‘𝑊)) |
71 | 29, 67, 68, 38, 70, 58 | cycpmfv2 31283 |
. . . . . . . . 9
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 = ((♯‘𝑊) − 1)) → ((𝑀‘𝑊)‘(𝑊‘𝑥)) = (𝑊‘0)) |
72 | 66, 71 | eqtrd 2778 |
. . . . . . . 8
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 = ((♯‘𝑊) − 1)) → ((𝑀‘𝑊)‘𝑦) = (𝑊‘0)) |
73 | 64, 72, 65 | 3netr4d 3020 |
. . . . . . 7
⊢
(((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) ∧ 𝑥 = ((♯‘𝑊) − 1)) → ((𝑀‘𝑊)‘𝑦) ≠ 𝑦) |
74 | | simplr 765 |
. . . . . . . . . . 11
⊢ ((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) → 𝑥 ∈ dom 𝑊) |
75 | 74, 46 | eleqtrd 2841 |
. . . . . . . . . 10
⊢ ((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) → 𝑥 ∈ (0..^(♯‘𝑊))) |
76 | | 0z 12260 |
. . . . . . . . . . 11
⊢ 0 ∈
ℤ |
77 | | 0p1e1 12025 |
. . . . . . . . . . . . . 14
⊢ (0 + 1) =
1 |
78 | 77 | fveq2i 6759 |
. . . . . . . . . . . . 13
⊢
(ℤ≥‘(0 + 1)) =
(ℤ≥‘1) |
79 | | nnuz 12550 |
. . . . . . . . . . . . 13
⊢ ℕ =
(ℤ≥‘1) |
80 | 78, 79 | eqtr4i 2769 |
. . . . . . . . . . . 12
⊢
(ℤ≥‘(0 + 1)) = ℕ |
81 | 43, 80 | eleqtrrdi 2850 |
. . . . . . . . . . 11
⊢ ((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) → (♯‘𝑊) ∈ (ℤ≥‘(0 +
1))) |
82 | | fzosplitsnm1 13390 |
. . . . . . . . . . 11
⊢ ((0
∈ ℤ ∧ (♯‘𝑊) ∈ (ℤ≥‘(0 +
1))) → (0..^(♯‘𝑊)) = ((0..^((♯‘𝑊) − 1)) ∪ {((♯‘𝑊) − 1)})) |
83 | 76, 81, 82 | sylancr 586 |
. . . . . . . . . 10
⊢ ((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) → (0..^(♯‘𝑊)) = ((0..^((♯‘𝑊) − 1)) ∪
{((♯‘𝑊) −
1)})) |
84 | 75, 83 | eleqtrd 2841 |
. . . . . . . . 9
⊢ ((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) → 𝑥 ∈ ((0..^((♯‘𝑊) − 1)) ∪
{((♯‘𝑊) −
1)})) |
85 | | elun 4079 |
. . . . . . . . 9
⊢ (𝑥 ∈
((0..^((♯‘𝑊)
− 1)) ∪ {((♯‘𝑊) − 1)}) ↔ (𝑥 ∈ (0..^((♯‘𝑊) − 1)) ∨ 𝑥 ∈ {((♯‘𝑊) − 1)})) |
86 | 84, 85 | sylib 217 |
. . . . . . . 8
⊢ ((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) → (𝑥 ∈ (0..^((♯‘𝑊) − 1)) ∨ 𝑥 ∈ {((♯‘𝑊) − 1)})) |
87 | | velsn 4574 |
. . . . . . . . 9
⊢ (𝑥 ∈ {((♯‘𝑊) − 1)} ↔ 𝑥 = ((♯‘𝑊) − 1)) |
88 | 87 | orbi2i 909 |
. . . . . . . 8
⊢ ((𝑥 ∈
(0..^((♯‘𝑊)
− 1)) ∨ 𝑥 ∈
{((♯‘𝑊) −
1)}) ↔ (𝑥 ∈
(0..^((♯‘𝑊)
− 1)) ∨ 𝑥 =
((♯‘𝑊) −
1))) |
89 | 86, 88 | sylib 217 |
. . . . . . 7
⊢ ((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) → (𝑥 ∈ (0..^((♯‘𝑊) − 1)) ∨ 𝑥 = ((♯‘𝑊) − 1))) |
90 | 37, 73, 89 | mpjaodan 955 |
. . . . . 6
⊢ ((((𝜑 ∧ 𝑦 ∈ ran 𝑊) ∧ 𝑥 ∈ dom 𝑊) ∧ 𝑦 = (𝑊‘𝑥)) → ((𝑀‘𝑊)‘𝑦) ≠ 𝑦) |
91 | | f1fun 6656 |
. . . . . . . 8
⊢ (𝑊:dom 𝑊–1-1→𝐷 → Fun 𝑊) |
92 | | elrnrexdmb 6948 |
. . . . . . . 8
⊢ (Fun
𝑊 → (𝑦 ∈ ran 𝑊 ↔ ∃𝑥 ∈ dom 𝑊 𝑦 = (𝑊‘𝑥))) |
93 | 1, 91, 92 | 3syl 18 |
. . . . . . 7
⊢ (𝜑 → (𝑦 ∈ ran 𝑊 ↔ ∃𝑥 ∈ dom 𝑊 𝑦 = (𝑊‘𝑥))) |
94 | 93 | biimpa 476 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑦 ∈ ran 𝑊) → ∃𝑥 ∈ dom 𝑊 𝑦 = (𝑊‘𝑥)) |
95 | 90, 94 | r19.29a 3217 |
. . . . 5
⊢ ((𝜑 ∧ 𝑦 ∈ ran 𝑊) → ((𝑀‘𝑊)‘𝑦) ≠ 𝑦) |
96 | | eqid 2738 |
. . . . . . . . . 10
⊢
(SymGrp‘𝐷) =
(SymGrp‘𝐷) |
97 | 29, 30, 6, 1, 96 | cycpmcl 31285 |
. . . . . . . . 9
⊢ (𝜑 → (𝑀‘𝑊) ∈ (Base‘(SymGrp‘𝐷))) |
98 | | eqid 2738 |
. . . . . . . . . . 11
⊢
(Base‘(SymGrp‘𝐷)) = (Base‘(SymGrp‘𝐷)) |
99 | 96, 98 | elsymgbas 18896 |
. . . . . . . . . 10
⊢ (𝐷 ∈ 𝑉 → ((𝑀‘𝑊) ∈ (Base‘(SymGrp‘𝐷)) ↔ (𝑀‘𝑊):𝐷–1-1-onto→𝐷)) |
100 | 30, 99 | syl 17 |
. . . . . . . . 9
⊢ (𝜑 → ((𝑀‘𝑊) ∈ (Base‘(SymGrp‘𝐷)) ↔ (𝑀‘𝑊):𝐷–1-1-onto→𝐷)) |
101 | 97, 100 | mpbid 231 |
. . . . . . . 8
⊢ (𝜑 → (𝑀‘𝑊):𝐷–1-1-onto→𝐷) |
102 | | f1ofn 6701 |
. . . . . . . 8
⊢ ((𝑀‘𝑊):𝐷–1-1-onto→𝐷 → (𝑀‘𝑊) Fn 𝐷) |
103 | 101, 102 | syl 17 |
. . . . . . 7
⊢ (𝜑 → (𝑀‘𝑊) Fn 𝐷) |
104 | 103 | adantr 480 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑦 ∈ ran 𝑊) → (𝑀‘𝑊) Fn 𝐷) |
105 | | wrdf 14150 |
. . . . . . . 8
⊢ (𝑊 ∈ Word 𝐷 → 𝑊:(0..^(♯‘𝑊))⟶𝐷) |
106 | | frn 6591 |
. . . . . . . 8
⊢ (𝑊:(0..^(♯‘𝑊))⟶𝐷 → ran 𝑊 ⊆ 𝐷) |
107 | 6, 105, 106 | 3syl 18 |
. . . . . . 7
⊢ (𝜑 → ran 𝑊 ⊆ 𝐷) |
108 | 107 | sselda 3917 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑦 ∈ ran 𝑊) → 𝑦 ∈ 𝐷) |
109 | | fnelnfp 7031 |
. . . . . 6
⊢ (((𝑀‘𝑊) Fn 𝐷 ∧ 𝑦 ∈ 𝐷) → (𝑦 ∈ dom ((𝑀‘𝑊) ∖ I ) ↔ ((𝑀‘𝑊)‘𝑦) ≠ 𝑦)) |
110 | 104, 108,
109 | syl2anc 583 |
. . . . 5
⊢ ((𝜑 ∧ 𝑦 ∈ ran 𝑊) → (𝑦 ∈ dom ((𝑀‘𝑊) ∖ I ) ↔ ((𝑀‘𝑊)‘𝑦) ≠ 𝑦)) |
111 | 95, 110 | mpbird 256 |
. . . 4
⊢ ((𝜑 ∧ 𝑦 ∈ ran 𝑊) → 𝑦 ∈ dom ((𝑀‘𝑊) ∖ I )) |
112 | 111 | ex 412 |
. . 3
⊢ (𝜑 → (𝑦 ∈ ran 𝑊 → 𝑦 ∈ dom ((𝑀‘𝑊) ∖ I ))) |
113 | 112 | ssrdv 3923 |
. 2
⊢ (𝜑 → ran 𝑊 ⊆ dom ((𝑀‘𝑊) ∖ I )) |
114 | 29, 30, 6, 1 | tocycfv 31278 |
. . . . 5
⊢ (𝜑 → (𝑀‘𝑊) = (( I ↾ (𝐷 ∖ ran 𝑊)) ∪ ((𝑊 cyclShift 1) ∘ ◡𝑊))) |
115 | 114 | difeq1d 4052 |
. . . 4
⊢ (𝜑 → ((𝑀‘𝑊) ∖ I ) = ((( I ↾ (𝐷 ∖ ran 𝑊)) ∪ ((𝑊 cyclShift 1) ∘ ◡𝑊)) ∖ I )) |
116 | 115 | dmeqd 5803 |
. . 3
⊢ (𝜑 → dom ((𝑀‘𝑊) ∖ I ) = dom ((( I ↾ (𝐷 ∖ ran 𝑊)) ∪ ((𝑊 cyclShift 1) ∘ ◡𝑊)) ∖ I )) |
117 | | difundir 4211 |
. . . . . 6
⊢ ((( I
↾ (𝐷 ∖ ran
𝑊)) ∪ ((𝑊 cyclShift 1) ∘ ◡𝑊)) ∖ I ) = ((( I ↾ (𝐷 ∖ ran 𝑊)) ∖ I ) ∪ (((𝑊 cyclShift 1) ∘ ◡𝑊) ∖ I )) |
118 | | resdifcom 5899 |
. . . . . . . 8
⊢ (( I
↾ (𝐷 ∖ ran
𝑊)) ∖ I ) = (( I
∖ I ) ↾ (𝐷
∖ ran 𝑊)) |
119 | | difid 4301 |
. . . . . . . . 9
⊢ ( I
∖ I ) = ∅ |
120 | 119 | reseq1i 5876 |
. . . . . . . 8
⊢ (( I
∖ I ) ↾ (𝐷
∖ ran 𝑊)) = (∅
↾ (𝐷 ∖ ran
𝑊)) |
121 | | 0res 30844 |
. . . . . . . 8
⊢ (∅
↾ (𝐷 ∖ ran
𝑊)) =
∅ |
122 | 118, 120,
121 | 3eqtri 2770 |
. . . . . . 7
⊢ (( I
↾ (𝐷 ∖ ran
𝑊)) ∖ I ) =
∅ |
123 | 122 | uneq1i 4089 |
. . . . . 6
⊢ ((( I
↾ (𝐷 ∖ ran
𝑊)) ∖ I ) ∪
(((𝑊 cyclShift 1) ∘
◡𝑊) ∖ I )) = (∅ ∪ (((𝑊 cyclShift 1) ∘ ◡𝑊) ∖ I )) |
124 | | 0un 4323 |
. . . . . 6
⊢ (∅
∪ (((𝑊 cyclShift 1)
∘ ◡𝑊) ∖ I )) = (((𝑊 cyclShift 1) ∘ ◡𝑊) ∖ I ) |
125 | 117, 123,
124 | 3eqtri 2770 |
. . . . 5
⊢ ((( I
↾ (𝐷 ∖ ran
𝑊)) ∪ ((𝑊 cyclShift 1) ∘ ◡𝑊)) ∖ I ) = (((𝑊 cyclShift 1) ∘ ◡𝑊) ∖ I ) |
126 | 125 | dmeqi 5802 |
. . . 4
⊢ dom ((( I
↾ (𝐷 ∖ ran
𝑊)) ∪ ((𝑊 cyclShift 1) ∘ ◡𝑊)) ∖ I ) = dom (((𝑊 cyclShift 1) ∘ ◡𝑊) ∖ I ) |
127 | | difss 4062 |
. . . . . 6
⊢ (((𝑊 cyclShift 1) ∘ ◡𝑊) ∖ I ) ⊆ ((𝑊 cyclShift 1) ∘ ◡𝑊) |
128 | | dmss 5800 |
. . . . . 6
⊢ ((((𝑊 cyclShift 1) ∘ ◡𝑊) ∖ I ) ⊆ ((𝑊 cyclShift 1) ∘ ◡𝑊) → dom (((𝑊 cyclShift 1) ∘ ◡𝑊) ∖ I ) ⊆ dom ((𝑊 cyclShift 1) ∘ ◡𝑊)) |
129 | 127, 128 | ax-mp 5 |
. . . . 5
⊢ dom
(((𝑊 cyclShift 1) ∘
◡𝑊) ∖ I ) ⊆ dom ((𝑊 cyclShift 1) ∘ ◡𝑊) |
130 | | dmcoss 5869 |
. . . . . 6
⊢ dom
((𝑊 cyclShift 1) ∘
◡𝑊) ⊆ dom ◡𝑊 |
131 | | df-rn 5591 |
. . . . . 6
⊢ ran 𝑊 = dom ◡𝑊 |
132 | 130, 131 | sseqtrri 3954 |
. . . . 5
⊢ dom
((𝑊 cyclShift 1) ∘
◡𝑊) ⊆ ran 𝑊 |
133 | 129, 132 | sstri 3926 |
. . . 4
⊢ dom
(((𝑊 cyclShift 1) ∘
◡𝑊) ∖ I ) ⊆ ran 𝑊 |
134 | 126, 133 | eqsstri 3951 |
. . 3
⊢ dom ((( I
↾ (𝐷 ∖ ran
𝑊)) ∪ ((𝑊 cyclShift 1) ∘ ◡𝑊)) ∖ I ) ⊆ ran 𝑊 |
135 | 116, 134 | eqsstrdi 3971 |
. 2
⊢ (𝜑 → dom ((𝑀‘𝑊) ∖ I ) ⊆ ran 𝑊) |
136 | 113, 135 | eqssd 3934 |
1
⊢ (𝜑 → ran 𝑊 = dom ((𝑀‘𝑊) ∖ I )) |